:root {
    --sage: #a8bba5;
    --blue-grey: #afc7d8;
    --cream: #f6f1e9;
    --cacao: #5a3e36;
    --gold: #d7b87e;
    --white: #ffffff;
  }
  
  body {
    background-color: var(--cream);
    color: var(--cacao);
    font-family: 'Inter', sans-serif;
  }
  
  /* HEADER */
  header {
    background-color: var(--cream);
    border-bottom: 1px solid var(--gold);
  }
  .navbar-brand {
    color: var(--cacao) !important;
    font-weight: 700;
    font-size: 1.5rem;
  }
  .nav-link {
    color: var(--cacao) !important;
    font-weight: 500;
  }
  .nav-link:hover {
    color: var(--gold) !important;
  }
  .btn-main {
    background-color: var(--sage);
    color: var(--cacao);
    font-weight: 600;
    border-radius: 8px;
  }
  .btn-main:hover {
    background-color: var(--gold);
    color: var(--cacao);
  }
  
  /* HERO */
  .hero {
    background-color: var(--blue-grey);
  }
  
  /* SECTION TITLES */
  .section-title {
    font-weight: 700;
    color: var(--cacao);
  }
  
  /* CARDS */
  .feature-card {
    border: 1px solid var(--gold);
    border-radius: 12px;
    background-color: var(--white);
    padding: 25px;
    height: 100%;
  }
  
  .dish-card img {
    border-radius: 12px;
  }
  
  .justify {
    text-align: justify;
  }
  .link {
    margin-top: 5px;
    text-decoration: none;
    color: black;
  }
  
  .survol:hover {
    transform: translateY(-3px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
  }
  
  /* --- Diaporama --- */
  .slideshow {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 500px;
    overflow: hidden;
  }
  
  .slideshow img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    opacity: 0;
    animation: fadeSlide 30s infinite;
  }
  
  /* Animation totale = 30s → 6 images = 5s chacune */
  .slideshow img:nth-child(1) {
    animation-delay: 0s;
  }
  .slideshow img:nth-child(2) {
    animation-delay: 5s;
  }
  .slideshow img:nth-child(3) {
    animation-delay: 10s;
  }
  .slideshow img:nth-child(4) {
    animation-delay: 15s;
  }
  
  @keyframes fadeSlide {
    0% {
      opacity: 0;
    }
    5% {
      opacity: 1;
    }
    25% {
      opacity: 1;
    }
    30% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }
  
  /* --- Texte/logo surimpression --- */
  .overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    z-index: 2;
    animation: fadeInOverlay 1.5s ease-in-out;
  }
  
  .overlay h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
  }
  
  .overlay p {
    font-size: 1.2rem;
    font-weight: 400;
  }
  
  @keyframes fadeInOverlay {
    from {
      opacity: 0;
      transform: translate(-50%, -60%);
    }
    to {
      opacity: 1;
      transform: translate(-50%, -50%);
    }
  }
  
  /* Optionnel : fond sombre léger pour améliorer la lisibilité du texte */
  .slideshow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
  }
  
  /* Card */
  .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
  }
  /* End card */
  
  .object-fit-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  
  .hero-image {
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    width: 100%;
  }



/* ------------------------------
   SECTION HEADER
------------------------------ */
.menu-header {
    padding: 80px 0;
    background-color: var(--blue-grey);
    text-align: center;
}

.menu-header h1 {
    font-weight: 800;
    color: var(--cacao);
}

.menu-header p {
    color: var(--cacao);
    font-size: 1.2rem;
}

/* ------------------------------
   CARDS
------------------------------ */
.menu-card {
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--cream);
    border: 1px solid var(--gold);
    transition: transform .2s ease-in-out, box-shadow .2s;
    height: 100%;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    cursor: pointer;
}

.dish-card:hover{
    transform: translateY(-3px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.menu-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.menu-body {
    padding: 20px;
}

.menu-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--cacao);
}

.menu-desc {
    color: #6b5a55;
    font-size: 1rem;
    margin-bottom: 12px;
    min-height: 60px;
}

.menu-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
}

.btn-menu {
    background-color: var(--sage);
    color: var(--cacao);
    border-radius: 8px;
    font-weight: 600;
}

.btn-menu:hover {
    background-color: var(--gold);
    color: var(--cacao);
}



  /* FOOTER */
  footer {
    background-color: var(--cacao);
    color: var(--cream);
    padding: 40px 0;
  }
  footer a {
    color: var(--gold);
    text-decoration: none;
  }
  footer a:hover {
    text-decoration: underline;
  }