/* Images plats : rectangle horizontal arrondi */
.menu-img--plat {
  width: 100%;
  aspect-ratio: 4/3;
  height: auto;
  max-height: 180px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.menu-img--plat:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  transform: scale(1.03);
}

/* Images boissons : rectangle vertical arrondi */
.menu-img--boisson {
  width: 100%;
  aspect-ratio: 3/4;
  height: auto;
  max-height: 180px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.menu-img--boisson:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  transform: scale(1.03);
}

/* Images desserts : rectangle vertical arrondi */
.menu-img--dessert {
  width: 100%;
  aspect-ratio: 3/4;
  height: auto;
  max-height: 180px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.menu-img--dessert:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .menu-img--plat, .menu-img--boisson, .menu-img--dessert {
    max-height: 120px;
  }
}

/* styles.css - Fichier CSS principal */

.section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
}

/* Cartes de menu */
.menu-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.menu-img, .menu-img--round {
  height: 90px;
  width: 90px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  display: block;
  margin: 0 auto 10px auto;
}

/* Titres et descriptions des plats */
.dish-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
  font-size: 1.1rem;
  white-space: normal;
  word-break: break-word;
}

.dish-description {
  color: #616161;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  white-space: normal;
  word-break: break-word;
}

.dish-price {
  font-weight: bold;
  color: var(--primary);
  font-size: 1.2rem;
}

/* Boutons */
.order-btn {
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 500;
  transition: all 0.3s;
  border: none;
  font-size: 0.9rem;
  min-width: 90px;
  white-space: nowrap;
}

.btn-dine-in {
  background-color: var(--primary);
  color: white;
}

.btn-dine-in:hover {
  background-color: #C62828;
}

.btn-takeaway {
  background-color: var(--secondary);
  color: white;
}

.btn-takeaway:hover {
  background-color: #2E7D32;
}

/* Boutons de partage */
.btn-share {
  border: 1px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.btn-share:hover {
  background-color: var(--primary);
  color: white;
}

.btn-share i {
  margin-right: 8px;
}

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: white;
}

/* Panier flottant */
.floating-cart {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.cart-btn {
  pointer-events: auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s;
  border: none;
}

.cart-btn:hover {
  transform: scale(1.1);
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
}

/* Modal */
.modal-content {
  border-radius: 12px;
  overflow: hidden;
  border: none;
}

.modal-header {
  border-bottom: 1px solid var(--light-gray);
}

/* Options de paiement */
.payment-method {
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
}

/* Couleurs spécifiques moyens de paiement */
.payment-orange {
  color: #ff7900;
}
.payment-wave {
  color: #0099ff;
}
.payment-mtn {
  color: #ffd600;
}
.payment-cash {
  color: #212121;
}
.payment-method:hover {
  border-color: var(--primary);
  background-color: #f9f9f9;
}

.payment-method img {
  height: 30px;
  margin-right: 10px;
}

/* Onglets */
.nav-pills .nav-link.active {
  background-color: var(--primary);
}

.nav-tabs .nav-link.active {
  color: var(--primary);
  border-bottom: 3px solid var(--primary);
}

/* Contenu hebdomadaire */
.day-tab {
  display: none;
  animation: fadeIn 0.5s;
}

.day-tab.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 0;
    height: 160px;
  }
  .menu-img, .menu-img--round {
    height: 80px;
    width: 80px;
  }
  .menu-card {
    font-size: 0.97rem;
    margin-bottom: 1rem;
  }
  .dish-title {
    font-size: 0.9rem;
  }
  .dish-description {
    font-size: 0.8rem;
  }
  .dish-price {
    font-size: 0.9rem;
  }
  .order-btn {
    font-size: 0.8rem;
    min-width: 80px;
    padding: 4px 8px;
  }
  .floating-cart {
    bottom: 1rem;
    right: 1rem;
  }
}

@media (max-width: 576px) {
  .order-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  .dish-price {
    font-size: 1rem;
  }
  .payment-method {
    padding: 8px;
  }
  .payment-method img {
    height: 24px;
  }
}

/* Utilitaires */
.text-primary {
  color: var(--primary) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.shadow-sm {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.rounded-lg {
  border-radius: 12px;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.5s;
}

/* Footer signature */
.app-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  padding: 4px 0 2px 0;
  z-index: 2000;
  letter-spacing: 0.5px;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
  opacity: 0.92;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
}

/* Cartes de menu */
.menu-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.menu-img {
  height: 90px;
  width: 90px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  display: block;
  margin: 0 auto 10px auto;
}

.menu-img--round {
  height: 90px;
  width: 90px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  display: block;
  margin: 0 auto 10px auto;
}

/* Titres et descriptions des plats */
.dish-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.dish-description {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.dish-price {
  font-weight: bold;
  color: var(--primary);
  font-size: 1.2rem;
}

/* Boutons */
.order-btn {
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 500;
  transition: all 0.3s;
  border: none;
  font-size: 0.9rem;
}

.btn-dine-in {
  background-color: var(--primary);
  color: white;
}

.btn-dine-in:hover {
  background-color: #C62828;
}

.btn-takeaway {
  background-color: var(--secondary);
  color: white;
}

.btn-takeaway:hover {
  background-color: #2E7D32;
}

/* Boutons de partage */
.btn-share {
  border: 1px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.btn-share:hover {
  background-color: var(--primary);
  color: white;
}

.btn-share i {
  margin-right: 8px;
}

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: white;
}

/* Panier flottant */
.floating-cart {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.cart-btn {
  pointer-events: auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s;
  border: none;
}

.cart-btn:hover {
  transform: scale(1.1);
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
}

/* Modal */
.modal-content {
  border-radius: 12px;
  overflow: hidden;
  border: none;
}

.modal-header {
  border-bottom: 1px solid var(--light-gray);
}

/* Options de paiement */
.payment-method {
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
}

/* Couleurs spécifiques moyens de paiement */
.payment-orange {
  color: #ff7900;
}
.payment-wave {
  color: #0099ff;
}
.payment-mtn {
  color: #ffd600;
}
.payment-cash {
  color: #212121;
}
.payment-method:hover {
  border-color: var(--primary);
  background-color: #f9f9f9;
}


.payment-method img {
  height: 30px;
  margin-right: 10px;
}

/* Onglets */
.nav-pills .nav-link.active {
  background-color: var(--primary);
}

.nav-tabs .nav-link.active {
  color: var(--primary);
  border-bottom: 3px solid var(--primary);
}

/* Contenu hebdomadaire */
.day-tab {
  display: none;
  animation: fadeIn 0.5s;
}

.day-tab.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 0;
    height: 160px;
  }
/* Images plats : rectangle arrondi, ratio adaptable, visuel élégant */
.menu-img {
  width: 100%;
  aspect-ratio: 4/3;
  height: auto;
  max-height: 180px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.menu-img:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .menu-img {
    max-height: 120px;
    aspect-ratio: 4/3;
  }
}
  }
  .section-title {
    font-size: 1.2rem;
  }
  .dish-title {
    font-size: 1rem;
    word-break: break-word;
  }
  .dish-description {
    font-size: 0.85rem;
    word-break: break-word;
  }
}

@media (max-width: 576px) {
  .order-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  
  .dish-price {
    font-size: 1rem;
  }
  
  .payment-method {
    padding: 8px;
  }
  
  .payment-method img {
    height: 24px;
  }
}

/* Utilitaires */
.text-primary {
  color: var(--primary) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.shadow-sm {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.rounded-lg {
  border-radius: 12px;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.5s;
}