/* ============================================
   VARAS GRILL & BAR — Country Modern Theme
   ============================================ */

:root {
  --brown-dark:  #1C0E05;
  --brown-mid:   #3B1F0C;
  --brown-warm:  #6B3A1F;
  --amber:       #C8752A;
  --amber-light: #E8A04A;
  --cream:       #F5EDD8;
  --cream-light: #FDF8F0;
  --white:       #FFFFFF;
  --gray-text:   #8C7B6B;
  --green-wa:    #25D366;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', 'Segoe UI', sans-serif;
  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius:      12px;
  --shadow:      0 4px 24px rgba(28,14,5,0.15);
  --shadow-lg:   0 12px 48px rgba(28,14,5,0.25);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}
.btn-primary:hover {
  background: var(--amber-light);
  border-color: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,117,42,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--brown-dark);
  color: var(--white);
  border-color: var(--brown-dark);
}
.btn-dark:hover {
  background: var(--brown-warm);
  border-color: var(--brown-warm);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-whatsapp {
  background: var(--green-wa);
  color: var(--white);
  border-color: var(--green-wa);
}
.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

.btn.full-width { width: 100%; justify-content: center; }

/* ============ SECTION TYPOGRAPHY ============ */
.section-tag {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--brown-dark);
  margin-bottom: 1.25rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-desc {
  color: var(--gray-text);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ============ ANIMATIONS ============ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s 0.3s forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: transparent;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: var(--brown-dark);
  padding: 0.65rem 2rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-logo .logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  transition: height var(--transition);
}
.navbar.scrolled .nav-logo .logo-img { height: 38px; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--amber);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }

/* Language selector */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255,255,255,0.08);
  border-radius: 50px;
  padding: 0.25rem 0.5rem;
  flex-shrink: 0;
}
.site-lang-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  padding: 0.25rem 0.45rem;
  border-radius: 50px;
  transition: var(--transition);
}
.site-lang-btn.active {
  background: var(--amber);
  color: var(--white);
}
.site-lang-btn:hover:not(.active) { color: var(--white); }
.lang-sep {
  color: rgba(255,255,255,0.2);
  font-size: 0.7rem;
  user-select: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.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); }

/* ============ HERO ============ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--brown-dark);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28,14,5,0.3) 0%,
    rgba(28,14,5,0.55) 50%,
    rgba(28,14,5,0.85) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-title span { color: var(--amber-light); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  font-style: italic;
  margin-bottom: 2.5rem;
  font-family: var(--font-serif);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6));
  margin: 0 auto;
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============ NOSOTROS ============ */
.nosotros {
  padding: 7rem 0;
  background: var(--cream-light);
}

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.nosotros-text h2 { margin-bottom: 1.5rem; }

.nosotros-text p {
  color: #5C4A3A;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.nosotros-text .btn { margin-top: 1rem; }

.nosotros-image { position: relative; }

.image-frame {
  background: var(--brown-dark);
  border-radius: var(--radius);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.nosotros-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.stat-cards {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat-card {
  flex: 1;
  background: var(--brown-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--amber-light);
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
}

/* ============ MENU ============ */
.menu-section {
  padding: 7rem 0;
  background: var(--brown-dark);
}

.menu-section .section-tag { color: var(--amber-light); }
.menu-section h2 { color: var(--white); }
.menu-section .section-desc { color: rgba(255,255,255,0.6); }

.lang-toggle {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.lang-btn {
  padding: 0.6rem 1.75rem;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.3);
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.lang-btn.active, .lang-btn:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--white);
}

/* Menu full layout */
.menu-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.menu-full.hidden { display: none; }

.menu-category {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--transition);
}
.menu-category:hover { border-color: rgba(200,117,42,0.4); }

.menu-cat-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.menu-cat-header h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--amber-light);
  margin: 0;
}
.flame-icon { font-size: 1rem; }

.menu-items { display: flex; flex-direction: column; gap: 0; }
.menu-items-grid { display: flex; flex-direction: column; gap: 0; }

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed rgba(255,255,255,0.07);
}
.menu-item:last-child { border-bottom: none; }

.menu-item.featured {
  background: rgba(200,117,42,0.1);
  border: 1px solid rgba(200,117,42,0.2);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.5rem;
}
.menu-item.featured.family {
  background: rgba(200,117,42,0.18);
}

.menu-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}
.menu-item-name {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
}
.menu-item-desc {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  font-style: italic;
}
.menu-item-price {
  color: var(--amber-light);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  font-family: var(--font-serif);
}

.menu-cta {
  text-align: center;
}
.menu-cta p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.25rem;
  font-style: italic;
}

/* ============ FIRE DIVIDER ============ */
.fire-divider {
  background: var(--amber);
  padding: 4rem 0;
  text-align: center;
}

.fire-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* ============ GALERIA ============ */
.galeria-section {
  padding: 7rem 0;
  background: var(--cream-light);
}

.galeria-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 1rem;
}

.galeria-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--brown-mid);
}
.galeria-item.big {
  grid-row: 1 / 3;
}

.galeria-item video,
.galeria-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.galeria-item:hover video,
.galeria-item:hover img { transform: scale(1.05); }

.galeria-label {
  position: absolute;
  bottom: 1rem; left: 1rem;
  background: rgba(28,14,5,0.7);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* ============ RESERVAS ============ */
.reservas-section {
  padding: 7rem 0;
  background: var(--cream);
}

.reservas-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.reservas-info h2 { margin-bottom: 1rem; }
.reservas-info > p {
  color: #5C4A3A;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-info { margin-bottom: 2rem; display: flex; flex-direction: column; gap: 1rem; }

.contact-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  color: #5C4A3A;
  line-height: 1.6;
  font-size: 0.95rem;
}
.contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--amber);
}

/* FORM */
.reservas-form form,
.contacto-section form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.reservas-form h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 1.75rem;
  color: var(--brown-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-group.full { grid-column: 1 / -1; }

label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brown-warm);
  text-transform: uppercase;
}

input, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #E0D5C5;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--brown-dark);
  background: var(--cream-light);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
input:focus, textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(200,117,42,0.12);
}
textarea { resize: vertical; }

.form-message {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  color: var(--amber);
}
.form-message.success { color: #2e7d32; }
.form-message.error { color: #c62828; }

/* ============ MAPA ============ */
.mapa-section {
  line-height: 0;
  filter: saturate(0.5) brightness(0.9);
}

/* ============ CONTACTO ============ */
.contacto-section {
  padding: 7rem 0;
  background: var(--brown-dark);
}
.contacto-section .section-tag { color: var(--amber-light); }
.contacto-section h2 { color: var(--white); }

.contacto-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contacto-section form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

.contacto-section label { color: rgba(255,255,255,0.6); }
.contacto-section input,
.contacto-section textarea {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--white);
}
.contacto-section input::placeholder,
.contacto-section textarea::placeholder { color: rgba(255,255,255,0.35); }
.contacto-section input:focus,
.contacto-section textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(200,117,42,0.2);
}

.social-panel h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  transition: var(--transition);
}
.social-link:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: var(--amber);
  transform: translateX(4px);
}

.hours-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.hours-box h4 {
  font-family: var(--font-serif);
  color: var(--amber-light);
  margin-bottom: 1rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hours-row:last-child { border-bottom: none; }

/* ============ VIDEO BANNER ============ */
.video-banner {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
}
.video-banner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-banner::before,
.video-banner::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 120px;
  z-index: 1;
  pointer-events: none;
}
.video-banner::before {
  top: 0;
  background: linear-gradient(to bottom, var(--brown-dark), transparent);
}
.video-banner::after {
  bottom: 0;
  background: linear-gradient(to top, var(--brown-dark), transparent);
}
.video-banner--dark::after {
  background: linear-gradient(to top, #0D0603, transparent);
}
@media (max-width: 768px) {
  .video-banner { height: 260px; }
  .video-banner::before,
  .video-banner::after { height: 70px; }
}

/* ============ FOOTER ============ */
.footer {
  background: #0D0603;
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 1rem;
  border-radius: 6px;
  opacity: 0.85;
}

.footer-addr {
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.footer-copy {
  color: rgba(255,255,255,0.25);
  font-size: 0.78rem;
}
.footer-admin-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.12);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.footer-admin-link:hover { color: var(--amber); }

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--green-wa);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .menu-full { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nosotros-grid,
  .reservas-grid,
  .contacto-grid { grid-template-columns: 1fr; gap: 3rem; }

  .galeria-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px 220px;
  }
  .galeria-item.big { grid-row: 1 / 3; }
}

@media (max-width: 768px) {
  .navbar { padding: 0.85rem 1.25rem; }
  .lang-selector { order: 2; }
  .nav-toggle { order: 3; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 80vw);
    height: 100vh;
    background: var(--brown-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: right var(--transition);
    box-shadow: -8px 0 40px rgba(0,0,0,0.3);
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; z-index: 101; }

  .hero-title { font-size: clamp(2.5rem, 12vw, 4rem); }

  .form-row { grid-template-columns: 1fr; }

  .galeria-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .galeria-item { height: 240px; }
  .galeria-item.big { grid-row: auto; grid-column: auto; }

  .stat-cards { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .reservas-form form { padding: 1.5rem; }
}
