    /* Style pour le header */
    .header-section {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 50vh; /* Prend toute la hauteur de l'écran */
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: -1; /* Laisse passer les éléments du body au-dessus */
      background: #2dade0; /* Bleu clair avec opacité */
    }

    /* Background image avec opacité */
    .header-section::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url('../images/food_pic_2.jpg') no-repeat center center/cover;
      opacity: 0.2; /* Image légèrement visible */
      z-index: -1;
    }

    /* Centrage du contenu */
    .header-section .container {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      z-index: 1; /* Pour que le contenu reste visible par-dessus l'image de fond */
    }

    /* Centrer le logo */
    .navbar {
      display: flex;
      justify-content: center; /* Centre horizontalement le contenu */
      width: 100%;
    }

    /* Ajustement du logo */
    .navbar-brand img {
      width: 89px;
    }

    /* Espace pour compenser le header fixe */
    .header-height {
      height: 42vh; /* Laisse de l'espace en haut avant que le contenu défile */
    }




/*------------------------------------------------------*/

.custsearch {
  padding-bottom: 20px;
}

.search-form {
  position: relative;
  width: 100%;
}

.search-bar {
  border-radius: 50px;
  padding-right: 60px; /* Espace pour le bouton */
  width: 100%; /* Assure que l'input prend tout l'espace disponible */
}

.search-button {
  position: absolute;
  right: 4px; /* Garde le bouton collé à droite, quelle que soit la taille */
  top: 50%;
  transform: translateY(-50%); /* Centrage vertical du bouton */
  border-radius: 50px;
  background-color: #ffffff;
  border: none;
  padding: 5px 15px;
  color: black;
}

.search-button i {
  font-size: 16px;
}

  
  .navsection{
    /* position: fixed; */
  }


  .menus_tabs_picker-container {
    display: flex;
    position: relative;
    align-items: center;
  }
  .menus_tabs_picker {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    position: relative;
  }
  .arrow-btn {
    position: absolute;
    top: 21%;
    transform: translateY(-50%);
    background-color: rgb(73 170 210 / 51%);
    color: #ffffff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
    /* border: groove; */
    border-radius: 32px;
}
  
  .arrow-left {
    left: 0;
  }
  
  .arrow-right {
    right: 0;
  }

   /* Menu plats */

.menus_tab {
    margin: 20px 0;
}
.menu-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-evenly;
}

.menu-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease;
    width: 100%;
    max-width: 300px;
}

.menu-card:hover {
    transform: scale(1.05);
}

.menu-card-image {
    background-size: cover;
    background-position: center;
    height: 180px;
    width: 100%;
}

.menu-card-content {
    padding: 15px;
    text-align: center;
    font-family: poppins;
}

.menu-card-title {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px;
    font-family: poppins;
}

.menu-card-description {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 10px;
    font-family: poppins;
}

.menu-card-price {
    font-size: 20px;
    color: #000000;
    font-weight: bold;
    font-family: poppins;
}
.footer_section {
    background-color: #2DADE0; /* Ajoute un fond bleu */
    padding: 20px 0; /* Ajoute un peu d'espace autour du contenu */
    text-align: center; /* Centre le texte */
    color: white; /* Rend le texte blanc pour un meilleur contraste */
}

.footer_section .copyright {
    font-size: 16px; /* Taille du texte */
    margin: 0; /* Supprime les marges par défaut */
}




/*----------------------------------------------------------------------------------- */

/* Container pour les catégories */
.categories_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

/* Grille des catégories */
.categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-evenly;
}

/* Style de chaque catégorie */
.category-card {
  position: relative;
  background-size: cover;
  background-position: center;
  color: white;
  height: 200px;
  display: flex;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width:31%;
  padding: 10px;
  border-radius: 38px;
  align-items: center;
}

.category-card:hover {
  transform: scale(1.05); /* Légère mise en évidence au survol */
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Sombre l'image */
  border-radius: 38px;
}

.category-title {
  position: relative;
  color: #fff;
  font-size: 24px;
  z-index: 1;
  text-align: center;
}

/* Bouton de retour */
.back-button {
  display: none;
  margin-bottom: 20px;
}

.back-button.active {
  display: inline-block;
  font-size: 16px;
  background-color: #f44336;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Grille des plats */
.menu-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding-top: 33px;
}

.menu-grid.active {
  display: grid;
}
/*----------------------------------------------------------------------------------- */

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  list-style: none;
  padding: 0;
}

.pagination a {
  padding: 10px 15px;
  margin: 0 5px;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #333;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.pagination a.active {
  background-color: #2dade0;
  color: white;
  border-color: #2dade0;
}

.pagination a:hover {
  background-color: #2dade0;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.pagination a.disabled {
  background-color: #f0f0f0;
  color: #aaa;
  cursor: not-allowed;
}

.pagination a:first-child, .pagination a:last-child {
  padding: 10px 20px; /* Mettre en évidence le bouton prev/next */
}

/*----------------------------------------------------------------------------------- */

/* Responsive design */
@media (max-width: 768px) {
    .menu-grid {
        flex-direction: column;
        align-items: center;
    }

    .menu-card {
        width: 100%;
        max-width: 100%;
    }
    .menu-categories {
        padding: 0 15px;
        font-family: poppins;
      }
    .category-card { 
      width: 100%;
      height: 128px;
}
}


