/* ═══════════════════════════════════════════════════════════════════════════
   Mid-Michigan Model Makers — Shared Stylesheet
   Update --accent to change the whole site's color scheme for a new year.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Google Fonts loaded in each page's <head> ── */

:root {
  /* Brand colors — change these to retheme the whole site */
  --accent:      #6090e0;   /* steel blue */
  --accent-dark: #4878c8;
  --accent-bg:   rgba(96,144,224,0.10);

  /* Page colors */
  --bg:          #f0f4fa;
  --surface:     #ffffff;
  --card:        #eef2f8;
  --border:      #c8d4e8;

  /* Text */
  --text:        #0e1828;
  --body:        #263650;
  --muted:       #5068a0;

  /* Status */
  --success:     #1a8c50;
  --error:       #cc2222;
  --info:        #1a6acc;

  /* Header — always dark regardless of page bg */
  --header-bg:   #0d0d0f;
  --header-text: #f0f0f2;

  /* Sizing */
  --radius:      8px;
  --radius-sm:   4px;
  --max-width:   1040px;
  --nav-height:  64px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--body);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-lg { padding: 96px 0; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1.1;
}
h1 { font-size: clamp(48px, 8vw, 80px); }
h2 { font-size: clamp(28px, 5vw, 42px); }
h3 { font-size: clamp(20px, 3vw, 26px); }
h4 { font-size: 18px; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); font-weight: 600; }

/* ── Section headers ── */
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 8px;
}
.section-title span { color: var(--accent); }
.section-desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.section-divider {
  border: none;
  border-top: 2px solid var(--border);
  margin: 0;
}

/* ── NAV ── */
#site-nav {
  background: var(--header-bg);
  border-bottom: 2px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo span { color: #ffffff; }
.nav-logo:hover { text-decoration: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #c8c8d0;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); background: rgba(232,160,32,0.08); }
.nav-links .nav-cta a {
  background: var(--accent);
  color: #000;
  font-weight: 700;
  padding: 8px 16px;
}
.nav-links .nav-cta a:hover { background: #f0b030; color: #000; }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: #111114;
    border-bottom: 2px solid var(--accent);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { border-radius: 0; padding: 12px 24px; }
  .nav-links .nav-cta a { margin: 8px 24px; border-radius: var(--radius-sm); }
}

/* ── HERO (page-specific overrides allowed) ── */
.hero {
  background: linear-gradient(135deg, #0d0d0f 0%, #1a1208 50%, #0d0d0f 100%);
  position: relative;
  overflow: hidden;
  padding: 72px 24px 64px;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232,160,32,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: var(--max-width); margin: 0 auto; }
.hero-badge {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 2px;
  margin-bottom: 24px;
}
.hero h1 {
  color: var(--accent);
  margin-bottom: 4px;
}
.hero h1 span { color: #ffffff; }
.hero-sub {
  font-size: 16px;
  color: #c0c0cc;
  margin-top: 20px;
  line-height: 1.9;
}
.hero-sub strong { color: #ffffff; }
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: #000; border-color: var(--accent); font-weight: 700; }
.btn-primary:hover { background: #f0b030; border-color: #f0b030; }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent-bg); }
.btn-dark { background: #1a1a22; color: #ffffff; border-color: #1a1a22; }
.btn-dark:hover { background: #2a2a35; border-color: #2a2a35; }
.btn-sm { font-size: 13px; padding: 9px 20px; }
.btn-lg { font-size: 16px; padding: 16px 36px; }
.btn-disabled, .btn[disabled] { opacity: 0.45; pointer-events: none; }

/* ── CARDS ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card-sm { padding: 20px; }
.card-accent { border-top: 3px solid var(--accent); }
.card-gold { border: 2px solid var(--accent); }

/* ── GRID LAYOUTS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

/* ── INFO CHIPS (date/venue/etc) ── */
.info-chips { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.info-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--body);
  font-weight: 500;
}
.info-chip .chip-icon { font-size: 15px; }

/* ── NOTICE BANNERS ── */
.notice {
  display: flex; gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.notice-icon { flex-shrink: 0; font-size: 16px; margin-top: 1px; }
.notice-info    { background: rgba(26,106,204,0.08); border: 1px solid rgba(26,106,204,0.25); color: var(--body); }
.notice-success { background: rgba(26,140,80,0.08);  border: 1px solid rgba(26,140,80,0.25);  color: var(--body); }
.notice-warning { background: rgba(232,160,32,0.10); border: 1px solid rgba(232,160,32,0.30); color: var(--body); }
.notice-error   { background: rgba(204,34,34,0.08);  border: 1px solid rgba(204,34,34,0.25);  color: var(--body); }

/* ── TABLE ── */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
  background: var(--card); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); padding: 12px 16px;
  text-align: left; border-bottom: 2px solid var(--border);
}
.data-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); color: var(--body); vertical-align: top; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--card); }

/* ── BADGE / PILL ── */
.badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px;
}
.badge-gold    { background: rgba(232,160,32,0.15); color: #a06010; border: 1px solid rgba(232,160,32,0.4); }
.badge-silver  { background: rgba(160,160,180,0.15); color: #606070; border: 1px solid rgba(160,160,180,0.4); }
.badge-bronze  { background: rgba(180,100,50,0.15); color: #804020; border: 1px solid rgba(180,100,50,0.4); }
.badge-green   { background: rgba(26,140,80,0.12); color: #0e6030; border: 1px solid rgba(26,140,80,0.3); }
.badge-blue    { background: rgba(26,106,204,0.10); color: #1050a0; border: 1px solid rgba(26,106,204,0.3); }
.badge-red     { background: rgba(204,34,34,0.10); color: #991010; border: 1px solid rgba(204,34,34,0.25); }

/* ── FOOTER ── */
#site-footer {
  background: #0d0d0f;
  border-top: 2px solid var(--accent);
  padding: 48px 24px 32px;
  margin-top: 80px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-brand .footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 12px;
}
.footer-brand .footer-logo span { color: #ffffff; }
.footer-brand p { font-size: 13px; color: #888898; line-height: 1.7; }
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #888898; margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 13px; color: #aaaabc; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid #2a2a35;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #666676;
}
.footer-bottom a { color: #888898; }
.footer-bottom a:hover { color: var(--accent); }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid #2a2a35;
  display: flex; align-items: center; justify-content: center;
  color: #888898; font-size: 14px;
  transition: all 0.2s;
  text-decoration: none;
}
.social-link:hover { border-color: var(--accent); color: var(--accent); background: rgba(232,160,32,0.08); }

/* ── UTILITY ── */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-accent { color: var(--accent); }
.text-sm { font-size: 13px; }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.flex   { display: flex; align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.w-full { width: 100%; }
.hidden { display: none !important; }
