@font-face {
    font-family: 'Avigea';
    src: url('fonts/avigea.woff2') format('woff2'),
         url('fonts/avigea.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Roboto:wght@100;300;400;500&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    padding: 0 10%;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    z-index: 100;

}

.menu_icons {
    position: absolute;
    display: none;
    width: 55px;
    cursor: pointer;
    font-size: 28px;
    margin-left: -5%;
}

.logo {
    width: 85px;
    margin-left: 50%;
    transform: translateX(-50%);
}

.menu {
    display: flex;
    align-items: center;
}

.menu ul {
    margin-left: -290%;
    display: flex;
    list-style: none;
}

.menu ul li {
    margin-left: 290px;
    margin: 0 50px;

}

.menu ul a {
    text-transform: capitalize;
    font-size: 16px;
    color: #000;
    text-decoration: none;
    position: relative;

}

.menu ul a::after {
    position: absolute;
    left: 0;
    bottom: -5px;
    content: "";
    width: 0%;
    height: 2px;
    background-color: #f7b13e;
    transition: width 0.1s ease-out;

}

.menu ul a:hover::after {
    width: 100%;
}

.header-end {
    display: flex;
    align-items: center;

}

.header-end i {
    margin-left: 15px;
}

/* Mobile menu */
@media screen and (max-width: 1400px) {
    .menu_icons {
        display: block;
    }
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.8); 
        position: absolute;
        top: 100px; /* Position below the header */
        left: 0;
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
    }
    .menu.show {
        display: flex;
    }
    .menu ul {
        flex-direction: column;
        margin: 0;
        padding: 0;
    }
    .menu ul li {
        margin: 0;
        padding: 10px 0;
        width: 100%;
        text-align: center;
    }
    .menu ul a {
        font-size: 18px;
    }
}

/* home */
.home {
    position: relative;
    margin-top: 100px;
    width: 100%;
    height: calc(100vh - 200px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.text-overlay {
    position: absolute;
    top: 45%;
    left: 3%;
    transform: translateY(-50%);
    text-align: left; 
    color: white;
    z-index: 1;
    font-family: 'Anton', sans-serif;
    width: 80%; /* Utiliser une largeur adaptative */
    max-width: 800px; /* Limiter la largeur maximale pour éviter une largeur excessive sur les grands écrans */
}

.text-overlay h1 {
    font-size: calc(2.5vw + 1.5rem); /* Calcul pour ajuster la taille en fonction de la largeur de l'écran avec une taille de base */
    line-height: 0.9; /* Espacement entre les lignes */
    margin-bottom: 25px; /* Espacement inférieur */
    font-family: 'Anton', sans-serif;
}

.text-overlay p {
    font-size: calc(0.7vw + 0.8rem); /* Calcul pour ajuster la taille en fonction de la largeur de l'écran avec une taille de base */
    line-height: 1.4; /* Espacement entre les lignes */
    max-width: 100%; /* Adapter la largeur maximale */
}

/* foods */
.foods {
    margin: 80px 0;
    padding: 0 10%;
    text-align: center;
}

.foods h1 {
    font-size: calc(2.8vw + 1.8rem); /* Calcul pour ajuster la taille en fonction de la largeur de l'écran avec une taille de base */
    margin-bottom: 3px; /* Espacement inférieur */
    font-family: 'Anton', sans-serif;
    margin-top: 7px;
    color: #e8a13a;
}

.foods p {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 80px;
    font-size: 1.8vw; /* Utiliser des unités relatives pour la taille du texte */
}

/* Utiliser des media queries pour ajuster les tailles de police sur des écrans plus petits */
@media (max-width: 768px) {
    .foods h1 {
        font-size: 7vw; /* Ajuster pour les écrans plus petits */
    }

    .foods p {
        font-size: 3.5vw; /* Ajuster pour les écrans plus petits */
    }
}

@media (max-width: 480px) {
    .foods h1 {
        font-size: 8vw; /* Ajuster pour les très petits écrans */
    }

    .foods p {
        font-size: 4vw; /* Ajuster pour les très petits écrans */
    }
}

.foods-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.foods-list .box {
    flex: 1 1 calc(33.333% - 40px); /* Ajuster pour 3 images par ligne avec espace */
    max-width: calc(33.333% - 40px);
    box-sizing: border-box;
    margin: 0 20px; /* Ajouter une marge pour espacer les éléments des bords */
    text-align: center;
    transition: 0.5s ease-out;
    cursor: pointer;
}

.foods-list .box:hover {
    transform: scale(1.05);
}

.foods-list .box img {
    box-shadow: 0 0 9px rgba(0, 0, 0, 0.1);
    width: 100%;
    border-radius: 20px; /* Augmenter la valeur pour des coins plus arrondis */
    margin-bottom: 20px;
}

.foods-list .box h3 {
    text-transform: none; /* Ne pas transformer le texte en majuscules */
    font-size: 23px;
    font-family: 'Anton', sans-serif;
    margin-bottom: 10px; /* Ajouter une marge en bas pour espacer le titre et la description */
}

.foods-list .box p {
    font-size: 20px; /* Taille du texte de la description */
    color: #333; /* Couleur du texte de la description */
    margin-top: 0; /* Supprimer la marge supérieure */
}

/* Adapter la mise en page pour les écrans moyens */
@media (max-width: 1024px) {
    .foods-list .box {
        flex: 1 1 calc(33.333% - 40px); /* Trois images par ligne */
        max-width: calc(33.333% - 40px);
    }
}

/* Adapter la mise en page pour les écrans petits */
@media (max-width: 768px) {
    .foods-list {
        flex-direction: column; /* Affichage en colonne pour les petits écrans */
        align-items: center; /* Centrer les éléments */
    }

    .foods-list .box {
        flex: 1 1 100%; /* Une image par ligne */
        max-width: 100%;
        margin: 0 0 35px; /* Ajouter une marge en bas pour espacer les éléments */
    }
}
/* banner */
.banner {
    background-image: url('images/bannieren.png'); /* Remplacer par le chemin de votre image de fond */
    background-size: cover;
    background-position: center;
    height: 390px; /* Ajuster la hauteur selon vos besoins */
    position: relative;
    overflow: hidden;
}

/* Adapter la mise en page pour les écrans plus petits */
@media (max-width: 768px) {
    .banner {
        margin-top: -80px;
        height: 180px; /* Ajuster la hauteur pour les écrans plus petits */
    }
}

@media (max-width: 480px) {
    .banner {
        height: 150px; /* Ajuster la hauteur pour les très petits écrans */
    }
}

/* Footer */
footer {
    position: static;
    bottom: 0;
}

@media (max-height:800px) {
    footer {
        position: static;
    }
    header {
        padding-top: 40px;
    }
}

.footer-distributed {
    background-color: #000;
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    font: bold 16px sans-serif;
    padding: 50px 50px 60px 50px;
    margin-top: 0px;
}

.footer-distributed .footer-left, .footer-distributed .footer-center, .footer-distributed .footer-right {
    display: inline-block;
    vertical-align: top;
}

/* Footer left */

.footer-distributed .footer-left {
    width: 20%;
}

.footer-distributed h3 {
    color: #ffffff;
    font: normal 36px 'Avigea', sans-serif;
    margin: 0;
}


.footer-distributed h3 span {
    color: #e8a13a;
}

/* Footer links */

.footer-distributed .footer-links {
    color: #ffffff;
    margin: 30px 0 12px;
}

.footer-distributed .footer-links a {
    display: inline-block;
    line-height: 1.8;
    text-decoration: none;
    color: inherit;
}

.footer-distributed .footer-company-name {
    color: #8f9296;
    font-size: 14px;
    font-weight: normal;
    margin: 0;
}

/* Footer Center */

.footer-distributed .footer-center {
    width: 35%;
}

.footer-distributed .footer-center i {
    background-color: #33383b;
    color: #ffffff;
    font-size: 25px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-align: center;
    line-height: 42px;
    margin: 10px 15px;
    vertical-align: middle;
}

.footer-distributed .footer-center i.fa-envelope {
    font-size: 17px;
    line-height: 38px;
}

.footer-distributed .footer-center p {
    display: inline-block;
    color: #ffffff;
    vertical-align: middle;
    margin: 0;
}

.footer-distributed .footer-center p span {
    display: block;
    font-weight: normal;
    font-size: 14px;
    line-height: 2;
}

.footer-distributed .footer-center p a {
    color: #e0ac1c;
    text-decoration: none;
    ;
}

/* Footer Right */

.footer-distributed .footer-right {
    width: 30%;
}

.footer-distributed .footer-company-about {
    line-height: 20px;
    color: #92999f;
    font-size: 13px;
    font-weight: normal;
    margin: 0;
}

.footer-distributed .footer-company-about span {
    display: block;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-distributed .footer-icons {
    margin-top: 25px;
}

.footer-distributed .footer-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    cursor: pointer;
    background-color: #33383b;
    border-radius: 2px;
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    line-height: 35px;
    margin-right: 3px;
    margin-bottom: 5px;
}

.footer-distributed .footer-icons a:hover {
    background-color: #e8a13a;
}
.footer-icons .instagram-icon {
    width: 35px; /* Ajustez la taille selon vos besoins */
    height: 35px; /* Ajustez la taille selon vos besoins */
}
.footer-links a:hover {
    color: #e8a13a;
}

@media (max-width: 880px) {
    .footer-distributed .footer-left, .footer-distributed .footer-center, .footer-distributed .footer-right {
        display: block;
        width: 100%;
        margin-bottom: 40px;
        text-align: center;
    }
    .footer-distributed .footer-center i {
        margin-left: 0;
    }
} 
