/* --- CHARTE GRAPHIQUE DARK MODE - 707 AVENUE --- */
:root {
    --bg-dark: #121212;
    --bg-card: rgba(30, 30, 30, 0.6); 
    --primary: #7d2ae8;       
    --primary-glow: #9d50ff;
    --accent: #ff9800;        
    --text-main: #ffffff;
    --text-muted: #b0b0b0;
}

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

/* Anti-scroll horizontal strict */
html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: 'Poppins', sans-serif;
    /* Fond dégradé violet fixe */
    background: linear-gradient(135deg, #121212 0%, #1e0936 50%, #121212 100%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    
    /* Transition de chargement de page */
    opacity: 0; 
    transition: opacity 0.5s ease-in-out;
}
body.loaded {
    opacity: 1;
}

h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- NAVBAR FIXE (CORRECTION DE L'OVERLAP) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(125, 42, 232, 0.2);
    /* Position fixed : suit le défilement sans faillir */
    position: fixed; 
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 80px; /* Hauteur fixée pour calculer les marges en dessous */
}

.logo {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-glow);
    text-shadow: 0 0 15px rgba(125, 42, 232, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}
.logo:hover { text-shadow: 0 0 25px rgba(125, 42, 232, 1); }

.nav-links { display: flex; list-style: none; }
.nav-links li { margin-left: 3rem; }
.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary-glow); }

.burger { display: none; cursor: pointer; }
.burger div { width: 25px; height: 3px; background-color: var(--text-main); margin: 5px; transition: all 0.3s ease; }

/* --- HERO SECTION --- */
.hero {
    height: 100vh; 
    background: linear-gradient(to bottom, rgba(18,18,18,0.4), var(--bg-dark)), 
                url('https://images.unsplash.com/photo-1550547660-d9450f859349?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.hero-anim {
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards;
}
.hero-anim:nth-child(1) { animation-delay: 0.2s; }
.hero-anim:nth-child(2) { animation-delay: 0.4s; }
.hero-anim:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content { max-width: 800px; padding: 20px; z-index: 2; }
.hero h1 { font-size: 4.5rem; margin-bottom: 0.5rem; line-height: 1.1; text-shadow: 2px 2px 10px #000; }
.hero .highlight { color: var(--primary-glow); font-style: italic; }
.hero p { font-size: 1.5rem; margin-bottom: 3rem; color: #ddd; }

.cta-btn {
    display: inline-block; margin-top: 2rem; padding: 1.2rem 3.5rem; font-size: 1.4rem;
    background-color: var(--primary); color: var(--text-main); text-decoration: none;
    font-weight: 700; border-radius: 50px; box-shadow: 0 0 20px rgba(125, 42, 232, 0.4);
    transition: all 0.3s ease; border: 2px solid var(--primary);
}
.cta-btn:hover { background: transparent; transform: translateY(-3px); box-shadow: 0 0 30px rgba(125, 42, 232, 0.6); }

/* --- SECTIONS --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 4rem 0; width: 100%; }

.section-title { text-align: center; font-size: 3rem; margin-bottom: 4rem; color: var(--text-main); position: relative; }
.section-title::after { content: ''; display: block; width: 100px; height: 4px; background: var(--primary); margin: 15px auto 0; }

/* CALCUL EXACT : on repousse le titre de la page Contact pour ne pas être mangé par la navbar */
.spacer-top { margin-top: 8rem; } 

/* --- STYLE : QUALITÉ & GOÛT --- */
.concept-container {
    display: flex; align-items: center; gap: 40px; background: var(--bg-card);
    backdrop-filter: blur(5px);
    padding: 40px; border-radius: 15px; border: 1px solid rgba(125, 42, 232, 0.2); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.concept-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(125, 42, 232, 0.2);
    border-color: rgba(125, 42, 232, 0.5);
}
.concept-img-wrapper { flex: 1; }
.concept-img-wrapper img { width: 100%; border-radius: 10px; box-shadow: -15px 15px 0 var(--primary); display: block; transition: 0.4s; }
.concept-container:hover .concept-img-wrapper img { box-shadow: -20px 20px 0 var(--primary-glow); } 
.concept-content { flex: 1; }
.concept-content h3 { font-size: 2.2rem; color: var(--primary-glow); margin-bottom: 1.5rem; }
.concept-content p { color: #ddd; font-size: 1.1rem; margin-bottom: 1rem; line-height: 1.8; }

/* --- INCONTOURNABLES --- */
.menu-grid-home {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; text-align: center;
}
.card-incontournable {
    background: var(--bg-card);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(125, 42, 232, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.card-incontournable:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(125, 42, 232, 0.3);
    border-color: var(--primary);
}
.incontournable-img {
    width: 100%; height: 230px; object-fit: cover; border-radius: 10px; margin-bottom: 15px;
}

/* --- PAGE LA CARTE --- */
.menu-header {
    text-align: center; 
    /* CALCUL EXACT : 10rem en haut repousse le texte pour qu'il soit bien visible sous la navbar */
    padding: 10rem 1rem 6rem; 
    margin-bottom: 4rem;
    background: linear-gradient(-45deg, rgba(18,18,18,0.8), rgba(42,8,69,0.8), rgba(75,27,133,0.8), rgba(18,18,18,0.8));
    background-size: 400% 400%; animation: gradientBG 12s ease infinite;
    border-bottom: 2px solid rgba(125, 42, 232, 0.5); box-shadow: 0 20px 50px -10px rgba(125, 42, 232, 0.5);
}
@keyframes gradientBG { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.menu-header h1 {
    font-size: 5rem; letter-spacing: 4px; color: #fff; text-shadow: 0 0 15px rgba(255, 255, 255, 0.4), 0 0 40px var(--primary-glow); margin-bottom: 1rem;
}
.menu-header p { font-size: 1.6rem; font-weight: 300; letter-spacing: 2px; color: #e0e0e0; }

.menu-gallery { display: flex; flex-direction: column; gap: 40px; align-items: center; margin-bottom: 4rem; }
.menu-image-card {
    width: 100%; max-width: 1000px; background: var(--bg-card); padding: 10px;
    border-radius: 15px; border: 1px solid rgba(125, 42, 232, 0.2); box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: transform 0.3s ease;
}
.menu-image-card:hover { transform: scale(1.02); border-color: var(--primary); box-shadow: 0 15px 40px rgba(125, 42, 232, 0.3);}
.menu-image-card img { width: 100%; height: auto; display: block; border-radius: 10px; }

/* --- PAGE CONTACT --- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; margin-top: 2rem; margin-bottom: 4rem; }
.contact-card { background: var(--bg-card); padding: 2.5rem; border-radius: 15px; border: 1px solid rgba(125, 42, 232, 0.2); height: 100%; backdrop-filter: blur(5px); }
.info-group { margin-bottom: 2.5rem; display: flex; align-items: flex-start; }
.info-group i { font-size: 2rem; color: var(--primary); margin-right: 20px; margin-top: 5px; width: 40px; text-align: center; }
.info-group h3 { font-size: 1.4rem; color: var(--text-main); margin-bottom: 0.5rem; }
.info-group p, .info-group li { font-size: 1.1rem; color: var(--text-muted); }
.info-group a { color: var(--text-main); text-decoration: none; font-size: 1.3rem; font-weight: bold; border-bottom: 2px solid var(--accent); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 5px 0; font-size: 1.1rem; color: var(--text-muted); }
.hours-table td:first-child { color: var(--text-main); font-weight: 600; width: 120px; }
.closed { color: #ff4444 !important; }
.map-container-contact { border-radius: 15px; overflow: hidden; border: 2px solid rgba(125, 42, 232, 0.2); height: 100%; min-height: 500px; }

/* --- FOOTER --- */
footer { background-color: rgba(0,0,0,0.8); padding: 4rem 0 1rem; margin-top: auto; border-top: 1px solid #333; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 3rem; text-align: left; }
.footer-col h3, .footer-col h4 { font-family: 'Oswald', sans-serif; letter-spacing: 1px; }
.copyright { text-align: center; border-top: 1px solid #222; padding-top: 1.5rem; color: #666; font-size: 0.9rem; }

/* --- ANIMATIONS SCROLL --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- RESPONSIVE MOBILE --- */
@media screen and (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; }
    .map-container-contact { min-height: 350px; }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed; right: -100%; top: 0; height: 100vh; background-color: var(--bg-dark);
        flex-direction: column; align-items: center; justify-content: center; width: 100%;
        transition: right 0.4s ease-in-out; z-index: 999;
    }
    .nav-links a { font-size: 1.8rem; margin: 1.5rem 0; }
    .burger { display: block; z-index: 1001; }
    .nav-active { right: 0; }
    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); background: var(--primary); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); background: var(--primary); }
    
    .hero h1 { font-size: 3rem; }
    .section-title { font-size: 2.5rem; }
    
    .menu-header { padding: 9rem 1rem 5rem; } /* Poussé un peu plus bas sur mobile aussi */
    .menu-header h1 { font-size: 3rem; }
    .menu-header p { font-size: 1.2rem; }

    .concept-container { flex-direction: column; padding: 30px 20px; text-align: center; }
    .concept-img-wrapper img { max-width: 80%; margin: 0 auto 25px auto; box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
    .concept-container:hover .concept-img-wrapper img { box-shadow: 0 10px 20px rgba(125, 42, 232, 0.5); }
    .concept-content h3 { font-size: 1.8rem; }
    .concept-content p { font-size: 1rem; }
    
    .footer-content { text-align: center; }
    .footer-col p { margin: 0 auto; }
}