/* ============================================================
   THE WEST GOATS — style.css
   ============================================================ */

/* ── Google Fonts are loaded in <head> ── */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 65px;
}

/* ── Custom Properties ────────────────────────────────────── */
:root {
  /* Colors */
  --color-cream:      #FAF5EE;
  --color-warm-white: #FDF8F2;
  --color-peach:      #F4A96A;
  --color-blush:      #E879A0;
  --color-teal:       #3D9E8C;
  --color-sand:       #C4A882;
  --color-bark:       #4A3728;
  --color-dusk:       #2C2018;

  /* Fonts */
  --font-display:     'Playfair Display', Georgia, serif;
  --font-body:        'Lato', system-ui, sans-serif;
  --font-hand:        'Caveat', cursive;

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  14px;
  --radius-lg:  999px;

  /* Shadows */
  --shadow-soft: 0 4px 28px rgba(74, 55, 40, 0.12);
  --shadow-card: 0 2px 12px rgba(74, 55, 40, 0.08);

  /* Layout */
  --container-max: 1100px;
  --section-pad:   clamp(3.5rem, 8vw, 6rem);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-bark);
  background-color: var(--color-cream);
}

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

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

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  background: var(--color-peach);
  color: var(--color-dusk);
  border-color: var(--color-peach);
}

.btn-primary:hover {
  background: #f09650;
  border-color: #f09650;
}

.btn-outline {
  background: transparent;
  color: var(--color-teal);
  border-color: var(--color-teal);
}

.btn-outline:hover {
  background: var(--color-teal);
  color: var(--color-warm-white);
}

/* ── Section Headings ─────────────────────────────────────── */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-dusk);
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.section-heading::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--color-peach);
  border-radius: 2px;
  margin-top: 0.5rem;
}

.section-heading-center {
  text-align: center;
}

.section-heading-center::after {
  margin-inline: auto;
}

/* ── NAV ──────────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-cream);
  transition: box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

header.scrolled {
  box-shadow: 0 2px 20px rgba(74, 55, 40, 0.12);
  border-bottom-color: var(--color-sand);
}

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

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  font-style: italic;
  color: var(--color-dusk);
  letter-spacing: -0.01em;
}

.nav-logo:hover {
  color: var(--color-bark);
}

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

.nav-links a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-bark);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-teal);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-bark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile nav panel */
.nav-panel {
  max-height: 0;
  overflow: hidden;
  background: var(--color-cream);
  transition: max-height 0.35s ease;
  border-top: 1px solid transparent;
}

.nav-panel.open {
  max-height: 280px;
  border-top-color: var(--color-sand);
}

.nav-panel ul {
  list-style: none;
  padding: 1rem 0 1.5rem;
}

.nav-panel ul li a {
  display: block;
  padding: 0.75rem clamp(1.25rem, 4vw, 2.5rem);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-bark);
  transition: color 0.2s;
}

.nav-panel ul li a:hover {
  color: var(--color-teal);
}

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
  min-height: calc(100svh - 64px);
  display: flex;
  align-items: center;
  padding-block: var(--section-pad);
  background: var(--color-cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-band-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.05;
  color: var(--color-dusk);
  letter-spacing: -0.02em;
}

.hero-album-label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-album-label .label-tag {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-sand);
}

.hero-album-label .album-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--color-bark);
  font-style: italic;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Album art */
.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-album-art {
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transform: rotate(-1.5deg);
  transition: transform 0.4s ease;
}

.hero-album-art:hover {
  transform: rotate(0deg);
}

/* ── MUSIC ────────────────────────────────────────────────── */
#music {
  padding-block: var(--section-pad);
  background: var(--color-warm-white);
}

.music-inner {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.music-inner .section-heading {
  margin-bottom: 2rem;
}

.spotify-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 1.75rem;
}

.spotify-wrap iframe {
  display: block;
  width: 100%;
}

/* ── PHOTOS ───────────────────────────────────────────────── */
#photos {
  padding-block: var(--section-pad);
  background: var(--color-cream);
}

#photos .section-heading-wrap {
  margin-bottom: 2.5rem;
}

.photos-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.photo-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: default;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-item:hover img {
  transform: scale(1.03);
}

.photo-bar {
  grid-column: 1;
  grid-row: 1 / 3;
}

.photo-day {
  grid-column: 2;
  grid-row: 1;
}

.photo-night {
  grid-column: 2;
  grid-row: 2;
}

.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 1rem;
  background: linear-gradient(transparent, rgba(44, 32, 24, 0.7));
  font-family: var(--font-hand);
  font-size: 1rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-item:hover .photo-caption {
  opacity: 1;
}

/* ── ABOUT ────────────────────────────────────────────────── */
#about {
  padding-block: var(--section-pad);
  background: var(--color-cream);
  border-top: 1px solid var(--color-sand);
}

.about-inner {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}

.about-inner .section-heading {
  margin-bottom: 1.5rem;
}

.about-inner p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--color-bark);
  line-height: 1.8;
}

/* ── SHOWS ────────────────────────────────────────────────── */
#shows {
  padding-block: var(--section-pad);
  background: var(--color-warm-white);
}

.shows-header {
  margin-bottom: 2.5rem;
}

.shows-subheading {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--color-teal);
  display: block;
  margin-top: 0.25rem;
}

.show-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
}

.show-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.75rem;
  border: 1.5px solid var(--color-sand);
  border-radius: var(--radius-md);
  background: var(--color-cream);
  box-shadow: var(--shadow-card);
  flex-wrap: wrap;
}

.show-date {
  flex-shrink: 0;
  background: var(--color-peach);
  color: var(--color-dusk);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.show-info {
  flex: 1;
  min-width: 180px;
}

.show-venue {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dusk);
  display: block;
}

.show-location {
  font-size: 0.9rem;
  color: var(--color-sand);
  font-weight: 300;
}

.show-free-badge {
  flex-shrink: 0;
  background: transparent;
  border: 1.5px solid var(--color-teal);
  color: var(--color-teal);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-lg);
}

.shows-more {
  margin-top: 2rem;
  font-family: var(--font-hand);
  font-size: 1.15rem;
  color: var(--color-sand);
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--color-bark);
  color: var(--color-warm-white);
  padding-block: 2.5rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  font-style: italic;
  color: var(--color-warm-white);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--color-sand);
  font-weight: 300;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-icon-link {
  display: flex;
  align-items: center;
  color: var(--color-warm-white);
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}

.footer-icon-link:hover {
  opacity: 1;
  color: var(--color-peach);
}

.footer-icon-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image-wrap { order: -1; }

  .hero-album-art {
    max-width: min(320px, 80vw);
    margin-inline: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  /* Photos */
  .photos-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .photo-bar,
  .photo-day,
  .photo-night {
    grid-column: 1;
    grid-row: auto;
  }

  .photo-bar img,
  .photo-day img,
  .photo-night img {
    height: 280px;
  }

  /* Shows */
  .show-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 769px) and (max-width: 1099px) {
  .hero-band-name { font-size: clamp(2.4rem, 5vw, 4rem); }

  .photos-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .photo-bar {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .photo-day { grid-column: 2; grid-row: 1; }
  .photo-night { grid-column: 2; grid-row: 2; }

  .photo-bar img { height: 100%; min-height: 320px; }
  .photo-day img,
  .photo-night img { height: 240px; }
}

@media (min-width: 1100px) {
  .photo-bar img  { height: 520px; }
  .photo-day img  { height: 260px; }
  .photo-night img { height: 254px; }
}

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
