:root {
  --gold: #D4A025;
  --gold-light: #E8B84B;
  --amber: #E8891C;
  --bronze: #8B6914;
  --black: #0a0a0a;
  --charcoal: #1a1a1a;
  --dark-gray: #2a2a2a;
  --medium-gray: #888;
  --light: #f0e6d3;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--black);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4,
.hero-tagline,
.hero-cta,
nav .nav-links a,
.member-card .bio-toggle,
.contact-form button {
  font-family: 'Bebas Neue', 'Impact', sans-serif;
}

/* ── NAV ─────────────────────────────── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, backdrop-filter 0.3s;
}

nav.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

nav .nav-logo img {
  height: 50px;
  transition: height 0.3s;
}

nav.scrolled .nav-logo img {
  height: 40px;
}

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

nav .nav-links a {
  color: var(--light);
  text-decoration: none;
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}

nav .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

nav .nav-links a:hover,
nav .nav-links a.active {
  color: var(--gold);
}

nav .nav-links a:hover::after,
nav .nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--light);
  transition: transform 0.3s, opacity 0.3s;
}

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

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

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

/* ── HERO ────────────────────────────── */

#home {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero/band-wide.jpg') center center / cover no-repeat;
  filter: brightness(0.4);
  transform: scale(1.1);
  transition: transform 0.5s;
}

#home::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.1) 40%,
    rgba(10, 10, 10, 0.6) 80%,
    rgba(10, 10, 10, 1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeUp 1.2s ease-out;
}

.hero-content img {
  width: min(400px, 80vw);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.7));
}

.hero-tagline {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 2rem;
}

.hero-cta {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  transition: all 0.3s;
}

.hero-cta:hover {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 0 30px rgba(212, 160, 37, 0.3);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── SECTIONS ────────────────────────── */

section {
  padding: 6rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0.75rem auto 0;
}

.section-header p {
  color: var(--medium-gray);
  font-size: 1.1rem;
  margin-top: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ── ABOUT ───────────────────────────── */

#about {
  background: var(--charcoal);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  display: block;
  filter: brightness(0.9);
  transition: transform 0.5s;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--gold);
  opacity: 0.3;
  pointer-events: none;
}

.about-text h3 {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--light);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ── BAND MEMBERS ────────────────────── */

#about .members-section {
  margin-top: 5rem;
}

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

.member-card {
  background: var(--dark-gray);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.member-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s, filter 0.5s;
}

.member-card:hover .member-photo img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.member-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(42, 42, 42, 0.9));
}

.member-info {
  padding: 1.25rem 1.5rem;
}

.member-info h4 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.member-info .role {
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Member bio modal */

.member-card .member-bio {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--light);
  opacity: 0.9;
}

.member-card.expanded .member-bio {
  max-height: 400px;
  padding: 0 1.5rem 1.5rem;
}

.member-card .bio-toggle {
  display: block;
  width: 100%;
  padding: 0.5rem;
  background: none;
  border: none;
  border-top: 1px solid rgba(212, 160, 37, 0.15);
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.3s;
}

.member-card .bio-toggle:hover {
  background: rgba(212, 160, 37, 0.05);
}

/* ── MEDIA / GALLERY ─────────────────── */

#media {
  background: var(--black);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s, filter 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.2);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(212, 160, 37, 0.0);
  transition: background 0.3s;
}

.gallery-item:hover::after {
  background: rgba(212, 160, 37, 0.1);
}

/* Lightbox */

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

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  z-index: 2001;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 1rem;
  transition: color 0.3s;
  z-index: 2001;
}

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

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

/* ── PARALLAX DIVIDER ────────────────── */

.parallax-divider {
  height: 50vh;
  background: url('../images/hero/band-crowd.jpg') center center / cover no-repeat fixed;
  position: relative;
}

.parallax-divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
}

.parallax-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.parallax-content blockquote {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-style: italic;
  color: var(--gold-light);
  max-width: 700px;
  font-weight: 300;
  line-height: 1.6;
}

/* ── CONTACT ─────────────────────────── */

#contact {
  background: var(--charcoal);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
}

.contact-info p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.contact-details {
  list-style: none;
  margin-top: 2rem;
}

.contact-details li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-details .label {
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  min-width: 80px;
}

.contact-details a {
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem 1.25rem;
  background: var(--dark-gray);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--light);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  padding: 1rem 2rem;
  background: var(--gold);
  color: var(--black);
  border: none;
  font-size: 1.3rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
}

.contact-form button:hover {
  background: var(--gold-light);
  box-shadow: 0 0 30px rgba(212, 160, 37, 0.3);
}

/* ── FOOTER ──────────────────────────── */

footer {
  background: var(--black);
  padding: 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer .footer-logo img {
  height: 60px;
  opacity: 0.6;
  margin-bottom: 1rem;
}

footer p {
  color: var(--medium-gray);
  font-size: 0.85rem;
}

footer .social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1rem 0;
}

footer .social-links a {
  color: var(--medium-gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

footer .social-links a:hover {
  color: var(--gold);
}

/* ── SCROLL ANIMATIONS ───────────────── */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ── RESPONSIVE ──────────────────────── */

@media (max-width: 1024px) {
  .members-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  nav .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
  }

  nav .nav-links.open {
    display: flex;
  }

  nav .nav-links a {
    font-size: 1.5rem;
  }

  .hamburger {
    display: flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .gallery-item.wide {
    grid-column: span 2;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  section {
    padding: 4rem 1.5rem;
  }

  .parallax-divider {
    background-attachment: scroll;
  }
}

@media (max-width: 480px) {
  .members-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-item.wide {
    grid-column: span 1;
    aspect-ratio: 1;
  }
}
