
/* =================================
   1. VARIABLES ET BASE
================================= */

:root {
    --green: #17251E;
    --green-light: #263B2E;
    --gold: #D69A53;
    --cream: #F8F3E9;
    --white: #FFFFFF;
    --brown: #342820;
    --text: #55534E;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--cream);
    color: var(--brown);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* =================================
   2. HEADER ET NAVIGATION
================================= */

.header {
    min-height: 85px;
    padding: 15px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--green);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: var(--gold);
}

.navigation {
    display: flex;
    gap: 30px;
}

.navigation a {
    font-size: 14px;
    transition: color 0.3s ease;
}

.navigation a:hover {
    color: var(--gold);
}

/* =================================
   3. BOUTONS
================================= */

.btn {
    display: inline-block;
    background-color: var(--gold);
    color: var(--green);
    padding: 13px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #E8B875;
    transform: translateY(-3px);
}

/* =================================
   4. SECTION ACCUEIL
================================= */

.hero {
    min-height: 570px;
    display: flex;
    align-items: center;
    padding: 70px 10%;
    background:
        linear-gradient(
            90deg,
            rgba(15, 27, 20, 0.92),
            rgba(15, 27, 20, 0.35)
        ),
        url("https://images.unsplash.com/photo-1547592180-85f173990554?auto=format&fit=crop&w=1800&q=85")
        center/cover no-repeat;
    color: var(--white);
}

.hero-content {
    max-width: 650px;
}

.subtitle {
    color: var(--gold);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.15;
    margin-bottom: 22px;
}

.hero-content > p:not(.subtitle) {
    font-size: 17px;
    color: #E5E5E5;
    margin-bottom: 30px;
}

/* =================================
   5. SECTION MENU
================================= */

.menu-section {
    padding: 90px 8%;
    text-align: center;
}

.menu-section h2,
.about-section h2,
.contact-section h2 {
    font-size: 36px;
    margin-bottom: 12px;
    color: var(--green);
}

.menu-section > p {
    color: var(--text);
    margin-bottom: 45px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: left;
}

.menu-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-8px);
}

.menu-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.menu-card h3 {
    padding: 18px 20px 5px;
    font-size: 21px;
    color: var(--green);
}

.menu-card p {
    padding: 0 20px 12px;
    color: var(--text);
}

.menu-card span {
    display: block;
    padding: 0 20px 22px;
    color: #A66B2C;
    font-weight: bold;
    font-size: 18px;
}

/* =================================
   6. SECTION A PROPOS
================================= */

.about-section {
    background-color: #EDE5D7;
    padding: 85px 10%;
    text-align: center;
}

.about-section p {
    max-width: 700px;
    margin: 20px auto 0;
    color: var(--text);
    font-size: 17px;
}

/* =================================
   7. SECTION CONTACT
================================= */

.contact-section {
    background-color: var(--green-light);
    color: var(--white);
    padding: 85px 10%;
    text-align: center;
}

.contact-section h2 {
    color: var(--white);
}

.contact-section p {
    margin: 15px 0 30px;
    color: #E5E5E5;
}

/* =================================
   8. FOOTER
================================= */

footer {
    background-color: var(--green);
    color: #D6D6D6;
    padding: 25px;
    text-align: center;
    font-size: 14px;
}



/* =================================
   9. RESPONSIVE : TABLETTES
================================= */

@media screen and (max-width: 900px) {
    .header {
        padding: 15px 4%;
    }

    .navigation {
        gap: 15px;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        min-height: 500px;
    }
}

/* =================================
   10. BOUTON MENU
================================= */

/* Caché par défaut sur ordinateur */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

/* =================================
   11. RESPONSIVE : TELEPHONES
================================= */

@media screen and (max-width: 600px) {

    .header {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 15px;
        padding: 18px 15px;
    }

    /* Afficher le bouton sur téléphone */
    .menu-toggle {
        display: block;
    }

    /* Masquer les liens par défaut */
    .navigation {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 15px 0;
        gap: 15px;
    }

    /* Afficher les liens quand on clique */
    .navigation.active {
        display: flex;
    }

    .header > .btn {
        display: none;
    }

    .hero {
        min-height: 480px;
        padding: 60px 7%;
        background-position: center;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-content > p:not(.subtitle) {
        font-size: 15px;
    }

    .menu-section {
        padding: 65px 6%;
    }

    .menu-section h2,
    .about-section h2,
    .contact-section h2 {
        font-size: 29px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .menu-card img {
        height: 240px;
    }

    .about-section,
    .contact-section {
        padding: 65px 7%;
    }
}

/* =================================
   12. BOUTONS DE COMMANDE
================================= */

.order-btn {
    display: inline-block;
    margin: 0 20px 20px;
    padding: 10px 16px;
    background-color: var(--green);
    color: white;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.order-btn:hover {
    background-color: var(--green-light);
}

/* INFORMATIONS DE CONTACT */

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.info-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 25px 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.info-card h3 {
    color: var(--gold);
    margin-bottom: 12px;
    font-size: 18px;
}

.info-card p {
    color: var(--white);
    font-size: 15px;
}

/* Adaptation sur téléphone */
@media screen and (max-width: 600px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}


/* CARTE GOOGLE MAPS */

.map-container {
    margin-top: 50px;
    width: 100%;
}

.map-container h3 {
    color: var(--gold);
    font-size: 23px;
    margin-bottom: 20px;
}

.map-container iframe {
    width: 100%;
    border-radius: 12px;
}

.map-link {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 20px;
    background-color: var(--gold);
    color: var(--green);
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.map-link:hover {
    background-color: #E8B875;
}

/* BOUTON WHATSAPP FLOTTANT */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@media screen and (max-width: 600px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 18px;
        right: 18px;
    }
}




