/* ═══════════════════════════════════════════
   CAFÉ LUMIÈRE — Feuille de style principale
   ═══════════════════════════════════════════ */

:root {
    --gold: #c9a96e;
    --gold-light: #e8d5a3;
    --gold-dark: #8b6914;
    --cream: #faf6ef;
    --cream-dark: #f0e8d8;
    --espresso: #1a1209;
    --espresso-light: #2d2013;
    --charcoal: #1c1c1c;
    --emerald: #1a4a3a;
    --emerald-light: #2d6b54;
    --white: #ffffff;
    --text-light: #b8a88a;
    --text-muted: #8a7a6a;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Cormorant Garamond', serif;
    --font-ui: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--espresso);
}

body {
    font-family: var(--font-body);
    background-color: var(--espresso);
    color: var(--cream);
    overflow-x: hidden;
    cursor: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--espresso);
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

/* ═══════════ CUSTOM CURSOR ═══════════ */
.cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: var(--gold-light);
    background: rgba(201, 169, 110, 0.1);
}

/* ═══════════ PRELOADER ═══════════ */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--espresso);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-cup {
    width: 60px;
    height: 50px;
    border: 3px solid var(--gold);
    border-radius: 0 0 25px 25px;
    margin: 0 auto 20px;
    position: relative;
}

.preloader-cup::after {
    content: '';
    position: absolute;
    right: -18px;
    top: 8px;
    width: 15px;
    height: 20px;
    border: 3px solid var(--gold);
    border-left: none;
    border-radius: 0 10px 10px 0;
}

.steam {
    display: flex;
    justify-content: center;
    gap: 6px;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
}

.steam span {
    width: 3px;
    height: 20px;
    background: var(--gold);
    border-radius: 3px;
    animation: steam 1.5s ease-in-out infinite;
}

.steam span:nth-child(2) { animation-delay: 0.3s; }
.steam span:nth-child(3) { animation-delay: 0.6s; }

@keyframes steam {
    0%, 100% { transform: translateY(0) scaleY(1); opacity: 0.4; }
    50% { transform: translateY(-8px) scaleY(1.3); opacity: 1; }
}

.preloader-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold);
    letter-spacing: 4px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ═══════════ NAVIGATION ═══════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 3rem;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(26, 18, 9, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 3rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--cream);
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-text em {
    color: var(--gold);
    font-style: italic;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cream);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
}

/* ═══════════ HERO ═══════════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 18, 9, 0.4) 0%,
        rgba(26, 18, 9, 0.2) 40%,
        rgba(26, 18, 9, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.hero-subtitle {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.hero-title em {
    color: var(--gold);
    font-style: italic;
}

.title-line {
    display: block;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 300;
    font-style: italic;
    color: var(--cream-dark);
    margin-bottom: 3rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    border: 1px solid var(--gold);
    padding: 1rem 2.5rem;
    transition: all 0.4s ease;
}

.hero-cta:hover {
    background: var(--gold);
    color: var(--espresso);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 110, 0.3);
}

.hero-cta svg {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ═══════════ REVEAL ANIMATIONS ═══════════ */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: var(--delay, 0s);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* ═══════════ SECTIONS COMMUNES ═══════════ */
.section-label {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--cream);
}

/* ═══════════ ABOUT ═══════════ */
.about {
    padding: 8rem 3rem;
    background: var(--espresso);
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 4px;
}

.about-image-frame {
    position: absolute;
    inset: 20px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    pointer-events: none;
}

.about-description {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 169, 110, 0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
}

.stat-label {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.5rem;
    display: block;
}

/* ═══════════ MENU ═══════════ */
.menu {
    padding: 8rem 3rem;
    background: linear-gradient(180deg, var(--espresso) 0%, var(--espresso-light) 100%);
}

.menu-header {
    text-align: center;
    margin-bottom: 5rem;
}

.menu-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.menu-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 110, 0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.menu-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.menu-card-image {
    height: 220px;
    overflow: hidden;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.menu-card:hover .menu-card-image img {
    transform: scale(1.1);
}

.menu-card-content {
    padding: 2rem;
}

.menu-card-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.menu-items {
    list-style: none;
}

.menu-items li {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1.05rem;
}

.menu-items li:last-child {
    border-bottom: none;
}

.menu-items .dots {
    flex: 1;
    border-bottom: 1px dotted rgba(201, 169, 110, 0.3);
    margin: 0 0.5rem;
}

.menu-items .price {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold);
    white-space: nowrap;
}

/* ═══════════ AMBIANCE ═══════════ */
.ambiance {
    position: relative;
    padding: 10rem 3rem;
    overflow: hidden;
}

.ambiance-bg {
    position: absolute;
    inset: 0;
    background: url('assets/interior.jpg') center/cover fixed;
    opacity: 0.15;
}

.ambiance-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.ambiance-text {
    font-size: 1.3rem;
    line-height: 1.9;
    color: var(--text-light);
    font-style: italic;
}

.ambiance-gallery {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ═══════════ BARISTA ═══════════ */
.barista {
    padding: 8rem 3rem;
    background: var(--espresso);
}

.barista-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.barista-description {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.barista-quote {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--gold-light);
    border-left: 3px solid var(--gold);
    padding-left: 1.5rem;
    line-height: 1.7;
}

.barista-image-wrapper {
    position: relative;
}

.barista-image {
    width: 100%;
    height: 650px;
    object-fit: cover;
    border-radius: 4px;
}

.barista-image-frame {
    position: absolute;
    inset: 20px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    pointer-events: none;
}

/* ═══════════ CONTACT ═══════════ */
.contact {
    padding: 8rem 3rem;
    background: linear-gradient(180deg, var(--espresso) 0%, var(--charcoal) 100%);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-item strong {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
}

.contact-map {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(201, 169, 110, 0.2);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--espresso-light), var(--charcoal));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.map-pin {
    font-size: 3rem;
    animation: bounce 2s ease-in-out infinite;
}

.map-placeholder p {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--cream);
}

.map-placeholder span {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

/* ═══════════ FOOTER ═══════════ */
.footer {
    padding: 4rem 3rem;
    background: var(--charcoal);
    border-top: 1px solid rgba(201, 169, 110, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-social a {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--gold);
}

.footer-copy {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .ambiance-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(26, 18, 9, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.4s ease;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .about-container,
    .barista-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image, .barista-image {
        height: 400px;
    }
    
    .about-stats {
        gap: 1.5rem;
    }
    
    .ambiance-gallery {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-title {
        font-size: clamp(3rem, 15vw, 5rem);
    }
    
    .cursor, .cursor-follower {
        display: none;
    }
    
    body {
        cursor: auto;
    }
}

@media (max-width: 480px) {
    .ambiance-gallery {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        align-items: center;
    }
}
