@font-face {
    font-family: 'Tamil MN';
    src: url("../fonts/tamil-mn.ttf") format('truetype');
}

body {
    margin:0;

    font-family: 'Istok Web', sans-serif;
    background-color: #2C2C2C;
}       

.bg-overlay {
    background-image: url(../images/pattern.png);
    background-repeat: repeat;
    background-size: cover;
    opacity: 0.07;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.home-header {
    position: absolute;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(5px);
    padding: 20px 4%;
    width: 100%;
    top: 0;
    z-index: 9999;
    box-sizing: border-box;
}

.general-header {
    background-color: #1e1e1e;
    backdrop-filter: blur(5px);
    padding: 20px 4%;
    width: 100%;
    top: 0;
    z-index: 9999;
    box-sizing: border-box;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.menu-toggle {
    display: none;
}

.header-container{
    display: flex;
    align-items: center;
    gap: 160px;
}

.header-logo {
    height: 100px;
}

.nav {
    display: flex;
    gap: 70px;
    font-size: 20px;
}

.nav a {
    text-decoration: none;
    font-weight: bold;
    color: lightgray;
    transition: color 0.3s;
}

.nav a:hover {
    color: #740023
}

.overlay {
    display: none;
}

.video-background {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.general-header-container {
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top:  50%;
    left: 50%;  
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(75%);
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.bg-video.active {
    opacity: 1;
    z-index: 0;
}

.overlay-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 37vh;
   
}

.overlay-content h1{
    font-family: 'Italiana', serif;
    font-size: 65px;
    color: #aa0033;
    margin-bottom: 10;
}

.overlay-content p {
    font-family: 'Italianno', serif;
    font-size: 45px;
    color: white;
    margin-top: 0 ;
}

.whoweare {
    padding: 20px;
    z-index: 1;
}

.whoweare h1 {
    font-family: 'Italiana', serif;
    font-size: 50px;
    color: #aa0033;
    text-align: center;
}

.whowearetext {
    padding-top: 50px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.whoweare p {
    width: 50%;
    font-family: 'Tamil MN', serif;
    color: white;
    font-size: 28px
}   

.frontImg {
    width: 45%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.galleryPreview {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    height: 500px;
    margin: auto;
    margin-bottom: 50px;
    overflow: visible;
}

.image {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    object-fit: cover;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, z-index 0.3s ease;
}

.left {
    width: 500px;
    height: 360px;
    opacity: 0.9;
    left: 7.5%;
    transform: translateY(-50%) scale(0.9);
    z-index: 2;
}

.center {
    width: 600px;
    height: 400px;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    z-index: 3;
}

.right {
    width: 500px;
    height: 360px;
    opacity: 0.9;
    right: 7.5%;
    transform: translateY(-50%) scale(0.9);
    z-index: 2;
}

.butContainer {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.galleryBut {
    background-color: #aa0033;
    color: white;
    font-family: 'Italianno', serif;
    font-size: 35px;
    padding: 10px 80px;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.galleryBut:hover {
    transform: scale(1.05);
    background-color: #740023;
}

.site-footer {
    background-color: #1e1e1e;
    padding: 5px 2%;  
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.footer-content {
    font-family: 'Italiana', serif;
    color: white;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
}

.footer-logo {
    height: 60px;
}

.aboutus {
    padding: 20px;
    z-index: 1;
}

.aboutus h1 {
    font-family: 'Italiana', serif;
    font-size: 50px;
    color: #aa0033;
    text-align: center;
}

.aboutuscontent1 {

    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 120px;
    display: flex;
    justify-content: left;

    flex-wrap: wrap;
    gap: 30px;
}

.aboutuscontent1 p {
    width: 50%;
    font-family: 'Tamil MN', serif;
    color: white;
    font-size: 26px
}

.aboutusimg1 {
    position: absolute;
    right: 0;
    width: 45%;
    height: 55%;
    border-radius: 10px 0 0 10px;
    object-fit: cover;
}

.aboutuscontent2 {
    padding-top: 70px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 120px;
    display: flex;
    justify-content: right;
    flex-wrap: wrap;
    gap: 100px;
}

.aboutuscontent2 p {
    width: 50%;
    font-family: 'Tamil MN', serif;
    color: white;
    font-size: 26px
}

.aboutusimg2 {
    position: absolute;
    left: 0;
    width: 45%;
    height: 55%;
    border-radius: 0 10px 10px 0px;
    object-fit: cover;
}

.gallery-content {
    padding: 20px;
    padding-bottom: 40px;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    box-sizing: border-box;
}

.gallery-content h1{
    font-family: 'Italiana', serif;
    font-size: 50px;
    color: #aa0033;
    text-align: center;
    padding-bottom: 40px;
}

.gallery-frame {
    background-color: transparent;
    border-radius: 25px;
    text-align: center;
    padding: 20px;
    width: 100%;
    max-width: 900px; 
    height: 550px;    
    margin: 0 auto;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    overflow: hidden;
}

.gallery-frame img {
    max-width: 100%;
    max-height: 550px;
    border-radius: 20px;
    object-fit: contain;
    object-position: center center;
    float: none;
}

.thumbnail-bar {
    display: flex;
    justify-content: space-between;
    background-color: #61616100;
    padding: 30px;
    padding-bottom: 20px;
    overflow: scroll;
}

.thumbnail-bar img {
    width: 100px;     
    height: 80px;  
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s;
}

.thumbnail-bar img:hover {
    border: 2px solid #fff;
}

.services-content {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.services-content h1 {
    font-family: 'Italiana', serif;
    font-size: 50px;
    color: #aa0033;
    text-align: center;
}

.rectangle-container {
    row-gap: 70px;
    column-gap: 300px;
    padding-top: 20px;
    padding-bottom: 50px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 0 auto;
}

.rectangle {
    padding: 10px;
    width: 400px;
    height: 80px;
    background-color: #3B0011;
    border-radius: 20px;
    transition: 0.3s;
    border: 1px solid white;

    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;

    font-family: 'Tamil MN',serif;
    font-size: 25px;
    color: rgb(230, 230, 230)
}

.rectangle:hover {
    transform: scale(1.01);
    background-color: #710020;
    cursor: pointer;
}

.popup {
    display: flex;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: #3B0011;
    margin: 15% auto;
    padding : 10px;
    border: 1px solid white;
    border-radius: 50px;
    max-width: 800px;
    height: auto;
    position: relative;
    text-align: center;
}

.popup-content h2 {
    font-family: Italiana;
    font-size: 35px;
    color: white;
}

.popup-content p {
    font-family: 'Tamil MN', serif;
    font-size: 20px;
    color: white;
}

.testimonial-content {
    padding: 20px;
}

.testimonial-content h1 {
    font-family: 'Italiana', serif;
    font-size: 50px;
    color: #aa0033;
    text-align: center;
}

.review-bubbles {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.rating-container {
    position: absolute;
    align-items: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.rating-image {
    width: 300px;
    height: auto;
}

.review-container {
  position: absolute;
  width: max;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stars {
  position: absolute;
  top: -25px; 
  color: gold;
  font-size: 15 px;
  text-shadow: 1px 1px 2px black;
  z-index: 2;
}

.review-bubble {
  position: relative;
  background: #3B0011;
  color: white;
  padding: 15px 20px;
  border-radius: 20px;
  border: 1px solid white;
  font-size: 16px;
  max-width: 250px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  z-index: 1;
}

.contact-main {
    padding: 20px;
}

.contact-main h1 {
    font-family: 'Italiana', serif;
    font-size: 50px;
    color: #aa0033;
    text-align: center;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 100px;
}

.contact-container {
    display: flex;
    flex-direction: column;
    background-color: #484848;
    max-width: fit-content;
    max-height: fit-content;
    border-radius: 20px;
    margin: 20px;
}

.contact-container p {
    font-family: 'Tamil MN', serif;
    font-size: 20px;
    padding-left: 20px;
    color: white;
    max-width: 600px;
}

.map{
    padding: 0 20px 20px 20px;
}   

.contact-form-container {
    margin: 20px;
    max-width: fit-content;
    max-height: fit-content;
    background-color: gray;
    border-radius: 20px;
}

.contact-form-container h2 {
    font-family: 'Italiana', serif;
    font-size: 30px;
    color: #aa0033;
    text-align: center;
}   

.contact-form {
    padding: 20px 20px 0px 20px
}

.contact-form label {
    display: inline-block;
    width: 100px;
    font-family: 'Tamil MN', serif;
    font-size: 20px;
    color: white;
}

.contact-form input {
    padding: 10px;
    border: 2px solid #000000;
    width: 500px;
    transition: border-color 0.3s ease;
}

.contact-form textarea {
    padding: 10px;
    border: 2px solid #000000;
    width: 500px;
    height: 230px;
    transition: border-color 0.3s ease;
    resize: none;
}

label[for="message"] {
    vertical-align: top;
    padding-top: 5px;    
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #a4243b;
    outline: none;
}

.contact-form button {
    display: block;
    background-color: #aa0033;
    color: white;
    font-family: 'Tamil MN', serif;
    font-size: 20px;
    margin: 0px auto;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form button:hover {
    transform: scale(1.05);
    background-color: #740023;
}

.msgsent-content {
    padding: 90px 0 80px 0;
}

.checkmark {
    display: block;
    margin: 0 auto;
    width: 200px;
    height: auto;
}

.msgsent-content h1 {
    text-align: center;
    color: #2fb33c;
    font-family: 'Tamil MN', serif;
    font-size: 40px;
}

.msgsent-content p {
    text-align: center;
    color: #2fb33c;
    font-family: 'Tamil MN', serif;
    font-size: 20px;
}


@media (max-width: 768px) {

    html, body {
    font-size: 16px;
    overflow-x: hidden;
    }

    .header-container {
    justify-content: space-between;
    gap: 0;
    }

    .header-logo {
    height: 70px;
    }

    .general-header {
    position: relative;
    z-index: 1000;
    }

    .nav {
    display: flex;
    flex-direction: column;
    background-color: #3B0011;
    position: fixed;
    top: 0;
    right: 0; 
    height: 100%;
    width: 250px;
    padding-top: 60px;
    transition: right 0.3s ease;
    z-index: 9999;
    }

    .nav.active {
    right: 0;
    }

    #nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    height: auto;
    background-color: #3B0011;
    display: flex;
    flex-direction: column;
    padding: 25px;

    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateX(100%);
    will-change: transform;
    box-sizing: border-box;
        
    opacity: 0;
    z-index: 9999;
    text-align: center;

    border-bottom: 1px solid rgba(255, 255, 255, 0.834);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    }

    #nav-menu * {
    max-width: 100%;
    overflow-wrap: break-word;
    }

    #nav-menu a {
    font-family: 'Italiana', serif;
    font-size: 30px;
    color: white;
    padding: 0 0;
    text-decoration: none;
    background-color: #3B0011;
    }

    #nav-menu.show {
    transform: translateX(0);
    opacity: 1;
    }

    #nav-menu.hidden {
    visibility: hidden;
    }

    .menu-toggle {
    visibility: auto;
    display: block;
    cursor: pointer;
    font-size: 30px;
    color: #aa0033;
    background: none;   
    border: none;
    z-index: 100000;
    }

    .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);  
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;         
    z-index: 999;                
    }

    .overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
    }

    .video-background {
    height: 67vh; 
    overflow: hidden;
    }

    .video-background video {
    height: 100%;
    width: auto;
    object-fit: cover; 
    }

    .overlay-content {
    padding-top: 25vh;

    }
    .overlay-content h1 {
    font-size: 43px;
    }

    .overlay-content p {
    font-size: 29px;
    }

    .whowearetext {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    }

    .whoweare p {
    width: 100%;
    font-size: 20px;
    text-align: justify;
    }

    .galleryPreview {
    position: relative;
    width: 100%;
    height: auto;
    padding: 20px 0 200px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    }

    .left,
    .center,
    .right {
    max-width: 400px; 
    aspect-ratio: 3 / 2;
    height: auto;
    }

    .center {
    width: 65%;
    }

    .left {
    width: 60%;
    }

    .right {
    width: 60%;
    }

    .galleryBut {
    font-size: 20px;
    padding: 10px 40px;
    }
  
    .aboutuscontent1,
    .aboutuscontent2 {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 20px;
    }

    .aboutuscontent1 p,
    .aboutuscontent2 p {
    width: 100%;
    font-size: 20px;
    text-align: justify;
    }

    .aboutusimg1,
    .aboutusimg2 {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 10px;
    }

    .frontImg {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 40px;
    }

    .gallery-content{
    padding-bottom: 75px;
    }

    .gallery-frame {
    height: 300px;
    }

    .thumbnail-bar img {
    width: 70px;
    height: 60px;
    }   

    .rectangle-container {
    row-gap: 20px;
    padding-top: 20px;
    padding-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    }

    .rectangle {
    width: 90%;
    max-width: 400px;
    font-size: 20px;
    text-align: center;
    margin: 0 auto;
    }

    .popup-content {
    height: fit-content;
    padding: 5px;
    }

    .popup-content p {
    text-align: justify;
    }

    .contact-content {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    }

    .contact-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 80vw;
    }

    .contact-container iframe {
    width: 100%;
    max-width: 70vw;
    height: 350px;
    border-radius: 10px;
    }

    .contact-container p {
        padding: 0px;
    }

    .contact-form-container {
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 85vw;
    }

    .contact-form-container h2 {
    font-size: 27px;
    padding-left: 10px;
    padding-right: 10px;
    }

    .contact-form input,
    .contact-form textarea {
    width: 100%;
    max-width: 80vw;
    }

    .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 15px;
    }

    .footer-logo {
    height: 50px;
    }
}

