@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

:root {
    --gold: #c5a059;
    --gold-light: #e8c87e;
    --gold-dark: #9e7f43;
    --marble-base: #fdfcfb;
    --marble-vein: #f4f1ea;
    --text-dark: #2c2c2c;
    --text-light: #7a7a7a;
    --white: #ffffff;
    --footer-bg: #111111;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    /* Light Theme Background */
    background: radial-gradient(circle at top left, var(--white), var(--marble-base) 80%);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.8;
}

h1, h2, h3, h4, .brand-font {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--gold-dark);
}

/* Luxury Light Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(253, 252, 251, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    box-sizing: border-box;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* Header Logo: Exactly 20% larger than the 80px footer logo (80 * 1.2 = 96px) */
.nav-logo-img { height: 115px; transition: height 0.3s ease; } 

.nav-links { display: flex; align-items: center; }
.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.4s ease;
}
.nav-links a:hover { color: var(--gold); }

/* Mobile Menu Hamburger (3 Lines) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--gold-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Sections */
.section { padding: 100px 10%; min-height: 50vh; display: flex; flex-direction: column; justify-content: center; }
.section-alt { background: transparent; box-shadow: none; }
.section-title { text-align: center; font-size: 3.5rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 20px; color: var(--gold-dark); }
.section-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 80px; height: 3px; background: linear-gradient(to right, var(--gold-light), var(--gold-dark));
}
.section-subtitle { text-align: center; max-width: 800px; margin: 0 auto 4rem auto; font-size: 1.2rem; color: var(--text-light); }

/* Hero Slider */
.hero-slider-container { position: relative; height: 100vh; width: 100%; overflow: hidden; background: var(--white); }
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0;
    transition: opacity 1.5s ease-in-out; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.slide.active { opacity: 1; z-index: 10; }
.slide-content { z-index: 15; position: relative; padding: 2rem; background: rgba(255,255,255,0.2); backdrop-filter: blur(5px); border-radius: 10px; border: 1px solid rgba(255,255,255,0.4); }
.slide-title { font-size: 3rem; letter-spacing: 5px; text-transform: uppercase; color: var(--gold-dark); margin: 0; }
.slide-text { margin-top: 1rem; color: var(--text-dark); font-size: 1.2rem; letter-spacing: 2px; font-weight: 500;}

/* SVG Animations */
.svg-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; object-fit: cover; }
@keyframes waveAnim { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.wave { animation: waveAnim 15s linear infinite; }
.wave:nth-child(2) { animation: waveAnim 20s linear infinite reverse; opacity: 0.5; }
@keyframes dropFall { 0% { transform: translateY(0px); opacity: 0; } 10% {opacity: 1; }  70% { transform: translateY(600px); opacity: 1; } 71% { opacity: 0; transform: translateY(600px); }  100% { transform: translateY(600px); opacity: 0; } }
.water-drop { animation: dropFall 5.2s ease-in  infinite; }

@keyframes splashLeft {
    0%, 70% { opacity: 0; transform: translate(0, 600px) scale(0.5); }
    71% { opacity: 1; transform: translate(-50px, 540px) scale(1); }
    85% { opacity: 0; transform: translate(-90px, 620px) scale(0); }
    100% { opacity: 0; }
}
@keyframes splashRight {
    0%, 70% { opacity: 0; transform: translate(0, 600px) scale(0.5); }
    71% { opacity: 1; transform: translate(50px, 540px) scale(1); }
    85% { opacity: 0; transform: translate(90px, 620px) scale(0); }
    100% { opacity: 0; }
}
.splash-l { animation: splashLeft 5.2s ease-out infinite; }
.splash-r { animation: splashRight 5.2s ease-out infinite; }

/* --- LUXURY CONTACT FORM UI --- */
.luxury-form-container {
    background: var(--white);
    padding: 4rem;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border: 1px solid var(--marble-vein);
}
.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-dark);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}
.luxury-input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.luxury-input:focus {
    outline: none;
    border-bottom: 2px solid var(--gold);
}
.luxury-input::placeholder { color: #bbb; }



/* Buttons & Grids */
.btn-gold {
    display: inline-block; padding: 15px 40px; background: linear-gradient(to right, var(--gold), var(--gold-dark));
    color: var(--white); text-decoration: none; text-transform: uppercase; letter-spacing: 2px;
    font-size: 0.9rem; font-weight: 600; border-radius: 2px; transition: all 0.4s ease; border: none; cursor: pointer;
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(197, 160, 89, 0.4); }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.feature-box { text-align: center; padding: 3rem; background: var(--white); border: 1px solid var(--marble-vein); transition: transform 0.3s ease; }
.feature-box i { font-size: 3rem; color: var(--gold); margin-bottom: 1.5rem; }

/* Dark Footer - Extremely Compact */
footer {
    background: var(--footer-bg); color: #999;
    padding: 2.5rem 10% 1.5rem 10%; /* Drastically reduced padding */
    border-top: 2px solid var(--gold-dark);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1.5fr 1fr 1.5fr; gap: 2rem; margin-bottom: 1rem; align-items: start; }
/* Footer Logo: Exactly 80px */
.footer-logo { height: 88px; width: auto; margin-bottom: 0.5rem; } 
.footer-title { color: var(--gold); font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 1rem; margin-top: 0; }
.footer-links a { display: block; color: #FDFCF7; text-decoration: none; margin-bottom: 0.5rem; transition: color 0.3s; font-size: 0.85rem; }
.footer-links a:hover { color: var(--gold); }
.social-icons a { display: inline-block; width: 35px; height: 35px; background: rgba(255,255,255,0.05); color: var(--gold); text-align: center; line-height: 35px; border-radius: 50%; margin-right: 8px; transition: all 0.3s; font-size: 0.9rem; }
.social-icons a:hover { background: var(--gold); color: var(--footer-bg); }
.footer-bottom { text-align: center; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.75rem; color: #666; }

/* Animations */
@keyframes fadeUp { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }
.animate { animation: fadeUp 1s ease forwards; opacity: 0; }

/* --- UPDATED MOBILE RESPONSIVENESS (Fixes Home, Products, About, Contact) --- */
@media (max-width: 992px) {
    .content-grid { grid-template-columns: 1fr; gap: 3rem; }
    .content-grid > div { order: 0 !important; } /* Fixes ordering on mobile */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        display: none; width: 100%; flex-direction: column; text-align: center;
        background: rgba(253, 252, 251, 0.98); position: absolute; top: 100%; left: 0; padding: 1rem 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .nav-links a { margin: 1rem 0; font-size: 1rem; }
    
    /* Scale down header logo gracefully on mobile */
    .nav-logo-img { height: 75px; } 
    
    /* Page Paddings and Typography */
    .section { padding: 80px 5%; min-height: auto; }
    .section-title { font-size: 2.2rem; }
    .slide-title { font-size: 1.8rem; }
    .slide-text { font-size: 1rem; }
    .slide-content { width: 85%; padding: 1.5rem; }
    
    /* CRITICAL FIX: Restrict Bottle/SVG/Image sizes on Mobile Grids */
    .content-grid svg, .content-grid img {
        max-width: 100%;
        height: auto !important;
        max-height: 400px; /* Prevents overflow and massive heights */
    }
    .content-grid { text-align: center; gap: 2rem; }
    
    /* Footer Mobile Adjustments */
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
    .footer-logo { margin: 0 auto 1rem auto; display: block; height: 70px; }
    .social-icons { display: flex; justify-content: center; }
}




/* --- FEATURE BOX IDLE ANIMATIONS --- */
@keyframes borderGlow {
    0%, 100% { border-color: var(--marble-vein); box-shadow: 0 15px 35px rgba(0,0,0,0.03); }
    50% { border-color: rgba(197, 160, 89, 0.4); box-shadow: 0 15px 35px rgba(197, 160, 89, 0.15); }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); color: var(--gold); }
    50% { transform: translateY(-10px); color: var(--gold-light); filter: drop-shadow(0 5px 5px rgba(197,160,89,0.3)); }
}

/* Apply staggered glowing border to the boxes */
.feature-box {
    animation: borderGlow 4s ease-in-out infinite;
}
.feature-box:nth-child(1) { animation-delay: 0s; }
.feature-box:nth-child(2) { animation-delay: 1.3s; }
.feature-box:nth-child(3) { animation-delay: 2.6s; }

/* Pause the idle animation when the user hovers */
.feature-box:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    animation-play-state: paused;
}

/* Apply staggered floating to the icons inside the boxes */
.feature-box i {
    display: inline-block; /* Required to allow transforms on inline elements */
    animation: iconFloat 4s ease-in-out infinite;
}
.feature-box:nth-child(1) i { animation-delay: 0s; }
.feature-box:nth-child(2) i { animation-delay: 1.3s; }
.feature-box:nth-child(3) i { animation-delay: 2.6s; }




/* --- CUSTOM WATER DROP CURSOR --- */
body {
    /* Uses a pure SVG data URI for a tiny blue water drop as the cursor */
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%234db6ac" d="M12 2c0 0-8 9-8 14a8 8 0 0 0 16 0c0-5-8-14-8-14z"/></svg>') 12 12, auto;
}

/* Ensure clickable elements also show the drop cursor */
a, button, input, textarea, .hamburger {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%23c5a059" d="M12 2c0 0-8 9-8 14a8 8 0 0 0 16 0c0-5-8-14-8-14z"/></svg>') 12 12, pointer;
}


/* --- GLOBAL CLICK SCATTER ANIMATION --- */
.click-splash-container {
    position: fixed;
    pointer-events: none; /* Prevents the splash from blocking clicks */
    z-index: 9999;
    transform: translate(-50%, -50%);
}
.click-ripple {
    position: absolute; top: 50%; left: 50%; width: 10px; height: 10px;
    background: transparent; border: 2px solid var(--gold-light);
    border-radius: 50%; transform: translate(-50%, -50%);
    animation: clickRippleAnim 0.7s ease-out forwards;
}
.click-drop {
    position: absolute; top: 50%; left: 50%; width: 6px; height: 6px;
    background: var(--gold-light); border-radius: 50%;
    transform: translate(-50%, -50%);
}
.drop-1 { animation: scatter1 0.6s ease-out forwards; }
.drop-2 { animation: scatter2 0.6s ease-out forwards; }
.drop-3 { animation: scatter3 0.6s ease-out forwards; }
.drop-4 { animation: scatter4 0.6s ease-out forwards; }
.drop-5 { animation: scatter5 0.6s ease-out forwards; }

@keyframes clickRippleAnim { 0% { width: 0; height: 0; opacity: 1; } 100% { width: 120px; height: 120px; opacity: 0; } }
@keyframes scatter1 { 100% { transform: translate(-50px, -50px) scale(0); opacity: 0; } }
@keyframes scatter2 { 100% { transform: translate(50px, -50px) scale(0); opacity: 0; } }
@keyframes scatter3 { 100% { transform: translate(-50px, 50px) scale(0); opacity: 0; } }
@keyframes scatter4 { 100% { transform: translate(50px, 50px) scale(0); opacity: 0; } }
@keyframes scatter5 { 100% { transform: translate(0px, -60px) scale(0); opacity: 0; } }


/* --- MOBILE LAYOUT FIXES (The 3 Boxes) --- */
.three-col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    /* Forces the 3 boxes to stack cleanly on tablets and mobiles */
    .three-col-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   MOBILE ALIGNMENT & RESPONSIVE FIXES
   ========================================================================== */

/* Structural Classes (Replacing fixed inline styles) */
.overlap-section { padding-top: 40px; margin-top: -80px; position: relative; z-index: 10; }
.bottle-wrap-home { display: flex; justify-content: center; align-items: center; height: 450px; }
.bottle-wrap-petite { display: flex; justify-content: center; align-items: center; height: 350px; }
.bottle-wrap-grand { display: flex; justify-content: center; align-items: center; height: 480px; }
.contact-info-wrap { padding-left: 2rem; }

@media (max-width: 768px) {
    /* 1. Fix Banner Video Text Alignment */
    .hero-slider-container {
        align-items: center !important; /* Centers text vertically on mobile */
        padding-top: 0 !important;
    }
    .hero-slider-container h2 {
        font-size: 1rem !important;
        letter-spacing: 3px !important;
        line-height: 1.6;
        padding: 0 15px;
    }

    /* 2. Fix Section Overlap (Reduces negative margin so it doesn't break video) */
    .overlap-section {
        margin-top: -30px !important;
        padding-top: 50px !important;
    }

    /* 3. Fix Contact Form Padding & Center Info */
    .luxury-form-container {
        padding: 2rem 1.5rem !important; /* drastically reduces side padding to fit inputs */
    }
    .contact-info-wrap {
        padding-left: 0 !important;
        text-align: center;
    }

    /* 4. Fix Bottle "Zoomed Out" Issue on Products/Home Page */
    /* By reducing the container height on mobile, the bottle scales beautifully instead of shrinking */
    .bottle-wrap-home,
    .bottle-wrap-petite {
	height: 320px !important; 
    }
    .bottle-wrap-grand {
        height: 700px !important;
    }
}

/* --- NEW MOBILE ALIGNMENT FIXES --- */
/* Desktop default */
.promise-text-wrap { padding-right: 3rem; }

@media (max-width: 768px) {
    /* Restores top-alignment for the banner text on mobile */
    .hero-slider-container {
        align-items: flex-start !important;
        padding-top: 10vh !important;
    }

    /* Centers the "Fully Automatic Precision" section */
    .promise-text-wrap {
        padding-right: 0;
        text-align: center;
    }

    /* Ensures the paragraph text inside the center aligns perfectly */
    .promise-text-wrap p {
        text-align: center;
    }
}







/* ==========================================================================
   PRE-LAUNCH ANNOUNCEMENT BAR
   ========================================================================== */
.announcement-bar {
    background: linear-gradient(to right, var(--gold-dark), var(--gold), var(--gold-dark));
    color: var(--white);
    height: 65px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1005; /* Keeps it above everything */
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.announcement-text {
    white-space: nowrap;
    padding-left: 100%; /* Starts the text off-screen to the right */
    animation: marqueeScroll 25s linear infinite; /* 25s controls the speed */
}

/* Pauses the scrolling if a user hovers their mouse over it to read */
.announcement-text:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* CRITICAL: Push the navbar down by 40px so it sits exactly below the new bar */
.navbar {
    top: 65px !important;
}
