:root {
    --primary-color: #c4a484; 
    --primary-dark: #a88a6d;
    --secondary-color: #2c2c2c; 
    --accent-color: #d4af37; 
    --bg-light: #fcfaf8;
    --bg-dark: #121212;
    --text-main: #2d2d2d;
    --text-muted: #7d7d7d;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-font {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: transform 0.4s ease, background 0.4s ease, padding 0.4s ease;
}

header.header-hidden {
    transform: translateY(-100%);
}

header.scrolled,
header.header-internal {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

header.scrolled .logo img,
header.header-internal .logo img {
    filter: invert(48%) sepia(35%) saturate(301%) hue-rotate(346deg) brightness(101%) contrast(85%); /* #a88a6d color */
}

header.scrolled .nav-links a,
header.header-internal .nav-links a {
    color: var(--secondary-color);
}

/* Hamburger Menu */
.mobile-toggle {
    display: none !important;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 30px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

header.scrolled .mobile-toggle span {
    background: var(--secondary-color);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: flex !important;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        transition: 0.7s cubic-bezier(0.8, 0, 0.2, 1);
        z-index: 1000;
        padding: 120px 40px 60px;
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transform: scale(1.1);
        gap: 0;
    }

    .nav-links.active {
        visibility: visible;
        opacity: 1;
        transform: scale(1);
    }

    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        opacity: 0;
        transform: translateX(20px);
        transition: 0.5s ease forwards;
    }

    .nav-links.active > li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered animation for links */
    .nav-links.active > li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active > li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active > li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active > li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links.active > li:nth-child(5) { transition-delay: 0.5s; }

    .nav-links a {
        color: var(--secondary-color) !important;
        font-size: 2.2rem;
        font-family: 'Playfair Display', serif;
        display: block;
        padding: 20px 0;
        width: 100%;
        text-transform: capitalize;
        letter-spacing: -1px;
    }


    .nav-links .btn-primary {
        margin: 40px 0 0;
        width: 100%;
        text-align: center;
        font-size: 1rem;
        font-family: 'Inter', sans-serif;
        letter-spacing: 2px;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    flex-shrink: 0;
    margin-right: 40px;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-end;
}

.nav-links > li {
    position: relative;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
}

header.scrolled .nav-links a {
    color: var(--secondary-color);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Mobile Dropdown (Hidden on Desktop) */
.mobile-dropdown-content {
    display: none;
}

@media (max-width: 992px) {
    .mobile-dropdown-content {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        width: 100%;
        max-height: 50vh;
        overflow-y: auto;
        padding: 20px 0;
        background: #fdfaf7;
        margin-top: 10px;
    }

    .mobile-dropdown-content.active {
        display: flex;
    }

    .mobile-dropdown-content a {
        font-size: 1rem !important;
        opacity: 0.8;
        color: var(--secondary-color) !important;
    }
}

/* Dropdown */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--white);
    min-width: 500px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 25px;
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-height: 500px;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .dropdown-content {
        min-width: 100%;
        grid-template-columns: 1fr;
        position: static;
        transform: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none; /* Controlled by JS or hover on mobile */
    }
}

.nav-links li:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    color: var(--text-main) !important;
    font-size: 0.8rem;
    padding: 8px 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: block;
}

.dropdown-content a:hover {
    background: var(--bg-light);
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

/* About Section */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.about-content h3 {
    margin: 30px 0 10px;
    font-size: 1.5rem;
}

/* Featured Services */
.featured {
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 0;
    text-align: center;
    border: 1px solid rgba(196, 164, 132, 0.15);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary-color);
    transition: var(--transition);
    z-index: 0;
}

.service-card:hover::before {
    height: 5px;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(196, 164, 132, 0.1);
    border-color: var(--primary-color);
}

.service-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: var(--secondary-color);
}

.service-card p {
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Reviews */
.reviews {
    background: var(--secondary-color);
    color: var(--white);
}

.review-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
}

.review-card {
    min-width: 350px;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.review-card p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.review-author {
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Footer */
footer {
    padding: 80px 0 30px;
    background: #111;
    color: #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-info img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-contact h4 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: #777;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    color: white;
}

/* About Grid Layout Fix */
.about-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 20px;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-images {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 200px);
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .contact-page-grid {
        grid-template-columns: 1fr !important;
    }
    
    .about-images {
        grid-template-rows: repeat(2, 180px);
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact p, .social-links {
        justify-content: center;
    }
    
    header .btn-primary {
        display: none !important; /* Hide book now in mobile header to save space */
    }

    /* Fixed logo filter for mobile when menu is open */
    .nav-links.active ~ .logo img {
        filter: invert(75%) sepia(14%) saturate(836%) hue-rotate(345deg) brightness(85%) contrast(83%);
    }
}

/* Ensure Logo filter works on all pages with .scrolled */
header.scrolled .logo img {
    filter: invert(75%) sepia(14%) saturate(836%) hue-rotate(345deg) brightness(85%) contrast(83%);
}
