/* <uniquifier>: Use a unique and descriptive class name
 <weight>: Use a value from 400 to 900 

.bodoni-moda-google {
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}*/

.lato-regular {
    font-family: "Lato", serif;
    font-weight: 400;
    font-style: normal;
}

/* <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 400 to 900 */

.hind-madurai-regular {
    font-family: "Hind Madurai", serif;
    font-weight: 400;
    font-style: normal;
}

/* <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 100 to 900 */

.montserrat-regular {
font-family: "Montserrat", serif;
font-optical-sizing: auto;
font-weight: 300;
font-style: normal;
}

/* Tata Casa font */
.lato-regular {
    font-family: "Lato", serif;
    font-weight: 400;
    font-style: normal;
}
  
html, body {
    height: 100%;
    margin: 0; /* Ensure there's no default margin */
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

/* Common fade-in effect for all sections */
.image-container,
.main,
.changing-container {
    opacity: 0; /* Start hidden */
    transform: translateY(50px); /* Start slightly lower */
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* When section comes into view, make it visible */
.image-container.show,
.main.show,
.changing-container.show {
    opacity: 1;
    transform: translateY(0);
}



/****************        Navbar*/
.navbar {
    background-color: white;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 999;

}


.navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

#navbar__homelogo {
    height: 50px; /* Adjust the size as needed */
    margin-right: 20px; /* Add space between the logos */
}

#navbar__logo {
    /*color: #131313; */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 300px;
    height: 50px;
    font-family: "Lato", serif;
    display: flex; 
    text-indent: -9999px;
    overflow: hidden;
    /*align-items: center;*/
    cursor: pointer;
    margin-top: 10px;
    gap: 10px;
    /*text-decoration: none;
    font-size: 2.5rem; */
}

.fa-gem {
    margin-right: 0.5rem;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item {
    height: 80px;
}

.navbar__links {
    color: #131313;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}

.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: auto;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 8px 16px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #131313;
    color: white;
}

.button:hover {
    background: red;
}

.navbar__links:hover {
    color: red;
    text-underline-position: below;
}

@media screen and (max-width: 960px) {
    .navbar__container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 0;
        transition: all 0.5s ease;
        height: 50vh;
        z-index: -1;
    }

    .navbar__menu.active {
        background: white;
        top: 100%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 99;
        height: 90vh; /*****************      CODE TO FIX NAVBAR DROPDOWN*/
        font-size: 1.6rem;
    }

    #navbar__logo {
        padding-left: 25px;
    }

    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: black;
    }

    .navbar__item {
        width: 100%;
    }

    .navbar__links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
        color: black;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    .navbar__btn {
        padding-bottom: 2rem;
    }

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 80px;
        margin: 0;
    }

    .navbar__toggle .bar {
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}


/*-----------------     Dropdown menu styling          */
/* Main dropdown menu */
.dropdown__menu {
    position: absolute;
    top: 100%; /* Aligns the menu below "Products" */
    margin-left: 165px; /* Adjust this value to position your dropdown properly */
    left: 0;
    background: white;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    display: none; /* Hidden by default */
    flex-direction: row; /* Align items horizontally */
    flex-wrap: nowrap; /* Allow items to wrap if necessary */
    justify-content: center;
    align-items: flex-start;
    /* gap: 5px; */
    /*       Changed this below       */
    padding: 20px;
    margin-bottom: 10px;
    z-index: 1000; /* Ensures dropdown stays on top */
    box-sizing: border-box;
    width: 100vw; /* Adjust width as needed */
}

/* Show dropdown when hovering over Products */
.navbar__item.dropdown:hover .dropdown__menu {
    display: flex;
}

/* Style for dropdown items */
.dropdown__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #131313;
    font-size: 14px;
    transition: 0.3s;
    padding: 50px;
    width: 110px; /* Fixed width for each item */
}

/* Category Title Styling */
.dropdown__category {
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 18px; /* Larger Font */
    color: #131313;
    padding: 5px 0;
    /* margin-bottom: 5px; */
    border-bottom: 2px solid #ccc;
    white-space: nowrap;
}

.dropdown__category-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    left: 0;
    text-align: start;
    align-items: center;
    width: 100%;
    padding: 0;
    gap: 0;
    
}




/* Adjust image size */
.dropdown__item img {
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.dropdown__item span {
    min-height: 30px; /* Adjust this value as needed */
    display: flex;
    align-items: center; /* Vertically centers text */
    justify-content: center;
    text-align: center;
    line-height: 1;
}

/* Hover effect */
.dropdown__item:hover img {
    transform: scale(1.1);
}

.dropdown__item:hover {
    color: red;
}

/* Ensure Menu Links Stay Visible on White Background */
.navbar__links {
    transition: color 0.3s ease;
}

.navbar__item.dropdown:hover .navbar__links {
    color: black;
}



@media (min-width: 768px) {
    .dropdown__menu {
        left: -180px; /* Moves menu further left */
    }
} 


@media screen and (max-width: 960px) {
    /* Ensure dropdown appears directly under "Products" */
    .dropdown__menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50vw;
        text-align: center;
        padding: 10px 0;
        position: absolute;
        top: 100%; /* Aligns the menu right below "Products" */
        left: 50%; /* Center horizontally */
        transform: translateX(-50%); /* Center horizontally */
        background: white;
        z-index: 10000;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
        border-radius: 10px;
    }

    /* Hide product images on mobile */
    .dropdown__item img {
        display: none;
    }

    /* Style product list */
    .dropdown__item {
        width: 100%;
        padding: 10px;
        font-size: 18px;
        font-weight: bold;
        text-align: center;
    }

    /* Ensure product names are visible */
    .dropdown__item span {
        display: inline-block;
    }

    /* Adjust Products dropdown positioning */
    .navbar__item.dropdown {
        position: relative;
    }

    /* Ensure dropdown stays directly below Products */
    .navbar__item.dropdown .dropdown__menu {
        position: absolute;
        top: 100%;
        left: 50%; /* Center horizontally */
        transform: translateX(-50%); /* Center horizontally */
        width: 50vw; /* Adjust width to match parent dropdown */
        background: white;
        display: none; /* Initially hidden */
    }

    /* Show dropdown on click */
    .navbar__item.dropdown:hover .dropdown__menu,
    .navbar__item.dropdown:focus-within .dropdown__menu {
        display: flex;
    }
}

/*-----------------     Video          */
.image-container {
    position: relative;
    width: 100%; /* Full width of the viewport */
    height: 100vh; /* Full height of the viewport */
    overflow: hidden; 
    z-index: 1;
}

.full-screen-image {
    width: 100%; /* Full viewport width */
    height: 100%; /* Full viewport height */
    object-fit: cover; /* Ensures the image fills the container while maintaining aspect ratio */
    position: absolute; /* Positions the image relative to its container */
    top: 0;
    left: 0;
}

.image-text {
    position: relative;
    text-align: center;
    top: 50%;
    color: white; /* Text color */
    font-size: 3rem; /* Adjust size as needed */
    font-family: Arial, sans-serif;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5); /* Optional: Adds readability */
}


@media (max-width: 768px) {
    .image-container {
        height: 70vh; /* Keep full screen height */
    }

    .full-screen-image {
        height: 100vh; /* Ensure full viewport height */
        object-fit: cover; /* Prevent distortion */
    }

    .image-text {
        position: absolute; /* Ensure text overlays the image */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /* Perfect centering */
        font-size: 2rem; /* Reduce font size for smaller screens */
        width: 80%; /* Ensure text doesn't overflow */
        text-align: center;
    }
}

@media (max-width: 480px) {
    .image-text {
        font-size: 1.5rem; /* Further reduce text size for very small screens */
        width: 90%; /* Keep text readable */
    }
}


/*-----------------     About Us Text          */
.about-us-text {
    /* position: absolute; */
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding: 50px 35px;
    /* margin-top: 50px;
    margin-bottom: 50px; */
}

.about-us-text h6 {
    color: black; /* Text color */
    font-size: 2.5rem; /* Adjust size as needed */
    font-family: Arial, sans-serif;
    margin-bottom: 30px;
    text-align: center;
}

.about-us-text p {
    color: black; /* Text color */
    font-size: 1.2rem; /* Adjust size as needed */
    font-family: Arial, sans-serif;
    margin-bottom: 15px;
}

.contact-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: red;  /* Change this color as needed */
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

/* Hover effect for the button */
.contact-btn:hover {
    background-color: #980606;
}


@media (max-width: 768px) {
    .about-us-text {
        padding: 40px 20px; /* Reduce padding for better spacing */
        text-align: center; /* Ensure text stays centered */
    }

    .about-us-text h6 {
        font-size: 2rem; /* Reduce heading size for smaller screens */
        margin-bottom: 20px; /* Adjust spacing */
    }

    .about-us-text p {
        font-size: 1rem; /* Reduce paragraph text size */
        line-height: 1.5; /* Improve readability */
    }
}

@media (max-width: 480px) {
    .about-us-text {
        padding: 30px 15px; /* Further reduce padding */
    }

    .about-us-text h6 {
        font-size: 1.8rem; /* Adjust heading size for small screens */
    }

    .about-us-text p {
        font-size: 0.95rem; /* Adjust paragraph text size */
    }
}



/*-----------------     Slideshow          */
.slider {
    position: relative;
    width: 100%;
    height: 90vh; /* Adjust as needed */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-bottom: 50px; */
}

/* Centered content in the slider */
.slider-content {
    position: absolute;
    top: 20%;
    max-width: 1400px;
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Slider controls positioned inside the slider */
.slider-controls {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    position: absolute;
    gap: 10px;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%); 
    /* The translateY(50%) moves the controls down so that roughly half of them overlap the slider */
    text-align: center;
}




.slider-controls button {
    margin: 0 0px;
    padding: 20px 30px;
    font-size: 1.2rem;
    /* border: 1px solid black;  Thin white border */
    border: none;
    border-radius: 4px;
    background-color: white;
    color: black;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


.slider-controls button:hover {
    background-color: red;
}

@media (min-width: 1700px) {
    .slider-controls button {
      padding: 20px 40px; /* Increase button padding */
      font-size: 1.5rem;  /* Increase text size */
      /* Optional: Adjust border thickness if needed */
      border: 2px solid #fff;
    }
}

@media (max-width: 900px) {
    .slider-controls {
      gap: 5px; /* Reduce gap between buttons */
    }
    
    .slider-controls button {
      width: 10px;      /* Set a fixed width for the circle */
      height: 10px;     /* Set a fixed height for the circle */
      padding: 0;       /* Remove any extra padding */
      font-size: 0;     /* Hide text by setting font size to 0 */
      border-radius: 50%; /* Make the button round */
      background-color: white; /* Adjust background as needed */
      border: 1px solid black; /* Thin border around the circle */
      margin: 0 5px;    /* Adjust margin for spacing between circles */
    }
    
    .slider-controls button:hover {
      background-color: red; /* Or any other hover effect */
    }
}

@media (max-width: 480px) {
    .slider-controls button {
      width: 10px;      /* Set a fixed width for the circle */
      height: 10px;     /* Set a fixed height for the circle */
    }
}
  
/* ********************       Services */
.services-container {
    background-color: #f3f1f1;
    /* max-width: 1200px; */
    margin: 0 0 auto;
    padding: 60px;
}

.services-container h5 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
}


/* Boxes Container */
.boxes {
    display: flex;
    justify-content: center;
    text-align: center;
    gap: 20px;
    margin: 0 auto;
    max-width: 1600px;
}

/* Each Box */
.box {
    flex: 1;
    flex-direction: column;
    display: flex;
    border: 1px solid #ccc;
    overflow: hidden;
}

/* Half the box for the image */
.box-image {
    flex: 0 0 300px;  /* Fixes the container width to 300px */
    height: 200px;    /* Fixes the container height to 200px */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Ensures the image doesn't overflow */
    margin: 0;
    padding: 0;
}

.box-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

/* Half the box for text */
.box-text {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.box-text h3 {
    margin-bottom: 10px;
}

.box-text p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Responsive: Stack boxes on smaller screens */
@media (max-width: 768px) {
.boxes {
    flex-direction: column;
}
}



/* ********************       Footer */

.footer {
    background-color: #131313;
    color: #f4f4f4;
    padding: 20px 0;
    text-align: center;
    width: 100%;
}

.footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer__links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer__link {
    color: #f4f4f4;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: grey;
}

.footer__socials {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.footer__face-icon img {
    width: 36px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer__insta-icon img {
    width: 24px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer__social-icon img:hover {
    transform: scale(2.0);
}

.footer__copyright {
    font-size: 0.9rem;
    color: #a9a9a9;
}

@media (max-width: 768px) {
    .footer__links {
        gap: 10px; /* Reduce gap between links */
    }

    .footer__link {
        font-size: 0.9rem; /* Reduce font size for links */
    }

    .footer__socials {
        gap: 8px; /* Reduce gap between social icons */
    }

    .footer__face-icon img,
    .footer__insta-icon img {
        width: 28px; /* Scale down social icons */
    }

    .footer__copyright {
        font-size: 0.8rem; /* Reduce copyright text size */
    }
}

@media (max-width: 480px) {
    .footer__links {
        flex-direction: column; /* Stack links vertically on very small screens */
        gap: 8px; /* Further reduce gap */
    }

    .footer__socials {
        gap: 6px; /* Further reduce gap between social icons */
    }

    .footer__face-icon img,
    .footer__insta-icon img {
        width: 24px; /* Further reduce icon size */
    }

    .footer__link {
        font-size: 0.8rem; /* Adjust font size for smallest screens */
    }

    .footer__copyright {
        font-size: 0.7rem; /* Minimize copyright text size */
    }
}