/* =============================================
   BANDA FdI — Stylesheet
   ============================================= */

@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/BebasNeue-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Nunito-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Nunito-600.ttf') format('truetype');
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Nunito-700.ttf') format('truetype');
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/Nunito-800.ttf') format('truetype');
}

:root {
  --bg-dark:    #16161f;
  --bg-mid:     #1e1e2a;
  --bg-light:   #252533;
  --accent:     #3b9eff;
  --accent2:    #00d4ff;
  --gold:       #ffd166;
  --text:       #f0f0f8;
  --text-muted: #9090a8;
  --border:     #33334a;
  --radius:     10px;
  --font-title: 'Bebas Neue', cursive;
  --font-body:  'Nunito', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 62px; /* altura de la navbar en escritorio */
}

body {
  background: var(--bg-dark);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  padding-top: 62px; /* compensa navbar fija */
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent2); }
.link-reset,
.link-reset:hover {
  color: inherit;
  text-decoration: none;
}

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

/* ── UTILIDADES ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section--dark  { background: var(--bg-dark); }
.section--light { background: var(--bg-mid); }
.section--accent {
  background: linear-gradient(135deg, #0a0d2e 0%, #16161f 60%, #0d1828 100%);
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--accent);
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: .1em;
}

/* ── BOTONES ── */
.btn {
  display: inline-block;
  padding: .75rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: all .25s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  border-radius: 30px;
}
.btn-primary:hover {
  opacity: .85;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224,64,251,.35);
  color: #fff;
}

.btn-small {
  padding: .4rem 1.1rem;
  font-size: .85rem;
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
  border-radius: 20px;
}
.btn-small:hover {
  background: var(--accent);
  color: #fff;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 2rem;
  background: rgba(22,22,31,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-title);
  font-size: 1.7rem;
  color: var(--text);
  letter-spacing: .1em;
}
.nav-logo span {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* En escritorio, el wrapper es transparente para el layout */
.nav-links-wrapper {
  display: contents;
}

.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}



/* ── HERO ── */
.hero {
  position: relative;
  min-height: calc(100vh - 62px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* Cuando añadas foto: background: url('fotos/hero.jpg') center/cover no-repeat; */
  background: linear-gradient(145deg, #0a0d2e 0%, #16161f 45%, #0d1a2e 100%);
  overflow: hidden;
}

/* Círculos decorativos suaves */
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,158,255,.15) 0%, transparent 70%);
  top: -100px; left: -150px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,.12) 0%, transparent 70%);
  bottom: -80px; right: -120px;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(22,22,31,.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 700;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: .25em;
  margin-bottom: .75rem;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(4rem, 14vw, 9rem);
  line-height: 1;
  color: #fff;
  letter-spacing: .08em;
  background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p { margin-bottom: 1rem; }

.members h3 {
  color: var(--accent);
  font-family: var(--font-title);
  font-size: 1.4rem;
  letter-spacing: .08em;
  margin: 1.5rem 0 .75rem;
}
.members ul {
  list-style: none;
  columns: 2;
  column-gap: 2rem;
}
.members li {
  padding: .4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}
.role {
  font-weight: 700;
  color: var(--gold);
  margin-right: .5rem;
}

.about-photo img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}
  background: var(--bg-light);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .5rem;
  color: var(--text-muted);
  font-size: 1rem;
  min-height: 280px;
}
.placeholder-img span { font-size: 2rem; }
.past-photo img {
  width: 140px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

/* ── CONCERTS GRID (upcoming) ── */
.concerts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.concert-card {
  flex: 1 1 320px;
  max-width: 600px;
  display: flex;
  gap: 1.2rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform .25s, box-shadow .25s;
}
.concert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(224,64,251,.18);
}

.concert-card--upcoming {
  background: linear-gradient(135deg, #0d2a4a 0%, #0a1e36 100%);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.concert-card--upcoming .concert-info h3 {
  font-size: 1.3rem;
}
.concert-card--upcoming .venue,
.concert-card--upcoming .concert-desc {
  font-size: 1rem;
}
.concert-card--upcoming .venue {
  color: rgba(255,255,255,.92);
  font-weight: 700;
}

.concert-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
   min-width: 92px;
   background: linear-gradient(160deg, var(--accent), var(--accent2));
   border-radius: var(--radius);
   padding: .65rem .75rem;
   line-height: 1.1;
   text-align: center;
}
.concert-date .day-month,
.past-date .day-month {
  display: inline-flex;
  align-items: baseline;
  gap: .35rem;
}
.concert-date .day,
.concert-date .month,
.past-date .day,
.past-date .month {
  font-family: var(--font-title);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.concert-date .day,
.concert-date .month {
  font-size: 1.45rem;
  color: #fff;
}
.past-date .day,
.past-date .month {
  font-size: 1.45rem;
  color: var(--accent);
}
.concert-date .year,
.past-date .year {
  margin-top: .2rem;
  font-size: .8rem;
  color: rgba(255,255,255);
  letter-spacing: .08em;
}
.concert-date .time {
  margin-top: .6rem;
  font-size: .92rem;
  font-weight: 800;
  color: rgba(255,255,255,.92);
  letter-spacing: .08em;
}

.concert-info h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .3rem; }
.venue { font-size: .9rem; color: var(--text-muted); margin-bottom: .5rem; }
.venue a { color: inherit; text-decoration: none; }
.venue a:hover { color: inherit; text-decoration: underline; }
.precio-entrada { font-size: .92rem; font-weight: 700; color: rgba(255,255,255,.92); margin-bottom: .5rem; }
.concert-desc { font-size: .9rem; margin-bottom: .75rem; }

.concerts-empty-hint {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 2rem;
  font-size: .95rem;
}

/* ── PAST CONCERTS ── */
.past-concerts-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.past-concert {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--bg-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  transition: border-color .2s;
}
.past-concert:hover { border-color: var(--accent2); }

.past-date {
  min-width: 92px;
  text-align: center;
  padding-top: .2rem;
}
.past-date .year {
  color: var(--text-muted);
}

.past-info { flex: 1; }
.past-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .25rem; }
.past-info p  { font-size: .9rem; color: var(--text-muted); }
.past-info .venue { margin-bottom: .4rem; }

/* ── CONTACT ── */
.contact-container { text-align: center; }
.contact-container p { margin-bottom: 2rem; font-size: 1.1rem; color: var(--text-muted); }

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.social-btn {
  padding: .6rem 1.8rem;
  border: 2px solid var(--accent);
  border-radius: 30px;
  color: var(--text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .9rem;
  transition: all .25s;
}
.social-btn:hover {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(224,64,251,.3);
}

/* ── FOOTER ── */
.footer {
  background: #080808;
  text-align: center;
  padding: 1.5rem;
  font-size: .85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  body { padding-top: 88px; } /* navbar en dos filas */
  html { scroll-padding-top: 88px; }

  .navbar {
    padding: .5rem 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: .3rem;
  }

  .nav-logo { font-size: 1.4rem; text-align: center; }

  /* Wrapper con fades laterales como indicador de scroll */
  .nav-links-wrapper {
    display: block;
    position: relative;
  }
  .nav-links-wrapper::before,
  .nav-links-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 5.5rem;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease;
  }
  .nav-links-wrapper::before {
    left: 0;
    background: linear-gradient(to left, transparent, rgba(22,22,31,.98));
  }
  .nav-links-wrapper::after {
    right: 0;
    background: linear-gradient(to right, transparent, rgba(22,22,31,.95));
  }
  .nav-links-wrapper.can-scroll-left::before { opacity: 1; }
  .nav-links-wrapper.can-scroll-right::after { opacity: 1; }

  .nav-links {
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links li { flex-shrink: 0; }
  .nav-links a { padding: .4rem .65rem; font-size: .82rem; }

  .hero { min-height: calc(100vh - 88px); }

  .about-grid { grid-template-columns: 1fr; }
  .past-concert { flex-wrap: wrap; justify-content: center; }
  .past-photo { width: 100%; display: flex; justify-content: center; }

  .concert-card { flex: 1 1 100%; max-width: 100%; }
}
