/*===================================
  1. Google Fonts Import
===================================*/
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Poppins:wght@500;700&display=swap');

/*===================================
  2. Root Variables
===================================*/
:root {
  --clr-bg:        #F8F4ED;
  --clr-text:      #2F2E2E;
  --clr-primary:   #386641;
  --clr-secondary: #A7C957;
  --clr-accent:    #E07A5F;
  --clr-accent2:   #F4A261;
  --clr-border:    #D3C2B0;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 64px;

  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Merriweather', serif;
}

/*===================================
  3. Reset & Base
===================================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  line-height: 1.6;
  background: var(--clr-bg);
  color: var(--clr-text);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

/*===================================
  4. Utility Classes
===================================*/
.container {
  width: min(90%, 1200px);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}

/*===================================
  5. Header & Navigation
===================================*/
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--clr-primary);
  padding: var(--space-sm) var(--space-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.site-header .brand a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: white;
}
.menu-bar ul {
  list-style: none;
  display: flex;
}
.menu-bar li + li {
  margin-left: var(--space-lg);
}
.menu-bar a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: white;
  padding: var(--space-xs) var(--space-sm);
  border-radius: 4px;
  transition: background 0.2s;
}
.menu-bar a:hover,
.menu-bar a.active {
  background: rgba(255,255,255,0.2);
}

/*===================================
  6. Hero Section
===================================*/
.hero {
  background: url('../images/header-bg.jpg') center/cover no-repeat;
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--space-sm) 0 var(--space-xl);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}
.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero h1,
.hero p {
  color: white;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: var(--space-sm);
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}
.btn-primary {
  background: var(--clr-accent);
  color: white;
  padding: var(--space-sm) var(--space-lg);
  border: none;
  border-radius: 6px;
}
.btn-primary:hover {
  background: var(--clr-accent2);
  transform: translateY(-2px);
}

/*===================================
  7. Content Sections (Intro & Cards)
===================================*/
.main-content .intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}
.main-content .intro img {
  flex: 1 1 300px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.main-content .intro .description {
  flex: 2 1 400px;
}
.cards {
  margin: var(--space-xl) 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: var(--space-lg);
}
.card {
  background: white;
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.card h3 {
  font-family: var(--font-heading);
  margin: var(--space-md);
}
.card p {
  margin: 0 var(--space-md) var(--space-md);
}

/*===================================
  8. Contact Page
===================================*/
.contact-content {
  display: flex;
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}
.contact-form,
.contact-image {
  flex: 1;
}
.contact-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--clr-text);
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: 6px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(224,122,95,0.2);
}
.contact-form p {
  margin-bottom: var(--space-md);
}
.contact-form label {
  font-weight: 700;
}

/*===================================
  9. Shows Page
===================================*/
.show-list {
  list-style: none;
  margin: var(--space-md) 0 var(--space-xl);
  padding: 0;
}
.show-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-md) 0;
}
.show-list .show-date,
.show-list .show-location,
.show-list .show-cost {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  color: var(--clr-text);
  margin: var(--space-xs) 0;
}
.show-list .show-date {
  font-family: var(--font-heading);
  color: var(--clr-primary);
  font-size: 1.1rem;
}
.show-list .show-location {
  font-style: italic;
}

.show-venue {
  font-weight: bold;
}
.section-divider {
  border: 0;
  border-top: 2px solid var(--clr-border);
  margin: var(--space-xl) 2;
}
.container section > h1,
.container section > h2 {
  text-align: center;
  margin-bottom: var(--space-md);
}

/*===================================
  10. Band Members
===================================*/
.band-members .grid .member {
  text-align: center;
}
.band-members .grid .member img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  margin: 0 auto var(--space-md);
}
.band-members .grid .member h3 {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-xs);
}
.band-members .grid .member p {
  margin: 0;
  font-style: italic;
  color: var(--clr-secondary);
}

/*===================================
  11. Footer
===================================*/
.social-footer {
  text-align: center;
  padding: var(--space-md) 0;
  background: var(--clr-bg);
}
.social-footer a {
  margin: 0 var(--space-sm);
  font-size: 2rem;
  color: var(--clr-text);
  transition: transform 0.2s, color 0.2s;
}
.social-footer a:hover {
  transform: translateY(-4px);
  color: var(--clr-primary);
}
.footer-graphic {
  display: block;
  max-width: 50px;
  margin: var(--space-md) auto 0;
}

/*===================================
  12. Responsive
===================================*/
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    padding: var(--space-sm) var(--space-md);
  }
  .menu-bar {
    margin-top: var(--space-sm);
  }
  .hero h1 {
    font-size: 2.25rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .main-content .intro,
  .contact-content {
    flex-direction: column;
    text-align: center;
  }
  .cards .grid {
    display: block;
  }
  .card {
    margin-bottom: var(--space-lg);
  }
}


.photo-grid, .video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.photo-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
q
.video-grid.large {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.video-grid.large iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.show-datetime {
  font-weight: bold;
  margin-bottom: 0.25em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;  /* Align date and time nicely */
  gap: 0.3em;
}

.show-date {
  font-weight: normal;
}

.show-time {
  font-weight: 400;
  font-style: bold;
  color: #555;
}

.show-venue {
  font-weight: bold;
  display: inline;  /* keep on the same line */
}

.show-event {
  display: inline;
  font-weight: normal;
  margin-left: 0.15em;
}

.show-event a {
  text-decoration: underline;
  color: var(--clr-accent, #25568c);
  font-weight: normal;
}

.show-event a:link,
.show-event a:visited {
  color: #25568c !important;  /* Replace with your desired color */
  text-decoration: underline !important;
}

.substack-banner {
  width: 100%;
  background-color: #fafafa; /* light, subtle background to blend in */
  color: #333; /* readable text */
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  text-align: center;
  padding: 0.75rem 1rem;
  position: relative;
  border-bottom: 1px solid #eee; /* subtle separation */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.substack-banner a {
  color: #1a73e8; /* link color matches site style */
  text-decoration: none;
}

.substack-banner a:hover {
  text-decoration: underline;
}

.banner-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: #888;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.banner-close:hover {
  color: #333;
}
