/* ============================================================
   QCVC — Queen City Volunteer Connect — Shared Styles
   ============================================================ */

:root {
  --green-dark:   #1B4332;
  --green-mid:    #2D6A4F;
  --green-light:  #40916C;
  --green-pale:   #D8F3DC;
  --teal:         #52B788;
  --text-dark:    #1a1a1a;
  --text-mid:     #444;
  --text-light:   #777;
  --bg-page:      #f7f8f7;
  --bg-white:     #ffffff;
  --border:       #e0e8e2;
  --shadow:       0 2px 12px rgba(0,0,0,0.08);
  --radius:       10px;
  --nav-h:        68px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-page);
  color: var(--text-mid);
  line-height: 1.6;
  font-size: 16px;
}

/* ── Navigation ─────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-dark);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 1;
}
.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  background: #000;
}
.nav-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.nav-name span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--teal);
  letter-spacing: 0.4px;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  color: #c8e6d0;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  background: var(--green-dark);
  color: #fff;
  padding: 72px 32px 80px;
  text-align: center;
}
.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  object-fit: cover;
  background: #000;
  margin: 0 auto 24px;
  display: block;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.hero h1 {
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.hero .tagline {
  font-size: clamp(16px, 3vw, 20px);
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 20px;
}
.hero .hero-sub {
  font-size: 16px;
  color: #a8d5b5;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Page header (inner pages) ──────────────────────────────── */
.page-header {
  background: var(--green-dark);
  color: #fff;
  padding: 48px 32px;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 800;
}
.page-header p {
  color: var(--teal);
  margin-top: 8px;
  font-size: 16px;
}

/* ── Main content wrapper ───────────────────────────────────── */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ── Section titles ─────────────────────────────────────────── */
.section {
  margin-top: 64px;
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-light);
  margin-bottom: 8px;
}
.section h2 {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section > p {
  color: var(--text-mid);
  font-size: 16px;
  max-width: 700px;
  line-height: 1.75;
  margin-bottom: 12px;
}

/* ── Cards grid ─────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card-icon {
  font-size: 28px;
  margin-bottom: 14px;
}
.card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ── Steps ──────────────────────────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-mid);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.step-body p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ── Consent box (highlighted) ──────────────────────────────── */
.consent-box {
  background: var(--green-pale);
  border: 1.5px solid var(--teal);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 28px;
}
.consent-box h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
}
.consent-box p {
  font-size: 15px;
  color: var(--green-dark);
  line-height: 1.75;
  margin-bottom: 8px;
}
.consent-box p:last-child { margin-bottom: 0; }

/* ── SMS bubble mockup ──────────────────────────────────────── */
.sms-examples {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}
.sms-bubble-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sms-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  padding-left: 4px;
}
.sms-bubble {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px 16px 16px 4px;
  padding: 14px 18px;
  font-size: 15px;
  color: var(--text-dark);
  box-shadow: var(--shadow);
  max-width: 480px;
  line-height: 1.6;
}

/* ── Prose content (terms / privacy pages) ──────────────────── */
.prose {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 48px;
  box-shadow: var(--shadow);
  margin-top: 40px;
}
.prose section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.prose section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.prose h2 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-light);
  margin-bottom: 10px;
}
.prose p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 10px;
}
.prose p:last-child { margin-bottom: 0; }
.prose ul {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  padding-left: 22px;
  margin-top: 8px;
}
.prose ul li { margin-bottom: 6px; }
.prose strong { color: var(--text-dark); }
.prose a { color: var(--green-mid); }
.prose .example-msg {
  background: var(--bg-page);
  border-left: 3px solid var(--teal);
  border-radius: 0 6px 6px 0;
  padding: 12px 16px;
  margin: 12px 0;
  font-size: 14px;
  color: var(--text-dark);
  font-style: italic;
}

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--green-dark);
  color: #a8d5b5;
  padding: 40px 32px;
  text-align: center;
  font-size: 14px;
}
footer .footer-brand {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
footer nav {
  position: static;
  background: none;
  height: auto;
  justify-content: center;
  padding: 0;
  box-shadow: none;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
footer nav a {
  color: #a8d5b5;
  text-decoration: none;
  padding: 4px 10px;
  font-size: 14px;
}
footer nav a:hover { color: #fff; }
footer .footer-copy {
  color: #6aab82;
  font-size: 13px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  nav { padding: 0 16px; }
  .nav-links { display: none; }
  .hero { padding: 48px 20px 56px; }
  .prose { padding: 24px 20px; }
  main { padding: 0 16px 60px; }
}
