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

html, body {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
  font-family: 'Sora', sans-serif;
  background-color: #fefefe;
  color: #1a1a1a;
  overflow-x: hidden;
}

/* ✅ Fade In Global */
body {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 🔝 ZONA SUPERIOR */
.menu-top {
  background: linear-gradient(to bottom, #1a1a1a, #202020);
  padding: 1.8rem 1rem 6rem;
  position: relative;
  z-index: 1;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
}

.menu-icon {
  width: 26px;
  height: 26px;
}

/* 🔍 Buscador */
.search-container {
  margin-top: 1rem;
  background-color: #333;
  border-radius: 14px;
  padding: 1rem 1rem;
  margin-right: 10rem;
}

.search-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: white;
  font-size: 1rem;
}

/* ☕ Banner */
.menu-banner {
  width: 120%;
  border-radius: 18px;
  margin-top: -5rem;
  display: block;
  margin-left: 50%;
  transform: translateX(-50%);
  position: relative;
  z-index: 2;
  margin-bottom: -2rem;
}

/* 📄 MENÚ */
.menu-content {
  padding: 0rem 1.5rem 2rem;
  background-color: #fff;
}

.menu-category {
  font-size: 2rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: #A32C55;
  text-transform: uppercase;
}

.menu-subcategory {
  font-size: 1.1rem;
  font-weight: 600;
  color: #A32C55;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.4rem;
}

.menu-subcategory small {
  font-size: 0.65rem;
  font-weight: 400;
  color: #A32C55;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.8rem 0;
  flex-wrap: wrap;
}

#bebidas ~ .menu-subcategory + .menu-item,
#bebidas ~ .menu-subcategory + .menu-item + .menu-item,
#bebidas ~ .menu-item {
  padding: 0.3rem 0;
}

.menu-info {
  max-width: 75%;
}

.menu-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.menu-description {
  font-size: 0.9rem;
  color: #666;
}

.menu-price {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
}

/* 🧾 MULTI-PRECIO */
.multi-price .menu-price-group {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.price-label {
  font-size: 0.8rem;
  color: #999;
  font-weight: 600;
}

/* 🔗 BOTONES DE NAVEGACIÓN ENTRE CATEGORÍAS */
.menu-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem auto 0.5rem;
}

.menu-nav a {
  background-color: #A32C55;
  color: white;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.menu-nav a:hover {
  background-color: #721131;
}

html {
  scroll-behavior: smooth;
}

/* 🔘 Sidebar Icon */
.menu-toggle {
  position: absolute;
  top: 1.8rem;
  right: 1.5rem;
  width: 55px;
  height: auto;
  cursor: pointer;
  z-index: 100;
}

/* 📋 Sidebar Panel */
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 75%;
  height: 100%;
  background-color: rgba(26, 26, 26, 0.95);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.4);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 99;
  padding: 2rem;
}

.sidebar.active {
  transform: translateX(0%);
}

/* 📋 Sidebar Content */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 5rem;
}

.sidebar-nav a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
}

/* ❌ Cerrar */
.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 17rem;
}

.footer {
  background-color: #111;
  padding: 1.2rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: white;
  letter-spacing: 1px;
  font-weight: 400;
}
