/* ============================================================
   STYLES.CSS — Estructura y diseño de la landing page
   Los colores/tipografías vienen de theme.css (var(--...)).
   No hardcodear colores acá: usar siempre las variables.
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  background: var(--gradient-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-title .script {
  font-family: var(--font-script);
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.3em;
}

.section-subtitle {
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: 48px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gradient-accent);
  color: #201007;
  box-shadow: 0 10px 30px -10px rgba(212, 165, 74, 0.6);
}

.btn-primary:hover { box-shadow: 0 14px 34px -8px rgba(212, 165, 74, 0.8); }

.btn-outline {
  background: transparent;
  border-color: var(--color-primary-light);
  color: var(--color-text);
}

.btn-outline:hover { background: rgba(138, 63, 252, 0.15); }

/* ---------------- HEADER ---------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
  background: rgba(11, 5, 18, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.6);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--color-accent);
}

.brand span {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--color-accent-light);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--color-accent-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../Barra Evento.jpeg');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,5,18,0.55) 0%, rgba(11,5,18,0.75) 55%, var(--color-bg) 100%);
  z-index: -1;
}

.hero-content { max-width: 780px; }

.hero-eyebrow {
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--color-primary-light);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 .script {
  display: block;
  font-family: var(--font-script);
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.6em;
  line-height: 1;
  margin-top: 6px;
}

.hero p {
  color: var(--color-text-muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------------- BANNER (dinámico desde /banner) ---------------- */
.banner { padding: 20px 0 100px; }

.banner-viewport {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  height: clamp(320px, 52vw, 560px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  background: var(--color-surface);
}

.banner-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
}

.banner-slide.active { opacity: 1; visibility: visible; }

.banner-slide img,
.banner-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,5,18,0) 55%, rgba(11,5,18,0.75) 100%);
}

.banner-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-soft);
  text-align: center;
  padding: 0 24px;
  font-size: 0.9rem;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: rgba(11,5,18,0.55);
  color: var(--color-text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s ease, transform 0.2s ease;
}

.banner-arrow:hover { background: rgba(138,63,252,0.4); }
.banner-arrow.prev { left: 16px; }
.banner-arrow.next { right: 16px; }

.banner-dots {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  display: flex;
  gap: 8px;
  justify-content: center;
  z-index: 5;
}

.banner-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(245,240,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.banner-dot.active {
  background: var(--color-accent);
  transform: scale(1.25);
}

@media (max-width: 720px) {
  .banner-arrow { width: 38px; height: 38px; font-size: 1.3rem; }
}

/* ---------------- FEATURES ---------------- */
.features { padding: 100px 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary-light);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-primary);
}

.feature-icon svg { width: 26px; height: 26px; stroke: var(--color-text); }

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ---------------- MENUS ---------------- */
.menus { padding: 60px 0 100px; background: var(--color-bg-alt); }

.menus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.menu-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.menu-card .menu-img-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.menu-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-card:hover img { transform: scale(1.06); }

.menu-card-footer {
  padding: 20px;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.menu-card-footer h3 {
  font-family: var(--font-heading);
  color: var(--color-accent-light);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.menu-card-footer span {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.menu-zoom-hint {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(11,5,18,0.7);
  border: 1px solid var(--color-accent);
  color: var(--color-accent-light);
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------------- GALLERY ---------------- */
.gallery { padding: 100px 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--color-border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,5,18,0.85) 100%);
}

.gallery-caption {
  position: absolute;
  bottom: 16px;
  left: 20px;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-text);
}

/* ---------------- CONTACT / CTA ---------------- */
.cta {
  padding: 100px 0;
  background: var(--color-bg-alt);
}

.cta-box {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.12), transparent 60%);
}

.cta-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 14px;
  position: relative;
}

.cta-box p {
  color: rgba(245,240,255,0.85);
  max-width: 480px;
  margin: 0 auto 32px;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.contact-info {
  margin-top: 40px;
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  font-size: 0.9rem;
  color: rgba(245,240,255,0.85);
}

.contact-info div { display: flex; align-items: center; gap: 8px; }

/* ---------------- FOOTER ---------------- */
.footer {
  padding: 40px 0;
  text-align: center;
  color: var(--color-text-soft);
  font-size: 0.85rem;
}

.footer .brand { justify-content: center; margin-bottom: 14px; }
.footer .brand img { width: 34px; height: 34px; }
.footer .brand span { font-size: 1.2rem; }

/* ---------------- WHATSAPP FLOAT ---------------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.6);
  z-index: 900;
  transition: transform 0.25s ease;
}

.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* ---------------- LIGHTBOX MODAL ---------------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 2, 10, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  padding: 24px;
}

.lightbox.active { opacity: 1; visibility: visible; }

.lightbox img {
  max-width: min(92vw, 640px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .menus-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--color-bg-alt);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -10px 0 40px -10px rgba(0,0,0,0.6);
  }

  .nav-links.open { transform: translateX(0); }

  .nav-toggle { display: flex; }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .features-grid { grid-template-columns: 1fr; }
  .menus-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }

  .cta-box { padding: 48px 24px; }
}

@media (max-width: 480px) {
  .hero { padding-top: 120px; }
  .btn { padding: 12px 22px; font-size: 0.88rem; }
}
