/* ===========================
   RESET & BASE
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    color: #ff6b35;
    white-space: nowrap;
}

/* Menu desktop */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: white;
    font-size: 1rem;
    padding: 0.5rem 0;
    transition: color 0.3s;
    display: block;
}

.nav-menu li a:hover {
    color: #ff6b35;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 10000;
    padding: 0;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger animé (X quand ouvert) */
.hamburger.open span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* ===========================
   HERO
=========================== */
.hero {
    background: linear-gradient(
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.6)
    ),
    url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1920')
    no-repeat center center / cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
}

.hero-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: #f0f0f0;
    margin-bottom: 2rem;
    padding: 0 10px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.whatsapp-btn,
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: clamp(0.85rem, 2vw, 1rem);
    text-align: center;
    transition: transform 0.3s, opacity 0.3s;
    white-space: nowrap;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.cta-btn {
    background: #ff6b35;
    color: white;
}

.whatsapp-btn:hover,
.cta-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* ===========================
   SECTIONS COMMUNES
=========================== */
section {
    padding: 5rem 0;
}

section h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #ff6b35;
    margin-bottom: 3rem;
}

/* ===========================
   MENU SECTION
=========================== */
.menu {
    background: #f8f9fa;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.menu-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item h3 {
    margin: 1rem 0 0.5rem;
    color: #333;
    font-size: 1.2rem;
    padding: 0 1rem;
}

.menu-item p {
    color: #666;
    font-size: 0.9rem;
    padding: 0 1rem;
    margin-bottom: 1rem;
}

.price {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
    color: #25D366;
    padding: 0.8rem;
    background: #f8f9fa;
}

/* ===========================
   ABOUT SECTION
=========================== */
.about {
    background: white;
    text-align: center;
}

.about p {
    max-width: 750px;
    margin: 0 auto;
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #555;
    padding: 0 15px;
}

/* ===========================
   CONTACT SECTION
=========================== */
.contact {
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Formulaire */
.contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: Arial, sans-serif;
}

.contact input:focus,
.contact textarea:focus {
    border-color: #ff6b35;
    outline: none;
}

.contact textarea {
    min-height: 140px;
    resize: vertical;
}

.contact button {
    background: #ff6b35;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.contact button:hover {
    background: #e55a25;
}

/* Infos contact */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info p {
    font-size: 1.05rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.contact-info i {
    color: #ff6b35;
    font-size: 1.2rem;
    min-width: 20px;
}

.contact-info iframe {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    border: none;
    margin-top: 0.5rem;
}

/* ===========================
   FOOTER
=========================== */
footer {
    background: #222;
    color: #ddd;
    text-align: center;
    padding: 1.5rem 20px;
    font-size: 0.9rem;
}

footer a {
    color: #ff6b35;
    font-weight: bold;
}

/* ===========================
   RESPONSIVE TABLETTE
   (max-width: 992px)
=========================== */
@media (max-width: 992px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info iframe {
        height: 200px;
    }
}

/* ===========================
   RESPONSIVE MOBILE
   (max-width: 768px)
=========================== */
@media (max-width: 768px) {

    /* Navbar mobile */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 280px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.97);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.35s ease;
        padding: 2rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li a {
        font-size: 1.3rem;
        padding: 0.5rem 1rem;
    }

    /* Overlay sombre derrière le menu */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }

    .nav-overlay.active {
        display: block;
    }

    /* Hero mobile */
    .hero {
        padding: 90px 15px 50px;
        min-height: 100svh;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .whatsapp-btn,
    .cta-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.9rem 1rem;
    }

    /* Menu mobile */
    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Sections padding */
    section {
        padding: 3.5rem 0;
    }

    /* Contact mobile */
    .contact-content {
        grid-template-columns: 1fr;
    }

    /* Footer mobile */
    footer {
        font-size: 0.85rem;
        line-height: 1.8;
    }
}

/* ===========================
   RESPONSIVE PETIT MOBILE
   (max-width: 400px)
=========================== */
@media (max-width: 400px) {
    .logo {
        font-size: 1.1rem;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .menu-item img {
        height: 170px;
    }

    .contact input,
    .contact textarea {
        font-size: 0.95rem;
    }
}