@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Montserrat:wght@400;500;600&display=swap');

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: 'Montserrat', sans-serif;
  background: #f6f1eb;
  color: #2b1a14;
  line-height: 1.7;
}

/* ===============================
   HEADER
================================ */
.header {
  background: linear-gradient(180deg, #5a2d1b, #3a1f16);
  color: #ffffff;
  text-align: center;
  padding: 46px 22px;
  border-bottom: 3px solid #c0392b;
}

.header h1 {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
}



.header p {
  font-size: 1rem;
  opacity: 0.9;
}

/* ===============================
   CATEGORÍAS — SCROLL AMIGABLE
================================ */
.categories {
  display: flex;
  gap: 16px;
  padding: 18px 16px;
  background: #4b2417;
  overflow-x: auto;
  scrollbar-width: none;
}

.categories::-webkit-scrollbar {
  display: none;
}

.categories button {
  flex: 0 0 auto;
  background: #ffffff;
  color: #4b2417;
  border: none;
  padding: 10px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.categories button:hover {
  background: #c0392b;
  color: #ffffff;
}

/* ===============================
   CONTENEDOR MENÚ
================================ */
.menu-container {
  padding: 40px 20px 60px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}

/* ===============================
   TARJETA PRODUCTO
================================ */
.menu-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.menu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

/* ===============================
   IMAGEN
================================ */
.menu-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

/* SIN IMAGEN */
.menu-card.no-image img {
  display: none;
}

/* ===============================
   CONTENIDO
================================ */
.menu-card-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: #3a1f16;
}

.menu-card p {
  font-size: 0.9rem;
  color: #6a4a3c;
}

.menu-card span {
  margin-top: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #c0392b;
}

/* ===============================
   FOOTER
================================ */
.footer {
  background: #3a1f16;
  color: #ffffff;
  padding: 40px 22px;
  text-align: center;
}

.footer p {
  background: rgba(255, 255, 255, 0.12);
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 1rem;
}

.footer a {
  display: inline-block;
  margin: 8px 0;
  padding: 12px 22px;
  border-radius: 20px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.footer a:hover {
  background: #c0392b;
}

/* ===============================
   RESPONSIVE
================================ */
@media (min-width: 768px) {
  .header h1 {
    font-size: 2.6rem;
  }

  .menu-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

}
