/* === TON CSS INTÉGRAL + AMÉLIORATIONS === */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff8e3;
  color: #333;
  margin: 0;
  padding: 0;
}

/* Navbar */
.navbar {
  font-size: 18px;
  font-weight: bold;
}

.navbar-light {
  background-color: #dfaf2c !important;
}

.navbar-brand h1 {
  font-size: 24px;
  color: #fff;
}

.nav-item .nav-link {
  color: #fff !important;
  transition: color 0.3s ease-in-out;
}

.nav-item .nav-link:hover {
  color: #000 !important;
}

/* Hero */
.hero-header {
  background: url('Accueil.jpg') no-repeat center center/cover;
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.hero-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-header h1,
.hero-header p,
.hero-header .btn {
  position: relative;
  z-index: 2;
}

.hero-header h1 {
  font-size: 60px;
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-header p {
  font-size: 20px;
  color: #fff;
}

/* Small hero image shown under the CTA (responsive) */
.hero-small-img {
  width: 320px;
  max-width: 80%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  margin: 1.25rem auto 0;
  display: block;
  position: relative;
  z-index: 2;
}

@media (max-width: 576px) {
  .hero-small-img {
    width: 220px;
    max-width: 90%;
  }
}

.btn-primary {
  background-color: #c02c2c;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.3s ease-in-out;
}

.btn-primary:hover {
  background-color: #a02424;
}

/* Sections */
#about,
#menu,
#contact {
  padding: 80px 0;
}

#about h2,
#menu h2,
#contact h2 {
  font-size: 36px;
  color: #c02c2c;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
}

#about p {
  font-size: 18px;
  line-height: 1.7;
}

/* Menu Cards - Enhanced Design */
.card {
  border-radius: 16px;
  overflow: hidden;
  border: none;
  background: white;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-title i {
  font-size: 1.4rem;
}

/* === AMÉLIORATIONS MENU (TON CODE) === */
/* Section Cards with Hover Shadow */
.border-primary {
  border: 2px solid #c02c2c !important;
}

.border-primary .card-title {
  color: #c02c2c;
}

.border-success-subtle {
  border: 2px solid #2ea44f !important;
}

.border-success-subtle .card-title {
  color: #2ea44f;
}

.border-success-subtle .price {
  background: linear-gradient(135deg, #2ea44f, #22843f);
  color: white;
}

.border-warning-subtle {
  border: 2px solid #dfaf2c !important;
}

.border-warning-subtle .card-title {
  color: #dfaf2c;
}

.border-warning-subtle .price {
  background: linear-gradient(135deg, #dfaf2c, #c49a1f);
  color: white;
}

.border-danger-subtle {
  border: 2px solid #dc3545 !important;
}

.border-danger-subtle .card-title {
  color: #dc3545;
}

.border-danger-subtle .price {
  background: linear-gradient(135deg, #dc3545, #b02a37);
  color: white;
}

.border-info-subtle {
  border: 2px solid #0dcaf0 !important;
}

.border-info-subtle .card-title {
  color: #0dcaf0;
}

.border-info-subtle .price {
  background: linear-gradient(135deg, #0dcaf0, #0aa2c0);
  color: white;
}

.hover-shadow {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-shadow:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  color: var(--accent);
}

/* Menu Items Styling */
.menu-item {
  display: flex;
  flex-direction: column;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:hover {
  transform: translateX(4px);
}

.menu-item strong {
  font-size: 0.95rem;
  color: #1a1a2e;
  margin-bottom: 4px;
  font-weight: 700;
}

.menu-item small {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 6px;
}

.price {
  display: inline-block;
  background: linear-gradient(135deg, #dfaf2c, #c49a1f);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 6px;
  box-shadow: 0 2px 8px rgba(223, 175, 44, 0.2);
}

.dish-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.dish-img:hover {
  transform: scale(1.05);
}

/* Responsive Menu */
@media (max-width: 576px) {
  .menu-item {
    flex-direction: column;
  }

  .menu-item strong {
    font-size: 0.9rem;
  }

  .price {
    align-self: flex-start;
  }

  .hero-header h1 {
    font-size: 2.5rem;
  }

  .card {
    border-radius: 12px;
  }

  .card-body {
    padding: 1.25rem 1rem;
  }
}

/* ====================================
   NOUVELLE SECTION CARTE - DESIGN MODERNE
   ==================================== */

/* Variables */
:root {
  --menu-primary: #c02c2c;
  --menu-accent: #dfaf2c;
  --menu-dark: #1a1a2e;
  --menu-light: #fffdf7;
}

/* Section Menu */
.menu-section {
  background: linear-gradient(180deg, #fffdf7 0%, #fff8e8 100%);
  padding: 80px 0;
  min-height: 100vh;
}

/* Header */
.menu-header {
  margin-bottom: 50px;
}

.menu-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--menu-primary), #e85555);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.menu-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--menu-dark);
  margin-bottom: 10px;
}

.menu-subtitle {
  color: #666;
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* Filtres / Onglets */
.menu-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
  padding: 0 15px;
}

.filter-btn {
  background: white;
  border: 2px solid #e0e0e0;
  color: #555;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-btn:hover {
  border-color: var(--menu-primary);
  color: var(--menu-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(192, 44, 44, 0.15);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--menu-primary), #e85555);
  border-color: var(--menu-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(192, 44, 44, 0.3);
}

.filter-btn i {
  font-size: 1rem;
}

/* Grille des plats */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  padding: 0 15px;
}

/* Headers de catégorie */
.menu-category-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 30px 0 10px;
  padding-top: 20px;
}

.category-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--menu-primary), #e85555);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.menu-category-header h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--menu-dark);
  margin: 0;
}

.category-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #e0e0e0, transparent);
}

/* Cartes de plats */
.menu-item-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
}

.menu-item-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.menu-item-card.featured {
  border: 2px solid var(--menu-accent);
}

.menu-item-card.spicy {
  border-left: 4px solid #ff6b35;
}

/* Badge sur les cartes */
.item-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--menu-accent);
  color: var(--menu-dark);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}

.item-badge.spicy-badge {
  background: #ff6b35;
  color: white;
}

/* Image du plat */
.item-image {
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: #f5f5f5;
  position: relative;
}

.item-image.placeholder-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f8f8, #efefef);
}

.item-image.placeholder-bg i {
  font-size: 3rem;
  color: #ddd;
}

/* Contenu de la carte */
.item-content {
  padding: 20px;
  position: relative;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.item-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--menu-dark);
  margin: 0;
  line-height: 1.3;
}

.item-price {
  background: linear-gradient(135deg, var(--menu-primary), #e85555);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.item-chinese {
  font-family: 'Noto Sans SC', sans-serif;
  color: #999;
  font-size: 0.85rem;
  margin: 0;
}

.item-code {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: #f5f5f5;
  color: #999;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Cartes Formules/Menus */
.menu-formula {
  background: linear-gradient(135deg, #fff9e6, #fff5d6);
  border: 2px dashed var(--menu-accent);
}

.menu-formula .item-content {
  text-align: center;
  padding: 30px 20px;
}

.formula-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.formula-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.formula-desc {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.formula-note {
  display: block;
  color: #999;
  font-size: 0.8rem;
  margin-top: 10px;
}

.formula-ribbon {
  position: absolute;
  top: 15px;
  left: -30px;
  background: var(--menu-primary);
  color: white;
  padding: 5px 40px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  transform: rotate(-45deg);
}

.item-price.large {
  font-size: 1.3rem;
  padding: 10px 25px;
}

/* Bouton téléchargement PDF */
.menu-download {
  text-align: center;
  margin-top: 60px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--menu-accent), #c49a1f);
  color: var(--menu-dark);
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(223, 175, 44, 0.3);
}

.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(223, 175, 44, 0.4);
  color: var(--menu-dark);
}

.btn-download i {
  font-size: 1.4rem;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-section {
    padding: 50px 0;
  }

  .menu-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 15px;
    font-size: 0.8rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .menu-category-header {
    flex-wrap: wrap;
  }

  .category-line {
    display: none;
  }

  .item-image {
    height: 180px;
  }
}

/* Animation de filtrage */
.menu-item-card.hidden {
  display: none;
}

.menu-category-header.hidden {
  display: none;
}

/* Placeholder images */
.placeholder-img {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f8f8f8, #efefef);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-img i {
  font-size: 1.8rem;
  color: #ddd;
}