/* ===== Custom Properties ===== */
:root {
  --bg-dark: #0a0a0a;
  --bg-alt: #1a1a1a;
  --bg-card: #222;
  --gold: #D4A017;
  --gold-light: #E8B817;
  --text: #f0f0f0;
  --text-muted: #aaa;
  --header-height: 70px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  transition: background var(--transition);
}

.header--scrolled {
  background: rgba(10, 10, 10, 0.95);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.nav__logo img {
  border-radius: 50%;
  object-fit: cover;
}

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

.nav__link {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding: 0.25rem 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__link:hover {
  color: var(--gold);
}

.nav__link:hover::after {
  width: 100%;
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: url('../images/la_banda.JPG') center/cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.7) 100%);
}

.hero__content {
  position: relative;
  text-align: center;
  padding: 2rem 2rem 3rem;
}

.hero__tagline {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  color: var(--gold);
}

.hero__socials {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.hero__socials a {
  color: var(--text);
  transition: color var(--transition), transform var(--transition);
}

.hero__socials a:hover {
  color: var(--gold);
  transform: scale(1.15);
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gold);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* ===== About ===== */
.about__text {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.about__text p + p {
  margin-top: 1rem;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-alt);
  border-radius: 12px;
  border: 1px solid #333;
}

.stat__number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
}

.stat__label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.about__image {
  max-width: 700px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
}

.about__image img {
  width: 100%;
  border-radius: 12px;
}

/* ===== Music ===== */
.music {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.music__player iframe {
  border-radius: 12px;
}

.music__timeline h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--gold);
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #333;
}

.timeline__item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -2.35rem;
  top: 0.3rem;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
}

.timeline__year {
  display: inline-block;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.timeline__content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.timeline__content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Events ===== */
.events__placeholder {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-alt);
  border-radius: 12px;
  border: 1px dashed #444;
}

.events__message {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 1.5rem 0;
}

.events__socials {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.events__socials a {
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--gold);
  border-radius: 30px;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}

.events__socials a:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

/* ===== Videos ===== */
.videos__featured {
  width: 100%;
  aspect-ratio: 16/9;
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
}

.videos__featured iframe {
  border: none;
  border-radius: 12px;
}

.videos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.videos__item {
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
}

.videos__item iframe {
  border: none;
  border-radius: 12px;
}

.videos__cta {
  text-align: center;
  margin-top: 2.5rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--gold);
  color: var(--bg-dark);
  font-weight: 700;
  border-radius: 30px;
  transition: background var(--transition), transform var(--transition);
}

.btn:hover {
  background: var(--gold-light);
  color: var(--bg-dark);
  transform: scale(1.05);
}

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery__item {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-size: 2.5rem;
  padding: 1rem;
  transition: color var(--transition);
  line-height: 1;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  color: var(--gold);
}

.lightbox__close {
  top: 1rem;
  right: 1.5rem;
  font-size: 3rem;
}

.lightbox__prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-alt);
  padding: 3rem 0;
  border-top: 1px solid #333;
}

.footer__content {
  text-align: center;
}

.footer__logo {
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.footer__socials {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer__socials a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__socials a:hover {
  color: var(--gold);
}

.footer__location {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer__copy {
  color: #666;
  font-size: 0.85rem;
}

/* ===== Fade-in Animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.98);
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav__menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    font-size: 1.1rem;
  }

  .section__title {
    font-size: 2rem;
  }

  .about__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .music {
    grid-template-columns: 1fr;
  }

  .videos__grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .hero__tagline {
    font-size: 1.2rem;
  }

  .lightbox__prev,
  .lightbox__next {
    font-size: 2rem;
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {
  .about__stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .stat {
    padding: 1rem 0.5rem;
  }

  .stat__number {
    font-size: 1.4rem;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .events__socials {
    flex-direction: column;
    align-items: center;
  }
}
