/* --- VARIABLES & RESET --- */
:root {
    --primary: #A52A2A; /* Rouge Brique / Terre */
    --secondary: #D4AF37; /* Or Élégant */
    --dark: #2C3E50; /* Bleu Nuit Texte */
    --light: #F9F9F9; /* Fond Gris très clair */
    --white: #FFFFFF;
    --font-head: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- UTILITAIRES --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.center { text-align: center; }
.bg-light { background-color: var(--light); }

/* --- TYPOGRAPHIE --- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--primary); }
.section-title { font-size: 2.5rem; margin-bottom: 40px; }
.section-title::after {
    content: ''; display: block; width: 60px; height: 3px; 
    background: var(--secondary); margin: 10px 0 0;
}
.center .section-title::after { margin: 10px auto 0; }

/* --- BOUTONS --- */
.btn {
    display: inline-block; padding: 12px 30px; border-radius: 5px;
    font-weight: 600; transition: 0.3s;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: #802020; }
.btn-outline { border: 2px solid var(--white); color: var(--white); margin-left: 10px; }
.btn-outline:hover { background: var(--white); color: var(--dark); }

/* --- HEADER & NAV --- */
header {
    background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky; top: 0; z-index: 1000;
}
.navbar {
    display: flex; justify-content: space-between; align-items: center; height: 80px;
}
.logo { font-size: 1.5rem; font-weight: 700; color: var(--dark); font-family: var(--font-head); }
.logo span { color: var(--primary); }
.nav-links { display: flex; align-items: center; }
.nav-links li { margin-left: 30px; }
.nav-links a { font-weight: 500; transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.btn-nav {
    background: var(--secondary); color: var(--dark) !important;
    padding: 8px 15px; border-radius: 4px;
}

/* Burger Menu (Mobile) */
.burger { display: none; cursor: pointer; }
.burger div { width: 25px; height: 3px; background-color: var(--dark); margin: 5px; transition: 0.3s; }

/* --- HERO SECTION (ACCUEIL) --- */
.hero {
    /* ICI : VOTRE PHOTO DE FOND (Plateaux Traiteur) */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-bg.jpg') center/cover no-repeat;
    height: 90vh; /* Grand écran immersif */
    position: relative; display: flex; align-items: center; text-align: center; color: var(--white);
}
.hero-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
}
.hero-content { position: relative; z-index: 1; width: 100%; }
.hero h1 { font-size: 3.5rem; color: var(--white); margin-bottom: 20px; }
.hero p { font-size: 1.3rem; margin-bottom: 30px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* --- ABOUT --- */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image img { border-radius: 10px; box-shadow: 15px 15px 0 var(--secondary); max-height: 500px; object-fit: cover; width: 100%; }

/* --- SERVICES CARDS --- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card {
    background: var(--white); padding: 30px; border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); text-align: center; transition: 0.3s;
}
.card:hover { transform: translateY(-5px); }

/* --- PAGE MENU & CARTE RESTAURANT (NOUVEAU STYLE) --- */
.page-header {
    background: var(--primary); color: var(--white); text-align: center; padding: 60px 0;
}
.page-header h1 { color: var(--white); margin: 0; }
.menu-category { 
    border-bottom: 2px solid var(--secondary); 
    padding-bottom: 10px; margin-bottom: 30px; margin-top: 40px; 
}

/* Grille pour les photos du menu */
.menu-grid-visual {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.card-menu {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.card-menu:hover { transform: translateY(-5px); }

.card-menu img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Coupe l'image proprement pour remplir le cadre */
}

.card-menu-content { padding: 25px; }
.card-menu-content h3 { margin-bottom: 10px; color: var(--primary); font-size: 1.4rem; }
.price { 
    display: inline-block; margin-top: 15px; 
    font-weight: 700; color: var(--secondary); 
    background: var(--primary); padding: 5px 10px; color: white; border-radius: 4px; font-size: 0.9rem;
}

/* --- FORMULAIRE --- */
.contact-form { max-width: 600px; margin: 0 auto; background: var(--light); padding: 40px; border-radius: 10px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-family: var(--font-body);
}
.full-width { width: 100%; border: none; cursor: pointer; font-size: 1.1rem; }

/* --- FOOTER --- */
footer { background: var(--dark); color: var(--white); padding-top: 50px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; padding-bottom: 30px; }
.footer-col h4 { color: var(--secondary); margin-bottom: 20px; font-size: 1.2rem; }
.copyright { background: #1a252f; text-align: center; padding: 20px; font-size: 0.9rem; }

/* --- RESPONSIVE MOBILE --- */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute; right: 0px; height: 92vh; top: 80px;
        background-color: var(--white); display: flex; flex-direction: column;
        align-items: center; width: 60%; transform: translateX(100%); transition: transform 0.5s ease-in;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    }
    .nav-links li { margin: 30px 0; opacity: 0; }
    .burger { display: block; }
    .nav-active { transform: translateX(0%); }
    
    .split-layout { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .about-image { order: -1; } /* L'image passe au-dessus du texte sur mobile */
    
    .hero-btns { display: flex; flex-direction: column; gap: 15px; }
    .btn-outline { margin-left: 0; }
}

@keyframes navLinkFade {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0px); }
}