/* =============================================
   La Leña — styles.css
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

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

/* --- Variables --- */
:root {
  --color-black:  #0A0A0A;
  --color-red:    #C0392B;
  --color-cream:  #F5F0E8;
  --color-white:  #FFFFFF;
  --color-gray:   #6B6B6B;
  --color-dark:   #1A1A1A;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  --nav-height: 68px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-black);
  color: var(--color-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background-color: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(245, 240, 232, 0.08);
}

.navbar__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-cream);
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.navbar__logo:hover {
  color: var(--color-white);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.navbar__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(245, 240, 232, 0.75);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.navbar__links a:hover {
  color: var(--color-cream);
}

.navbar__links a.nav--cta {
  color: var(--color-white);
  background-color: var(--color-red);
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.navbar__links a.nav--cta:hover {
  background-color: #A93226;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Fondo texturizado oscuro simulando brasas */
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(192, 57, 43, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(192, 57, 43, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(192, 57, 43, 0.12) 0%, transparent 60%),
    linear-gradient(160deg, #1a0e0a 0%, #0A0A0A 50%, #120a08 100%);
  z-index: 0;
}

/* Patrón de grano sutil */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.6;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.1) 0%, rgba(10,10,10,0.5) 100%);
  z-index: 1;
}

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

.hero__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-red);
  border: 1px solid rgba(192, 57, 43, 0.4);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  margin-bottom: 2rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-white);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  color: rgba(245, 240, 232, 0.65);
  line-height: 1.7;
  margin-bottom: 2.75rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__btn {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero__btn--primary {
  background-color: var(--color-red);
  color: var(--color-white);
}

.hero__btn--primary:hover {
  background-color: #A93226;
}

.hero__btn--outline {
  background-color: transparent;
  color: var(--color-cream);
  border: 1px solid rgba(245, 240, 232, 0.35);
}

.hero__btn--outline:hover {
  border-color: var(--color-cream);
  color: var(--color-white);
}

/* Indicador de scroll */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll span {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(245,240,232,0.5), transparent);
  margin: 0 auto;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* =============================================
   SHARED SECTION STYLES
   ============================================= */
.section__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section__subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.55);
  max-width: 480px;
}

/* =============================================
   MENÚ
   ============================================= */
.menu {
  background-color: var(--color-black);
  padding: 6rem 1.5rem;
}

.menu__container {
  max-width: 900px;
  margin: 0 auto;
}

.menu__header {
  margin-bottom: 3rem;
}

/* Tabs */
.menu__tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(245, 240, 232, 0.1);
  margin-bottom: 2.5rem;
  overflow-x: auto;
}

.menu__tab {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
  padding: 0.75rem 1.5rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.menu__tab:hover {
  color: rgba(245, 240, 232, 0.75);
}

.menu__tab.is-active {
  color: var(--color-cream);
  border-bottom-color: var(--color-red);
}

/* Panels */
.menu__panel {
  display: none;
}

.menu__panel.is-active {
  display: block;
}

/* Grid de items */
.menu__grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu__item {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(245, 240, 232, 0.07);
  transition: background-color 0.2s ease;
}

.menu__item:first-child {
  border-top: 1px solid rgba(245, 240, 232, 0.07);
}

.menu__item--featured {
  position: relative;
}

.menu__item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.menu__item-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-cream);
  margin-bottom: 0.3rem;
}

.menu__item-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.5);
  line-height: 1.6;
  max-width: 540px;
}

.menu__item-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-red);
  white-space: nowrap;
  flex-shrink: 0;
}

.menu__item-tag {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-red);
  border: 1px solid rgba(192, 57, 43, 0.4);
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
}

.menu__note {
  margin-top: 2.5rem;
  font-size: 0.78rem;
  color: rgba(245, 240, 232, 0.25);
  text-align: center;
  letter-spacing: 0.03em;
}

/* =============================================
   GALERÍA — SLIDESHOW
   ============================================= */
.gallery {
  background-color: var(--color-cream);
  padding: 5rem 0 4rem;
}

.gallery__header {
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
}

.gallery__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 0.75rem;
}

.gallery__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.gallery__subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(10, 10, 10, 0.5);
}

/* Slideshow wrapper */
.gallery__slideshow {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

/* Track — todos los slides en fila */
.gallery__track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Cada slide */
.gallery__slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
}

/* Overlay gradiente oscuro centrado */
.gallery__slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.15) 0%,
    rgba(10,10,10,0.55) 60%,
    rgba(10,10,10,0.75) 100%
  );
  z-index: 1;
}

/* Nombre del platillo */
.gallery__slide-name {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* Flechas */
.gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: rgba(10,10,10,0.45);
  border: 1px solid rgba(245,240,232,0.15);
  color: var(--color-cream);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(4px);
}

.gallery__arrow:hover {
  background-color: rgba(192,57,43,0.75);
  border-color: transparent;
}

.gallery__arrow--prev { left: 1.5rem; }
.gallery__arrow--next { right: 1.5rem; }

/* Puntos */
.gallery__dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}

.gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background-color: rgba(245,240,232,0.4);
  transition: background-color 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.gallery__dot.is-active {
  background-color: var(--color-cream);
  transform: scale(1.3);
}

/* =============================================
   NOSOTROS
   ============================================= */
.about {
  background-color: var(--color-dark);
  padding: 6rem 1.5rem;
}

.about__container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Columna texto */
.about__text {
  font-size: 0.975rem;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.6);
  line-height: 1.8;
  margin-top: 1.25rem;
}

.about__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.75rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(245, 240, 232, 0.08);
}

.about__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.about__stat-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-red);
  line-height: 1;
}

.about__stat-label {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(245, 240, 232, 0.4);
  letter-spacing: 0.03em;
}

/* Columna visual */
.about__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about__glow {
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(ellipse at 60% 50%, rgba(192, 57, 43, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.about__card {
  position: relative;
  z-index: 1;
  background-color: rgba(245, 240, 232, 0.04);
  border: 1px solid rgba(245, 240, 232, 0.08);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(4px);
}

.about__card--top {
  border-left: 3px solid var(--color-red);
}

.about__card-quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 400;
  color: var(--color-cream);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.about__card-attr {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(245, 240, 232, 0.4);
  letter-spacing: 0.03em;
}

.about__card--bottom {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.about__card-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.about__card-title {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 0.2rem;
}

.about__card-sub {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-cream);
}

/* =============================================
   RESERVAR
   ============================================= */
.reservar {
  background-color: var(--color-black);
  padding: 6rem 1.5rem;
}

.reservar__container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.reservar__desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.55);
  line-height: 1.75;
  margin-top: 1.25rem;
  margin-bottom: 2.5rem;
}

/* Info list */
.reservar__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.reservar__detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.reservar__detail-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.reservar__detail-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 0.3rem;
}

.reservar__detail-val {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.65);
  line-height: 1.65;
}

/* Form */
.reservar__form-wrap {
  background-color: rgba(245, 240, 232, 0.04);
  border: 1px solid rgba(245, 240, 232, 0.08);
  border-radius: 16px;
  padding: 2.5rem;
}

.reservar__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.reservar__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.reservar__field label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.5);
}

.reservar__field label span {
  text-transform: none;
  font-weight: 400;
  opacity: 0.6;
}

.reservar__field input,
.reservar__field select,
.reservar__field textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-cream);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 240, 232, 0.12);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}

.reservar__field input::placeholder,
.reservar__field textarea::placeholder {
  color: rgba(245, 240, 232, 0.25);
}

.reservar__field input:focus,
.reservar__field select:focus,
.reservar__field textarea:focus {
  border-color: var(--color-red);
}

.reservar__field select option {
  background-color: #1a1a1a;
  color: var(--color-cream);
}

.reservar__field textarea {
  resize: vertical;
  min-height: 90px;
}

/* Grupo de botones */
.reservar__btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* Botón base */
.reservar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease;
  /* WhatsApp por defecto */
  background-color: #25D366;
  color: #ffffff;
}

.reservar__btn:hover {
  background-color: #1ebe5a;
}

/* OpenTable */
.reservar__btn--opentable {
  background-color: var(--color-red);
}

.reservar__btn--opentable:hover {
  background-color: #a93226;
}

/* =============================================
   FOOTER
   ============================================= */
.footer-la {
  background-color: #080808;
  border-top: 1px solid rgba(245, 240, 232, 0.06);
  padding: 2.5rem 1.5rem;
}

.footer-la__container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-la__logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-cream);
}

.footer-la__links {
  display: flex;
  gap: 2rem;
}

.footer-la__links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
  transition: color 0.2s ease;
}

.footer-la__links a:hover {
  color: var(--color-cream);
}

.footer-la__copy {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.2);
  letter-spacing: 0.03em;
}
