/* ===== RESET GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background-color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ===== NAVBAR ===== */
.navbar {
  position: relative;
  background-color: #e20025;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 80px;
  padding: 0 60px;
  width: 100%;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* LOGO */
.logo {
  position: absolute;
  left: 60px;
  top: 115%;
  transform: translateY(-50%);
  z-index: 2;
}

.logo img {
  height: 180px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* MENU NAVIGATION */
.nav-menu {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-menu a {
  margin-left: 30px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1em;
  transition: color 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: #000000;
}

.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: 10;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: 0.3s;
}

/* Animation du hamburger */
.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);
}

/* ===== SECTION MENU PRINCIPALE ===== */
.menu-page {
  text-align: center;
  padding: 100px 50px;
  background-color: #fff;
  min-height: 100vh;
  width: 100%;
}

/* Titre principal */
.menu-page h1 {
  font-size: 3.2em;
  font-weight: 800;
  color: #e20025;
  margin-bottom: 70px;
  position: relative;
  display: inline-block;
}

.menu-page h1::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: #e20025;
  border-radius: 2px;
}

/* ===== GRILLE DE CARTES ÉPURÉE ===== */
.menu-families {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 60px 40px;
  justify-items: center;
  align-items: start;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

/* ===== CARTE SANS CADRE ===== */
.menu-card {
  background-color: transparent;
  width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
}

.menu-card:hover {
  transform: translateY(-12px);
}

/* IMAGE AVEC OMBRE ET EFFETS ===== */
.menu-card-image {
  position: relative;
  width: 250px;
  height: 250px;
  margin-bottom: 25px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(226, 0, 37, 0.15);
  transition: all 0.4s ease;
}

.menu-card:hover .menu-card-image {
  box-shadow: 0 20px 45px rgba(226, 0, 37, 0.25);
  transform: scale(1.03);
}

.menu-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.menu-card:hover .menu-card-image img {
  transform: scale(1.08);
}

/* Overlay sur l'image au survol */
.menu-card-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 40%, rgba(226, 0, 37, 0.2));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.menu-card:hover .menu-card-image::after {
  opacity: 1;
}

/* Effet de bordure subtile */
.menu-card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 3px solid transparent;
  border-radius: 20px;
  background: linear-gradient(45deg, #e20025, #ff6b6b) border-box;
  -webkit-mask: 
    linear-gradient(#fff 0 0) padding-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: 
    linear-gradient(#fff 0 0) padding-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.menu-card:hover .menu-card-image::before {
  opacity: 1;
}

/* BOUTON STYLISÉ ===== */
.menu-card-btn {
  background-color: #e20025;
  color: white;
  font-weight: 700;
  font-size: 1.15em;
  padding: 14px 30px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 220px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(226, 0, 37, 0.3);
}

.menu-card-btn:hover {
  background-color: #b8001b;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(226, 0, 37, 0.4);
}

/* Effet de vague sur le bouton */
.menu-card-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
  z-index: -1;
}

.menu-card-btn:hover::before {
  left: 100%;
}

/* Effet de pulse sur le bouton */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(226, 0, 37, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(226, 0, 37, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(226, 0, 37, 0);
  }
}

.menu-card:hover .menu-card-btn {
  animation: pulse 1.5s infinite;
}

/* ===== 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 ===== */
@media (max-width: 1200px) {
  .menu-families {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px 35px;
  }
  
  .menu-card {
    width: 250px;
  }
  
  .menu-card-image {
    width: 230px;
    height: 230px;
  }
}

@media (max-width: 1024px) {
  .menu-page {
    padding: 80px 40px;
  }
  
  .menu-families {
    gap: 45px 30px;
  }
  
  .menu-card-image {
    width: 220px;
    height: 220px;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }
  
  .footer-block {
    min-width: 100%;
    padding: 0;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 30px;
    height: 70px;
  }
  
  .logo {
    left: 30px;
    top: 100%;
  }
  
  .logo img {
    height: 140px;
  }
  
  /* Menu hamburger pour mobile */
  .hamburger {
    display: flex;
    position: absolute;
    top: 25px;
    right: 30px;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: rgba(226, 0, 37, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.5s ease;
    z-index: 5;
    margin-left: 0;
    gap: 30px;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu a {
    margin: 0;
    font-size: 1.3em;
  }
  
  .menu-page {
    padding: 80px 30px;
  }
  
  .menu-page h1 {
    font-size: 2.5em;
    margin-bottom: 60px;
  }
  
  .menu-families {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px 25px;
  }
  
  .menu-card {
    width: 200px;
  }
  
  .menu-card-image {
    width: 180px;
    height: 180px;
  }
  
  .menu-card-btn {
    padding: 12px 25px;
    font-size: 1.1em;
    max-width: 180px;
  }
}

@media (max-width: 576px) {
  .menu-families {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .menu-card {
    width: 100%;
    max-width: 280px;
  }
  
  .menu-card-image {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0 20px;
    height: 60px;
  }
  
  .logo {
    left: 20px;
  }
  
  .logo img {
    height: 120px;
  }
  
  .hamburger {
    top: 20px;
    right: 20px;
  }
  
  .menu-page {
    padding: 60px 20px;
  }
  
  .menu-page h1 {
    font-size: 2.2em;
    margin-bottom: 50px;
  }
  
  .menu-families {
    gap: 45px;
  }
  
  .menu-card-image {
    width: 220px;
    height: 220px;
  }
  
  .footer {
    padding: 30px 20px;
  }
}

/* Animation d'apparition des cartes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.menu-card:nth-child(1) { animation-delay: 0.1s; }
.menu-card:nth-child(2) { animation-delay: 0.2s; }
.menu-card:nth-child(3) { animation-delay: 0.3s; }
.menu-card:nth-child(4) { animation-delay: 0.4s; }
.menu-card:nth-child(5) { animation-delay: 0.5s; }
.menu-card:nth-child(6) { animation-delay: 0.6s; }
.menu-card:nth-child(7) { animation-delay: 0.7s; }
.menu-card:nth-child(8) { animation-delay: 0.8s; }
.menu-card:nth-child(9) { animation-delay: 0.9s; }
.menu-card:nth-child(10) { animation-delay: 1s; }
.menu-card:nth-child(11) { animation-delay: 1.1s; }
/* ===== DERNIÈRE LIGNE CENTRÉE ===== */
.menu-last-line {
  display: flex;             
  justify-content: center;   /* centre les cartes horizontalement */
  gap: 60px;                 /* espace entre les cartes */
  max-width: 1300px;         /* largeur max de la grille */
  margin: 40px auto 0;       /* centre le conteneur sur la page */
  padding: 0;                /* supprime padding qui peut décaler */
  width: 100%;
  box-sizing: border-box;
}


.menu-last-line .menu-card {
  width: 100%;
  max-width: 400px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .menu-last-line {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .menu-last-line {
    flex-direction: column;  /* cartes empilées */
    align-items: center;     /* centre horizontalement */
    gap: 40px;
    padding: 0 30px;
  }

  .menu-last-line .menu-card {
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .menu-last-line {
    padding: 0 20px;
    gap: 35px;
  }

  .menu-last-line .menu-card {
    max-width: 260px;
  }
}

/* ===== LIVRAISON DROPDOWN ===== */
.nav-delivery {
  position: relative;
  display: flex;
  align-items: center;
}

/* Dropdown */
.delivery-dropdown {
  position: absolute;
  top: 120%;
  left: 0;
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  display: none;
  min-width: 160px;
  z-index: 9999;
}

/* Lien DoorDash */
.delivery-dropdown a {
  display: block;
  padding: 12px 18px;
  color: #000;
  font-weight: 700;
  text-decoration: none;
}

/* Hover DoorDash */
.delivery-dropdown a:hover {
  background-color: #000;
  color: #fff;
}

/* Desktop : hover */
@media (min-width: 769px) {
  .nav-delivery:hover .delivery-dropdown {
    display: block;
  }
}
/* ===================== SECTION DELIVERY ===================== */
.delivery {
    background-color: #f8f8f8;
    padding: 20px 20px; 
    text-align: center;
}

.delivery-content {
    max-width: 800px;
    margin: auto;

    display: flex;             
    justify-content: center;    
    align-items: center;
    gap: 20px;                  
    flex-wrap: wrap;           
}


.delivery h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.delivery p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #333;
}

.doordash-link {
    width: 220px;              /* même largeur */
    height: 110px;             /* même hauteur */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e20025;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.doordash-link img {
    max-height: 55px;
    max-width: 140px;
    object-fit: contain;
}


.doordash-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}
/* Uber Eats en vert */
.ubereats-link {
    background-color: #06c167;
}
