/* ── Highland Music Boosters · Global Styles ── */

:root {
  --blue:        #1a3f6f;
  --blue-mid:    #2358a0;
  --blue-pale:   #e8eef7;
  --gold:        #d4a017;
  --gold-light:  #f0c040;
  --gold-pale:   #fdf6e3;
  --text:        #1a1a1a;
  --muted:       #5a6470;
  --border:      #dde3ec;
  --surface:     #f8f9fc;
  --white:       #ffffff;
  --radius:      8px;
  --radius-lg:   14px;
  --max-width:   1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--surface);
}

/* ── Topbar ── */
.topbar {
  background: var(--gold);
  padding: 5px 24px;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  font-size: 11px;
}
.topbar a { color: var(--blue); text-decoration: none; font-weight: 500; }
.topbar a:hover { text-decoration: underline; }

/* ── Header ── */
.site-header {
  background: var(--blue);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-mark {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--blue); flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name  { font-size: 17px; font-weight: 600; color: var(--white); }
.logo-sub   { font-size: 11px; color: var(--gold-light); }

.btn-gold {
  background: var(--gold);
  color: var(--blue);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
}
.btn-gold:hover { background: var(--gold-light); }

/* ── Primary Nav ── */
.primary-nav {
  background: var(--blue-mid);
  display: flex;
  padding: 0 32px;
  overflow-x: auto;
  gap: 2px;
}
.nav-link {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: 13px;
  padding: 12px 16px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(212,160,23,.2);
  color: var(--gold-light);
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  font-weight: 500;
}
.hero h1 { font-size: 30px; font-weight: 600; color: var(--white); line-height: 1.3; margin-bottom: 14px; }
.hero p  { font-size: 15px; color: rgba(255,255,255,.75); max-width: 520px; }
.hero-actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,.35);
  text-decoration: none;
  transition: background .15s;
}
.btn-outline:hover { background: rgba(255,255,255,.1); }
.hero-stats { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.stat-card {
  background: rgba(255,255,255,.1);
  border: 0.5px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  text-align: center;
  min-width: 120px;
}
.stat-num  { font-size: 24px; font-weight: 600; color: var(--gold-light); }
.stat-label { font-size: 11px; color: rgba(255,255,255,.6); margin-top: 4px; }

/* ── Section ── */
.section { padding: 40px 48px; max-width: var(--max-width); margin: 0 auto; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  display: block;
  width: 4px; height: 18px;
  background: var(--gold);
  border-radius: 2px;
}
.section-link { font-size: 13px; color: var(--blue-mid); text-decoration: none; }
.section-link:hover { text-decoration: underline; }

/* ── News grid ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.news-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .15s, transform .15s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.news-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,63,111,.1); }
.news-card-thumb {
  height: 80px;
  background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.news-card-body { padding: 14px 16px; }
.news-tag {
  font-size: 11px; font-weight: 500;
  background: var(--blue-pale); color: var(--blue-mid);
  padding: 2px 10px; border-radius: 20px;
  display: inline-block; margin-bottom: 8px;
}
.news-tag.event { background: var(--gold-pale); color: #7a5500; }
.news-card h3 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 5px; line-height: 1.45; }
.news-card p  { font-size: 12px; color: var(--muted); }

/* ── Two-column panels ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.panel {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}
.panel h2 {
  font-size: 15px; font-weight: 600;
  color: var(--blue);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
}
.panel h2::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}

/* Calendar events */
.cal-event { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.cal-date {
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
  padding: 6px 10px;
  text-align: center;
  flex-shrink: 0;
  min-width: 42px;
}
.cal-month { font-size: 9px; font-weight: 600; text-transform: uppercase; opacity: .75; }
.cal-day   { font-size: 18px; font-weight: 600; line-height: 1.1; }
.cal-info h4 { font-size: 13px; font-weight: 600; color: var(--text); }
.cal-info p  { font-size: 12px; color: var(--muted); }

/* Progress bars */
.progress-item { margin-bottom: 14px; }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.progress-track {
  height: 7px;
  background: var(--blue-pale);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-mid));
  transition: width .6s ease;
}
.progress-fill.gold { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

/* ── Page content (prose) ── */
.prose { max-width: 720px; }
.prose h1 { font-size: 26px; color: var(--blue); margin-bottom: 16px; }
.prose h2 { font-size: 20px; color: var(--blue); margin: 32px 0 12px; }
.prose h3 { font-size: 17px; color: var(--blue-mid); margin: 24px 0 10px; }
.prose p  { margin-bottom: 16px; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 16px; }
.prose a  { color: var(--blue-mid); }
.prose a:hover { text-decoration: underline; }

/* ── Footer ── */
.site-footer { background: var(--blue); padding: 24px 48px; margin-top: 40px; }
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer p { font-size: 12px; color: rgba(255,255,255,.5); }
.footer-links  { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,.6); text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding: 36px 24px; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; }
  .two-col { grid-template-columns: 1fr; }
  .section { padding: 28px 20px; }
  .site-header { padding: 14px 20px; }
  .btn-gold { display: none; }
}
