/* ===== GLOBAL ===== */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

*, *::before, *::after {
  box-sizing: inherit;
}

/* ===== NAVBAR ===== */
.navbar {
  position: relative;
  background-color: #e20025;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 80px;
  padding: 0 60px;
  width: 100%;
  z-index: 1000; /* Ajouté */

}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* LOGO */
.logo {
  position: absolute;
  left: 60px;
  top: 120%;
  transform: translateY(-50%);
  z-index: 2;
}

.logo img {
  height: 200px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* MENU PRINCIPAL */
.nav-menu {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 25px;
}

.nav-menu a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  padding: 8px 0;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a:focus,
.nav-menu a.active {
  color: #000000;
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #000000;
}

/* Menu hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 1100;
  position: absolute;
  top: 30px;
  right: 30px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* ===== CARROUSEL DE NAVIGATION HORIZONTAL ===== */
.submenu-carousel {
  position: sticky;
  top: 100px;
  width: 100%;
  background: #fff;
  padding: 25px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.043);
  z-index: 90;
  margin-top: 0;
}

/* CONTAINER CORRIGÉ - overflow: visible RETIRÉ */
.submenu-container {
  position: relative;
  width: 100%;
  padding: 0 50px;
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.submenu-track {
  display: flex;
  gap: 20px;
  padding: 10px 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  flex: 1;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Cacher la scrollbar pour Chrome, Safari et Opera */
.submenu-track::-webkit-scrollbar {
  display: none;
}

.submenu-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #f5f5f5;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 15px;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
}

.submenu-item:hover {
  background: #e20025;
  transform: translateY(-5px);
  border-color: #e20025;
}

.submenu-item.active {
  background: #e20025;
  box-shadow: 0 6px 15px rgba(226, 0, 37, 0.3);
  border-color: #e20025;
}

.submenu-item i {
  font-size: 1.8em;
  color: #333;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.submenu-item:hover i,
.submenu-item.active i {
  color: white;
}

.submenu-item span {
  font-size: 0.85em;
  font-weight: 600;
  color: #333;
  text-align: center;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.submenu-item:hover span,
.submenu-item.active span {
  color: white;
}

/* Indicateurs du carrousel */
.carousel-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  padding: 0 20px;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #e20025;
  transform: scale(1.2);
}

/* FLÈCHES DE NAVIGATION - AMÉLIORÉ */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid #39393980;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(226, 0, 37, 0.25);
  z-index: 1000;
  transition: all 0.3s ease;
  font-size: 1.3em;
  color: #39393957;
  opacity: 1 !important;
  visibility: visible !important;
}

.carousel-arrow:hover {
  background: #e200267e;
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(226, 0, 37, 0.4);
}

.carousel-arrow.prev {
  left: 15px;
}

.carousel-arrow.next {
  right: 15px;
}

/* S'assurer que rien ne cache les flèches */
.carousel-arrow {
  pointer-events: auto !important;
}

/* ===== CONTENU PRINCIPAL ===== */
.menu-content {
  width: 100%;
  padding: 40px 0;
  margin-top: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== IMAGE PLEINE LARGEUR ===== */
.hero-image-container {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 350px;
  background-color: #8B0000;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../../images/Morceaux.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  position: relative;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: bicubic;
}

.hero-text {
  text-align: center;
  padding: 20px;
  max-width: 800px;
  z-index: 2;
  position: relative;
}

.hero-text h1 {
  font-size: 3.2rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  color: white;
}

.hero-text p {
  font-size: 1.2rem;
  margin: 0 auto;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* ===== SECTION EN DEUX COLONNES ===== */
.menu-split-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 50px;
}

.split-column {
  flex: 1;
  min-width: 300px;
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.split-title {
  color: #e20025;
  font-size: 2rem;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e20025;
  text-align: center;
}

/* Liste des prix */
.price-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px dashed #ddd;
  font-size: 1.1rem;
}

.price-list li:last-child {
  border-bottom: none;
}

.price {
  color: #000000;
  font-weight: bold;
  font-size: 1.2rem;
}

/* ===== REPAS INDIVIDUELS ===== */
.individual-meal {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.meal-includes {
  color: #000000;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.1rem;
  padding: 10px;
  border-radius: 5px;
}

/* Images rondes */
.round-images {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

/* Image standard */
.round-image {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid #e20025;
  overflow: hidden;
  background-color: #f8f8f8;
  position: relative;
}

/* Superposition des 2 dernières images */
.round-image:nth-last-child(1) {
  margin-left: -27px; /* ≈ 20% de 70px */
  z-index: 2;
}

.round-image:nth-last-child(2) {
  z-index: 1;
}

.round-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Options de repas */
.meal-options {
  list-style-type: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.meal-options li {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px dashed #ddd;
  font-size: 1.1rem;
}

.meal-options li:last-child {
  border-bottom: none;
}

/* ===== REPAS FAMILIAUX ===== */
.family-meals {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 50px;
}

.family-title {
  color: #e20025;
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 2px solid #e20025;
}

.family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.family-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.family-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.family-item h3 {
  color: #e20025;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.family-item p {
  color: #666;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.family-price {
  display: inline-block;
  color: white;
  background-color: #8cc740;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1.2rem;
}

/* ===== SUPPLEMENTS ===== */
.supplements-section {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 3px solid #e20025;
  margin-bottom: 50px;
}

.supplements-title {
  color: #e20025;
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

.supplements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.supplement-item {
  text-align: center;
}

.supplement-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #e20025;
  overflow: hidden;
  margin: 0 auto 15px;
  background-color: #f8f8f8;
}

.supplement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.supplement-item h3 {
  color: #333;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.supplement-price {
  color: #000000;
  font-weight: bold;
  font-size: 1.3rem;
}

/* ===== SECTION BURGER ===== */
.burger-section {
  text-align: center;
  padding: 40px 20px;
  background-color: #fff;
  width: 100%;
}

.burger-title {
  color: #8cc740;
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.burger-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: #8cc740;
  border-radius: 2px;
}

.burger-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 30px;
}

.burger-card {
  background-color: #f9f9f9;
  width: 280px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: left;
}

.burger-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.burger-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.burger-card-content {
  padding: 20px;
}

.burger-card h3 {
  margin: 0 0 10px 0;
  font-size: 1.4em;
  color: #333;
  font-weight: 700;
  min-height: 3em;
}

.burger-card p {
  margin: 8px 0;
  font-size: 0.95em;
  color: #555;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.burger-card .price {
  color: #8cc740;
  font-weight: 700;
  font-size: 1.1em;
}

/* ===== SECTION POUTINE ===== */
.poutine-section {
  text-align: center;
  padding: 40px 20px;
  background-color: #fff;
  width: 100%;
}

.poutine-title {
  color: #8cc740;
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.poutine-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: #8cc740;
  border-radius: 2px;
}

.poutine-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.poutine-card {
  background: #f9f9f9;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  width: 280px;
}

.poutine-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.poutine-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.poutine-card-content {
  padding: 20px;
}

.poutine-card-content h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.4em;
  min-height: 3em;
}

.poutine-card-content p {
  color: #666;
  margin: 8px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.poutine-card-content .price {
  color: #8cc740;
  font-weight: bold;
  font-size: 1.1em;
}

/* ===== SECTION SALADE ===== */
.salade-section {
  text-align: center;
  padding: 40px 20px;
  background-color: #fff;
  width: 100%;
}

.salade-title {
  color: #8cc740;
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.salade-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: #8cc740;
  border-radius: 2px;
}

.salade-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 35px;
}

.salade-card {
  background-color: #f9f9f9;
  width: 400px;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  overflow: hidden;
  transition: all 0.3s ease;
}

.salade-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.salade-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.salade-card-content {
  padding: 25px;
}

.salade-card h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #333;
  text-align: center;
  font-weight: 700;
  min-height: 3.5em;
}

.salade-card p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0;
  font-size: 1.1em;
  color: #444;
}

.salade-card .price {
  color: #8cc740;
  font-weight: 700;
  font-size: 1.15em;
}

/* ===== BANDE VERTE ===== */
.bande-verte {
  background-color: #8cc740;
  color: white;
  width: 60%;
  max-width: 600px;
  margin: 30px auto;
  border-radius: 10px;
  padding: 20px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.ligne-bande {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1em;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.4);
}

.ligne-bande:last-child {
  border-bottom: none;
}

.texte {
  font-weight: 500;
}

.prix {
  font-weight: 700;
  color: #004d00;
  background-color: white;
  padding: 4px 12px;
  border-radius: 5px;
}

/* ===== FOOTER ===== */
.footer {
  background-color: #222;
  color: white;
  padding: 30px 50px;
  width: 100%;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 10px;
  width: 100%;
}

.footer-block {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-block h3 {
  color: #e20025;
  margin-bottom: 10px;
}

.footer-block p,
.footer-block a {
  color: white;
  margin-bottom: 5px;
  font-size: 0.95em;
  text-decoration: none;
}

.footer-block a:hover {
  color: #e20025;
}

.footer-copy {
  text-align: center;
  opacity: 0.7;
  font-size: 0.85em;
  margin-top: 20px;
}

/* ============================= */
/* ===== RESPONSIVE MOBILE ===== */
/* ============================= */

@media (max-width: 480px) {

  /* ===== NAVBAR ===== */
  .navbar {
    height: 65px;
    padding: 0 20px;
    position: relative;
  }

  .logo {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-20%);
  }

  .logo img {
    height: 100px;
  }

  /* ===== MENU HAMBURGER ===== */
  .hamburger {
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1200;
  }

  /* ===== MENU PRINCIPAL ===== */
  .nav-menu {
    position: fixed;
    top: 65px;
    right: 0;
    width: 100%;
    height: calc(100vh - 65px);
    background-color: #e20025;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 30px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu a {
    font-size: 1.2em;
  }

  /* ===== SOUS-MENU / CAROUSEL ===== */
  .submenu-carousel {
    position: sticky;
    top: 65px;
    padding: 15px 0;
  }

  .submenu-container {
    padding: 0 15px;
  }

  .submenu-item {
    width: 80px;
    height: 80px;
  }

  .submenu-item i {
    font-size: 1.4em;
  }

  .submenu-item span {
    font-size: 0.75em;
  }

  .carousel-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ===== HERO IMAGE ===== */
  .hero-image {
    height: 220px;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  /* ===== SECTIONS EN COLONNES ===== */
  .menu-split-section {
    flex-direction: column;
    gap: 25px;
  }

  .split-column {
    padding: 20px;
  }

  /* ===== IMAGES RONDES ===== */
  .round-image {
    width: 60px;
    height: 60px;
  }

  .round-image:nth-last-child(1) {
    margin-left: -20px;
  }

  /* ===== GRILLES ===== */
  .family-grid,
  .supplements-grid {
    grid-template-columns: 1fr;
  }

  /* ===== CARTES BURGER / POUTINE ===== */
  .burger-card,
  .poutine-card {
    width: 100%;
    max-width: 320px;
  }

  .burger-card img,
  .poutine-card img {
    height: 300px;
  }

  /* ===== SALADES ===== */
  .salade-card {
    width: 100%;
  }

  .salade-card img {
    height: 350px;
  }

  /* ===== BANDE VERTE ===== */
  .bande-verte {
    width: 90%;
    padding: 15px;
  }

  .ligne-bande {
    font-size: 1em;
  }

  /* ===== FOOTER ===== */
  .footer {
    padding: 25px 20px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
