body {
  background: #f4f2ee;
  color: #333;
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
}

section {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1rem;
}


header {
  text-align: center;
  padding: 2.5rem 1rem;
  background: #fff;
  border-bottom: 1px solid #e6e0d8;
}

header h1 {
  margin: 0;
  color: #6b4f2c;
  font-size: 2.4rem;
}

header p {
  margin-top: .5rem;
  color: #777;
  font-style: italic;
}



/* ===== TITULOS ===== */
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #6b4f2c;
}

.especial {
  border: 2px solid #c7a25a;
}

.badge {
  position: absolute;
  background: #c7a25a;
  color: #fff;
  padding: .3rem .8rem;
  border-radius: 0 0 12px 0;
  font-size: .75rem;
  font-weight: bold;
}
.menu-item {
  position: relative;
}


/* ===== GRID MENÚ ===== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.menu-item {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}

.menu-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,.15);
}

.menu-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.item-name {
  padding: 1rem;
  text-align: center;
  font-weight: bold;
  color: #6b4f2c;
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn .3s ease;
}

.modal-box {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  animation: scaleUp .3s ease;
}

.modal-box h3 {
  margin-top: 0;
  color: #6b4f2c;
}

.modal-box p {
  color: #555;
}

.modal-price {
  font-size: 1.4rem;
  color: #c7a25a;
  font-weight: bold;
  margin-top: 1rem;
}

.close {
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
}

.hidden {
  display: none;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: .7rem;
}

.gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform .3s, opacity .3s;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.05);
  opacity: .9;
}


/* ===== ANIMACIONES ===== */
@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}

@keyframes scaleUp {
  from { transform: scale(.9) }
  to { transform: scale(1) }
}


