/* ======================================================================
   EVENTOS LORENA — Hoja de estilos
   ----------------------------------------------------------------------
   COLORES: cambialos acá abajo (en :root) y se actualiza toda la web.
   ====================================================================== */

:root {
  --bg:          #0e0e0f;   /* fondo principal (casi negro) */
  --bg-2:        #15151a;   /* fondo de secciones alternas */
  --bg-3:        #1d1d24;   /* tarjetas */
  --gold:        #c9a24b;   /* dorado principal (acento) */
  --gold-light:  #e6c878;   /* dorado claro */
  --text:        #f4f1ea;   /* texto principal */
  --muted:       #a8a399;   /* texto secundario */
  --line:        rgba(255,255,255,.10);

  --maxw: 1180px;           /* ancho máximo del contenido */
  --radius: 14px;
  --font-title: 'Playfair Display', Georgia, serif;
  --font-body:  'Poppins', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset básico ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Tipografía de secciones ---------- */
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-sub { color: var(--muted); max-width: 560px; }
.section-head { margin-bottom: 48px; }
.section-head--center { text-align: center; }
.section-head--center .section-sub { margin: 0 auto; }

section { padding: 92px 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 500;
  font-size: .92rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a1407;
  box-shadow: 0 8px 24px rgba(201,162,75,.28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(201,162,75,.4); }
.btn--outline { border-color: var(--gold); color: var(--gold); }
.btn--outline:hover { background: var(--gold); color: #1a1407; }
.btn--lg { padding: 17px 40px; font-size: 1rem; }

.link-arrow { color: var(--gold); font-weight: 500; font-size: .9rem; }
.link-arrow:hover { color: var(--gold-light); }

/* ======================================================================
   NAVEGACIÓN
   ====================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled {
  background: rgba(14,14,15,.92);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__logo-text { font-family: var(--font-title); font-size: 1.5rem; letter-spacing: .02em; }
.nav__logo-text strong { color: var(--gold); font-weight: 700; }
.nav__logo-img { height: 92px; width: auto; display: block; }
.nav.is-scrolled .nav__logo-img { height: 72px; }

.nav__menu { display: flex; align-items: center; gap: 30px; }
.nav__link { font-size: .92rem; color: var(--text); opacity: .85; white-space: nowrap; transition: opacity .2s, color .2s; }
.nav__link:hover { opacity: 1; color: var(--gold-light); }
.nav__cta {
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 9px 22px;
  border-radius: 50px;
  opacity: 1;
}
.nav__cta:hover { background: var(--gold); color: #1a1407; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 2px; background: var(--text); transition: .3s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ======================================================================
   HERO / CARRUSEL
   ====================================================================== */
.hero { position: relative; height: 100vh; min-height: 580px; overflow: hidden; }
.hero__slides { height: 100%; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1s ease;
  display: flex; align-items: center;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }

/* Fondos degradados de respaldo (se ven si no cargaste tu foto) */
.hero__slide--1 { background: radial-gradient(120% 120% at 70% 20%, #2a2118 0%, #0e0e0f 60%); }
.hero__slide--2 { background: radial-gradient(120% 120% at 30% 30%, #2a1a22 0%, #0e0e0f 60%); }
.hero__slide--3 { background: radial-gradient(120% 120% at 60% 70%, #1a2228 0%, #0e0e0f 60%); }
.hero__slide--4 { background: radial-gradient(120% 120% at 40% 20%, #241f14 0%, #0e0e0f 60%); }
.hero__slide--5 { background: radial-gradient(120% 120% at 65% 35%, #1f2418 0%, #0e0e0f 60%); }

.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* Capa oscura encima de la foto para que se lea el texto */
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.25) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 640px; }
.hero__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(2.3rem, 6.5vw, 4.6rem);
  line-height: 1.05;
  margin-bottom: 18px;
}
.hero__text { font-size: clamp(1rem, 2vw, 1.2rem); color: #e9e6df; margin-bottom: 30px; max-width: 520px; }

/* Animación de entrada del texto del slide activo.
   Usamos transiciones (no @keyframes) para que se repita cada vez que
   el slide se vuelve a mostrar al dar la vuelta el carrusel. */
.hero__slide .eyebrow,
.hero__slide .hero__title,
.hero__slide .hero__text,
.hero__slide .btn {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.hero__slide.is-active .eyebrow,
.hero__slide.is-active .hero__title,
.hero__slide.is-active .hero__text,
.hero__slide.is-active .btn { opacity: 1; transform: translateY(0); }
.hero__slide.is-active .eyebrow { transition-delay: .15s; }
.hero__slide.is-active .hero__title { transition-delay: .30s; }
.hero__slide.is-active .hero__text { transition-delay: .45s; }
.hero__slide.is-active .btn { transition-delay: .60s; }

/* Flechas */
.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid var(--line);
  color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background .2s;
  backdrop-filter: blur(4px);
}
.hero__arrow:hover { background: var(--gold); color: #1a1407; }
.hero__arrow--prev { left: 22px; }
.hero__arrow--next { right: 22px; }

/* Puntos */
.hero__dots { position: absolute; bottom: 28px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.hero__dots button {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255,255,255,.35); border: 0; cursor: pointer; transition: .25s; padding: 0;
}
.hero__dots button.is-active { background: var(--gold); width: 28px; border-radius: 6px; }

/* ======================================================================
   FEATURES (producción integral)
   ====================================================================== */
.features { background: var(--bg-2); }
.features__grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 18px;
}
.feature {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 14px; text-align: center; transition: transform .25s, border-color .25s;
}
.feature:hover { transform: translateY(-6px); border-color: var(--gold); }
.feature__icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; color: var(--gold); }
.feature__icon svg { width: 32px; height: 32px; }
.feature__title { font-size: .95rem; font-weight: 500; }

/* ======================================================================
   SOBRE NOSOTROS
   ====================================================================== */
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about__tagline { color: var(--gold-light); font-style: italic; font-size: 1.1rem; margin: 18px 0 26px; }
.about__text p { color: var(--muted); margin-bottom: 14px; }
.stats { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 28px; }
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: var(--font-title); font-size: 2.1rem; color: var(--gold); font-weight: 700; }
.stat__label { font-size: .82rem; color: var(--muted); }

/* Marco de imagen con placeholder */
.media-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--bg-3), #2a2418);
  border: 1px solid var(--line);
  display: grid; place-items: center;
}
.media-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.media-frame__hint { color: var(--muted); text-align: center; font-size: .9rem; z-index: 1; }
.media-frame__hint small { color: var(--gold); opacity: .7; }

/* ======================================================================
   SERVICIOS (tipos de evento)
   ====================================================================== */
.services { background: var(--bg-2); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.service-card__media {
  position: relative; aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #241f16, #14140f);
}
.service-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-card__body { padding: 26px 24px 30px; }
.service-card__body h3 { font-family: var(--font-title); font-size: 1.35rem; margin-bottom: 10px; }
.service-card__body p { color: var(--muted); font-size: .94rem; margin-bottom: 16px; }

/* ======================================================================
   COCINA DE AUTOR / CHEF
   ====================================================================== */
.chef__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.chef__text p { color: var(--muted); margin-bottom: 24px; }

/* ======================================================================
   GALERÍA
   ====================================================================== */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item {
  position: relative; aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; padding: 0; background: linear-gradient(135deg, #241f16, #14140f);
  display: grid; place-items: center;
}
.gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__hint { color: var(--muted); font-size: 1.6rem; font-family: var(--font-title); opacity: .4; z-index: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.9);
  display: none; place-items: center; padding: 30px;
  touch-action: none; /* el navegador no se queda con el gesto: el swipe lo maneja la web */
}
.lightbox img { -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; }
.lightbox__close { position: absolute; top: 22px; right: 28px; font-size: 2.4rem; color: #fff; cursor: pointer; background: none; border: 0; line-height: 1; z-index: 2; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.lightbox__nav:hover { background: var(--gold); color: #1a1407; border-color: var(--gold); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox__counter { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: .9rem; letter-spacing: .05em; }
@media (max-width: 680px) {
  .lightbox__nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .lightbox__nav--prev { left: 6px; }
  .lightbox__nav--next { right: 6px; }
}

/* ======================================================================
   CLIENTES + TESTIMONIOS
   ====================================================================== */
.clients { background: var(--bg-2); }
.clients__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 64px;
}
.client {
  display: grid; place-items: center; height: 88px;
  border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--muted); font-weight: 500; letter-spacing: .05em;
  background: var(--bg-3); transition: color .2s, border-color .2s;
}
.client:hover { color: var(--gold); border-color: var(--gold); }
.client img { max-height: 50px; width: auto; filter: grayscale(1) brightness(2); opacity: .7; transition: .2s; }
.client:hover img { filter: none; opacity: 1; }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: var(--bg-3); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: 28px;
}
.testimonial p { font-style: italic; color: var(--text); margin-bottom: 14px; }
.testimonial footer { color: var(--gold); font-size: .9rem; }

/* ======================================================================
   CTA FINAL
   ====================================================================== */
.cta { text-align: center; background: linear-gradient(160deg, #1a1610, var(--bg)); }
.cta__title { font-family: var(--font-title); font-size: clamp(1.9rem, 5vw, 3rem); margin-bottom: 14px; }
.cta__inner p { color: var(--muted); margin-bottom: 30px; }

/* ======================================================================
   FOOTER
   ====================================================================== */
.footer { background: #0a0a0b; padding-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1.3fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer__logo { font-size: 1.5rem; display: inline-block; margin-bottom: 12px; }
.footer__logo-img { height: 72px; width: auto; border-radius: 12px; margin-bottom: 14px; }
.footer__about { color: var(--muted); font-size: .92rem; max-width: 300px; }
.footer__col h4 { font-size: .95rem; margin-bottom: 16px; color: var(--text); }
.footer__col p { color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.footer__col a:hover { color: var(--gold); }
.socials { display: flex; gap: 12px; }
.social {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--text); transition: .2s;
}
.social svg { width: 20px; height: 20px; }
.social:hover { background: var(--gold); color: #1a1407; border-color: var(--gold); transform: translateY(-3px); }
.footer__bottom { border-top: 1px solid var(--line); padding: 22px 0; text-align: center; }
.footer__bottom p { color: var(--muted); font-size: .82rem; }

/* ======================================================================
   BOTÓN FLOTANTE WHATSAPP
   ====================================================================== */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .2s; animation: waPulse 2.4s infinite;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.1); }
@keyframes waPulse { 0%,100% { box-shadow: 0 8px 24px rgba(37,211,102,.45); } 50% { box-shadow: 0 8px 30px rgba(37,211,102,.75); } }

/* ======================================================================
   ANIMACIÓN "REVEAL" AL HACER SCROLL
   ====================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ======================================================================
   RESPONSIVE (mobile)
   ====================================================================== */
@media (max-width: 900px) {
  .features__grid { grid-template-columns: repeat(4, 1fr); }
  .services__grid, .testimonials { grid-template-columns: 1fr; }
  .clients__grid { grid-template-columns: repeat(3, 1fr); }
  .about__inner, .chef__inner { grid-template-columns: 1fr; gap: 36px; }
  .chef__media { order: -1; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  section { padding: 64px 0; }

  /* Menú móvil desplegable */
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; top: 0; right: -100%; height: 100vh; width: 75%; max-width: 320px;
    background: var(--bg-2); flex-direction: column; justify-content: center; gap: 26px;
    transition: right .35s ease; box-shadow: -10px 0 40px rgba(0,0,0,.5);
  }
  .nav.is-open .nav__menu { right: 0; }
  .nav__link { font-size: 1.1rem; }

  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
  /* En celular: ocultamos las flechas (se pasa deslizando con el dedo o con los puntos)
     y centramos el contenido para que nada lo tape. */
  .hero__arrow { display: none; }
  .hero__content { text-align: center; }
  .hero__text { margin-left: auto; margin-right: auto; }
  .hero__overlay { background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.7)); }
  .stats { gap: 22px; }
}
