/* Base */
body {
  font-family: 'Athiti', sans-serif;
  font-size: 18px;
  line-height: 1.5;
  background-color: #ebe3db;
  margin: 0;
  padding: 0;
  color: #4c4343;
}

h2 {
  font-family: 'Merienda', cursive;
  font-size: 30px;
  color: #950000;
}

header {
  background-color: #ebe3db;
  padding: 1rem;
}

.logo {
  font-family: 'Merienda', cursive;
  font-size: 25px;
  margin-bottom: 0.5rem;
}

.nav-menu {
  display: flex;
  gap: 20px;
  padding: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
}

.nav-link {
  display: inline-block;
  font-family: 'Merienda', cursive;
  font-size: 18px;
  text-decoration: none;
  color: #4c4343;
  background-color: #ebe3db;
  padding: 0.6rem 1.2rem;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background-color: #000;
  color: #fff;
}

.nav-link.active {
  background-color: #4c4343;
  color: #fff;
}
/* Slider */
.hero-slider img {
  width: 100%;
  height: auto;
  display: block;
}

/* Menu gallery */
.menu-gallery {
  padding: 2rem;
  text-align: center;
}

.menus {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 2rem 0;
}

.menu-card {
  position: relative;
}

.menu-card img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 3px 3px 8px rgba(76, 67, 67, 0.5);
  transition: opacity 0.3s ease;
}

.menu-card:hover img {
  opacity: 0.1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(76,67,67,0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-card:hover .overlay {
  opacity: 1;
}

.prix {
  font-size: 50px;
  color: white;
}

/* Bouton see more */
.see-more {
  background-color: #4c4343;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 2px 2px 2px silver;
  transition: background-color 0.3s ease;
}

.see-more:hover {
  background-color: #950000;
}

/* Footer */
footer {
  background-color: #4c4343;
  color: #ebe3db;
  padding: 2rem 1rem;
}

.footer-cols {
  display: flex;
  flex-direction: column; /* mobile first */
  gap: 2rem;
}

.footer-col {
  flex: 1;
}

footer h3 {
  font-size: 18px;
  margin-bottom: 0.5rem;
}

footer p {
  font-size: 16px;
  margin: 0.3rem 0;
}
/* Responsive */

/* Tablette */
@media (min-width: 780px) {
  .footer-cols {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}
  .menus {
    flex-direction: row;
    justify-content: center;
  }

  .menu-card {
    width: 45%;
  }

  .footer-cols {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Desktop */
@media (min-width: 1100px) {
  body {
    max-width: 1400px;
    margin: 0 auto;
  }

  nav ul {
    justify-content: flex-end;
  }
}