/* ============================================
   Google Fonts
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
  --color-bg: #0a0a0a;
  --color-text: #f0ece4;
  --color-text-muted: #666;
  --color-accent: #e8702a;
  --color-border: #2a2a2a;
  --serape: linear-gradient(to right,
    #c1272d 0%, #c1272d 14%,
    #e8702a 14%, #e8702a 28%,
    #f0c040 28%, #f0c040 42%,
    #1a9988 42%, #1a9988 57%,
    #d4326d 57%, #d4326d 71%,
    #1b4965 71%, #1b4965 85%,
    #c1272d 85%, #c1272d 100%);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Courier New', Courier, monospace;
  --max-width: 960px;
  --gutter: 1.25rem;
  --header-height: 3.5rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Film grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

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

ul {
  list-style: none;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
}

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

a:hover {
  color: var(--color-accent);
}

/* ============================================
   Layout
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: 3.5rem 0;
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: none;
  height: var(--header-height);
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--serape);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.375rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--color-text);
}

.brand:hover {
  text-decoration: none;
  color: var(--color-accent);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-icons {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.social-icons a:hover {
  opacity: 1;
  text-decoration: none;
}

.social-icons svg {
  width: 18px;
  height: 18px;
  fill: var(--color-text);
  transition: fill 0.3s;
}

.social-icons a:hover svg {
  fill: var(--color-accent);
}

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

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-height);
  background: var(--color-bg);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 400;
}

.mobile-menu .social-icons {
  display: flex;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 5rem 0 3rem;
  text-align: left;
}

.hero h1 {
  font-size: 5.9rem;
  margin-bottom: 1.25rem;
  line-height: 0.95;
  letter-spacing: 0.04em;
}

.hero-word {
  display: block;
}

.hero .hero-accent {
  animation: serape-cycle 30s infinite;
}

@keyframes serape-cycle {
  0%, 100%  { color: #c1272d; }
  17%       { color: #e8702a; }
  33%       { color: #f0c040; }
  50%       { color: #1a9988; }
  67%       { color: #d4326d; }
  83%       { color: #1b4965; }
}

.hero .hero-tagline {
  font-size: clamp(0.8125rem, 2vw, 1rem);
  color: var(--color-text-muted);
  font-style: italic;
  letter-spacing: 0.06em;
}

/* ============================================
   Band Photo
   ============================================ */
.band-photo {
  padding: 2rem 0;
}

.band-photo .photo-wrapper {
  position: relative;
  display: block;
  padding-bottom: 4px;
  background: var(--serape);
}

.band-photo img {
  width: 100%;
  display: block;
  filter: grayscale(100%) contrast(1.15) brightness(0.9);
}

.band-photo .photo-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--serape);
}

/* ============================================
   About
   ============================================ */
.about {
  border-top: 1px solid var(--color-border);
}

.about p {
  font-size: 0.875rem;
  max-width: 600px;
  line-height: 1.8;
}

.weapons-line {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  font-size: 0.8125rem;
}

/* ============================================
   Shows
   ============================================ */
.shows {
  border-top: 1px solid var(--color-border);
}

.shows h2 {
  margin-bottom: 2rem;
}

.show-list {
  display: grid;
  gap: 1.5rem;
}

.show-item {
  border: 1px solid var(--color-border);
  padding: 1.25rem;
  display: grid;
  gap: 0.5rem;
  transition: border-color 0.3s;
}

.show-item:hover {
  border-color: var(--color-accent);
}

.show-venue {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.375rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.show-location {
  color: var(--color-text-muted);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.show-date {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: 0.04em;
}

.show-ticket {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.4rem 1.25rem;
  border: 1px solid var(--color-text);
  color: var(--color-text);
  text-transform: uppercase;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: background 0.3s, color 0.3s;
}

.show-ticket:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg);
  text-decoration: none;
}

.past-shows-link {
  margin-top: 2.5rem;
}

.past-shows-link a {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.25rem;
  transition: color 0.3s, border-color 0.3s;
}

.past-shows-link a:hover {
  text-decoration: none;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* ============================================
   Contact
   ============================================ */
.contact {
  border-top: 1px solid var(--color-border);
}

.contact h2 {
  margin-bottom: 1rem;
}

.contact a {
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 0.125rem;
  transition: color 0.3s;
}

.contact a:hover {
  text-decoration: none;
  color: var(--color-accent);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  border-top: none;
  padding: 3rem 0 2rem;
  text-align: left;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--serape);
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.footer-location {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.site-footer .social-icons {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1.5rem;
}

.footer-copyright {
  font-size: 0.625rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================
   Previous Shows Page
   ============================================ */
.page-heading {
  padding: 3rem 0 1rem;
}

.page-heading h1 {
  font-size: 2.5rem;
}

/* ============================================
   Responsive — min 768px
   ============================================ */
@media (min-width: 768px) {
  :root {
    --gutter: 2rem;
  }

  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.25rem; }

  .hero h1 {
    font-size: 5.9rem;
  }

  .hero .hero-tagline {
    font-size: 1rem;
  }

  .social-icons {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .show-list {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .show-item {
    padding: 1.5rem;
  }

  .about p {
    font-size: 0.9375rem;
  }

  .page-heading h1 {
    font-size: 3.5rem;
  }
}
