/*
Theme Name: The Adjustments
Theme URI: https://thereplacementsband.com
Description: Custom theme for The Adjustments cover band - vintage concert poster aesthetic spanning 7 decades of rock.
Version: 1.0.0
Author: Your Name
License: GPL-2.0-or-later
Text Domain: replacements
*/

/* ============================================================
   IMPORTS & FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Oswald:wght@400;700&family=Special+Elite&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --cream:   #0D1F3C;
  --red:     #2272E8;
  --dark:    #EEF6FF;
  --ink:     #D6EAFF;
  --gold:    #7EC8FF;
  --rust:    #1A5EB8;
  --paper:   #1A3A6E;
  --muted:   rgba(15, 40, 100, 0.6);

  --font-display:  'Playfair Display', Georgia, serif;
  --font-heading:  'Oswald', Arial Narrow, sans-serif;
  --font-body:     'Crimson Text', Georgia, serif;
  --font-stamp:    'Special Elite', Courier New, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* Scanline texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.015) 2px,
    rgba(255,255,255,0.015) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--red); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cream);
}

p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }

/* ============================================================
   LAYOUT CONTAINERS
   ============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-pad {
  padding: 5rem 0;
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.section-title--hero {
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 900;
  text-shadow: 3px 3px 0 var(--red), 6px 6px 0 rgba(0,0,0,0.4);
  letter-spacing: -2px;
}

.stamp-text {
  font-family: var(--font-stamp);
  letter-spacing: 2px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  background: var(--ink);
  border-bottom: 2px solid var(--rust);
  position: sticky;
  top: 0;
  z-index: 500;
  width: 100%;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--cream);
  text-decoration: none;
  text-shadow: 1px 1px 0 var(--red);
  white-space: nowrap;
}

.site-logo:hover { color: var(--cream); }

.primary-nav ul {
  display: flex;
  list-style: none;
  padding: 0; margin: 0;
  gap: 0;
}

.primary-nav ul li a {
  display: block;
  padding: 0 1.1rem;
  height: 56px;
  line-height: 56px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  border-right: 1px solid rgba(255,255,255,0.05);
}

.primary-nav ul li a:hover,
.primary-nav ul li.current-menu-item a {
  color: var(--gold);
  background: rgba(26,94,184,0.12);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(245,236,215,0.3);
  color: var(--cream);
  padding: 0.4rem 0.8rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 6rem;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.2) saturate(0.6);
  z-index: 0;
}

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

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 900;
  line-height: 0.9;
  color: var(--cream);
  text-shadow: 3px 3px 0 var(--red), 6px 6px 0 rgba(0,0,0,0.4);
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

.hero-title .accent { color: var(--red); }

.hero-divider {
  width: 200px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--red), transparent);
  margin: 0 auto 1.5rem;
}

.hero-tagline {
  font-family: var(--font-stamp);
  font-size: 0.85rem;
  color: var(--paper);
  letter-spacing: 2px;
  margin-bottom: 2.5rem;
  opacity: 0.75;
}

.hero-cta {
  display: inline-block;
  background: var(--red);
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0.75rem 2.5rem;
  text-decoration: none;
  transform: rotate(-1deg);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
  transition: transform 0.2s, background 0.2s;
}

.hero-cta:hover {
  transform: rotate(0deg) scale(1.04);
  background: var(--rust);
  color: var(--cream);
}

/* Torn bottom edge */
.hero-tear {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30px;
  overflow: hidden;
  z-index: 1;
}

.hero-tear svg {
  position: absolute;
  bottom: 0;
  width: 100%;
}

/* ============================================================
   TICKER / ANNOUNCEMENT BAR
   ============================================================ */
.ticker-bar {
  background: var(--red);
  padding: 0.5rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-block;
  animation: ticker 28s linear infinite;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cream);
}

@keyframes ticker {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 4rem;
  align-items: center;
}

.vinyl-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.vinyl-record {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: 
    radial-gradient(circle at center, #1a1a1a 0%, #1a1a1a 14%,
      transparent 14.5%, transparent 15%,
      #0d0d0d 15%, #0d0d0d 45%,
      #141414 45%, #141414 46%,
      #0d0d0d 46%, #0d0d0d 84%,
      #1a1a1a 84%, #1a1a1a 100%
    );
  box-shadow: 0 0 0 5px #2a2a2a, 0 12px 40px rgba(0,0,0,0.7);
  animation: spin 8s linear infinite;
  position: relative;
}

.vinyl-record .label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 68px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 7px;
  color: var(--cream);
  text-align: center;
  letter-spacing: 0.5px;
  line-height: 1.4;
  padding: 8px;
  text-transform: uppercase;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.about-body p {
  font-size: 1.1rem;
  color: var(--paper);
  margin-bottom: 1rem;
}

.about-body em { color: var(--gold); font-style: italic; }

.about-body p:last-child { margin-bottom: 0; }

/* ============================================================
   DECADES BAND
   ============================================================ */
.decades-band {
  background: var(--ink);
  border-top: 2px solid var(--rust);
  border-bottom: 2px solid var(--rust);
  padding: 4rem 0;
}

.decades-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 2rem;
  border: 1px solid var(--rust);
}

.decade-item {
  padding: 1.5rem 0.75rem;
  text-align: center;
  cursor: pointer;
  border-right: 1px solid rgba(15,62,128,0.25);
  transition: background 0.2s;
}

.decade-item:last-child { border-right: none; }
.decade-item:hover { background: rgba(26,94,184,0.15); }
.decade-item.active { background: var(--red); }

.decade-year {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
}

.decade-item.active .decade-year { color: var(--cream); }

.decade-genre {
  display: block;
  font-family: var(--font-stamp);
  font-size: 0.6rem;
  color: var(--muted);
  margin-top: 0.25rem;
  letter-spacing: 1px;
  line-height: 1.4;
}

.decade-item.active .decade-genre { color: rgba(180,210,255,0.8); }

/* ============================================================
   SETLIST
   ============================================================ */
.setlist-paper {
  background: var(--paper);
  color: var(--ink);
  padding: 2.5rem 2rem 2.5rem 3.5rem;
  position: relative;
  box-shadow: 5px 5px 0 var(--rust), 10px 10px 0 rgba(0,0,0,0.3);
  transform: rotate(-0.4deg);
  max-width: 700px;
  margin: 2rem auto 0;
}

/* Red margin line */
.setlist-paper::before {
  content: '';
  position: absolute;
  top: 0; left: 2.8rem;
  width: 2px;
  height: 100%;
  background: rgba(26,94,184,0.35);
}

.setlist-header {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1rem;
}

.setlist-row {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(10,30,70,0.2);
}

.setlist-row:last-child { border-bottom: none; }

.setlist-num {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  color: var(--rust);
  min-width: 22px;
  flex-shrink: 0;
}

.setlist-song {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  flex: 1;
}

.setlist-artist {
  font-family: var(--font-stamp);
  font-size: 0.68rem;
  color: rgba(10,30,70,0.5);
  letter-spacing: 1px;
}

.setlist-era {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 1px;
  background: var(--red);
  color: var(--cream);
  padding: 1px 5px;
  flex-shrink: 0;
}

/* ============================================================
   SHOWS / DATES
   ============================================================ */
.shows-section {
  background: var(--ink);
  border-top: 2px solid var(--rust);
}

.shows-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.show-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 1.5rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(15,62,128,0.3);
  border-left: 4px solid var(--red);
  transition: background 0.2s;
}

.show-item:hover { background: rgba(26,94,184,0.07); }

.show-date { text-align: center; }

.show-month {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
}

.show-day {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--cream);
  line-height: 1;
}

.show-venue {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--cream);
}

.show-details {
  font-family: var(--font-stamp);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 1px;
  margin-top: 0.2rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--red);
  color: var(--red);
}

.btn--outline:hover {
  background: var(--red);
  color: var(--cream);
}

.btn--solid {
  background: var(--red);
  color: var(--cream);
}

.btn--solid:hover {
  background: var(--rust);
  color: var(--cream);
}

/* ============================================================
   PHOTO GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 2rem;
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ink);
  position: relative;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.1);
  transition: transform 0.4s, filter 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.1) contrast(1.1);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-wrap {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-email {
  font-family: var(--font-stamp);
  font-size: 1.2rem;
  color: var(--gold);
  letter-spacing: 2px;
  display: block;
  margin: 1.5rem 0;
}

/* WP Contact Form 7 overrides */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(15,62,128,0.5);
  color: var(--cream);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 1rem;
  outline: none;
  transition: border 0.2s;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
  border-color: var(--red);
}

.wpcf7-form input[type="submit"] {
  background: var(--red);
  color: var(--cream);
  border: none;
  padding: 0.75rem 2.5rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transform: rotate(-0.5deg);
  transition: background 0.2s, transform 0.2s;
}

.wpcf7-form input[type="submit"]:hover {
  background: var(--rust);
  transform: rotate(0deg);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  border-top: 3px solid var(--red);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--cream);
  text-shadow: 2px 2px 0 var(--red);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-family: var(--font-stamp);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.2rem 1.5rem;
  margin: 1.5rem 0;
  list-style: none;
  padding: 0;
}

.footer-nav li a {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s, color 0.2s;
}

.footer-nav li a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(15,62,128,0.3);
  margin: 1.5rem 0;
}

.footer-copy {
  font-family: var(--font-stamp);
  font-size: 0.68rem;
  color: rgba(180,210,255,0.25);
  letter-spacing: 1px;
}

/* ============================================================
   UTILITY / DECORATIVE
   ============================================================ */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rust), transparent);
  margin: 3rem 0;
}

.tape-strip {
  display: inline-block;
  width: 100px;
  height: 24px;
  background: rgba(96,160,224,0.6);
  transform: rotate(-2deg);
  box-shadow: 1px 2px 4px rgba(0,0,0,0.4);
  margin: 0.5rem auto;
}

/* ============================================================
   WORDPRESS CORE CLASSES
   ============================================================ */
.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.wp-caption  { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--muted); font-style: italic; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .vinyl-wrap { flex-direction: row; justify-content: center; }
  .decades-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .primary-nav { display: none; }
  .primary-nav.is-open { display: block; position: absolute; top: 56px; left: 0; right: 0; background: var(--ink); border-bottom: 2px solid var(--rust); }
  .primary-nav.is-open ul { flex-direction: column; }
  .primary-nav.is-open ul li a { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .menu-toggle { display: block; }
  .decades-grid { grid-template-columns: repeat(3, 1fr); }
  .show-item { grid-template-columns: 60px 1fr; }
  .show-item .btn { display: none; }
  .setlist-paper { transform: none; }
}

/* Hero dark override */
.hero {
  background: #0A1628 !important;
}
.hero .hero-title {
  color: #FFFFFF !important;
  text-shadow: 3px 3px 0 #2272E8, 6px 6px 0 rgba(0,0,0,0.4) !important;
}
.hero .hero-eyebrow { color: #7EC8FF !important; }
.hero .hero-tagline { color: #E8F4FF !important; }
.hero .hero-divider { background: linear-gradient(to right, transparent, #2272E8, transparent) !important; }
.hero .accent { color: #2272E8 !important; }

/* Nav readability fixes */
.site-header { background: #0A1628 !important; border-bottom: 2px solid #2272E8 !important; }
.site-logo { color: #FFFFFF !important; text-shadow: 1px 1px 0 #2272E8 !important; }
.primary-nav ul li a { color: #E8F4FF !important; }
.primary-nav ul li a:hover,
.primary-nav ul li.current-menu-item a { color: #FFFFFF !important; background: rgba(34,114,232,0.35) !important; }
