/* ==========================================================================
   GreenTree Music — Main Stylesheet (plain-html/styles.css)
   100% Self-Hosted Fonts & Externalized CSS (Zero External Font/CSS/JS Calls)
   ========================================================================== */

@font-face {
  font-family: 'Marzo';
  font-style: normal;
  font-weight: 400 700;
  src: url('assets/fonts/marzo-regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 300 700;
  src: url('assets/fonts/raleway-latin.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  font-style: italic;
  font-weight: 300 700;
  src: url('assets/fonts/raleway-italic-latin.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/open-sans-regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('assets/fonts/open-sans-bold.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  src: url('assets/fonts/open-sans-bold-italic.woff2') format('woff2');
  font-display: swap;
}

:root {
  --bg-white: #ffffff;
  --bg-soft: #f7f8f6;
  --text-dark: #222222;
  --text-muted: #525252;
  --text-light: #595959;
  --greentree-green: #0a6828;
  --greentree-green-hover: #08501f;
  --accent-warm: #59514d;
  --border-light: #dcdcdc;
  --player-bg: #ffffff;
  --player-accent: #b5303c;
  --max-width: 980px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

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

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  padding: 6px 2px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--greentree-green);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--greentree-green);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--text-dark);
  cursor: pointer;
  padding: 8px;
}

/* ==========================================================================
   Hero Banner (Home)
   ========================================================================== */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 460px;
  background-image: url('assets/images/hero-bg-map.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 36px;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero-logo {
  width: 340px;
  max-width: 82vw;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.25));
}

.social-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.85);
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.social-bar a:hover {
  transform: scale(1.12);
}

.social-bar img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* ==========================================================================
   General Section Layout
   ========================================================================== */
.section {
  padding: 64px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.section-full-bg {
  width: 100%;
  background-color: var(--bg-soft);
}

.section-title {
  font-family: 'Marzo', 'Raleway', sans-serif;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  margin-bottom: 28px;
  color: var(--text-dark);
}

.section-title-lg {
  font-size: 48px;
}

.section-title-md {
  font-size: 32px;
}

.section-title-left {
  font-size: 28px;
  margin-top: 44px;
  margin-bottom: 12px;
  text-align: left;
}

.compass-divider {
  width: 85px;
  height: 85px;
  margin: 28px auto 0;
  opacity: 0.9;
}

.studio-compass {
  width: 110px;
  margin: 12px auto 0;
}

.studio-video-box {
  max-width: 420px;
  margin: 28px auto 0;
}

.studio-video-player {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
}

.studio-intro-compact {
  margin-bottom: 16px;
}

.contact-info-compact {
  margin-bottom: 0;
}

.no-bottom-margin {
  margin-bottom: 0 !important;
}

/* ==========================================================================
   Featured Single / Release Section
   ========================================================================== */
.release-section {
  padding-top: 56px;
  padding-bottom: 48px;
}

.release-kicker {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.releases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  max-width: 820px;
  margin: 0 auto;
}

.release-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.release-title {
  font-family: 'Marzo', 'Raleway', sans-serif;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 4px;
}

.release-feat {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 18px;
  color: var(--text-muted);
}

.release-cover {
  width: 360px;
  max-width: 85vw;
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease;
}

.release-cover:hover {
  transform: scale(1.02);
}

.release-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.release-date {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.release-sub {
  font-size: 22px;
  color: var(--text-muted);
}

/* ==========================================================================
   About Preview Section
   ========================================================================== */
.about-photo {
  width: 580px;
  max-width: 100%;
  margin: 0 auto 28px;
  border-radius: 4px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.about-blurb {
  max-width: 680px;
  margin: 0 auto 28px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-dark);
}

.btn-pill {
  display: inline-block;
  background-color: var(--greentree-green);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 12px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-pill:hover {
  background-color: var(--accent-warm);
  transform: translateY(-1px);
}

/* ==========================================================================
   Music Section & Custom Audio Players
   ========================================================================== */
.buy-music-box {
  margin-bottom: 44px;
}

.buy-music-text {
  font-size: 22px;
  margin-bottom: 16px;
}

.buy-music-logo {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  transition: transform 0.25s ease;
}

.buy-music-logo:hover {
  transform: scale(1.06);
}

.players-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  max-width: 720px;
  margin: 0 auto 44px;
}

.audio-card {
  display: flex;
  align-items: center;
  background: var(--player-bg);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  height: 76px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  text-align: left;
}

.audio-cover {
  width: 76px;
  height: 76px;
  object-fit: cover;
  flex-shrink: 0;
}

.audio-body {
  flex: 1;
  padding: 8px 12px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.audio-meta {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
}

.audio-track {
  font-weight: 600;
  color: var(--text-dark);
}

.audio-artist {
  color: var(--text-muted);
  margin-left: 4px;
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.play-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--player-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.play-btn:hover {
  background: #882d34;
}

.play-btn svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.seek-bar {
  flex: 1;
  height: 4px;
  accent-color: var(--player-accent);
  cursor: pointer;
}

.time-label {
  font-size: 11px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.stream-subtitle {
  font-size: 22px;
  margin-bottom: 16px;
  text-transform: lowercase;
}

.stream-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.stream-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  transition: transform 0.2s ease;
}

.stream-links a:hover {
  transform: scale(1.14);
}

.stream-links img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* ==========================================================================
   Video Section
   ========================================================================== */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 760px;
  margin: 0 auto 28px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.video-wrapper iframe,
.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-facade {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  padding: 0;
}

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: opacity 0.25s ease, transform 0.3s ease;
}

.video-facade:hover img {
  opacity: 1;
  transform: scale(1.02);
}

.yt-play-btn {
  position: absolute;
  width: 68px;
  height: 48px;
  background: rgba(204, 0, 0, 0.92);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: background 0.2s ease, transform 0.2s ease;
}

.video-facade:hover .yt-play-btn {
  background: #ff0000;
  transform: scale(1.08);
}

.yt-play-btn svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.youtube-subscribe {
  display: flex;
   flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 20px;
}

.youtube-subscribe img {
  width: 120px;
  transition: transform 0.2s ease;
}

.youtube-subscribe img:hover {
  transform: scale(1.08);
}

/* ==========================================================================
   Shows Section (100% Self-Contained HTML/CSS — No External Widget Scripts)
   ========================================================================== */
.shows-box {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 28px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: var(--bg-soft);
}

.shows-subheading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--greentree-green);
  margin-bottom: 14px;
}

.shows-empty-note {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.shows-empty-note a {
  color: var(--greentree-green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shows-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.btn-pill-outline img {
  width: 16px;
  height: 16px;
  display: inline-block;
}

.btn-pill-outline:hover {
  background: var(--greentree-green);
  color: #ffffff;
  border-color: var(--greentree-green);
}

.btn-pill-outline:hover img {
  filter: brightness(0) invert(1);
}

.shows-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  text-align: left;
}

.shows-list[hidden] {
  display: none !important;
}

.show-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  flex-wrap: wrap;
}

.show-date {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--greentree-green);
  min-width: 112px;
}

.show-venue {
  flex: 1;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark);
  min-width: 200px;
}

.show-note {
  font-weight: 400;
  font-size: 13.5px;
  color: var(--text-muted);
}

.show-city {
  color: var(--text-muted);
  font-size: 13.5px;
  white-space: nowrap;
}

.past-shows-archive {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border-light);
  text-align: left;
}

.past-shows-summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  text-align: center;
  list-style: none;
  user-select: none;
  margin-bottom: 16px;
  transition: color 0.2s ease;
}

.past-shows-summary::-webkit-details-marker {
  display: none;
}

.past-shows-summary::after {
  content: ' ▾';
  font-size: 13px;
  color: var(--greentree-green);
}

.past-shows-archive:not([open]) .past-shows-summary {
  margin-bottom: 0;
}

.past-shows-archive:not([open]) .past-shows-summary::after {
  content: ' ▸';
}

.past-shows-summary:hover {
  color: var(--greentree-green);
}

.past-shows-list {
  margin-bottom: 0;
}

.show-row.past {
  background: rgba(255, 255, 255, 0.72);
  padding: 11px 16px;
}

.show-row.past .show-date {
  color: var(--text-muted);
}

.show-row[hidden] {
  display: none !important;
}

.past-shows-more-wrap {
  margin-top: 16px;
  text-align: center;
}

/* ==========================================================================
   Gallery Grid & Lightbox
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  background: #f0f0f0;
  cursor: pointer;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-info {
  font-size: 20px;
  margin-bottom: 28px;
  line-height: 1.8;
}

.contact-info a {
  color: var(--greentree-green);
  font-weight: 600;
}

.contact-form {
  max-width: 540px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  text-align: left;
}

.contact-form .full-width {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--bg-white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--greentree-green);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 8px;
}

/* ==========================================================================
   Bio Page & HoveTo Studio Page
   ========================================================================== */
.bio-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  font-family: 'Open Sans', sans-serif;
  font-size: 17px;
  line-height: 1.8;
}

.bio-portrait {
  width: 640px;
  max-width: 100%;
  margin: 0 auto 36px;
  border-radius: 4px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.bio-content p {
  margin-bottom: 20px;
}

.bio-artists-box {
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-soft);
  border-left: 4px solid var(--greentree-green);
  border-radius: 4px;
}

.bio-content a {
  color: var(--greentree-green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bio-content a:hover {
  color: var(--accent-warm);
}

.discography-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
  text-align: left;
}

.discography-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.discography-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.discography-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.discography-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.discography-links a {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--greentree-green);
  color: #fff !important;
  text-decoration: none !important;
}

.discography-links a:hover {
  background: var(--accent-warm);
}

.discography-links a.btn-secondary {
  background: transparent;
  color: var(--text-dark) !important;
  border: 1px solid var(--border-light);
}

.discography-links a.btn-secondary:hover {
  border-color: var(--greentree-green);
  color: var(--greentree-green) !important;
}

.studio-intro {
  max-width: 720px;
  margin: 0 auto 28px;
  font-size: 17px;
  line-height: 1.8;
}

.backline-list {
  list-style: none;
  max-width: 560px;
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  font-size: 15px;
  color: var(--text-dark);
}

.backline-list li {
  padding: 8px 14px;
  background: var(--bg-soft);
  border-radius: 4px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-light);
}

.footer-compass {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
    position: absolute;
    right: 20px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .releases-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .players-grid {
    grid-template-columns: 1fr;
  }

  .shows-box {
    padding: 24px 16px;
  }

  .show-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 14px;
  }

  .show-venue {
    min-width: 0;
  }

  .show-note {
    display: block;
    margin-top: 2px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .section-title,
  .release-title {
    font-size: 32px;
  }
}

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

