/* ---------- Global styles ---------- */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    color: #003C30;
    overflow-x: hidden;
    background-image: url("images/background2.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(245, 230, 202, 0.2);
    pointer-events: none;
}

/* ---------- Header ---------- */
header {
    background-color: transparent;
    padding: 20px 50px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.logo-container {
    flex: 1;
}

.logo {
    padding-top: 32px;
    width: 250px;
    height: auto;
}

.nav-links {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    font-weight: 600;
}

.nav-links a {
    text-decoration: none;
    color: #003C30;
    font-size: 1rem;
    transition: color 0.3s, transform 0.2s;
}

.nav-links a:hover {
    color: #6a5e38;
    transform: scale(1.1);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #003C30;
}

/* ---------- Hero Section ---------- */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 50px auto;
    padding: 30px 20px;
    gap: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.hero-text h1 {
    margin: 0;
    line-height: 1.2;
    font-size: 2rem;
}

.hero-arrow .arrow {
    width: 100px;
    height: auto;
    animation: rotateArrow 2s linear infinite;
}

@keyframes rotateArrow {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(15deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.hero-logo .logo {
    width: 200px;
}

/* ---------- Main content ---------- */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centre le contenu horizontalement */
    justify-content: center;
    /* (Optionnel) centre verticalement si la page est vide */
    margin: 0 auto;
    max-width: 1000px;
    gap: 60px;
    padding: 50px 20px;
    background-color: transparent;
}

/* ---------- Menu Sections ---------- */
.menu-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 900px;
}

.menu-item.reverse {
    flex-direction: row-reverse;
}

.menu-item img {
    width: 300px;
    height: auto;
    border-radius: 15px;
    padding-right: 100px;
    /* <-- Ajoute un espace entre l'image et la flèche */
}

.menu-item.reverse img {
    padding-right: 0;
    padding-left: 100px;
    /* Pour les éléments inversés */
}

.text {
    flex: 1;
    padding: 100px;
}

.text h2 {
    color: #8b5e3c;
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.text p {
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #000;
}

/* ---------- Boucle entre image et texte ---------- */
.menu-loop {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    margin: 0 15px;
}

.loop {
    width: 30px;
    height: auto;
}

/* Desktop : flèche fixe entre image et texte */
@media(min-width: 769px) {
    .loop {
        transform: rotate(0deg);
    }
}

/* Mobile : rotation 90° continue */
@media(max-width: 768px) {
    .loop {
        animation: rotate90 2s linear infinite;
    }

    @keyframes rotate90 {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(90deg);
        }
    }
}

/* ---------- Footer ---------- */


footer {
    background-color: #003C30;
    color: white;
    padding: 50px 20px 20px;
    font-family: 'Poppins', sans-serif;
    margin-top: 60px;
}

/* ✅ Desktop (écran large) */
.footer-container {
    display: flex;
    justify-content: center;
    /* Centre tous les blocs */
    align-items: flex-start;
    gap: 80px;
    /* Espace élégant entre les sections */
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: row;
    text-align: center;
}

/* ✅ Mobile (écran < 768px) */
@media(max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
}


/* --- Each section --- */
.footer-section {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.footer-section h3 {
    color: #D0B250;
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-bottom: 2px solid #D0B250;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-section p {
    margin: 6px 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-section a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #D0B250;
}

/* --- Logo Section --- */
.footer-logo-img {
    width: 140px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 10px;
    background-color: white;
    padding: 8px;
}

.restaurant-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 10px 0 5px;
    color: #D0B250;
}

/* --- Bottom line --- */
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 15px;
    margin-top: 30px;
    font-size: 0.85rem;
    opacity: 0.8;
}



/* ---------- Section Chef (hérite du style menu-item) ---------- */
.menu-item img[alt="Chef Said"] {
    border-radius: 0;
    /* <-- supprime l'arrondi */
    width: 280px;
    height: 280px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.menu-item .text h2 {
    color: #8b5e3c;
    margin-bottom: 10px;
}

.menu-item .text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #000;
}



/* Section Chef minimaliste */
.chef-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* Supprimer le conteneur inutile */
.chef-section .chef-image {
    flex: unset;
    /* pas de flex */
    height: auto;
    /* laisse l'image déterminer la hauteur */
    overflow: visible;
    /* plus de découpe */
    box-shadow: none;
    /* supprime l'ombre */
    background: none;
    /* supprime tout fond */
}

/* Image du chef */
.chef-section .chef-image img {
    width: 280px;
    /* taille de l'image */
    height: auto;
    border-radius: 0;
    /* pas d'arrondi */
    object-fit: cover;
}




.footer-diet p i {
    color: #D0B250;
    margin-right: 8px;
    font-size: 1.1rem;
}

.footer-diet p {
    margin: 6px 0;
    font-size: 0.95rem;
}





/* ---------- Responsive ---------- */
@media(max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: rgba(245, 230, 202, 0.25);
        position: absolute;
        top: 80px;
        right: 20px;
        padding: 15px 25px;
        border-radius: 10px;
        gap: 20px;
        z-index: 10;
    }

    .menu-loop {
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .menu-item,
    .menu-item.reverse {
        flex-direction: column;
        text-align: center;
    }

    .menu-item img {
        width: 90%;
        padding: 0;
    }

    .text {
        padding: 40px;
    }

    main {
        padding: 30px 10px;
        gap: 40px;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 25px;
    }


}