/* ============================================
   Northwest Arkansas Community Orchestra
   Main Stylesheet
   ============================================ */

/* ---------- CSS Variables & Theme ---------- */
:root {
  /* Core Colors */
  --gold: #C9A227;
  --gold-light: #E8D48A;
  --gold-dark: #A68419;
  --black: #0A0A0A;
  --black-soft: #1A1A1A;
  --white: #FAFAFA;
  --white-soft: #F0F0F0;
  --gray: #888888;
  --gray-light: #CCCCCC;
  --gray-dark: #444444;
  
  /* Semantic Colors - Dark Mode Default */
  --bg-primary: var(--black);
  --bg-secondary: var(--black-soft);
  --bg-accent: var(--gold);
  --text-primary: var(--white);
  --text-secondary: var(--gray-light);
  --text-accent: var(--gold);
  --border-color: var(--gray-dark);
  
  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Raleway', 'Segoe UI', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/* Light Mode */
@media (prefers-color-scheme: light) {
  :root {
    --bg-primary: var(--white);
    --bg-secondary: var(--white-soft);
    --text-primary: var(--black);
    --text-secondary: var(--gray-dark);
    --border-color: var(--gray-light);
  }
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  min-height: 100vh;
  transition: background-color var(--transition-base), color var(--transition-base);
}

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

a {
  color: var(--text-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold-light);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: 0.01em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: var(--space-sm); }

.text-gold { color: var(--gold); }
.text-center { text-align: center; }

.subtitle {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 { margin-bottom: var(--space-xs); }

/* Forced color sections */
.force-dark {
  background-color: var(--black) !important;
  color: var(--white) !important;
}
.force-dark h1, .force-dark h2, .force-dark h3, 
.force-dark h4, .force-dark p { color: var(--white); }

.force-light {
  background-color: var(--white) !important;
  color: var(--black) !important;
}
.force-light h1, .force-light h2, .force-light h3, 
.force-light h4, .force-light p { color: var(--black); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.logo img {
  height: 60px;
  width: auto;
}

.nav {
  display: flex;
  gap: var(--space-md);
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  padding: var(--space-xs) 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: width var(--transition-base);
}

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

.nav-link:hover,
.nav-link.active { color: var(--gold); }

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background-color: var(--gold);
  transition: all var(--transition-fast);
}

/* ---------- Hero Section ---------- */
.hero {
  padding-top: var(--header-height);
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.8));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: var(--space-md);
}

.hero-logo {
  max-width: 300px;
  margin: 0 auto var(--space-md);
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.hero .subtitle {
  color: var(--gold-light);
  margin-bottom: var(--space-sm);
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 2rem;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--black);
}

.btn-primary:hover {
  background-color: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--black);
}

.btn-outline {
  background-color: transparent;
  color: var(--gold);
}

.btn-outline:hover {
  background-color: var(--gold);
  color: var(--black);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: var(--space-md);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.card h3 {
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.force-dark .card {
  background-color: var(--black-soft);
  border-color: var(--gray-dark);
}

.force-light .card {
  background-color: var(--white-soft);
  border-color: var(--gray-light);
}

/* ---------- Two Column Layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.rounded-img { border-radius: var(--radius-md); }

/* ---------- Mission Block ---------- */
.mission-block {
  font-size: 1.25rem;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-md);
  border-left: 4px solid var(--gold);
  border-right: 4px solid var(--gold);
}

/* ---------- Placeholder Content ---------- */
.placeholder-content {
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(201, 162, 39, 0.05) 10px, rgba(201, 162, 39, 0.05) 20px);
  border: none; /* 2px dashed var(--gold); */
  padding: var(--space-md);
  margin: var(--space-md) 0;
  text-align: center;
}

.placeholder-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

/* ---------- Highlight & Donate Boxes ---------- */
.highlight-box,
.donate-highlight {
  background: linear-gradient(135deg, var(--black-soft) 0%, var(--black) 100%);
  border: 1px solid var(--gold);
  padding: var(--space-lg);
  text-align: center;
  border-radius: var(--radius-md);
}

.highlight-box.centered { text-align: center; }
.donate-highlight h3 { color: var(--gold); margin-bottom: var(--space-sm); }

/* ---------- Sponsor Badge ---------- */
.sponsor-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xs);
  padding: var(--space-sm) 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.sponsor-badge span { font-style: italic; }
.sponsor-badge strong { color: var(--gold); }

/* ---------- Social Links ---------- */
.social-links {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: all var(--transition-fast);
  border-radius: var(--radius-sm);
}

.social-link:hover {
  background-color: var(--gold);
  color: var(--black);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--black);
  color: var(--white);
  padding: var(--space-lg) 0 var(--space-md);
  border-top: 1px solid var(--gold);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-section h4 {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.footer-section p,
.footer-section a {
  color: var(--gray-light);
  font-size: 0.95rem;
}

.footer-section a:hover { color: var(--gold); }

.footer-logo {
  max-width: 200px;
  margin-bottom: var(--space-sm);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--gray-dark);
  color: var(--gray);
  font-size: 0.85rem;
}

/* ---------- Page Header ---------- */
.page-header {
  padding-top: 180px;
  padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-lg);
  text-align: center;
  background-color: var(--black);
  color: var(--white);
  border-bottom: 1px solid var(--gold);
}

.page-header h1 {
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.page-header .subtitle { color: var(--gold-light); }

/* ---------- Video Container ---------- */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- FAQ Items ---------- */
.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--space-md);
}

.faq-item h3 { margin-bottom: var(--space-sm); }

/* ---------- Responsive ---------- */
@media (max-width: 968px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--black);
    flex-direction: column;
    padding: var(--space-md);
    border-bottom: 1px solid var(--gold);
  }
  
  .nav.active { display: flex; }
  .mobile-menu-btn { display: flex; }
  
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-section { align-items: center; }
  .sponsor-badge { align-items: center; }
  .social-links { justify-content: center; }
  .two-col { grid-template-columns: 1fr; }
  .hero-logo { max-width: 200px; }
}

@media (max-width: 600px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 4rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .card-grid { grid-template-columns: 1fr; }
}
