/* ============================================================
   Boone County Community Orchestra — Main Stylesheet
   Primary brand color: #82194C
   Fonts: Raleway (body/nav), Lora (headings)
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Raleway:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --brand:       #82194C;
  --brand-dark:  #5e1237;
  --brand-light: #a8205f;
  --gold:        #c9a84c;
  --text:        #2c2c2c;
  --text-light:  #666;
  --bg:          #ffffff;
  --bg-soft:     #f8f4f5;
  --bg-dark:     #1a1a1a;
  --border:      #e0d0d6;
  --nav-height:  72px;
  --radius:      6px;
  --shadow:      0 2px 16px rgba(130,25,76,0.10);
  --transition:  0.25s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-dark); }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Lora', serif;
  color: var(--brand);
  line-height: 1.25;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.section-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: 'Lora', serif;
  color: var(--brand);
  margin-bottom: 1rem;
}
.section-intro {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: 5rem 0;
}
.section--alt {
  background: var(--bg-soft);
}
.text-center { text-align: center; }
.text-left   { text-align: left; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-outline:hover {
  background: var(--brand);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
}
.btn-white:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: #fff;
  border-bottom: 2px solid var(--brand);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
}
#site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.header-logo img {
  height: 48px;
  width: auto;
}
nav#main-nav ul {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
nav#main-nav a {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
nav#main-nav a:hover,
nav#main-nav a.active {
  background: var(--bg-soft);
  color: var(--brand);
}
nav#main-nav .nav-cta a {
  background: var(--brand);
  color: #fff;
  padding: 0.5rem 1.1rem;
}
nav#main-nav .nav-cta a:hover {
  background: var(--brand-dark);
  color: #fff;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Page offset for fixed header */
.page-body { padding-top: var(--nav-height); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 60%, var(--brand-light) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/music-bg.jpg') center/cover no-repeat;
  opacity: 0.12;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5rem 0;
  gap: 1.5rem;
}
.hero-logo img {
  height: 100px;
  width: auto;
  filter: brightness(0) invert(1);
}
.hero-tagline {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255,255,255,0.88);
  max-width: 520px;
}
.hero h1 {
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ============================================================
   CARD GRID
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(130,25,76,0.15);
}
.card-body { padding: 1.5rem; }
.card-icon {
  width: 48px; height: 48px;
  background: var(--bg-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  color: var(--brand);
  font-size: 1.4rem;
}
.card h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.card p  { color: var(--text-light); font-size: 0.95rem; }

/* ============================================================
   CONCERT / EVENT CARDS
   ============================================================ */
.event-list { display: flex; flex-direction: column; gap: 1.25rem; }
.event-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}
.event-card:hover { box-shadow: 0 6px 24px rgba(130,25,76,0.14); }
.event-date {
  min-width: 64px;
  text-align: center;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  flex-shrink: 0;
}
.event-date .month {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.event-date .day {
  font-family: 'Lora', serif;
  font-size: 1.8rem;
  line-height: 1;
}
.event-details h3 { margin-bottom: 0.25rem; font-size: 1.15rem; }
.event-details p  { color: var(--text-light); font-size: 0.9rem; margin: 0; }
.event-meta {
  display: flex;
  gap: 1.25rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}
.event-meta span {
  font-size: 0.82rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.no-events {
  text-align: center;
  padding: 3rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 2px dashed var(--border);
  color: var(--text-light);
}
.no-events p { font-size: 1.05rem; }

/* ============================================================
   ABOUT / BIO SECTION
   ============================================================ */
.bio-block {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2.5rem;
}
.bio-photo {
  position: relative;
}
.bio-photo img {
  width: 100%;
  border-radius: var(--radius);
  border: 4px solid var(--brand);
  box-shadow: var(--shadow);
}
.bio-photo-caption {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
}
.bio-photo-caption strong {
  display: block;
  color: var(--brand);
  font-size: 1rem;
  font-family: 'Lora', serif;
}
.bio-text h3 { margin-bottom: 1rem; }
.bio-text p  { color: var(--text-light); }

/* Stats row */
.stats-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.stat-item { text-align: center; flex: 1; min-width: 120px; }
.stat-number {
  font-family: 'Lora', serif;
  font-size: 2.5rem;
  color: var(--brand);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-section {
  background: var(--bg-soft);
}
.forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}
.form-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--brand);
}
.form-box h3 { margin-bottom: 0.5rem; }
.form-box > p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(130,25,76,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2382194C' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-status {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: none;
}
.form-status.success {
  background: #edf7ed;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  display: block;
}
.form-status.error {
  background: #fdecea;
  color: #c62828;
  border: 1px solid #ef9a9a;
  display: block;
}

/* ============================================================
   SPONSORS
   ============================================================ */
.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}
.sponsor-item {
  padding: 1rem 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.sponsor-item:hover { transform: scale(1.03); }
.sponsor-item img { height: 60px; width: auto; object-fit: contain; }

.sponsor-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--brand);
  border-radius: var(--radius);
  color: #fff;
}
.sponsor-cta h3 { color: #fff; margin-bottom: 0.75rem; }
.sponsor-cta p  { color: rgba(255,255,255,0.85); margin-bottom: 1.25rem; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  padding: 4rem 0 3rem;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: 2.4rem; margin-bottom: 0.5rem; }
.page-hero p  { color: rgba(255,255,255,0.8); font-size: 1.05rem; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  justify-content: center;
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 48px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer-col h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: rgba(255,255,255,0.85); }

/* Social icons in footer */
.social-links { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.social-links a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* ============================================================
   BAND / JOIN SECTION
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: 'Lora', serif;
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step-card p  { font-size: 0.9rem; color: var(--text-light); }

.eligibility-list {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2.5rem;
}
.eligibility-list h3 { margin-bottom: 1rem; }
.eligibility-list ul { list-style: none; }
.eligibility-list li {
  padding: 0.6rem 0 0.6rem 1.75rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.eligibility-list li:last-child { border-bottom: none; }
.eligibility-list li::before {
  content: '♪';
  position: absolute;
  left: 0;
  color: var(--brand);
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 900px) {
  .bio-block          { grid-template-columns: 1fr; }
  .bio-photo          { max-width: 260px; margin: 0 auto; }
  .forms-grid         { grid-template-columns: 1fr; }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero h1 { font-size: 2.1rem; }
  .section { padding: 3.5rem 0; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  nav#main-nav {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 2px solid var(--brand);
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  nav#main-nav.open { display: block; }
  nav#main-nav ul {
    flex-direction: column;
    gap: 0.25rem;
  }
  nav#main-nav a {
    display: block;
    padding: 0.75rem 1rem;
    width: 100%;
  }
  nav#main-nav .nav-cta { margin-top: 0.5rem; }
  nav#main-nav .nav-cta a {
    display: block;
    text-align: center;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .stats-row { gap: 1.25rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .event-card { flex-direction: column; gap: 0.75rem; }
  .event-date { width: fit-content; }
  .card-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}
.tag {
  display: inline-block;
  background: var(--bg-soft);
  color: var(--brand);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 0.2rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   PHOTO CAROUSEL
   ============================================================ */
.carousel {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.carousel-track-wrapper {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 4px 32px rgba(0,0,0,0.15);
}
.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.carousel-slide {
  min-width: 100%;
  position: relative;
  margin: 0;
}
.carousel-slide img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.carousel-slide figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  color: rgba(255,255,255,0.92);
  font-size: 0.88rem;
  padding: 1.5rem 1.25rem 0.75rem;
  text-align: left;
  font-family: 'Raleway', sans-serif;
}

/* Prev / Next buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  width: 44px; height: 44px;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--brand);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  transition: background var(--transition), color var(--transition), transform 0.2s;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.carousel-btn:hover {
  background: var(--brand);
  color: #fff;
}
.carousel-btn:active { transform: translateY(-50%) scale(0.93); }
.carousel-btn--prev { left: -22px; }
.carousel-btn--next { right: -22px; }

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.carousel-dot.active,
.carousel-dot:hover {
  background: var(--brand);
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-slide img { height: 280px; object-position: center center; }
  .carousel-btn--prev { left: 6px; }
  .carousel-btn--next { right: 6px; }
  .carousel-btn {
    background: rgba(130,25,76,0.75);
    color: #fff;
    width: 36px; height: 36px;
    font-size: 1.3rem;
  }
}
@media (max-width: 480px) {
  .carousel-slide img { height: 220px; }
}

/* Tighter list spacing for footer info items (rehearsals, legal) */
.footer-tight li {
  margin-bottom: 0.2rem;
}
