/* ===== Root Variables ===== */
:root {
    --primary-gold: #D4AF37;
    --primary-maroon: #8B1538;
    --secondary-maroon: #A01E48;
    --light-bg: #F5F1E8;
    --white: #FFFFFF;
    --dark-text: #2C2C2C;
    --light-text: #666666;
    --border-color: #E0D5C7;
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 50px;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--dark-text);
    background-color: var(--light-bg);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark-text);
}

a {
    text-decoration: none;
    color: var(--primary-maroon);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-gold);
}

/* ===== Navigation ===== */
.navbar {
    background: linear-gradient(135deg, var(--primary-maroon) 0%, var(--secondary-maroon) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold) !important;
}

.brand-logo {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: var(--primary-gold);
    color: var(--primary-maroon);
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    font-weight: 900;
    margin-right: 0.5rem;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-gold) !important;
    transform: translateY(-2px);
}

/* ===== Hero Section ===== */
.hero-section {
    margin-top: 60px;
    position: relative;
    height: 600px;
    overflow: hidden;
}

.carousel,
.carousel-item {
    height: 600px;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: none;
    /* ✅ fix for buttons */
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    z-index: 10;
    padding: 0 20px;
    /* ✅ Responsive padding for smaller screens */
}

.carousel-caption h1 {
    font-size: 4rem;
    color: var(--primary-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.3rem;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    margin: 0 auto;
    /* ✅ Centers horizontally */
    line-height: 1.6;
}


.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(139, 21, 56, 0.8);
    border-radius: 50%;
    padding: 20px !important;
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 20;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(139, 21, 56, 0.8);
    border-radius: 50%;
    padding: 10px;
}

/* ===== Section Styles ===== */
.section-title {
    font-size: 3rem;
    color: var(--primary-maroon);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-maroon));
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--primary-gold);
    margin-bottom: 2rem;
}

.section-text {
    font-size: 1.1rem;
    color: var(--light-text);
    line-height: 1.8;
}

/* ===== About Section ===== */
.about-section {
    background-color: var(--white);
    padding: 80px 0;
}

.about-section img {
    box-shadow: 0 10px 30px rgba(139, 21, 56, 0.2);
    transition: transform 0.3s ease;
}

.about-section img:hover {
    transform: scale(1.02);
}

.why-choose-list {
    list-style: none;
    padding: 0;
}

.why-choose-list li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    color: var(--light-text);
}

.why-choose-list i {
    color: var(--primary-gold);
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

/* ===== Menu Section ===== */
.menu-section {
    background-color: #faf8f6;
}

.menu-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.menu-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.menu-image:hover img {
    transform: scale(1.05);
}

.menu-image:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.menu-label {
    position: absolute;
    bottom: 15px;
    left: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

@media (max-width: 767px) {
    .menu-label {
        font-size: 0.9rem;
    }
}


/* ===== Services Section ===== */
.services-section {
    background-color: var(--white);
    padding: 80px 0;
}

.service-card {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.service-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(139, 21, 56, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: var(--primary-maroon);
    transform: scale(1.2) rotate(10deg);
}

.service-card h4 {
    color: var(--primary-maroon);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* ===== Gallery Section ===== */
.gallery-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    padding: 80px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    display: block;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 21, 56, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: var(--primary-gold);
}

#toggleGalleryBtn {
    background-color: var(--primary-maroon);
    color: #faf8f6;
}

#toggleGalleryBtn:hover {
    background-color: #A01E48;
}

/* ===== Contact Section ===== */
.contact-section {
    background-color: var(--white);
    padding: 80px 0;
}

.contact-info h3 {
    color: var(--primary-maroon);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.contact-item {
    display: flex;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--primary-gold);
    margin-right: 1.5rem;
    margin-top: 0.3rem;
}

.contact-item h5 {
    color: var(--primary-maroon);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--light-text);
    margin: 0;
}

.contact-item a {
    color: var(--primary-maroon);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--primary-gold);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


.contact-section .form-control {
    border-radius: 10px;
    box-shadow: none;
}

.contact-section .contactbtn {
    background-color: #8B1538;
    color: #faf8f6;
    /* border-radius: 10px; */
}

.contactbtn:hover {
    background-color: #A01E48;
}

.contact-section .form-control:focus {
    border-color: var(--primary-maroon);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ===== Footer ===== */
.footer {

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 60px 0;
    position: relative;
    z-index: 1;
}


.footer h5 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;

}

.footer-copyright a:hover {
    color: var(--primary-gold);
}

.footer-links a:hover {
    color: var(--primary-gold);
    padding-left: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--primary-gold);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-gold);
    color: var(--primary-maroon);
    transform: translateY(-3px);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.2);
}

/* ===== Floating CTA Buttons ===== */
.floating-cta {
    position: fixed;
    bottom: 85px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
    opacity: 0;
    /* Hidden by default */
    pointer-events: none;
    /* Prevent clicks when hidden */
    transition: opacity 0.4s ease;
}

.floating-cta.visible {
    opacity: 1;
    pointer-events: all;
}

/* CTA button styles remain the same */
.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.call-btn {
    background-color: var(--primary-maroon);
}

.call-btn:hover {
    background-color: var(--secondary-maroon);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(139, 21, 56, 0.4);
}

.whatsapp-btn {
    background-color: #25D366;
}

.whatsapp-btn:hover {
    background-color: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* Floating animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-gold);
    color: #fff;
    border: none;
    outline: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.scroll-top-btn:hover {
    background-color: #b8860b;
    /* Slightly darker gold */
    transform: translateY(-3px);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .floating-cta {
        bottom: 90px;
        right: 30px;
        /* flex-direction: row; */
    }

    .cta-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .hero-section {
        height: 400px;
    }

    .carousel-item {
        height: 400px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        top: 40%;
        transform: translateY(-50%);
        z-index: 20;
    }


    .about-section,
    .menu-section,
    .services-section,
    .gallery-section,
    .contact-section {
        padding: 50px 0;
    }
}

@media (max-width: 576px) {
    .carousel-caption h1 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .hero-section {
        height: 300px;
    }

    .carousel-item {
        height: 300px;
    }

    .gallery-item {
        height: 200px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        top: 23%;
        transform: translateY(-50%);
        z-index: 20;
    }
}

/* Improve Carousel Controls for all devices */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(139, 21, 56, 0.85);
    /* deep maroon background */
    border-radius: 50%;
    width: 45px;
    height: 45px;
    background-size: 60%;
    padding: 10px;
    transition: all 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: rgba(139, 21, 56, 1);
    transform: scale(1.1);
}

/* Increase button touch area */
.carousel-control-prev,
.carousel-control-next {
    width: 12%;
    z-index: 20;
}



/* Global fix to stop horizontal scrollbar flicker */
html,
body {
    overflow-x: hidden;
}

/* Prevent row negative margins from pushing content */
.row {
    margin-right: 0;
    margin-left: 0;
}

/* Ensure AOS elements don’t overflow horizontally */
/* [data-aos] {
    overflow-x: hidden;
} */

/* Optional: Prevent image hover or animation from expanding outside container */
.about-section img {
    max-width: 100%;
    height: auto;
    display: block;
}