/* =============================================================
   BAND WEBSITE — STYLES
   ============================================================= */

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

/* ── Custom font ── */
@font-face {
  font-family: 'TheSeasons';
  src: url('../fonts/TheSeasons-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── Design tokens ── */
:root {
  /* Color palette — dark charcoal / warm neutral, no strong blue */
  --bg:            #161412;        /* very dark warm charcoal — like dark stone */
  --bg-alt:        #201e1b;        /* slightly lighter warm dark grey */
  --card:          #2a2722;        /* dark warm grey */
  --border:        #3a3630;        /* warm charcoal border */
  --accent:        #c09060;        /* sandy ochre — jacket + dried-grass ground */
  --accent-bright: #d4aa78;        /* lighter sandy hover */
  --text:          #e8e0d4;        /* warm off-white — parchment */
  --text-muted:    #887870;        /* warm taupe / ash */
  --text-dim:      #3a3630;        /* very dim warm grey */

  /* Typography */
  --font-display: 'TheSeasons', 'Arial Black', sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', sans-serif;

  /* Layout */
  --max-w:        1200px;
  --pad-x:        clamp(20px, 5vw, 64px);
  --pad-section:  clamp(72px, 12vw, 140px);
  --nav-h:        72px;
  --gap:          2px;            /* gap between card cells */

  /* Misc */
  --radius:       3px;
  --ease:         0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

/* ── Utilities ── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.hidden { display: none !important; }

/* Reveal animation (triggered by IntersectionObserver in main.js) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Eyebrow label used in section headers */
.eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* Section titles */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 7rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--text);
}

.section-header { text-align: center; margin-bottom: clamp(44px, 7vw, 88px); }

/* Sections */
.section     { padding-block: var(--pad-section); scroll-margin-top: var(--nav-h); }
.section-alt { background-color: var(--bg-alt); }

/* ── Placeholder image box ── */
.album-art,
.merch-img,
.bio-photo,
.member-photo {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2a2722 0%, #161412 100%);
}
.album-art img,
.merch-img img,
.bio-photo img,
.member-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder diagonal lines */
.album-art::before,
.merch-img::before,
.bio-photo::before,
.member-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 12px,
    rgba(255,255,255,0.015) 12px,
    rgba(255,255,255,0.015) 24px
  );
  pointer-events: none;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 13px 30px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.btn-primary:hover {
  background-color: var(--accent-bright);
  border-color: var(--accent-bright);
}

.btn-outline {
  background-color: transparent;
  color: var(--text);
  border-color: rgba(232,224,212,0.5);
}
.btn-outline:hover {
  border-color: var(--text);
  background-color: rgba(232,224,212,0.06);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.7rem;
  background-color: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-sm:hover {
  background-color: var(--accent);
  color: #000;
}

/* =============================================================
   NAVIGATION
   ============================================================= */
#navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: var(--nav-h);
  z-index: 900;
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease;
}

/* Blur lives on a pseudo-element so it never traps fixed children */
#navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(22, 20, 18, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
  z-index: -1;
}

#navbar.scrolled::before {
  background-color: rgba(22, 20, 18, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#navbar.scrolled {
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  color: var(--text);
  transition: color var(--ease);
}
.nav-logo:hover { color: var(--accent); }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232,224,212,0.6);
  transition: color var(--ease);
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: width var(--ease);
}
.nav-link:hover,
.nav-link.active    { color: var(--text); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1000;
}
.nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  background-color: var(--text);
  transition: transform var(--ease), opacity var(--ease);
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 999;
    background-color: rgba(22, 20, 18, 0.97);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: all;
  }
  .nav-link { font-size: 1.1rem; }
}

/* =============================================================
   HERO
   ============================================================= */
#hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  scroll-margin-top: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ── Hero background ── */
.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #0c0a0f;
  background-image: url('../images/hero.webp');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(22,20,18,0.15)  0%,
    rgba(22,20,18,0.50)  55%,
    rgba(22,20,18,0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-inline: var(--pad-x);
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 10vw, 7rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.9s ease 0.4s forwards;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(244,240,232,0.7);
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease 0.8s forwards;
}

.hero-socials {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 56px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease 1.0s forwards;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeIn 1s ease 1.4s forwards;
}
.hero-scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  margin-inline: auto;
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  to { opacity: 0.55; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.35; transform: scaleY(0.65); }
}

/* =============================================================
   MUSIC
   ============================================================= */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 28px;
}

.album-card .album-art {
  width: 100%;
  aspect-ratio: 1;
}

.album-card {
  background-color: var(--card);
  overflow: hidden;
}

.album-body {
  padding: clamp(18px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.album-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.album-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: 0.04em;
  color: var(--text);
}
.album-year {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.album-desc {
  font-size: 0.88rem;
  color: rgba(232,224,212,0.55);
  line-height: 1.75;
  flex: 1;
  margin-top: 6px;
}

.stream-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
}
.album-buy {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.stream-link {
  font-size: 1.4rem;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease);
  padding-bottom: 2px;
}
.stream-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Embed area */
.embed-wrap {
  margin-top: 28px;
}
.embed-placeholder {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-style: italic;
}

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

/* =============================================================
   LIVE / GIGS
   ============================================================= */

/* Section with a background photo + dark overlay */
.section-bg-img {
  position: relative;
  background-image: url('../images/live.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.section-bg-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(22,20,18,0.75) 0%,
    rgba(22,20,18,0.86) 100%
  );
}
/* Ensure all children sit above the overlay */
.section-bg-img > * { position: relative; z-index: 1; }

/* Per-section image overrides */
#bio.section-bg-img {
  background-image: url('../images/bio.webp');
  background-position: center top;
}
.gigs-list {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  max-width: 820px;
  margin-inline: auto;
}

.gig-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 22px 28px;
  background-color: var(--card);
  transition: background-color var(--ease);
  position: relative;
}
.gig-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--accent);
  transform: scaleY(0);
  transition: transform var(--ease);
}
.gig-row:hover { background-color: var(--bg-alt); }
.gig-row:hover::before { transform: scaleY(1); }

.gig-date { text-align: center; }
.gig-day {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--text);
}
.gig-month {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.gig-year { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

.gig-venue  { font-size: 1rem; font-weight: 500; color: var(--text); }
.gig-city   { font-size: 0.82rem; color: var(--text-muted); margin-top: 3px; }
.gig-support {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.ticket-btn {
  display: inline-block;
  padding: 9px 18px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  color: var(--accent);
  white-space: nowrap;
  transition: background-color var(--ease), color var(--ease);
}
.ticket-btn:hover           { background-color: var(--accent); color: #000; }
.ticket-btn.sold-out        { border-color: var(--text-dim); color: var(--text-dim); pointer-events: none; }

.gigs-status,
.no-gigs {
  text-align: center;
  color: var(--text-muted);
  padding: 48px 0;
  font-size: 0.88rem;
}

@media (max-width: 580px) {
  .gig-row {
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto auto;
    padding: 18px 16px;
    gap: 10px 14px;
  }
  .gig-action {
    grid-column: 2;
    justify-self: start;
  }
}

/* =============================================================
   MERCH
   ============================================================= */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.merch-item {
  background-color: var(--card);
  overflow: hidden;
}

.merch-img {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.merch-placeholder-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  z-index: 1;
}

.merch-body {
  padding: 14px 16px 18px;
}
.merch-name  { font-size: 0.88rem; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.merch-price { font-size: 0.82rem; color: var(--accent); font-weight: 600; margin-bottom: 12px; }

.merch-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-style: italic;
}
.merch-note a {
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color var(--ease), border-color var(--ease);
}
.merch-note a:hover { color: var(--accent); border-bottom-color: var(--accent); }

@media (max-width: 860px)  { .merch-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px)  { .merch-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* =============================================================
   BIO
   ============================================================= */
.bio-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}

/* Photo collage: big top, two small below */
.bio-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--gap);
}
.bio-photo--main { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.bio-photo--sm   { aspect-ratio: 1; }

/* Gradient tints so the three placeholders look distinct */
.bio-photo--main { background: linear-gradient(135deg, #1a0e18, #0a0e1a); }
.bio-photo--sm:first-of-type  { background: linear-gradient(135deg, #0a1818, #180a0a); }
.bio-photo--sm:last-child      { background: linear-gradient(135deg, #181808, #08081a); }

.bio-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bio-lead {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--text);
  letter-spacing: -0.01em;
}
.bio-text p:not(.bio-lead) {
  font-size: 0.92rem;
  color: rgba(232,224,212,0.58);
  line-height: 1.85;
}

/* Members */
.members {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.member { text-align: center; }
.member-photo {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #1c1c24, #10101a);
}
.member-name { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.member-role { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; line-height: 1.2 !important;}

@media (max-width: 860px) {
  .bio-layout { grid-template-columns: 1fr; }
  .members { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 440px) {
  .members { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================================
   CONTACT
   ============================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(36px, 6vw, 72px);
  max-width: 860px;
  margin-inline: auto;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-entry h3 {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}
.contact-entry a {
  font-size: 0.88rem;
  color: rgba(232,224,212,0.6);
  transition: color var(--ease);
}
.contact-entry a:hover { color: var(--text); }

/* Socials d*/
.socials {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.social-btn {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  color: var(--text-muted);
  transition: color var(--ease);
}
.social-btn:hover {
  color: var(--accent);
  text-decoration: none !important;
}
.social-label { display: none; }

.hero-socials .social-btn {
  color: var(--text);
  font-size: 1.6rem;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  background-color: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  border-radius: var(--radius);
  outline: none;
  width: 100%;
  transition: border-color var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-dim); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); }
.field select { appearance: none; cursor: pointer; }
.field textarea { resize: vertical; min-height: 118px; }

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  min-height: 1.2em;
}

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-row       { grid-template-columns: 1fr; }
}

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--text);
}
.footer-copy {
  font-size: 0.76rem;
  color: var(--text-muted);
}
.footer-links { display: flex; gap: 22px; }
.footer-links a {
  font-size: 0.72rem;
  color: var(--text-muted);
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--text); }

@media (max-width: 540px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

/* Reduce hero spacing on small/short viewports so socials stay on screen */
@media (max-width: 480px), (max-height: 700px) {
  .hero-tagline { margin-bottom: 28px; }
}

/* Respect prefers-reduced-motion: skip animations but keep elements visible */
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow,
  .hero-title,
  .hero-tagline,
  .hero-ctas,
  .hero-socials {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
