/* --- 1. VARIABLES & RESET --- */
:root {
    --blue: #1a1a4b; /* Bleu Nuit */
    --text: #1a1a1a;
    --bg-base: #f8f8f8;
    --font-stack: 'Courier New', Courier, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-stack);
    background-color: var(--bg-base);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- 2. TEXTURE BÉTON (Overlay) --- */
body::before {
    content: "";
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background-image: url('assets/texture-bg.png'); /* Votre image texture */
    background-size: cover;
    background-position: center;
    opacity: 0.12; /* Ajustez l'intensité ici (0.1 à 0.2 recommandé) */
    filter: grayscale(100%) brightness(1.2);
    pointer-events: none;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }


/* --- 3. NAVIGATION --- */
.navbar {
    position: fixed; top: 0; width: 100%;
    background: rgba(253, 253, 253, 0.92); /* Semi-transparent */
    backdrop-filter: blur(8px);
    z-index: 1000; padding: 15px 5%;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.nav-links a { 
    text-decoration: none; color: var(--text); 
    font-size: 0.8rem; font-weight: bold; margin-right: 25px;
    letter-spacing: 1px; transition: color 0.3s;
}
.nav-links a:hover { color: var(--blue); }
.highlight { color: var(--blue) !important; border-bottom: 2px solid var(--blue); }

.social-icons { display: flex; gap: 15px; align-items: center; }
.social-icons img { width: 22px; height: auto; transition: transform 0.3s; }
.social-icons a:hover img { transform: translateY(-3px); }


/* --- 4. HERO SECTION --- */
.hero { 
    min-height: 95vh; 
    display: flex; flex-direction: column; 
    justify-content: center; align-items: center; 
    text-align: center; 
    position: relative; /* Pour le sac flottant */
    padding-top: 80px;
}

.main-logo-img {
    width: 250px; height: auto; margin-bottom: 40px;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.1));
}

.slogan { 
    font-size: clamp(1rem, 2.5vw, 1.4rem); 
    margin-bottom: 40px; font-weight: normal; 
}
.slogan span { font-weight: bold; }

.hours { margin-bottom: 50px; }
.time { font-size: 1.5rem; font-weight: bold; display: block; margin-bottom: 5px; }

.btn-commander {
    display: inline-block;
    background: var(--blue); color: white; padding: 15px 45px;
    text-decoration: none; border-radius: 50px; font-weight: bold;
    transition: transform 0.3s;
}
.btn-commander:hover { transform: scale(1.05); }

/* Sac flottant style "dessin main" */
.floating-bag {
    position: absolute;
    right: 12%; bottom: 15%;
    width: 110px;
    transform: rotate(8deg);
    pointer-events: none; /* Pour ne pas bloquer les clics */
    opacity: 0.85;
}
.floating-bag img { width: 100%; height: auto; }


/* --- 5. BANDEAU DÉFILANT --- */
.black-banner { background: #000; color: #fff; padding: 15px 0; overflow: hidden; white-space: nowrap; }
.banner-track { display: inline-block; animation: scroll 25s linear infinite; }
.banner-track span { font-size: 0.85rem; letter-spacing: 3px; margin-right: 60px; font-weight: bold; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }


/* --- 6. MENU & ABOUT (Structure Commune) --- */
.menu-section, .about { padding: 120px 0; background: rgba(255, 255, 255, 0.6); }

.section-header { text-align: center; margin-bottom: 60px; }
.label { font-size: 0.75rem; color: var(--blue); letter-spacing: 3px; font-weight: bold; display: block; margin-bottom: 15px; }
.section-header h2 { font-size: 2rem; margin-bottom: 25px; }
.separator { width: 50px; border: none; border-top: 2px solid var(--blue); margin: 0 auto; }

/* Menu Grid */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 50px; }
.menu-category h3 { border-bottom: 2px solid #ccc; padding-bottom: 10px; margin-bottom: 20px; font-size: 1.2rem; }
.menu-category ul { list-style: none; }
.menu-category li { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 0.95rem; }


/* --- 7. GALERIE DÉSTRUCTURÉE (BENTO GRID) --- */
.gallery-modern { padding: 80px 20px; max-width: 1300px; margin: 0 auto; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 160px); /* Hauteur des rangées */
    gap: 15px;
}

.bento-item { overflow: hidden; border-radius: 4px; background: #ddd; }
.bento-item img { 
    width: 100%; height: 100%; object-fit: cover; 
    filter: grayscale(100%); transition: all 0.7s ease;
}
.bento-item:hover img { filter: grayscale(0%); transform: scale(1.05); }

/* Placement des éléments Bento */
.item-1 { grid-area: 1 / 1 / 3 / 3; } /* Haut Gauche (Grand Carré) */
.item-2 { grid-area: 1 / 3 / 4 / 5; } /* Centre (Colonne Haute) */
.item-3 { grid-area: 1 / 5 / 3 / 7; } /* Haut Droite (Grand Carré) */
.item-4 { grid-area: 3 / 1 / 5 / 3; } /* Bas Gauche */
.item-5 { grid-area: 4 / 3 / 5 / 7; } /* Bas Droite (Large) */


/* --- 8. ABOUT SPÉCIFIQUE --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-header { text-align: left; }
.about-header .separator { margin: 25px 0; }
.intro { font-size: 1.1rem; font-weight: bold; margin-top: 20px; }
.about-content { font-size: 1rem; text-align: justify; }


/* --- 9. CONTACT & FOOTER --- */
.contact { padding: 100px 0; background: var(--blue); color: white; text-align: center; }
.contact h2 { margin-bottom: 40px; }
.contact-info { margin-bottom: 50px; font-size: 1.1rem; }
.contact a.phone { color: white; text-decoration: none; font-weight: bold; font-size: 1.3rem; margin-top: 15px; display: inline-block; }

.map-placeholder { 
    height: 350px; max-width: 900px; margin: 0 auto; 
    border: 3px solid white; overflow: hidden; 
}
.map-placeholder img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }

footer { padding: 50px 20px; text-align: center; background: rgba(255,255,255,0.7); }
.footer-icon { width: 45px; margin-top: 20px; opacity: 0.6; }


/* --- 10. ANIMATIONS --- */
.reveal { opacity: 0; transform: translateY(40px); transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }


/* --- 11. RESPONSIVE --- */
@media (max-width: 900px) {
    .nav-links { display: none; } /* Version mobile simple */
    .navbar { justify-content: center; padding: 15px; }
    
    .hero { padding-top: 60px; }
    .floating-bag { width: 80px; right: 5%; bottom: 10%; }
    
    .bento-grid { display: flex; flex-direction: column; gap: 15px; }
    .bento-item { height: 250px; }
    
    .about-grid, .menu-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-header { text-align: center; }
    .about-header .separator { margin: 25px auto; }
}