/* ==========================================================================
   Home Page Stylesheet — LENMIS VISION
   Design System: Luxury Tech-Wellness & Scrollytelling
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --vrew-bg-dark: #070D1E;
    --vrew-navy: #0D1938;
    --vrew-navy-deep: #0a1329;
    --vrew-gold: #D4AF37;
    --vrew-gold-bright: #F5D77F;
    --vrew-honey: #E8B85C;
    --vrew-text-primary: #F8F9FA;
    --vrew-text-secondary: #94A3B8;
    --vrew-text-muted: #64748B;
    --vrew-border-gold: rgba(212, 175, 55, 0.22);
    --vrew-border-gold-glow: rgba(212, 175, 55, 0.45);
    --vrew-glass-bg: rgba(13, 25, 56, 0.72);
    --vrew-card-bg: rgba(10, 19, 41, 0.85);

    --vrew-font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --vrew-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body#home {
    background-color: var(--vrew-bg-dark) !important;
    color: var(--vrew-text-primary);
    overflow-x: hidden;
}

body#home .main-wrapper {
    background-color: var(--vrew-bg-dark) !important;
    overflow: visible !important;
    width: 100%;
}

/* Global Canvas Override for Home Page */
body#home canvas#vrew-explosion-canvas,
.vrew-hero-pinned-stage canvas {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

/* --- Typography Tokens --- */
.vrew-gold-gradient {
    background: linear-gradient(135deg, #FFF6D6 0%, #D4AF37 50%, #B89028 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.vrew-eyebrow {
    font-family: var(--vrew-font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--vrew-honey);
    display: inline-block;
    margin-bottom: 0.85rem;
    position: relative;
    padding: 0.35rem 1rem;
    background: rgba(232, 184, 92, 0.08);
    border: 1px solid rgba(232, 184, 92, 0.25);
    border-radius: 999px;
}

/* --- Section 1: Unified Hero Scrollytelling Section --- */
section#vrew-hero-track,
.vrew-hero-scroll-wrapper {
    position: relative !important;
    height: 280vh !important;
    background: var(--vrew-bg-dark) !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
    transition: none !important;
}

#vrew-hero-pinned-stage,
.vrew-hero-pinned-stage {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, #0d1938 0%, #070d1e 75%);
    z-index: 10;
}

.vrew-hero-bg-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/vrew/sequence/frame_0001.webp') center/cover no-repeat;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.5s ease;
}

.vrew-radial-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(13, 25, 56, 0.0) 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

.vrew-hero-intro-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 5;
    pointer-events: auto;
    padding: max(90px, calc(50vh - 230px)) 1.5rem 60px;
    will-change: opacity, transform;
}

.vrew-hero-content {
    position: relative;
    z-index: 5;
    max-width: 960px;
    margin: 0 auto;
}

.vrew-hero-title {
    font-family: var(--vrew-font-display);
    font-weight: 800;
    font-size: clamp(2.5rem, 5.5vw, 4.85rem);
    letter-spacing: -0.03em;
    line-height: 1.08;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.vrew-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#vrew-explosion-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.vrew-canvas-overlays {
    display: none !important;
}

/* Scrubber / Progress Indicator */
.vrew-scroll-scrub-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(13, 25, 56, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 0.45rem 1.35rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--vrew-text-secondary);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    pointer-events: none;
}

.vrew-scroll-scrub-indicator[data-state="loading"] {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.15);
}

.vrew-scroll-scrub-indicator[data-state="loading"] .vrew-scrub-label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--vrew-gold);
    margin-right: 0.5rem;
    vertical-align: middle;
    animation: vrewPulseDot 1.4s ease-in-out infinite;
}

@keyframes vrewPulseDot {
    0%, 100% {
        opacity: 0.35;
        transform: scale(0.85);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
        box-shadow: 0 0 8px var(--vrew-gold);
    }
}

.vrew-scrub-bar {
    width: 65px;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.vrew-scrub-fill {
    width: 0%;
    height: 100%;
    background: var(--vrew-gold);
    transition: width 0.15s ease-out;
}

/* --- Section: VREW CTA --- */
.section-vrew-cta {
    padding: 100px 0;
    background: radial-gradient(circle at 50% 30%, #0d1938 0%, #070d1e 80%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
    z-index: 10;
}

/* --- Section: About Us Teaser --- */
.section-about-teaser {
    padding: 120px 0;
    background: url('../img/philosophy-hero-lg.jpg?updated=20260907162948') no-repeat center center/cover;
    position: relative;
    z-index: 10;
    min-height: 75vh;
    display: flex;
    align-items: center;
}

#about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(7, 13, 30, 0.85) 0%, rgba(7, 13, 30, 0.72) 100%);
    z-index: 1;
}

.section-about-teaser .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .section-about-teaser {
        background-image: url('../img/philosophy-hero-sm.jpg?updated=20260907162948') !important;
        padding: 90px 0;
    }

    .about-caption-wrapper {
        margin-top: 1.5rem !important;
    }
}

/* --- Common Boutique & Pass Styles --- */
.section-boutique {
    padding: 100px 0;
    background-color: #0b111e;
    position: relative;
    z-index: 10;
    color: #fff;
    background: url('../img/bg-lg-gradient-left.jpg') no-repeat left center/cover;
}

.section-experience {
    padding: 120px 0;
    background: radial-gradient(circle at center, #151b29 0%, #000 100%);
    text-align: center;
    position: relative;
    z-index: 6;
    overflow: hidden;
}

.ticket-wrapper {
    perspective: 1000px;
    display: inline-block;
    margin-bottom: 2rem;
    cursor: pointer;
}

.ticket-stub {
    width: auto;
    display: inline-block;
    max-width: 90vw;
    height: auto;
    background: transparent;
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
    position: relative;
    border: none;
}

.ticket-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    border-radius: 20px;
}

.ticket-inner.is-flipped {
    transform: rotateY(180deg);
}

.ticket-face {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.ticket-front {
    position: relative;
    z-index: 2;
    transform: rotateY(0deg);
}

.ticket-back {
    transform: rotateY(180deg);
    background: #000;
}

.ticket-face img {
    width: auto;
    height: auto;
    display: block;
    max-height: 70vh;
    border-radius: 20px;
}

@media (max-width: 992px) {
    .ticket-face img {
        max-height: 60vh;
    }
}

.shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    border-radius: 20px;
    pointer-events: none;
    z-index: 10;
    mix-blend-mode: overlay;
    opacity: 0;
    transition: opacity 0.1s;
}

.btn {
    border-radius: 50px !important;
}

.owl-carousel .item,
.owl-carousel .slide-item {
    border-radius: 20px;
    overflow: hidden;
}

.slide-item {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
    border: 1px solid var(--color-lenmis-gold);
}

#boutique-carousel {
    margin: 0 auto;
    max-width: 56vh;
}

@media (max-width: 992px) {
    #boutique-carousel {
        max-width: 80vw;
    }

    .section-boutique {
        background-image: url('../img/bg-sm-gradient-bottom.jpg') !important;
        background-position: bottom center;
    }

    .section-boutique .col-lg-5,
    .section-boutique .section-title,
    .section-boutique p {
        text-align: center !important;
    }

    .section-experience .col-lg-7,
    .section-experience .section-title,
    .section-experience p {
        text-align: center !important;
    }
}
