/* ============================================================
   VoiceGivers Choir — Shared Stylesheet
   ============================================================ */

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

:root {
  --navy:       #1a2456;
  --navy-light: #2a3a70;
  --navy-pale:  #eef0f7;
  --text:       #2a2a2a;
  --text-light: #5a5a5a;
  --bg:         #ffffff;
  --bg-alt:     #f7f7f5;
  --border:     #e0e0d8;
  --gold:       #b8902a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

/* ── TYPOGRAPHY ─────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  line-height: 1.2;
}

h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }

p  { color: var(--text-light); font-size: 1rem; line-height: 1.75; }

a  { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--navy-light); }

em { font-style: italic; }

/* ── LAYOUT HELPERS ─────────────────────────────────── */

.container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 4.5rem 2rem; }

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.navy-rule {
  width: 48px;
  height: 2px;
  background: var(--navy);
  margin: 0 0 2rem;
}

.text-center { text-align: center; }
.navy-rule.centered { margin: 0 auto 2rem; }

/* ── NAVIGATION ─────────────────────────────────────── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  height: 64px;
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-right { justify-content: flex-end; }

.nav-left  li a,
.nav-right li a {
  display: block;
  padding: 0 0.9rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.nav-left  li a:hover,
.nav-right li a:hover,
.nav-left  li a.active,
.nav-right li a.active { color: var(--gold); text-decoration: none; }

.nav-logo {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--navy);
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-logo:hover { color: var(--navy-light); text-decoration: none; }

/* Mobile nav */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--navy);
}

@media (max-width: 820px) {
  .nav-inner {
    grid-template-columns: 1fr auto;
    height: 56px;
  }
  .nav-left, .nav-right { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-logo { text-align: left; }
}

/* ── HERO ────────────────────────────────────────────── */

.hero {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/choir-hero.jpg');
  background-size: cover;
  background-position: center 25%;
  filter: brightness(0.65);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,36,86,0.15) 0%, rgba(26,36,86,0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 2rem;
}

.hero-content h1 {
  color: white;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1rem;
}

.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
}

/* ── PAGE HERO (subpages) ────────────────────────────── */

.page-hero {
  background: var(--navy);
  padding: 3rem 2rem;
  text-align: center;
}

.page-hero h1 {
  color: white;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
}

/* ── CARDS / PANELS ──────────────────────────────────── */

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2rem;
}

/* ── BUTTONS ─────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-navy {
  background: var(--navy);
  color: white;
  border: 2px solid var(--navy);
}

.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: white;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: white;
  text-decoration: none;
}

/* ── FOOTER ──────────────────────────────────────────── */

footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: white;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-social a {
  color: rgba(255,255,255,0.65);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-social a:hover { color: white; text-decoration: none; }

.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
}

/* ── UTILITY ─────────────────────────────────────────── */

.bg-alt { background: var(--bg-alt); }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
