:root {
    --primary: #C35000;
    --bg-nude: #FCF9F7;
    --text-main: #2D2D2D;
    --text-muted: #707070;
    --gold-soft: #D4AF37;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Montserrat', sans-serif; 
    background-color: var(--bg-nude); 
    color: var(--text-main);
    line-height: 1.6;
}

h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; text-transform: uppercase; }
em { font-style: italic; font-family: 'Cormorant Garamond', serif; text-transform: lowercase; }

/* Navigation */
/* Sticky Navbar Styling */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    background: transparent; /* Start transparent */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* State when scrolling down (triggered by JS) */
.navbar.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-bottom: 1px solid #eee;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 5px;
    color: var(--text-main);
    text-decoration: none;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

/* Hover underline effect */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu Bars */
/* .menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: 0.3s;
} */
 /* Base Menu Toggle Styling */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 8px; /* Space between bars */
    z-index: 1001;
    transition: 0.3s;
}

.bar {
    width: 28px;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* --- THE X TRANSFORMATION --- */

/* When the parent has the class 'is-active' */
.menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(2) {
    transform: translateY(-5px) rotate(-45deg);
}

/* Adjusting for mobile display */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
}

/* Mobile Navigation Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: white;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav a {
    font-size: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    text-decoration: none;
    color: var(--text-main);
}

@media (max-width: 992px) {
    .nav-links { display: none; }
    .menu-toggle { display: flex; }
    .navbar { padding: 20px 0; background: white; } /* Always white on mobile */
}
/* .navbar {
    padding: 30px 5%;
    display: flex; justify-content: space-between; align-items: center;
    position: absolute; width: 100%; top: 0; z-index: 10;
}
.logo { font-size: 1.4rem; font-weight: 500; letter-spacing: 5px; color: var(--primary); }
.nav-links a { text-decoration: none; color: var(--text-main); font-size: 0.7rem; letter-spacing: 2px; margin-left: 25px; font-weight: 500; } */

/* Hero Section */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 100px 5% 50px; }
.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.eyebrow { font-size: 0.7rem; letter-spacing: 4px; color: var(--text-muted); display: block; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; margin-bottom: 30px; }
.hero p { max-width: 450px; color: var(--text-muted); margin-bottom: 40px; }

/* Hero Visual - Floating Images */
.hero-visual { position: relative; }
.main-img { width: 85%; height: 550px; overflow: hidden; }
.main-img img { width: 100%; height: 100%; object-fit: cover; }
.sub-img { 
    position: absolute; bottom: -40px; right: 0; 
    width: 250px; height: 350px; border: 10px solid var(--bg-nude);
}
.sub-img img { width: 100%; height: 100%; object-fit: cover; }

/* Buttons */
.cta-gold { 
    padding: 18px 40px; background: var(--primary); color: white; 
    text-decoration: none; font-size: 0.8rem; letter-spacing: 2px; font-weight: 500;
    transition: 0.4s;
}
.cta-gold:hover { background: #000; }

/* Full-Width Slider */
.slider-section {
    padding: 0; /* Remove padding for full width */
    margin: 80px 0;
    width: 100%;
    overflow: hidden;
}

.slider-wrapper-full {
    position: relative;
    width: 100vw;
    height: 80vh; /* Takes 80% of screen height */
    background: #000;
}

.slides {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 2s ease;
    transform: scale(1.05); /* Subtle zoom effect */
}

.slide.active {
    opacity: 1;
    transform: scale(1); /* Zooms out slightly when active */
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gradient overlay to make text readable */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
    z-index: 2;
}

.slide-caption {
    position: absolute;
    bottom: 10%;
    left: 8%;
    color: white;
    z-index: 3;
    max-width: 600px;
}

.slide-caption h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    text-transform: none;
    margin-top: 10px;
}

.eyebrow.white {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 4px;
}

/* Modern Glass Arrows */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    padding: 30px 20px;
    cursor: pointer;
    z-index: 10;
    transition: 0.4s;
}

.prev:hover, .next:hover {
    background: rgba(195, 80, 0, 0.8);
}

.next { right: 0; }
.prev { left: 0; }

.slider-dots {
    bottom: 30px;
}

@media (max-width: 768px) {
    .slider-wrapper-full { height: 60vh; }
    .prev, .next { display: none; } /* Hide arrows on mobile for cleaner look */
}

/* Services */
.services { padding: 100px 5%; background: #fff; }
.section-title { text-align: center; margin-bottom: 80px; }
.section-title h2 { font-size: 3rem; margin-bottom: 10px; }

.services-list { max-width: 1000px; margin: 0 auto; }
.service-row { 
    display: flex; justify-content: space-between; align-items: center;
    padding: 40px 0; border-bottom: 1px solid #eee; transition: 0.3s;
}
.service-row:hover { transform: translateX(10px); color: var(--primary); }
.s-desc h3 { font-size: 1.5rem; letter-spacing: 1px; }
.s-desc p { color: var(--text-muted); font-size: 0.9rem; }
.s-price { font-weight: 500; font-size: 0.85rem; letter-spacing: 1px; }

/* Booking Section */
.booking-cta { padding: 100px 5%; text-align: center; }
.cta-box { background: var(--bg-nude); padding: 80px 40px; border: 1px solid #e0d8d0; }
.wa-btn { 
    display: inline-block; margin-top: 30px; color: var(--text-main); 
    text-decoration: none; border-bottom: 2px solid var(--primary); 
    padding-bottom: 5px; font-weight: 600; font-size: 0.9rem;
}

/* Footer */
.footer { padding: 60px 5%; text-align: center; border-top: 1px solid #eee; letter-spacing: 3px; font-size: 0.7rem; }
.copyright { margin-top: 20px; color: var(--text-muted); }

/* Animations */
.reveal { opacity: 0; transform: translateY(40px); transition: 1.2s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .hero p { margin: 0 auto 40px; }
    .nav-links { display: none; }
    .service-row { flex-direction: column; text-align: center; gap: 15px; }
}

/* Products Section */
.products { padding: 100px 5%; background: #fff; }
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.product-card { text-align: center; transition: 0.3s; }
.p-img { 
    height: 350px; overflow: hidden; background: var(--bg-nude); 
    margin-bottom: 20px; border-radius: 2px;
}
.p-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.product-card:hover .p-img img { transform: scale(1.05); }
.product-card h3 { font-size: 1.2rem; margin-bottom: 10px; letter-spacing: 1px; }
.p-price { display: block; color: var(--primary); font-weight: 500; margin-bottom: 15px; }
.p-buy { 
    font-size: 0.7rem; letter-spacing: 2px; text-decoration: none; 
    color: var(--text-main); border-bottom: 1px solid var(--primary);
    padding-bottom: 3px; transition: 0.3s;
}
.p-buy:hover { color: var(--primary); }

/* Gallery Section */
.gallery-section { padding: 100px 5%; background: var(--bg-nude); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}
.gallery-item {
    position: relative; height: 350px; overflow: hidden; cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.gallery-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(195, 80, 0, 0.4);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: 0.4s;
}
.gallery-overlay span { 
    color: white; border: 1px solid white; padding: 10px 20px; 
    font-size: 0.7rem; letter-spacing: 2px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.1); }

/* Responsive tweaks */
@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
/* Contact Section */
.contact-section { 
    padding: 100px 5%; 
    background-color: #fff; 
    border-top: 1px solid #eee;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.contact-details h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.contact-intro {
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 1.1rem;
    max-width: 400px;
}

.info-group {
    display: grid;
    gap: 30px;
}

.info-item h4 {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.info-item p, .info-item a {
    font-size: 1.1rem;
    color: var(--text-main);
    text-decoration: none;
    transition: 0.3s;
}

.info-item a:hover {
    color: var(--primary);
}

.wa-link {
    font-weight: 600;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 2px;
}

/* Map Styling */
.contact-map {
    height: 500px;
    background: #f0f0f0;
    filter: grayscale(100%) contrast(1.1); /* Editorial 'Misbah' look for maps */
    transition: 0.5s;
}

.contact-map:hover {
    filter: grayscale(0%);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-map {
        height: 400px;
    }
}

/* animation */

/* --- ANIMATION ENGINE --- */

/* 1. Base Reveal (Text & Cards) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 2. Luxury Image Reveal (Wipe Mask) */
.reveal-img {
    position: relative;
    overflow: hidden;
    clip-path: inset(0 0 100% 0); /* Masks from bottom */
    transition: clip-path 1.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-img.active {
    clip-path: inset(0 0 0% 0);
}

/* 3. Staggered Delays for Grid Items */
/* This makes items appear one after another automatically */
.service-row:nth-child(2), .product-card:nth-child(2), .gallery-item:nth-child(2) { transition-delay: 0.2s; }
.service-row:nth-child(3), .product-card:nth-child(3), .gallery-item:nth-child(3) { transition-delay: 0.4s; }
.gallery-item:nth-child(4) { transition-delay: 0.6s; }

/* 4. Subtle Parallax on Hero Images */
.main-img img {
    transition: transform 0.5s ease-out;
}

/* 5. Floating Animation for the spa-circle image */
.sub-img {
    animation: floatingSpa 5s ease-in-out infinite;
}

@keyframes floatingSpa {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, -20px); }
}

/* 6. Navbar Entrance */
.navbar {
    animation: navSlide 1s ease-out forwards;
}

@keyframes navSlide {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Marquee Styles */
.marquee-section {
    background: var(--text-main); /* Dark background for high contrast */
    padding: 30px 0;
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee-scroll 25s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    padding: 0 40px;
}

.marquee-item span {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 5px;
    color: #fff;
    text-transform: uppercase;
}

/* Accent color for the separator dots */
.marquee-item:nth-child(even) span {
    color: var(--primary);
    font-weight: 900;
}

/* The Animation Loop */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Moves by half because we duplicated content */
    }
}

/* Pause on hover so people can read */
.marquee-section:hover .marquee-content {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .marquee-item span {
        font-size: 1rem;
        letter-spacing: 3px;
    }
    .marquee-section {
        padding: 20px 0;
    }
}