/* ════════════════════════════════════════════════════
   ALL MADRID NIGHTLIFE — style.css
   Edita aquí todos los estilos visuales del proyecto.
   ════════════════════════════════════════════════════ */

:root {
  --gold: #c9a84c;
  --gold-light: #e0bc6a;
  --gold-dim: rgba(201,168,76,0.18);
  --black: #080808;
  --surface: #111111;
  --surface2: #181818;
  --cream: #f0e8d0;
  --cream-dim: rgba(240,232,208,0.55);
  --cream-faint: rgba(240,232,208,0.25);
  --red: #c0392b;
  --radius: 2px;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--black); color: var(--cream);
  font-family: 'DM Sans', sans-serif; font-weight: 300;
  line-height: 1.6; min-height: 100vh; overflow-x: hidden;
  cursor: default;
}

/* ─── LANG TOGGLE ─── */
.lang-toggle {
  position: fixed; top: 1.1rem; right: 1.2rem; z-index: 200;
  display: flex; gap: 0; border: 1px solid var(--gold-dim);
}
.lang-btn {
  background: transparent; color: var(--cream-dim);
  border: none; padding: 0.3rem 0.7rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.65rem;
  font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s;
}
.lang-btn.active { background: var(--gold); color: var(--black); }

/* ─── NAV ─── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,8,8,0.93); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gold-dim);
  padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 700; letter-spacing: 0.18em;
  color: var(--gold); text-transform: uppercase;
}

/* ─── TICKER ─── */
.ticker-wrap { background: var(--gold); overflow: hidden; padding: 0.55rem 0; white-space: nowrap; }
.ticker-track { display: inline-flex; animation: ticker 36s linear infinite; }
.ticker-item {
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--black); font-weight: 500; padding: 0 2rem;
}
@keyframes ticker { from { transform:translateX(0) } to { transform:translateX(-50%) } }

/* ─── HERO ─── */
.hero {
  min-height: 93vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 5rem 2rem 4rem; position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 85%, rgba(201,168,76,0.1) 0%, transparent 65%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(201,168,76,0.05) 0%, transparent 70%);
}
.hero-noise {
  position: absolute; inset: 0; z-index: 0; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.hero > * { position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: 0.65rem; letter-spacing: 0.5em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.8rem;
  animation: fadeUp 0.9s ease both;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 9vw, 7rem); font-weight: 700; line-height: 0.95;
  color: var(--cream); margin-bottom: 0.4rem;
  animation: fadeUp 0.9s 0.15s ease both;
}
.hero-title em { color: var(--gold); font-style: italic; }
.hero-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 1.5rem auto;
  animation: fadeUp 0.9s 0.3s ease both;
}
.hero-sub {
  font-size: 1rem; color: var(--cream-dim);
  max-width: 400px; margin: 0 auto 2.8rem;
  font-weight: 300; letter-spacing: 0.03em;
  animation: fadeUp 0.9s 0.35s ease both;
}
.hero-btn {
  display: inline-block; background: transparent; color: var(--gold);
  border: 1px solid var(--gold); padding: 0.9rem 3rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.75rem;
  font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s; text-decoration: none;
  animation: fadeUp 0.9s 0.5s ease both;
}
.hero-btn:hover { background: var(--gold); color: var(--black); }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 0.4rem; opacity: 0.35;
  font-size: 0.6rem; letter-spacing: 0.35em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scaleY(1)} 50%{opacity:0.3;transform:scaleY(0.5)} }

/* ─── SECTIONS ─── */
section { padding: 5.5rem 2rem; }
.section-label {
  font-size: 0.62rem; letter-spacing: 0.45em; text-transform: uppercase;
  color: var(--gold); text-align: center; margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 600;
  text-align: center; color: var(--cream); margin-bottom: 0.5rem;
}
.gold-rule {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1rem auto 2.5rem;
}
.section-desc {
  text-align: center; color: var(--cream-faint);
  max-width: 500px; margin: -1rem auto 3rem; font-size: 0.9rem;
}

/* ─── CLUBS GRID ─── */
.clubs-section { background: var(--black); }
.clubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1px; max-width: 980px; margin: 0 auto;
  background: var(--gold-dim);
  border: 1px solid var(--gold-dim);
}
.club-card {
  background: var(--surface);
  padding: 1.5rem 1rem 1.2rem; text-align: center;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
  position: relative; overflow: hidden;
}
.club-card::after {
  content:''; position:absolute; inset:0;
  background: linear-gradient(135deg, rgba(201,168,76,0.04) 0%, transparent 60%);
  opacity:0; transition: opacity 0.2s;
}
.club-card:hover { background: var(--surface2); transform: translateY(-1px); }
.club-card:hover::after { opacity:1; }
.club-card:hover .club-name { color: var(--gold); }
.club-rank {
  position: absolute; top: 0.5rem; right: 0.6rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 700; color: rgba(201,168,76,0.08);
  line-height: 1;
}
.club-icon { font-size: 1.2rem; margin-bottom: 0.5rem; opacity: 0.65; }
.club-name {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--cream-dim);
  transition: color 0.2s; line-height: 1.35;
}
.club-vibe {
  display: inline-block; margin-top: 0.45rem;
  font-size: 0.52rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,168,76,0.35);
  padding: 0.12rem 0.45rem;
}
.clubs-cta { text-align:center; margin-top:2.8rem; }

/* ─── HOW ─── */
.how-section { background: var(--surface); }
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0; max-width: 900px; margin: 0 auto;
}
.step {
  text-align: center; padding: 2.5rem 2rem;
  border-right: 1px solid var(--gold-dim);
}
.step:last-child { border-right: none; }
.step-num {
  font-family: 'Cormorant Garamond', serif; font-size: 4rem; font-weight: 700;
  color: rgba(201,168,76,0.1); line-height: 1; margin-bottom: 1rem; display: block;
}
.step-title {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.7rem;
}
.step-desc { font-size: 0.88rem; color: var(--cream-faint); }

/* ─── REVIEWS ─── */
.reviews-section { background: var(--black); }
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem; max-width: 960px; margin: 0 auto;
}
.review-card {
  background: var(--surface); border: 1px solid var(--gold-dim);
  padding: 2rem; position: relative; transition: border-color 0.2s;
}
.review-card:hover { border-color: rgba(201,168,76,0.4); }
.review-card::before {
  content:'"'; font-family:'Cormorant Garamond',serif; font-size:5rem;
  color:rgba(201,168,76,0.08); position:absolute; top:-0.8rem; left:1.3rem; line-height:1;
}
.stars { color:var(--gold); font-size:0.75rem; margin-bottom:1rem; letter-spacing:0.15em; }
.review-text {
  font-size:0.88rem; color:var(--cream-dim); line-height:1.75;
  margin-bottom:1.2rem; font-style:italic;
}
.reviewer {
  font-size:0.65rem; letter-spacing:0.22em; text-transform:uppercase;
  color:var(--cream-faint);
}

/* ─── CTA FINAL ─── */
.cta-section {
  text-align:center; padding:6.5rem 2rem;
  background:radial-gradient(ellipse 70% 60% at 50% 50%, rgba(201,168,76,0.07) 0%, transparent 70%);
}
.cta-btn-main {
  display:inline-block; margin-top:2.5rem;
  background:var(--gold); color:var(--black); padding:1.1rem 3.8rem;
  font-family:'DM Sans',sans-serif; font-size:0.82rem;
  font-weight:500; letter-spacing:0.28em; text-transform:uppercase;
  cursor:pointer; border:none; transition:all 0.25s; text-decoration:none;
}
.cta-btn-main:hover { background:var(--gold-light); }

/* ─── FOOTER ─── */
footer {
  border-top:1px solid var(--gold-dim); padding:2.5rem 2rem; text-align:center;
}
.footer-logo {
  font-family:'Cormorant Garamond',serif; font-size:1rem; font-weight:700;
  letter-spacing:0.22em; text-transform:uppercase; color:var(--gold); margin-bottom:0.7rem;
}
.footer-text { font-size:0.72rem; color:rgba(240,232,208,0.2); letter-spacing:0.05em; }

/* ─── MODAL ─── */
.modal-overlay {
  position:fixed; inset:0; z-index:500;
  background:rgba(0,0,0,0.88); backdrop-filter:blur(8px);
  display:flex; align-items:center; justify-content:center;
  padding:1.5rem; opacity:0; pointer-events:none;
  transition:opacity 0.3s ease;
}
.modal-overlay.open { opacity:1; pointer-events:all; }
.modal {
  background:var(--surface); border:1px solid rgba(201,168,76,0.3);
  max-width:680px; width:100%; max-height:90vh; overflow-y:auto;
  position:relative; transform:translateY(20px);
  transition:transform 0.3s ease;
}
.modal-overlay.open .modal { transform:translateY(0); }
.modal-close {
  position:sticky; top:0; right:0; float:right; clear:both;
  background:var(--surface); border:none; color:var(--cream-dim);
  font-size:1.3rem; cursor:pointer; padding:1rem 1.3rem;
  line-height:1; z-index:10; transition:color 0.2s;
}
.modal-close:hover { color:var(--gold); }
.modal-hero {
  width:100%; height:200px; object-fit:cover;
  display:block; filter:brightness(0.8) saturate(0.85);
}
.modal-hero-placeholder {
  width:100%; height:200px;
  background:linear-gradient(135deg, #1a1a1a 0%, #222 50%, #1a1a1a 100%);
  display:flex; align-items:center; justify-content:center;
  font-family:'Cormorant Garamond',serif; font-size:4rem;
  color:rgba(201,168,76,0.15);
}
.modal-body { padding:2rem 2rem 2.5rem; }
.modal-eyebrow {
  font-size:0.6rem; letter-spacing:0.4em; text-transform:uppercase;
  color:var(--gold); margin-bottom:0.6rem;
}
.modal-title {
  font-family:'Cormorant Garamond',serif; font-size:2.4rem; font-weight:700;
  color:var(--cream); margin-bottom:0.3rem; line-height:1.1;
}
.modal-address {
  font-size:0.78rem; color:var(--cream-faint); margin-bottom:1.5rem;
  letter-spacing:0.04em;
}
.modal-desc {
  font-size:0.9rem; color:var(--cream-dim); line-height:1.75;
  margin-bottom:2rem;
}
.modal-ratings { margin-bottom:2rem; }
.modal-ratings-title {
  font-size:0.62rem; letter-spacing:0.35em; text-transform:uppercase;
  color:var(--gold); margin-bottom:1rem;
}
.rating-row { margin-bottom:0.85rem; }
.rating-label-row {
  display:flex; justify-content:space-between; align-items:baseline;
  margin-bottom:0.3rem;
}
.rating-label {
  font-size:0.72rem; letter-spacing:0.12em; text-transform:uppercase;
  color:var(--cream-dim);
}
.rating-val {
  font-family:'Cormorant Garamond',serif; font-size:1rem; font-weight:600;
  color:var(--gold);
}
.rating-bar-bg {
  height:3px; background:rgba(201,168,76,0.12); border-radius:1px; overflow:hidden;
}
.rating-bar-fill {
  height:100%; background:linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius:1px; transition:width 0.7s cubic-bezier(.4,0,.2,1);
  width:0%;
}
.modal-tags { display:flex; flex-wrap:wrap; gap:0.5rem; margin-bottom:2rem; }
.modal-tag {
  font-size:0.6rem; letter-spacing:0.18em; text-transform:uppercase;
  border:1px solid var(--gold-dim); color:var(--cream-dim);
  padding:0.25rem 0.65rem;
}
.modal-tag.hot { border-color:rgba(192,57,43,0.5); color:rgba(240,100,80,0.8); }
.modal-events { margin-bottom:2rem; }
.modal-events-title {
  font-size:0.62rem; letter-spacing:0.35em; text-transform:uppercase;
  color:var(--gold); margin-bottom:1rem;
}
.event-row {
  display:flex; align-items:center;
  padding:0.7rem 0; border-bottom:1px solid rgba(201,168,76,0.08);
  gap:1rem;
}
.event-row:last-child { border-bottom:none; }
.event-day {
  font-size:0.62rem; letter-spacing:0.2em; text-transform:uppercase;
  color:var(--gold); min-width:70px;
}
.event-name {
  font-size:0.85rem; color:var(--cream-dim); flex:1;
}
.event-badge {
  font-size:0.55rem; letter-spacing:0.15em; text-transform:uppercase;
  border:1px solid var(--gold-dim); color:var(--gold);
  padding:0.15rem 0.5rem; white-space:nowrap;
}
.event-ticket-btn {
  font-size:0.6rem; letter-spacing:0.12em; text-transform:uppercase;
  background: var(--gold); color: var(--black);
  padding:0.25rem 0.7rem; white-space:nowrap;
  text-decoration:none; transition: background 0.2s;
  font-weight: 500;
}
.event-ticket-btn:hover { background: var(--gold-light); }
.modal-btn {
  display:block; width:100%; background:var(--gold); color:var(--black);
  border:none; padding:1rem 2rem;
  font-family:'DM Sans',sans-serif; font-size:0.8rem;
  font-weight:500; letter-spacing:0.25em; text-transform:uppercase;
  cursor:pointer; transition:all 0.2s; text-decoration:none; text-align:center;
}
.modal-btn:hover { background:var(--gold-light); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(22px); }
  to   { opacity:1; transform:translateY(0); }
}
.reveal { opacity:0; transform:translateY(18px); transition:opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity:1; transform:translateY(0); }

/* ─── RESPONSIVE ─── */
@media(max-width:600px){
  nav { padding:0.9rem 1.2rem; }
  .hero-title { font-size:3.2rem; }
  .step { border-right:none; border-bottom:1px solid var(--gold-dim); }
  .step:last-child { border-bottom:none; }
  .modal-body { padding:1.5rem 1.5rem 2rem; }
}
/* ════════════════════════════════════════════════════
   IMAGE FIX PATCH — añadir a style.css
   (sustituye / completa las reglas existentes)
   ════════════════════════════════════════════════════ */

/* ─── MODAL IMAGE: tamaño consistente, sin deformación ─── */
.modal-hero {
  width: 100%;
  height: 220px;          /* altura fija igual para todos */
  object-fit: contain;      /* rellena sin deformar         */
  object-position: center top; /* encuadre centrado-arriba */
  display: block;
  filter: brightness(0.8) saturate(0.85);
  /* fallback si la imagen no carga */
  background: linear-gradient(135deg, #1a1a1a 0%, #222 50%, #1a1a1a 100%);
}

/* ─── CARD IMAGE (si las cards muestran imagen): mismo tratamiento ─── */
.club-card-img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: brightness(0.75) saturate(0.8);
}

/* ─── PLACEHOLDER cuando no hay imagen ─── */
.modal-hero-placeholder {
  width: 100%;
  height: 220px;          /* debe coincidir con .modal-hero */
  background: linear-gradient(135deg, #1a1a1a 0%, #222 50%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  color: rgba(201,168,76,0.15);
}

/* ─── RESPONSIVE: reducir altura en móvil ─── */
@media (max-width: 600px) {
  .modal-hero,
  .modal-hero-placeholder {
    height: 160px;
  }
}
