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

:root {
  /* Light theme (default) */
  --bg: #faf8f5;
  --bg-alt: #f0ece4;
  --bg-card: #ffffff;
  --bg-card-border: rgba(0, 0, 0, 0.06);
  --text: #1a1a1a;
  --text-secondary: #555;
  --text-muted: #777;
  --gold: #9a7d3e;
  --gold-light: #b8963e;
  --gold-dim: #7a6430;
  --header-bg: rgba(250, 248, 245, 0.95);
  --header-border: rgba(0, 0, 0, 0.06);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-heavy: rgba(0, 0, 0, 0.12);
  --track-border: rgba(0, 0, 0, 0.06);
  --mobile-nav-bg: rgba(250, 248, 245, 0.98);
  --hamburger: #1a1a1a;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --container: 1200px;
}

[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-alt: #111111;
  --bg-card: #1a1a1a;
  --bg-card-border: rgba(200, 164, 94, 0.08);
  --text: #f0ece4;
  --text-secondary: #bbb;
  --text-muted: #888;
  --gold: #c8a45e;
  --gold-light: #e0c88a;
  --gold-dim: #9a7d3e;
  --header-bg: rgba(10, 10, 10, 0.95);
  --header-border: rgba(200, 164, 94, 0.1);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --shadow: rgba(0, 0, 0, 0.3);
  --shadow-heavy: rgba(0, 0, 0, 0.5);
  --track-border: rgba(255, 255, 255, 0.05);
  --mobile-nav-bg: rgba(10, 10, 10, 0.98);
  --hamburger: #f0ece4;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
}

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

.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: background 0.4s, padding 0.4s;
}

.site-header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--header-border);
}

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

/* Header over hero (homepage only): always light text */
.has-hero .site-header .logo { color: #f0ece4; }
.has-hero .site-header .main-nav a { color: rgba(240, 236, 228, 0.8); }
.has-hero .site-header .theme-toggle { color: #f0ece4; border-color: rgba(240, 236, 228, 0.3); }
.has-hero .site-header .menu-toggle span { background: #f0ece4; }

/* Header scrolled: use theme colors (all pages) */
.site-header.scrolled .logo { color: var(--text); }
.site-header.scrolled .main-nav a { color: var(--text-secondary); }
.site-header.scrolled .theme-toggle { color: var(--text); border-color: var(--border-subtle); }
.site-header.scrolled .menu-toggle span { background: var(--hamburger); }

.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  transition: color 0.4s;
}
.logo:hover { color: var(--gold); }

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  color: var(--text-secondary);
  transition: color 0.4s;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--hamburger);
  transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.15); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.45) 30%,
    rgba(0, 0, 0, 0.6) 60%,
    rgba(0, 0, 0, 0.9) 100%
  );
}
[data-theme="dark"] .hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.5) 0%,
    rgba(10, 10, 10, 0.5) 30%,
    rgba(10, 10, 10, 0.6) 50%,
    rgba(10, 10, 10, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 900;
  letter-spacing: 0.2em;
  color: #f0ece4;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 80px rgba(200, 164, 94, 0.15);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.hero-sub {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 2.5rem;
  font-style: italic;
}

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(200, 164, 94, 0.3);
}

.btn-outline {
  background: transparent;
  color: #f0ece4;
  border: 1px solid rgba(240, 236, 228, 0.4);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.link-arrow {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-top: 1.5rem;
}
.link-arrow:hover { color: var(--gold-light); letter-spacing: 0.08em; }

/* ===== SECTIONS ===== */
.section { padding: 6rem 0; }
.section-dark { background: var(--bg-alt); }

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--text);
}

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

/* ===== INTRO SECTION ===== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.intro-image img {
  border-radius: 2px;
  box-shadow: 0 20px 60px var(--shadow-heavy);
}

.intro-text h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--text);
  line-height: 1.3;
}

.intro-text p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

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

/* ===== ALBUM FEATURE ===== */
.album-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.album-info h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.album-meta {
  color: var(--gold-dim);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.album-info p {
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
  font-style: italic;
}

.album-rating {
  color: var(--gold) !important;
  font-style: normal !important;
  font-weight: 500;
}

.track-list {
  list-style: none;
  counter-reset: tracks;
}

.track-list li {
  counter-increment: tracks;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--track-border);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.track-list li::before {
  content: counter(tracks, decimal-leading-zero);
  color: var(--gold-dim);
  font-size: 0.8rem;
  margin-right: 1rem;
  min-width: 1.5rem;
}

.track-time {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

/* ===== QUOTES ===== */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.quote-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-left: 3px solid var(--gold);
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform 0.3s;
}
.quote-card:hover { transform: translateY(-4px); }

.quote-card p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.quote-card cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--gold-dim);
  letter-spacing: 0.03em;
}

/* ===== PHOTO STRIP ===== */
.photo-strip {
  overflow: hidden;
  padding: 0;
}

.photo-strip-inner {
  display: flex;
  gap: 4px;
}

.photo-strip-inner img {
  width: 25%;
  height: 300px;
  object-fit: cover;
  filter: grayscale(30%);
  transition: filter 0.5s, transform 0.5s;
}
.photo-strip-inner img:hover {
  filter: grayscale(0%);
  transform: scale(1.03);
}

/* ===== CTA SECTION ===== */
.section-cta {
  background: linear-gradient(135deg, var(--bg-alt), var(--bg-card));
  padding: 5rem 0;
}
.section-cta h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.section-cta p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 8rem 0 3rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--header-border);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
}
.page-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

/* Page Hero (for pages with hero images) */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-size: cover;
  background-position: center;
}
.page-hero .hero-overlay {
  background: linear-gradient(to bottom, transparent 30%, var(--bg) 100%);
}
.page-hero .hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 3rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
}

/* ===== CONTENT BODY ===== */
.content-body {
  padding: 4rem 0 6rem;
  max-width: 900px;
}

.content-body h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 3rem 0 1.2rem;
  color: var(--text);
}

.content-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 2rem 0 0.8rem;
  color: var(--gold);
}

.content-body p {
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.content-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 2rem;
  margin: 2rem 0;
  background: var(--bg-card);
  box-shadow: 0 2px 8px var(--shadow);
}
.content-body blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text);
}

.content-body ul, .content-body ol {
  color: var(--text-secondary);
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}
.content-body li { margin-bottom: 0.5rem; }

.content-body img {
  border-radius: 2px;
  margin: 2rem 0;
  box-shadow: 0 10px 40px var(--shadow-heavy);
}

.content-body a { border-bottom: 1px solid var(--gold-dim); }
.content-body a:hover { border-color: var(--gold); }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

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

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.6s ease;
  margin: 0;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item .caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #f0ece4;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .caption { opacity: 1; }

/* ===== DISCOGRAPHY CARDS ===== */
.disco-card {
  background: var(--bg-card);
  padding: 2.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--bg-card-border);
  box-shadow: 0 2px 12px var(--shadow);
}
.disco-card h3 {
  margin-top: 0;
  color: var(--text);
}
.disco-card .meta {
  color: var(--gold-dim);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== PRESS ITEMS ===== */
.press-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-subtle);
}
.press-item h3 {
  color: var(--text);
  font-family: var(--font-display);
  margin-bottom: 0.3rem;
}
.press-item .press-source {
  color: var(--gold-dim);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.press-item p {
  margin-top: 0.8rem;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  color: var(--text);
  font-family: var(--font-display);
  margin-bottom: 1rem;
}

.contact-links a {
  display: block;
  padding: 0.5rem 0;
  color: var(--text-secondary);
  border-bottom: none;
  font-size: 1.05rem;
}
.contact-links a:hover { color: var(--gold); }
.contact-links .label {
  color: var(--gold-dim);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.2rem;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  margin-top: 1rem;
}
.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dim);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a7d3e' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.captcha-group {
  background: var(--bg-alt);
  padding: 1rem 1.2rem;
  border-left: 2px solid var(--gold);
}
.captcha-group label {
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
  font-weight: 400;
}
.captcha-group input {
  max-width: 120px;
  margin-top: 0.4rem;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
}
.form-error {
  color: #c0392b;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  min-height: 1.2em;
}
.form-success {
  color: var(--gold);
  font-size: 0.95rem;
  padding: 1.5rem;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--gold-dim);
}
.contact-form .btn {
  width: 100%;
  border: none;
}

/* ===== EQUIPMENT ===== */
.gear-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}
.gear-card {
  background: var(--bg-card);
  padding: 1.5rem 2rem;
  border-left: 2px solid var(--gold-dim);
  box-shadow: 0 2px 8px var(--shadow);
}
.gear-card h4 {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.gear-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin-top: 1.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: var(--gold-dim);
}
.timeline-item {
  padding: 0 0 2rem 1.5rem;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.35rem; top: 0.4rem;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.timeline-item .year {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}
.timeline-item h4 {
  color: var(--text);
  font-size: 1.1rem;
  margin: 0.3rem 0;
}
.timeline-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ===== YOUTUBE EMBED ===== */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 2rem 0;
  background: var(--bg-card);
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-alt);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--header-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; }

.footer-links h4 {
  color: var(--text);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-links a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.3rem 0;
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.8rem; text-align: center; }

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: border-color 0.3s, color 0.3s;
  margin-left: 1rem;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: inline; }
[data-theme="dark"] .theme-toggle .icon-sun { display: inline; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .intro-grid, .album-feature, .contact-grid { grid-template-columns: 1fr; }
  .quotes-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gear-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--mobile-nav-bg);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
  }
  .main-nav.open { display: flex; }
  .hero-title { letter-spacing: 0.1em; }
  .photo-strip-inner { flex-wrap: wrap; }
  .photo-strip-inner img { width: 50%; height: 200px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 4rem 0; }
}
