/* ===== Custom Properties ===== */
:root {
  --gold: #c8a864;
  --gold-dim: rgba(200, 168, 100, 0.3);
  --bg: #0a0a0a;
  --text: #f0f0f0;
  --text-muted: rgba(240, 240, 240, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Accessibility ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 12px 24px;
  background-color: var(--text);
  color: var(--bg);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* Focus styles for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background-color 0.3s ease;
}

.site-header.is-scrolled {
  background-color: rgba(10, 10, 10, 0.97);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  height: 28px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text);
  transition: color 0.2s ease;
}

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

.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-links a {
  color: rgba(240, 240, 240, 0.7);
  transition: color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}

.social-links a:hover {
  color: #fff;
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 48px;
  min-height: 48px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text);
  transition: all 0.3s ease;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

/* Hamburger open state */
.mobile-nav-toggle[aria-expanded="true"] .hamburger {
  background-color: transparent;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  margin-top: 72px;
  contain: layout;
}

.hero-image {
  position: relative;
  width: 100%;
  height: calc(100vh - 72px);
  min-height: 500px;
  max-height: 900px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 80px 24px 40px;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.4) 40%, transparent 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-tagline {
  font-size: 16px;
  color: rgba(240, 240, 240, 0.7);
  max-width: 560px;
  line-height: 1.7;
}

.hero-cta-text {
  font-size: 16px;
  color: rgba(240, 240, 240, 0.7);
  max-width: 560px;
  line-height: 1.7;
}

.hero-cta-text em {
  font-style: italic;
  color: var(--gold);
}

.hero-btn {
  margin-top: 8px;
  border-color: var(--gold);
  color: var(--gold);
}

.hero-btn:hover {
  background-color: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

/* Hero entrance animation */
.hero-overlay {
  animation: heroFadeUp 1s ease 0.3s both;
}

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

/* ===== Section Titles ===== */
.section-title {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 5px;
  margin-bottom: 48px;
  color: rgba(240, 240, 240, 0.6);
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin: 12px auto 0;
}

/* ===== Shows Section ===== */
.shows {
  padding: 100px 0;
  text-align: center;
  contain: content;
  position: relative;
}

.shows::before {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  margin: 0 auto 56px;
}

/* ===== Music Section ===== */
.music {
  padding: 100px 0;
  text-align: center;
  contain: content;
}

.album {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.album-cover {
  position: relative;
  max-width: 420px;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.album-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  box-shadow: 0 0 0 0 rgba(200, 168, 100, 0);
  transition: box-shadow 0.3s ease;
  pointer-events: none;
}

.album-cover:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.album-cover:hover::after {
  box-shadow: 0 0 24px rgba(200, 168, 100, 0.15);
}

.album-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text);
}

.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  padding: 15px 52px;
  border: 1px solid rgba(240, 240, 240, 0.3);
  border-radius: 0;
  color: var(--text);
  transition: all 0.3s ease;
  min-height: 48px;
}

.btn:hover {
  background-color: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.listen-btn {
  border-color: var(--gold);
  color: var(--gold);
}

.listen-btn:hover {
  background-color: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

/* ===== Contact Section ===== */
.contact {
  padding: 80px 0;
  text-align: center;
  contain: content;
  position: relative;
}

.contact::before {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  margin: 0 auto 56px;
}

.contact-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-email {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  color: var(--gold);
  transition: color 0.2s ease;
}

.contact-email:hover {
  color: #dbc07a;
}

/* ===== Footer ===== */
.site-footer {
  padding: 48px 0;
  margin-top: 20px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-social a {
  color: rgba(240, 240, 240, 0.5);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.footer-social a:hover {
  color: #fff;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 12px;
  color: rgba(240, 240, 240, 0.4);
  transition: color 0.2s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.footer-legal a:hover {
  color: var(--text);
}

.footer-copyright {
  font-size: 11px;
  color: rgba(240, 240, 240, 0.2);
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 110;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100dvh;
    background-color: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 18px;
    letter-spacing: 4px;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .social-links {
    gap: 24px;
  }

  .social-links a svg {
    width: 24px;
    height: 24px;
  }

  .hero-image {
    height: 75vh;
    max-height: 700px;
  }

  .hero-tagline,
  .hero-cta-text {
    font-size: 14px;
  }

  .shows {
    padding: 72px 0;
  }

  .music {
    padding: 72px 0;
  }

  .album-cover {
    max-width: 300px;
  }

  .album-title {
    font-size: 20px;
  }

  .contact {
    padding: 60px 0;
  }

  .footer-legal {
    flex-direction: column;
    gap: 12px;
  }
}

/* ===== Touch Devices ===== */
@media (hover: none) {
  .social-links a:hover {
    transform: none;
  }

  .album-cover:hover {
    transform: none;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  }

  .album-cover:hover::after {
    box-shadow: none;
  }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }

  .hero-overlay {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ===== Bandsintown Widget ===== */
/* Hide empty-state fallbacks and Play My City */
.bit-no-dates-container,
.bit-request-a-show,
.bit-play-my-city,
[class*="play-my-city"],
[class*="PlayMyCity"] {
  display: none !important;
}
