/* ===========================================================
   GOLDEN GROOVE — perfil web (réplica del media kit)
   Paleta: negro + dorado · Tipografía: Montserrat
   Ahora CON responsive, nav y animaciones al scroll.
   =========================================================== */

:root{
  --bg:        #0a0a0a;
  --bg-soft:   #121212;
  --gold:      #e9a93a;
  --gold-dim:  #c98a23;
  --text:      #ececec;
  --muted:     #b8b8b8;
  --maxw:      920px;
  --nav-h:     64px;
}

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

html{ scroll-behavior:smooth; scroll-padding-top:var(--nav-h); }

body{
  background:var(--bg);
  color:var(--text);
  font-family:"Montserrat",sans-serif;
  font-weight:500;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

a{ color:var(--gold); text-decoration:none; }
a:hover{ text-decoration:underline; }
img{ max-width:100%; display:block; }

/* ===================== NAV ===================== */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:50;
  height:var(--nav-h);
  display:flex; align-items:center; justify-content:space-between;
  padding:0 32px;
  background:rgba(10,10,10,.65);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(233,169,58,.18);
  transition:background .3s ease;
}
.nav__brand{
  color:var(--gold);
  font-weight:800;
  letter-spacing:2px;
  font-size:16px;
}
.nav__brand:hover{ text-decoration:none; }
.nav__links{
  list-style:none;
  display:flex;
  gap:30px;
}
.nav__links a{
  color:var(--text);
  font-weight:600;
  font-size:14px;
  letter-spacing:1px;
  text-transform:uppercase;
  padding:6px 2px;
  border-bottom:2px solid transparent;
  transition:color .2s, border-color .2s;
}
.nav__links a:hover{ color:var(--gold); border-color:var(--gold); text-decoration:none; }

.nav__toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none; border:none; cursor:pointer;
  padding:6px;
}
.nav__toggle span{
  width:24px; height:2px; background:var(--gold);
  transition:transform .3s, opacity .3s;
}
.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;
  height:660px;
  background:url("assets/hero.jpg") center 28% / cover no-repeat;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg,
    rgba(10,10,10,.55) 0%,
    rgba(10,10,10,.10) 35%,
    rgba(10,10,10,.65) 78%,
    var(--bg) 100%);
}
.hero__art{
  position:relative;
  z-index:2;
  text-align:center;
  margin-bottom:16px;
  font-weight:inherit;
}
.hero__logo{
  width:350px;
  max-width:70vw;
  margin:0 auto;
  filter:drop-shadow(0 6px 20px rgba(0,0,0,.55));
}
.hero__script{
  display:block;
  margin-top:-12px;
  font-family:"Permanent Marker",cursive;
  font-size:40px;
  font-weight:400;
  color:#fff;
  text-shadow:0 3px 14px rgba(0,0,0,.7);
}

/* ===================== SECCIONES ===================== */
main{ background:var(--bg); }

.section{
  max-width:var(--maxw);
  margin:0 auto;
  padding:64px 40px;
}
.section + .section{ padding-top:24px; }

.kicker{
  color:var(--gold);
  font-weight:700;
  font-size:14px;
  letter-spacing:3px;
  margin-bottom:10px;
}
.h-gold{
  color:var(--gold);
  font-weight:800;
  font-size:34px;
  letter-spacing:1px;
  line-height:1.1;
  margin-bottom:24px;
}
.section p{
  color:var(--muted);
  font-size:17px;
  margin-bottom:18px;
  max-width:760px;
}
.section p strong{ color:var(--text); font-weight:700; }
.section p em{ color:var(--text); font-style:italic; }

/* lista de venues */
.venues{ list-style:none; margin:6px 0 22px; }
.venues li{
  position:relative;
  padding-left:22px;
  margin-bottom:8px;
  font-weight:700;
  color:var(--text);
  font-size:17px;
}
.venues li::before{
  content:"";
  position:absolute; left:0; top:9px;
  width:8px; height:8px;
  background:var(--gold);
  transform:rotate(45deg);
}

/* ===================== GALERÍA ===================== */
.gallery{
  margin-top:34px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.gallery img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:4px;
  border:1px solid #1f1f1f;
  cursor:zoom-in;
  transition:transform .25s ease, box-shadow .25s ease;
}
.gallery img:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 26px rgba(0,0,0,.55);
}

/* variante 2 columnas (sección En escena) */
.gallery--2col{ grid-template-columns:repeat(2,1fr); }
/* si queda una foto impar al final, ocupa el ancho completo */
.gallery--2col img:last-child:nth-child(odd){
  grid-column:1 / -1;
  aspect-ratio:2 / 1;
}

/* ===================== PANORÁMICA ===================== */
.pano{
  margin-top:34px;
}
.pano img{
  width:100%;
  height:auto;
  display:block;
  border-radius:6px;
  border:1px solid #1f1f1f;
  cursor:zoom-in;
  transition:transform .25s ease, box-shadow .25s ease;
}
.pano img:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 30px rgba(0,0,0,.55);
}
/* cuando hay panorámica seguida de grilla, juntamos el espacio */
.pano + .gallery{ margin-top:14px; }

/* ===================== VIDEO ===================== */
.video-label{
  color:var(--gold);
  font-weight:700;
  font-size:14px;
  letter-spacing:3px;
  margin:34px 0 14px !important;
}
.video{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  border-radius:6px;
  overflow:hidden;
  border:1px solid #1f1f1f;
  box-shadow:0 10px 30px rgba(0,0,0,.5);
}
.video iframe{
  position:absolute; inset:0;
  width:100%; height:100%;
  border:0;
}

/* ===================== LIGHTBOX ===================== */
.lightbox{
  position:fixed; inset:0; z-index:100;
  display:flex; align-items:center; justify-content:center;
  background:rgba(6,6,6,.94);
  opacity:0; visibility:hidden;
  transition:opacity .25s ease, visibility .25s ease;
}
.lightbox.open{ opacity:1; visibility:visible; }

.lb__stage{
  max-width:90vw; max-height:86vh;
  display:flex; flex-direction:column; align-items:center;
  margin:0;
}
.lb__img{
  max-width:90vw; max-height:80vh;
  width:auto; height:auto;
  border-radius:6px;
  box-shadow:0 20px 60px rgba(0,0,0,.6);
  transform:scale(.97);
  transition:transform .25s ease;
}
.lightbox.open .lb__img{ transform:scale(1); }
.lb__caption{
  margin-top:14px; color:var(--muted);
  font-size:14px; letter-spacing:.5px; text-align:center;
}

.lb__close{
  position:absolute; top:20px; right:26px;
  background:none; border:none; cursor:pointer;
  color:#fff; font-size:40px; line-height:1;
  opacity:.8; transition:opacity .2s, transform .2s;
}
.lb__close:hover{ opacity:1; transform:scale(1.1); }

.lb__nav{
  position:absolute; top:50%; transform:translateY(-50%);
  background:rgba(233,169,58,.14);
  border:1px solid rgba(233,169,58,.4);
  color:var(--gold);
  width:54px; height:54px; border-radius:50%;
  font-size:30px; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s, transform .2s;
}
.lb__nav:hover{ background:rgba(233,169,58,.28); }
.lb__prev{ left:24px; }
.lb__next{ right:24px; }

.lb__counter{
  position:absolute; bottom:22px; left:50%; transform:translateX(-50%);
  color:var(--muted); font-size:13px; letter-spacing:2px;
}

body.lb-lock{ overflow:hidden; }

/* ===================== BOTÓN FLOTANTE WHATSAPP ===================== */
.wapp{
  position:fixed;
  right:24px; bottom:24px;
  z-index:60;                 /* sobre el contenido, debajo del lightbox (100) */
  width:58px; height:58px;
  border-radius:50%;
  background:#25D366;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 18px rgba(0,0,0,.45);
  transition:transform .2s ease, box-shadow .2s ease;
  animation:wapp-pulse 2.6s ease-out infinite;
}
.wapp:hover{
  transform:scale(1.08);
  box-shadow:0 10px 26px rgba(37,211,102,.5);
  text-decoration:none;
}
.wapp svg{ width:34px; height:34px; fill:#fff; }

@keyframes wapp-pulse{
  0%   { box-shadow:0 6px 18px rgba(0,0,0,.45), 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow:0 6px 18px rgba(0,0,0,.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow:0 6px 18px rgba(0,0,0,.45), 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion:reduce){
  .wapp{ animation:none; }
}

/* ===================== CONTACTO ===================== */
.contact__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:start;
  border-top:1px solid #222;
  padding-top:30px;
}
.contact__role{ font-weight:700; color:var(--text); margin-bottom:2px !important; font-size:16px; }
.contact__name{
  font-style:italic; font-weight:800; color:var(--gold);
  font-size:22px; margin-bottom:14px !important;
}
.contact__info p{ margin-bottom:8px; }

.contact__social{ display:flex; flex-direction:column; gap:16px; }
.social{
  display:flex; align-items:center; gap:14px;
  color:var(--text); font-weight:600; font-size:16px;
}
.social:hover{ text-decoration:none; color:var(--gold); }
.social svg{
  width:26px; height:26px; flex:none;
  fill:var(--bg); background:var(--gold);
  border-radius:50%; padding:5px;
  transition:transform .2s ease;
}
.social:hover svg{ transform:scale(1.08); }

/* ===================== FOOTER ===================== */
.footer{ text-align:center; padding:30px 20px 60px; background:var(--bg); }
.footer__badge{ width:220px; margin:0 auto 18px; }
.footer p{ color:#777; font-size:13px; letter-spacing:.5px; }

/* ===================== ANIMACIONES AL SCROLL ===================== */
.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .7s ease, transform .7s ease;
}
.reveal.is-visible{ opacity:1; transform:none; }

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */

/* Tablet */
@media (max-width:860px){
  .hero{ height:520px; }
  .hero__logo{ width:300px; }
  .hero__script{ font-size:30px; }
  .h-gold{ font-size:28px; }
  .section{ padding:52px 28px; }
  .contact__grid{ grid-template-columns:1fr; gap:28px; }
}

/* Celular */
@media (max-width:620px){
  :root{ --nav-h:56px; }

  /* nav colapsable */
  .nav{ padding:0 18px; }
  .nav__brand{ font-size:14px; letter-spacing:1px; }
  .nav__toggle{ display:flex; }
  .nav__links{
    position:absolute; top:var(--nav-h); right:0; left:0;
    flex-direction:column; gap:0;
    background:rgba(10,10,10,.97);
    backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(233,169,58,.18);
    max-height:0; overflow:hidden;
    transition:max-height .35s ease;
  }
  .nav__links.open{ max-height:260px; }
  .nav__links li{ width:100%; text-align:center; }
  .nav__links a{
    display:block; padding:15px; border-bottom:1px solid #1c1c1c;
  }
  .nav__links a:hover{ border-color:#1c1c1c; }

  .hero{ height:60vh; min-height:380px; background-position:center 30%; }
  .hero__art{ margin-bottom:30px; }
  .hero__logo{ width:230px; }
  .hero__script{ font-size:26px; }

  .section{ padding:44px 20px; }
  .h-gold{ font-size:24px; }
  .section p{ font-size:16px; }
  .kicker{ font-size:12px; letter-spacing:2px; }

  /* galería 2 columnas en mobile */
  .gallery{ grid-template-columns:repeat(2,1fr); gap:10px; }

  /* lightbox en mobile */
  .lb__nav{ width:44px; height:44px; font-size:24px; }
  .lb__prev{ left:10px; }
  .lb__next{ right:10px; }
  .lb__close{ top:14px; right:16px; font-size:34px; }
  .lb__img{ max-width:94vw; }

  .social{ font-size:15px; }
  .footer__badge{ width:140px; }

  /* botón whatsapp más chico en mobile */
  .wapp{ width:52px; height:52px; right:16px; bottom:16px; }
  .wapp svg{ width:30px; height:30px; }
}
