body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #e6cfb0;
  color: #fff;
}

header {
  text-align: center;
  padding: 30px 0;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px;
}

.menu-card {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-card:hover {
  transform: scale(1.03);
}

.menu-card .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: background 0.3s ease;
}

.menu-card:hover .overlay {
  background: rgba(0, 0, 0, 0.3);
}

.menu-card h2 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  text-align: center;
}

.open-btn {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 10px 25px;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-card:hover .open-btn {
  opacity: 1;
}

/* Pop-up */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  color: #fff;
  overflow-y: auto;
}

.popup-content {
  position: relative;
  max-width: 900px;
  margin: 50px auto;
  background: #222;
  padding: 40px;
  border-radius: 10px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
}

.popup h2 {
  text-align: center;
  margin-bottom: 20px;
}

.section-block {
  margin-bottom: 40px;
}

.section-block h3 {
  border-bottom: 2px solid #fff;
  padding-bottom: 5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-block ul {
  list-style: none;
  padding: 0;
}

.section-block li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid #333;
}

.section-block p {
  font-style: italic;
  margin-top: 10px;
  color: #bbb;
}



.beer-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.beer-table th, 
.beer-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #333;
  text-align: left;
}

.beer-table th {
  font-weight: bold;
}

.beer-table td:nth-child(2),
.beer-table td:nth-child(3) {
  text-align: auto;
}



/* 📱 MOBILE FIX */
@media screen and (max-width: 768px) {

  .popup-content {
    margin: 20px;
    padding: 20px;
    max-width: 100%;
  }

  .section-block li {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .section-block li span:last-child {
    align-self: flex-end;
    font-weight: bold;
  }

  .menu-card {
    height: 220px;
  }

  .menu-card h2 {
    font-size: 1.2rem;
  }

  .open-btn {
    opacity: 1; /* important sur mobile (pas de hover) */
  }

  /* Tables scrollables */
  .beer-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

}
