/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #3c3c3c;
    background-color: #f8f4ff;
    overflow: hidden; /* Prevents double scrollbars */
}

/* --- Fixed Navigation & Footer Frame --- */
.nav-banner {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 10; /* Keeps branding on top of all sliding curtains */
    height: 60px;
    padding: 0 20px;
    background: linear-gradient(to bottom, rgba(248,244,255,0.95), rgba(248,244,255,0));
    backdrop-filter: blur(2px);
}

.nav-logo { height: 46px; width: auto; }

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #3c3c3c;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}
.icon-btn:hover { opacity: 0.6; }

.footer-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    height: 60px;
    padding: 0 20px;
    z-index: 10;
    background: linear-gradient(to top, rgba(248,244,255,0.95), rgba(248,244,255,0));
}
.copyright { font-weight: 500; opacity: 0.85; }

.lang-selector {
    background: rgba(60, 60, 60, 0.06);
    color: #3c3c3c;
    border: 1px solid rgba(60, 60, 60, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
}

/* --- Navigation Overlay Drawer --- */
.menu-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(248, 244, 255, 0.98);
    backdrop-filter: blur(15px);
    transition: left 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 20;
}
.menu-overlay.active { left: 0; }
.close-btn { position: absolute; top: 20px; left: 20px; }
.menu-links { list-style: none; text-align: center; }
.menu-links li { margin: 25px 0; }
.menu-links a { color: #3c3c3c; font-size: 1.5rem; text-decoration: none; font-weight: 500; }

/* ==========================================================================
   PARALLAX CURTAIN SCROLL ENGINE
   ========================================================================== */
.scroll-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.snap-panel {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* --- SECTION 1: Hero Cover --- */
/* --- SECTION 1: MAIN HERO BLOCK CLEANUP --- */
.hero-panel {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(248, 244, 255, 0.1), rgba(248, 244, 255, 0.1)),url('assets/images/104822-105324-105193-105196-earrings-IG-ALL-1080.jpg') no-repeat center center;
    background-size: cover;
}

/* Floating Scroll Hint anchored just above the mobile footer edge */
.scroll-hint {
    position: absolute;
    top: 75vh; /* Places the text exactly at 3/4 of the display height on mobile */
    left: 50%;
    transform: translateX(-50%);
    
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.6;
    font-weight: 400;
    white-space: nowrap;
    text-align: center;
    
    /* Soft drop-shadow text shield in case your background image is very light */
    text-shadow: 0 2px 4px rgba(248, 244, 255, 0.5); 
}

/* --- SECTION 2: Lookbook Carousel (The Sticky Element) --- */
.carousel-panel {
    /* KEY TRICK: Freezes this container inside the viewport upon reaching top:0 */
    position: sticky;
    top: 0;
    z-index: 1; 
    
    background-color: #f8f4ff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 0;
}

.carousel-header { padding: 0 20px 25px 20px; }
.carousel-header h2 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    opacity: 0.9;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 20px;
    gap: 15px;
    height: 55vh;
    scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

/* --- Lookbook Carousel Updates --- */
.carousel-item {
    flex: 0 0 75vw;
    scroll-snap-align: start;
    height: 100%;
    border-radius: 2px;
    overflow: hidden;
    
    /* Crucial additions for overlay rendering and link states */
    position: relative; 
    text-decoration: none;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Subtle elegant hover swell for desktop interaction scales */
@media (hover: hover) {
    .carousel-item:hover {
        transform: scale(1.02);
    }
}

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

/* Middle-Bottom Luxury Typography Overlays */
.carousel-label {
    position: absolute;
    bottom: 30px;              /* Placed cleanly at the bottom */
    left: 50%;                 /* Centered horizontally */
    transform: translateX(-50%);/* Perfect midpoint offset mapping */
    
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    white-space: nowrap;
    
    /* Premium atmospheric drop shadow to read clearly over light images */
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.45), 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: letter-spacing 0.3s ease;
}

@media (hover: hover) {
    .carousel-item:hover .carousel-label {
        letter-spacing: 6px; /* Elegant tracking expansiveness on hover */
    }
}

/* Desktop Width adjustments for label tracking consistency */
@media (min-width: 1024px) {
    .carousel-item { 
        flex: 0 0 calc(20% - 20px); 
    }
    .carousel-label {
        font-size: 0.95rem;
        bottom: 25px;
    }
}

/* ==========================================================================
   SECTIONS 3, 4, 5: EDITORIAL CURTAIN PANELS (Replaces .maison-panel)
   ========================================================================== */
.info-panel {
    background-color: #f8f4ff; /* Solid background acts as a blanket to hide the sticky carousel view */
    position: relative;
    z-index: 2; /* Forces layers over Section 2 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 30px;
    
    /* Soft shadow on curtain entry edges handles spatial transitions cleanly */
    box-shadow: 0 -15px 30px rgba(60, 60, 60, 0.02); 
}

/* --- ATELIER BRAND PANEL LAYOUT CONTROLS --- */
.atelier-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 500px;
    padding-top: 60px;    /* Offsets top nav boundary buffer zone */
    padding-bottom: 60px; /* Offsets bottom footer boundary buffer zone */
}

.atelier-address {
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 20px;
    font-weight: 300;
}

.atelier-contact {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.8;
    font-weight: 300;
}

.atelier-contact strong {
    font-weight: 500;
    color: #3c3c3c;
    letter-spacing: 0.5px;
    display: inline-block;
    width: 55px; /* Aligns data cleanly in line grids */
}

.atelier-map {
    width: 100%;
    max-height: 32vh; /* Protects mobile screen real estate to prevent snapping bugs */
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-svg {
    width: 100%;
    height: auto;
    max-height: 32vh;
    object-fit: contain;
}

.info-content {
    max-width: 600px;
    width: 100%;
}

.info-content h2 {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: 500;
}

.info-content p {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.85;
    font-weight: 300;
}

.info-block h2 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-weight: 600;
}
.info-block p { font-size: 0.95rem; line-height: 1.6; opacity: 0.85; }

/* ==========================================================================
   DESKTOP RESPONSIVE CONFIGURATION (Widths 1024px and up)
   ========================================================================== */
@media (min-width: 1024px) {
    .nav-banner { height: 80px; padding: 0 40px; }
    .nav-logo { height: 55px; }
    .footer-banner { height: 80px; padding: 0 40px; }

    /* Desktop Responsive Image Swap */
    .hero-panel {
        background: linear-gradient(rgba(248, 244, 255, 0.4), rgba(248, 244, 255, 0.2)), 
                    url('assets/images/104822-105324-105193-105196-earrings-IG-ALL-2560.jpg') no-repeat center center;
        background-size: cover;
    }

    /* Anchors the scroll hint just above the larger desktop footer edge */
    .scroll-hint {
        bottom:115px;  /* 80px desktop footer height + 35px premium spacing */
        font-size: 0.85rem;
        letter-spacing: 3px;
    }

    /* Filmstrip Layout Configuration */
    .carousel-panel { padding: 0 80px; }
    .carousel-header h2 { font-size: 1.3rem; margin-bottom: 30px; padding-left: 0; }
    .carousel-track { height: 50vh; gap: 25px; padding: 0; }
    .carousel-item { flex: 0 0 calc(20% - 20px); }

/* Scaled Typographic Framing for Full-Screen Panels */
    .info-content h2 {
        font-size: 1.6rem;
        letter-spacing: 5px;
        margin-bottom: 25px;
    }

    .info-content p {
        font-size: 1.15rem;
        line-height: 2;
    }

    /* Converts mobile stack into a luxury editorial split-column layout */
    .atelier-container {
        flex-direction: row;
        max-width: 1100px;
        gap: 80px;
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .atelier-details {
        flex: 0 0 45%;
        text-align: left;
    }

    .atelier-details h2 {
        text-align: left;
        font-size: 1.6rem;
        letter-spacing: 5px;
        margin-bottom: 25px;
    }

    .atelier-address {
        font-size: 1.05rem;
        line-height: 1.8;
        margin-bottom: 30px;
    }

    .atelier-contact {
        font-size: 1rem;
        line-height: 1.9;
    }

    .atelier-contact strong {
        width: 65px;
    }

    .atelier-map {
        flex: 0 0 65%;     /* Pushes the map container to take up 70% of the screen width */
        height: 65vh;      /* Sets a stable, tall structural height for the canvas */
        max-height: 65vh;
        overflow: hidden;  /* Cleanly hides any map bleed edges */
        border-radius: 4px; /* Optional: adds an elegant soft edge to the map frame */
    }


    .map-svg {
        width: 100%;       /* Forces the asset to lock to the full 70% container width */
        height: 100%;      /* Forces the asset to lock to the full container height */
        max-height: 65vh;
        
        /* 
           KEY SWITCH: 'cover' forces the map to span 100% horizontally, completely 
           filling the container. Excess top/bottom areas crop cleanly instead of shrinking the width.
        */
        object-fit: cover; 
        
        /* Focuses the center-middle coordinates of your SVG map file */
        object-position: center; 
    }

    
}