/* ==================== VARIABLES Y RESET ==================== */
:root {
  --bg-dark: #0a0a0a;
  --bg-card: rgba(22, 22, 22, 0.75);
  --accent-gold: #c5a059;
  --accent-gold-hover: #e5be75;
  --text-light: #f4f1ea;
  --text-muted: #a8a8a8;
  
  /* Tipografía oficial Bookman Old Style con respaldos serif */
  --font-brand: 'Bookman Old Style', 'Bookman', 'URW Bookman L', 'Georgia', serif;
  --font-sans: 'Montserrat', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

/* ==================== PÁGINA 1: HERO ==================== */
.hero-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.48);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

.hero-logo {
  max-width: 480px;
  width: 85vw;
  height: auto;
  filter: drop-shadow(0 12px 25px rgba(0,0,0,0.85));
  opacity: 0;
  animation: logoFadeInUp 1.8s cubic-bezier(0.25, 1, 0.5, 1) 0.8s forwards;
}

@keyframes logoFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(25px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  color: var(--text-light);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
}

.scroll-indicator .arrow {
  margin-top: 5px;
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* ==================== PÁGINA 2: GALERÍA ==================== */
.experiencia-section {
  padding: 90px 0;
  background-color: var(--bg-dark);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px auto;
  padding: 0 20px;
}

.section-title {
  font-family: var(--font-brand);
  font-size: 2.8rem;
  color: var(--accent-gold);
  margin-bottom: 15px;
  font-weight: 400; 
  letter-spacing: 0.5px;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

.gallery-sliders {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  overflow: hidden;
}

.slider-wrapper {
  width: 100%;
  overflow: hidden;
  display: flex;
}

.slider-track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.slider-track img {
  width: 240px;
  height: 320px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(197, 160, 89, 0.25);
  box-shadow: 0 8px 18px rgba(0,0,0,0.7);
  pointer-events: none;
}

.track-right {
  animation: scrollRight 40s linear infinite;
}

.track-left {
  animation: scrollLeft 40s linear infinite;
}

@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

@keyframes scrollLeft {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.gallery-cta-container {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;
  margin-top: -35px;
  margin-bottom: -35px;
  pointer-events: none;
}

.btn-gallery-menu {
  pointer-events: auto;
  padding: 14px 40px;
  background-color: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(6px);
  color: var(--accent-gold);
  border: 1.5px solid var(--accent-gold);
  border-radius: 30px;
  font-family: var(--font-brand);
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.btn-gallery-menu:hover {
  background-color: rgba(197, 160, 89, 0.15);
  color: #ffffff;
  border-color: var(--accent-gold-hover);
  box-shadow: 
    0 0 15px rgba(197, 160, 89, 0.8),
    0 0 30px rgba(197, 160, 89, 0.5),
    inset 0 0 10px rgba(197, 160, 89, 0.3);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  transform: scale(1.08);
}

/* ==================== PÁGINA 3: FONDO DINÁMICO REFORZADO ==================== */
.menu-section {
  position: relative;
  padding: 110px 20px;
  background: radial-gradient(ellipse at 50% 30%, #221c13 0%, #0d0c0a 50%, #050505 100%) !important;
  overflow: hidden;
  z-index: 1;
}

/* Malla de textura */
.bg-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(197, 160, 89, 0.12) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 1;
}

/* Esferas de resplandor dorado */
.bg-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.18) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 2;
}

.orb-1 { top: 5%; left: -150px; }
.orb-2 { bottom: 10%; right: -150px; }

.menu-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  z-index: 3;
}

/* PESTAÑAS (TABS) */
.menu-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
  padding-bottom: 25px;
}

.tab-btn {
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(197, 160, 89, 0.3);
  color: var(--text-light);
  padding: 13px 30px;
  font-family: var(--font-brand);
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  letter-spacing: 1px;
}

.tab-btn:hover, .tab-btn.active {
  background-color: var(--accent-gold);
  color: var(--bg-dark);
  border-color: var(--accent-gold);
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.5);
  transform: translateY(-2px);
}

/* CONTENIDO DE PESTAÑAS */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* CATEGORÍAS Y TARJETAS EN CRISTAL (GLASSMORPHISM) */
.menu-category {
  margin-bottom: 55px;
}

.category-title {
  font-family: var(--font-brand);
  color: var(--accent-gold);
  font-size: 1.8rem;
  font-weight: 400;
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
  padding-bottom: 12px;
  margin-bottom: 30px;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}

.menu-item {
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 22px;
  border-radius: 10px;
  border: 1px solid rgba(197, 160, 89, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.menu-item:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 12px 35px rgba(197, 160, 89, 0.25);
  transform: translateY(-5px);
}

.item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.item-name {
  font-family: var(--font-brand);
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 400;
}

.item-price {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--accent-gold);
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

.item-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 300;
}

/* BANNER DESTACADO PARA MENÚ DEL DÍA */
.special-banner {
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.25), rgba(15, 15, 15, 0.9));
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--accent-gold);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 45px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.special-banner h3 {
  font-family: var(--font-brand);
  color: var(--accent-gold);
  font-size: 1.7rem;
  margin-bottom: 10px;
  font-weight: 400;
}

.special-banner p {
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.special-banner small {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ANIMACIÓN DE ENTRADA CON DESENFOQUE (BLUR & FADE-IN) */
.animate-on-scroll {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(35px);
  transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}