/* CAPSUL-IN-PRO EXACT REPLICA FOR LWANG BLACK (DARK MODE) */
:root {
    --bg-primary: #0a0b0a;
    --bg-secondary: #000000;
    --text-primary: #ffffff;
    --text-muted: #d1d1d1; /* Improved contrast for WCAG 2.1 AA on #0a0b0a */
    --accent: #2e624c;
    --accent-light: rgba(46, 98, 76, 0.2);
    --border-color: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'EB Garamond', Georgia, serif;
    --font-body: 'DM Sans', 'Inter', sans-serif;
    --font-micro: 'Outfit', 'DM Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
}

/* Base element overrides */
a { text-decoration: none; color: inherit; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1;
}

.title-massive {
    font-size: clamp(5rem, 13vw, 10rem);
    letter-spacing: -3px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.title-large {
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    text-transform: uppercase;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    font-weight: 300;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 3rem;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

.label-micro {
    font-family: var(--font-micro);
    font-size: 0.6rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2rem;
    display: inline-block;
    color: var(--text-muted);
}

/* ─── HERO SHOP NOW BUTTON ─────────────────────────── */
.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.hero-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1.1rem 2.8rem;
    background: #fff;
    color: #0a0b0a;
    border-radius: 50px;
    font-family: var(--font-micro);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s;
    box-shadow: 0 0 0 0 rgba(255,255,255,0.3);
    animation: heroShopPulse 3s ease-in-out infinite;
}

.hero-shop-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,168,76,0.25) 0%, rgba(255,255,255,0) 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.hero-shop-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255,255,255,0.25), 0 0 0 2px rgba(255,255,255,0.1);
    animation: none;
}
.hero-shop-btn:hover::before { opacity: 1; }

.hero-shop-btn-text {
    position: relative; z-index: 1;
}

.hero-shop-btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(10,11,10,0.12);
    border-radius: 50%;
    transition: transform 0.3s, background 0.3s;
    flex-shrink: 0;
}

.hero-shop-btn:hover .hero-shop-btn-arrow {
    transform: translateX(3px);
    background: rgba(10,11,10,0.2);
}

@keyframes heroShopPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.2); }
    50% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: var(--bg-primary);
    z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    flex-direction: column;
}
.spinner {
    width: 40px; height: 40px;
    border: 1px solid var(--border-color);
    border-top-color: var(--text-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 2rem;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Navigation */
.site-nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-nav.scrolled {
    padding: 1rem 3rem;
    background: rgba(10, 11, 10, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.site-nav > * { pointer-events: auto; }

.nav-links { display: flex; gap: 3rem; align-items: center; }
.nav-links a {
    font-family: var(--font-micro);
    font-size: 0.65rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--accent); }

.nav-brand img {
    height: 35px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast; /* Sharpen logo on mobile/high-DPI */
    filter: brightness(1.05); /* Slight pop for dark mode */
}

/* Background Parallax Elements */
.parallax-bg-wrapper {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    z-index: -1; /* Moved to -1 to ensure it never overlaps text sections */
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
.parallax-bottle-img {
    height: 90vh;
    max-width: 90vw;
    object-fit: contain;
    will-change: transform;
    opacity: 0; /* Will fade in on load via GSAP */
}

/* Layout Containers */
.fullscreen-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 5vw;
    z-index: 10; /* Above parallax bg */
}

.centered {
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

/* Split design exactly like capsul in pro */
/* Left side text, right side bottle, etc. */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
    align-items: center;
}

@media (max-width: 900px) {
    .split-section { grid-template-columns: 1fr; }
}

/* Circular Discover Button */
.btn-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-style: italic;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}
.btn-circle:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    transform: scale(1.05);
}

.btn-solid {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    border-radius: 50px;
    font-family: var(--font-micro);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: transform 0.3s;
    border: none;
    cursor: pointer;
}
.btn-solid:hover {
    transform: translateY(-2px);
    background: #e0e0e0;
}

/* Transparent Content Panels instead of heavy glassmorphism for darker elegant look */
.content-panel {
    max-width: 600px;
}

.glass-panel {
    background: rgba(10, 11, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 4rem;
    width: 100%;
    z-index: 10;
}

/* Lists and Details */
.elegant-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.elegant-list-item h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.elegant-list-item p {
    color: var(--text-muted);
}

/* Products Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    margin-top: 4rem;
}
.product-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.4s, background 0.4s;
    display: flex;
    flex-direction: column;
    background: transparent;
}
.product-card:hover { border-color: rgba(255,255,255,0.3); }
.product-img { width: 100%; height: 350px; object-fit: cover; border-radius: 8px; margin-bottom: 2rem; transition: opacity 0.3s; }
.product-img:hover { opacity: 0.85; }

/* Lines and accents */
.vertical-line {
    width: 1px;
    height: 100px;
    background: var(--border-color);
    margin: 4rem auto;
}

/* GSAP Reveal Classes */
.gsap-reveal-up, .gsap-reveal-text, .gsap-reveal-fade {
    opacity: 0;
    visibility: hidden;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 1rem; width: 100%; }
.faq-item { border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; }
.faq-q { font-family: var(--font-heading); font-size: 1.5rem; cursor: pointer; display: flex; justify-content: space-between; }
.faq-a { color: var(--text-muted); max-height: 0; overflow: hidden; transition: max-height 0.4s ease; margin-top: 0.5rem; font-size: 0.9rem;}

/* Inputs */
.input-field {
    width: 100%; padding: 1rem 0; border: none; border-bottom: 1px solid var(--border-color);
    background: transparent; color: var(--text-primary); font-family: var(--font-body); margin-bottom: 1rem;
    outline: none; transition: border-color 0.3s;
}
.input-field:focus { border-bottom-color: var(--text-primary); }
.input-field::placeholder { color: var(--text-muted); font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; font-family: var(--font-micro); }

/* Footer */
.site-footer {
    padding: 6rem 5vw 2rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4rem; margin-bottom: 4rem; }
.footer-col a { display: block; margin-bottom: 0.8rem; color: var(--text-muted); font-size: 0.8rem; font-family: var(--font-micro); letter-spacing: 1px; text-transform: uppercase; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 2rem; border-top: 1px solid var(--border-color); font-size: 0.7rem; color: var(--text-muted); font-family: var(--font-micro); letter-spacing: 1px; }

/* ─── Hamburger Menu Button ─────────────────────── */
.nav-hamburger {
    display: none;
    background: transparent; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 8px; z-index: 1002;
    position: relative;
}
.hamburger-line {
    width: 22px; height: 2px; background: #fff;
    transition: transform 0.3s, opacity 0.3s;
    display: block;
}
.nav-hamburger.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active .hamburger-line:nth-child(2) { opacity: 0; }
.nav-hamburger.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── Mobile Menu Overlay ──────────────────────── */
.nav-mobile-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(10,11,10,0.97); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1001; flex-direction: column;
    justify-content: center; align-items: center; gap: 2rem;
    opacity: 0; transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.nav-mobile-overlay.open {
    display: flex; opacity: 1; transform: translateY(0);
}
.nav-mobile-overlay a {
    font-family: var(--font-micro); font-size: 1rem;
    letter-spacing: 4px; text-transform: uppercase;
    color: var(--text-primary); text-decoration: none;
    padding: 0.8rem 1.5rem; transition: color 0.3s;
}
.nav-mobile-overlay a:hover { color: var(--accent); }
.nav-mobile-overlay .btn-solid {
    margin-top: 1rem; padding: 1rem 3rem; font-size: 0.8rem;
}

/* ─── Skip to Content Link ─────────────────────── */
.skip-link {
    position: absolute; top: -50px; left: 0;
    background: #fff; color: #000;
    padding: 8px 16px; z-index: 10000;
    font-size: 14px; font-family: var(--font-body);
    transition: top 0.3s;
    text-decoration: none;
}
.skip-link:focus { top: 0; }

@media (max-width: 768px) {
    /* Show hamburger, hide desktop links */
    .nav-hamburger { display: flex; }
    .site-nav {
        padding: 1rem 5vw; flex-wrap: nowrap;
        justify-content: space-between; align-items: center;
        background: rgba(10,11,10,0.95); backdrop-filter: blur(15px);
    }
    .nav-left, .nav-right { display: none; }
    .nav-center { order: 0; flex: 0; }
    .nav-brand { width: auto; text-align: center; margin-bottom: 0; }
    .nav-brand img { height: 26px; }
    .btn-solid { padding: 0.6rem 1.2rem; font-size: 0.65rem; }

    /* Layout & Sections */
    .fullscreen-section { padding: 4rem 1.2rem; min-height: auto; }
    .fullscreen-section.hero { padding-top: 6rem !important; }
    .split-section { gap: 1.5rem; }
    .glass-panel { padding: 2rem 1.2rem; }
    .vertical-line { margin: 2rem auto; height: 60px; }
    
    /* Typography Scaling */
    .title-massive { font-size: clamp(2rem, 12vw, 3.5rem); letter-spacing: -1px; }
    .title-large { font-size: clamp(1.8rem, 8vw, 2.5rem); letter-spacing: -1px; }
    .subtitle { font-size: 0.9rem; margin-bottom: 2rem; }
    .label-micro { margin-bottom: 1rem; }

    /* Footer adjustments */
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; justify-content: center; align-items: center; }

    /* Parallax BG scale */
    .parallax-bottle-img { max-height: 70vh; }

    /* Sticky ATC bar on mobile PDP */
    .pp-sticky-atc {
        position: fixed; bottom: 0; left: 0; width: 100%;
        background: rgba(10,11,10,0.97); backdrop-filter: blur(15px);
        border-top: 1px solid rgba(255,255,255,0.1);
        padding: 0.8rem 5vw; display: flex;
        align-items: center; justify-content: space-between;
        gap: 1rem; z-index: 999;
        transform: translateY(100%); transition: transform 0.3s ease;
    }
    .pp-sticky-atc.visible { transform: translateY(0); }
    .pp-sticky-atc .pp-sticky-price {
        font-family: var(--font-heading); font-size: 1.4rem; color: #fff;
    }
    .pp-sticky-atc .btn-solid { flex: 1; text-align: center; padding: 1rem; }
}

/* Promotional Popup */
.promo-popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.promo-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.promo-popup-content {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    position: relative;
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.promo-popup-overlay.active .promo-popup-content {
    transform: translateY(0) scale(1);
}

.promo-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
}

.promo-close-btn:hover {
    color: var(--text-primary);
}

.promo-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.promo-image-col {
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.promo-text-col {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .promo-split {
        grid-template-columns: 1fr;
    }
    .promo-image-col {
        height: 200px;
    }
    .promo-image-col img {
        min-height: unset;
    }
    .promo-text-col {
        padding: 2.5rem 1.5rem;
    }
    .promo-close-btn {
        top: 0.5rem;
        right: 1rem;
        color: #fff;
        text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    }
}

