/* Estilos avanzados para el menú del restaurante Boulevard */

:root {
  --color-gold: #c9a96e;
  --color-gold-light: #d4b896;
  --color-bg-dark: #0a0a0f;
  --color-text-light: #f5f0e8;
  --color-text-muted: rgba(245, 240, 232, 0.6);
}

/* Sección del menú */
.menu-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #0a0a0f 0%, #0d0d14 100%);
  position: relative;
  overflow: hidden;
}

.menu-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0.3;
}

/* Título de categoría */
.menu-category-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: 0.08em;
  position: relative;
  display: inline-block;
  width: 100%;
}

/* Grid del menú */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 50px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
}

@media (min-width: 768px) {
  .menu-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Item del menú */
.menu-item {
  display: flex;
  flex-direction: column;
  border-bottom: 2px solid transparent;
  padding-bottom: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.menu-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item:hover::after {
  transform: scaleX(1);
}

.menu-item:hover {
  transform: translateX(8px);
}

/* Encabezado del item */
.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  gap: 15px;
}

/* Nombre del plato */
.menu-item-name {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 500;
  color: var(--color-text-light);
  letter-spacing: 0.03em;
  flex: 1;
  line-height: 1.3;
}

/* Precio */
.menu-item-price {
  color: var(--color-gold);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  padding-left: 10px;
}

/* Descripción */
.menu-item-description {
  font-family: 'Open Sans', sans-serif;
  color: var(--color-text-muted);
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  line-height: 1.5;
  margin-top: 6px;
  font-style: italic;
  font-weight: 300;
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-menu {
  animation: fadeInUp 0.7s ease-out;
}

/* Animación escalonada para items */
.menu-item:nth-child(1) { animation: fadeInUp 0.6s ease-out 0.1s both; }
.menu-item:nth-child(2) { animation: fadeInUp 0.6s ease-out 0.15s both; }
.menu-item:nth-child(3) { animation: fadeInUp 0.6s ease-out 0.2s both; }
.menu-item:nth-child(4) { animation: fadeInUp 0.6s ease-out 0.25s both; }
.menu-item:nth-child(5) { animation: fadeInUp 0.6s ease-out 0.3s both; }
.menu-item:nth-child(n+6) { animation: fadeInUp 0.6s ease-out 0.35s both; }

/* Responsive */
@media (max-width: 640px) {
  .menu-section {
    padding: 60px 0;
  }
  
  .menu-category-title {
    margin-bottom: 40px;
  }
  
  .menu-grid {
    gap: 30px;
    padding: 0 20px;
  }
  
  .menu-item {
    padding-bottom: 15px;
  }
}

/* Decoraciones adicionales */
.menu-category-title::before,
.menu-category-title::after {
  content: '◆';
  color: var(--color-gold);
  opacity: 0.5;
  margin: 0 15px;
  font-size: 0.6em;
}

/* Efecto de precio mejorado */
.menu-item-price::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--color-gold);
  border-radius: 50%;
  opacity: 0.5;
}

/* Línea decorativa en secciones */
@media (min-width: 1024px) {
  .menu-grid {
    gap: 50px 80px;
    padding: 0 60px;
  }
}
