/*
Theme Name: Operation James 2
Theme URI: https://www.operationjames2.org
Author: Operation James 2
Author URI: https://www.operationjames2.org
Description: A dark, textured theme for Operation James 2 — a faith-based nonprofit providing free home repairs.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oj2
*/

/* ============================================
   OPERATION JAMES 2 — Dark Textured Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800;900&family=Lora:ital,wght@0,400;0,500;1,400;1,500&display=swap');

:root {
  --bg-darkest: #0a0a0a;
  --bg-dark: #111111;
  --bg-mid: #181818;
  --bg-card: #1e1e1e;
  --bg-card-hover: #262626;
  --border: rgba(201,168,76,0.15);
  --border-light: rgba(255,255,255,0.08);
  --gold: #C9A84C;
  --gold-dim: #a8893d;
  --gold-glow: rgba(201,168,76,0.3);
  --red: #8B1A1A;
  --red-hover: #a62222;
  --white: #f5f0e8;
  --white-bright: #f5f0e8;
  --gray: #9a9088;
  --gray-dim: #6b635b;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Lora', serif;
  --max-width: 1280px;
  --header-height: 0px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--white);
  background: var(--bg-darkest) url('images/texture.jpg') center / cover no-repeat fixed;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.site-header,
.hero,
section,
footer {
  position: relative;
  z-index: 3;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol, li { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--white-bright);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* Utility classes */
.gold { color: var(--gold); }
.text-center { text-align: center; }

/* ============================================
   HEADER
   ============================================ */

.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  background: rgba(10,10,10,0.5);
  overflow: visible;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  height: 80px;
}

.header-logo {
  position: relative;
  z-index: 101;
}

.header-logo img {
  height: 100px;
  width: auto;
  filter: brightness(0) invert(1);
  position: relative;
  top: 20px;
}

.main-nav {
  display: flex;
  align-items: center;
}

/* WordPress nav menu resets */
.main-nav ul,
.main-nav li,
.main-nav div.menu,
.footer-col ul,
.footer-col li,
.menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav ul,
.main-nav .menu,
.main-nav div.menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav li {
  display: inline-block;
}

.footer-col ul,
.footer-col .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  display: block;
}

.main-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 6px 24px;
  transition: color 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: var(--white-bright);
}

.header-ctas { display: flex; gap: 8px; }

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

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--white-bright);
  border-radius: 1px;
  transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.85rem;
  color: var(--white-bright);
}

.btn-gold {
  background: var(--gold);
  color: var(--bg-darkest);
}

.btn-gold:hover {
  background: var(--gold-dim);
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(15,15,15,0.7);
  border: none;
  color: var(--white-bright);
}

.btn-outline:hover {
  background: rgba(25,25,25,0.9);
}

.btn-red {
  background: var(--red);
  color: var(--white-bright);
}

.btn-red:hover {
  background: var(--red-hover);
}

.btn-lg {
  padding: 14px 36px;
  font-size: 1.4rem;
  letter-spacing: 0.14em;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.8rem;
}

/* ============================================
   HERO
   ============================================ */

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10,10,10,0.75) 0%,
    rgba(10,10,10,0.45) 30%,
    rgba(10,10,10,0.5) 60%,
    rgba(10,10,10,0.85) 85%,
    rgba(10,10,10,1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.hero h1 {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1.0;
  margin-bottom: 56px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.hero h1 .gold { color: var(--gold); }

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--gray);
  font-style: italic;
}

.hero-tagline .gold {
  font-style: italic;
}

.page-hero {
  min-height: 50vh;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.page-hero-short {
  min-height: 35vh;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  padding: 100px 0;
  position: relative;
}

.section-darker {
  background: rgba(10,10,10,0.75);
}

.section-dark {
  background: rgba(17,17,17,0.7);
}

.section-mid {
  background: rgba(24,24,24,0.65);
}

.section-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--white);
  max-width: 800px;
  line-height: 1.7;
}

.section-subtitle strong {
  color: var(--white-bright);
  font-weight: 600;
}

.section-header { margin-bottom: 40px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ============================================
   STATS ROW
   ============================================ */

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 36px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.stat-item {
  text-align: center;
  padding: 20px 16px;
  border-right: 1px solid var(--border-light);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(3.5rem, 7vw, 5rem);
  color: var(--white-bright);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-number .stat-unit {
  font-size: 0.35em;
  letter-spacing: 0.05em;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--white);
  line-height: 1.5;
}

.stat-source {
  font-size: 0.85rem;
  color: var(--gray);
  font-style: italic;
  margin-top: 6px;
}

.stats-callout {
  text-align: center;
  margin-top: 40px;
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--white);
}

.stats-callout .gold { color: var(--gold); font-weight: 600; }
.stats-callout strong { color: var(--white-bright); font-weight: 700; }

/* ============================================
   STEP ITEMS (How It Works)
   ============================================ */

.step-description {
  color: var(--gray);
  margin-top: 12px;
  font-size: 0.95rem;
}

.stat-number--step {
  font-size: 3.5rem;
}

/* ============================================
   SERVICE CARDS
   ============================================ */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(200,190,170,0.3);
  padding: 40px 24px;
  text-align: center;
}

.service-card-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
}

.service-card-icon img {
  max-width: 140px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.service-card h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  letter-spacing: 0.06em;
  color: var(--bg-darkest);
}

.service-card p {
  font-size: 1.05rem;
  color: #4a4540;
  line-height: 1.5;
}

.service-tagline {
  text-align: center;
  margin-top: 56px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
}

.service-tagline .gold { color: var(--gold); }

/* ============================================
   TWO-COLUMN LAYOUTS
   ============================================ */

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-image {
  height: 450px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border-light);
}

.split-text .section-label { margin-bottom: 16px; }

.split-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.split-text p {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 14px;
}

.verse-block {
  border-left: 3px solid var(--gold);
  padding: 20px 24px;
  margin: 28px 0;
  background: rgba(201,168,76,0.04);
}

.verse-block p {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 6px;
}

.verse-block cite {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}

/* ============================================
   STORY / FEATURED
   ============================================ */

.story-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border-light);
}

.story-image {
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

.story-content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-card);
}

.story-content h3 { font-size: 1.8rem; margin-bottom: 16px; }
.story-content p { font-size: 1.1rem; color: var(--gray); line-height: 1.8; margin-bottom: 12px; }

/* ============================================
   FORMS
   ============================================ */

.form-section { max-width: 720px; margin: 0 auto; }
.form-section--wide { max-width: none; }

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 10px;
}

.form-group label .required { color: var(--gold); }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--white);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 0.95rem; color: var(--gray-dim); margin-top: 6px; }
.form-divider { border: none; border-top: 1px solid var(--border-light); margin: 40px 0; }

/* Fluent Forms custom divider */
.vertical-divider,
.fluentform .vertical-divider {
  border: none !important;
  border-top: 1px solid var(--border-light) !important;
  margin: 40px 0 !important;
  width: 100% !important;
  height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.form-section-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  color: var(--white-bright);
}

.checkbox-group { display: flex; flex-direction: column; gap: 12px; }
.checkbox-group label { display: flex; align-items: center; gap: 12px; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 1.05rem; cursor: pointer; }
.checkbox-group input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--gold); }

.file-upload {
  border: 2px dashed var(--border-light);
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.file-upload:hover { border-color: var(--gold-dim); }
.file-upload p { color: var(--gray); font-size: 1.05rem; }

/* Fluent Forms overrides for dark theme */
.fluentform .ff-el-input--label label,
.fluentform label {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: var(--white) !important;
}

.fluentform input,
.fluentform textarea,
.fluentform select,
.fluentform .ff-el-form-control {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-light) !important;
  color: var(--white) !important;
  font-family: var(--font-body) !important;
  font-size: 1.05rem !important;
  padding: 16px 20px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.fluentform input:focus,
.fluentform textarea:focus,
.fluentform select:focus,
.fluentform .ff-el-form-control:focus {
  border-color: var(--gold) !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Section break headers — match form-section-title */
.fluentform .ff-el-section-break h3,
.fluentform .ff-el-section-break .ff-el-section-title,
.fluentform .ff_section_break h3 {
  font-family: var(--font-heading) !important;
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: var(--white-bright) !important;
  border: none !important;
  border-bottom: none !important;
  margin-bottom: 8px !important;
  padding-bottom: 0 !important;
}

/* Remove ALL hr/divider lines under section break titles */
.fluentform .ff-el-section-break hr,
.fluentform .ff_section_break hr,
.fluentform .ff-section_break hr,
.fluentform hr {
  display: none !important;
}

/* Add divider line ABOVE each section break (between sections) */
.fluentform .ff-el-section-break,
.fluentform .ff_section_break {
  border-top: 1px solid var(--border-light) !important;
  padding-top: 40px !important;
  margin-top: 40px !important;
  margin-bottom: 24px !important;
}

/* No divider above the first section break */
.fluentform .ff-el-group:first-child .ff-el-section-break,
.fluentform .ff-el-group:first-child .ff_section_break,
.fluentform > .ff-el-section-break:first-child,
.fluentform > .ff_section_break:first-child,
.fluentform > .ff-el-group:first-child {
  border-top: none !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Section break description text */
.fluentform .ff-el-section-break .ff-section_break_desk,
.fluentform .ff_section_break .ff-section_break_desk {
  color: var(--gray) !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
}

/* Required asterisks — gold instead of orange/red */
.fluentform .ff-el-required,
.fluentform span.ff-el-required,
.fluentform .asterisk-right label::after,
.fluentform .ff-el-is-required .ff-el-input--label label::after,
.fluentform .ff_required_star,
.fluentform label .required {
  color: var(--gold) !important;
}

/* Placeholder text */
.fluentform input::placeholder,
.fluentform textarea::placeholder {
  color: var(--gray-dim) !important;
  opacity: 1 !important;
}

/* Select dropdown arrow */
.fluentform select,
.fluentform select.ff-el-form-control {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a9088' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 20px center !important;
  padding-right: 48px !important;
}

/* Fluent form container spacing */
.fluentform .ff-el-group {
  margin-bottom: 24px !important;
}

/* Multi-column rows */
.fluentform .ff-t-container {
  gap: 20px !important;
}

/* Help text */
.fluentform .ff-el-help-message {
  color: var(--gray-dim) !important;
  font-size: 0.85rem !important;
}

/* Checkboxes and radios */
.fluentform .ff-el-form-check label,
.fluentform .ff-el-form-check-label {
  color: var(--white) !important;
  font-family: var(--font-body) !important;
  font-size: 1.05rem !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
}

.fluentform input[type="checkbox"],
.fluentform input[type="radio"] {
  accent-color: var(--gold) !important;
}

/* File upload */
.fluentform .ff-el-input--content .ff_file_upload_holder {
  border: 2px dashed var(--border-light) !important;
  background: transparent !important;
  padding: 30px !important;
}

.fluentform .ff_file_upload_holder .ff_upload_btn {
  background: var(--bg-card) !important;
  color: var(--white) !important;
  border: 1px solid var(--border-light) !important;
}

/* Success message */
.fluentform .ff-message-success {
  background: rgba(201,168,76,0.1) !important;
  border: 1px solid var(--gold) !important;
  color: var(--white) !important;
}

/* Error messages */
.fluentform .ff-el-is-error input,
.fluentform .ff-el-is-error textarea,
.fluentform .ff-el-is-error select {
  border-color: var(--red) !important;
}

.fluentform .ff-el-is-error .error {
  color: var(--red) !important;
  font-size: 0.85rem !important;
  margin-top: 6px !important;
}

/* Submit button */
.fluentform .ff-btn-submit {
  background: var(--gold) !important;
  color: var(--bg-darkest) !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.14em !important;
  padding: 14px 36px !important;
  font-size: 1.4rem !important;
  border: none !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: background 0.25s ease !important;
}

.fluentform .ff-btn-submit:hover {
  background: var(--gold-dim) !important;
}

/* ============================================
   VOLUNTEER CARDS
   ============================================ */

.volunteer-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.vol-card {
  background: var(--white);
  border: 1px solid rgba(200,190,170,0.3);
  padding: 36px 28px;
}

.vol-card:hover { border-color: rgba(200,190,170,0.5); }
.vol-card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.vol-card h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--bg-darkest); }
.vol-card ul { list-style: none; }
.vol-card ul li { padding: 8px 0; color: #4a4540; font-size: 1.05rem; border-bottom: 1px solid rgba(200,190,170,0.3); }
.vol-card ul li:last-child { border: none; }

/* ============================================
   DONATE
   ============================================ */

.donate-box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 48px;
}

.donate-box h3 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 24px;
}

.donate-box-text {
  color: var(--gray);
  text-align: center;
  line-height: 1.8;
  margin-bottom: 24px;
}

.donate-box-text strong {
  color: var(--white);
}

.donate-address {
  text-align: center;
  padding: 28px;
  background: var(--bg-mid);
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.donate-address-name {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--white);
}

.donate-address-lines {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.6;
}

.donate-box-note {
  color: var(--gray-dim);
  text-align: center;
  font-size: 0.9rem;
}

.donate-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.donate-info-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
}

.donate-info-item .icon { font-size: 2.5rem; margin-bottom: 16px; }
.donate-info-item h4 { font-size: 1rem; margin-bottom: 8px; }
.donate-info-item p { color: var(--gray); font-size: 0.95rem; line-height: 1.5; }

/* ============================================
   CONTACT
   ============================================ */

.contact-info-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.contact-info-link {
  color: var(--gold);
}

.contact-sidebar-box {
  padding: 28px;
  background: var(--bg-card);
  border-left: 3px solid var(--gold);
}

.contact-sidebar-box h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.contact-sidebar-box p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ============================================
   TEAM GRID
   ============================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card { text-align: center; }

.team-card-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-dim); font-size: 2.5rem;
}

.team-card h4 { font-size: 1rem; margin-bottom: 4px; }
.team-card p { color: var(--gray); font-size: 0.85rem; }

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
  background: rgba(24,24,24,0.65);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 16px; }
.cta-banner p { font-size: 1rem; color: var(--gray); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content .legal-date {
  color: var(--gray);
  margin-bottom: 32px;
  font-style: italic;
}

.legal-content h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.legal-content p {
  color: var(--gray);
  margin-bottom: 24px;
  line-height: 1.8;
}

.legal-content a:not(.btn) {
  color: var(--gold);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: rgba(10,10,10,0.85);
  border-top: 1px solid var(--border-light);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand img { height: 50px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.95rem; line-height: 1.7; margin-top: 16px; color: var(--gray-dim); }

.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--border-light);
  color: var(--gray-dim);
  transition: all 0.2s ease;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  color: var(--gray-dim);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 5px 0;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 32px;
  font-size: 0.85rem;
  color: var(--gray-dim);
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.footer-bottom .verse { font-style: italic; color: var(--gold-dim); }

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-size: 0.75rem;
}

.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer-legal-links li { list-style: none; }
.footer-legal-links a { color: var(--gray-dim); transition: color 0.2s ease; padding: 0; }
.footer-legal-links a:hover { color: var(--white); }

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeInUp 0.8s ease forwards; }
.fade-in-d1 { animation-delay: 0.15s; opacity: 0; }
.fade-in-d2 { animation-delay: 0.3s; opacity: 0; }
.fade-in-d3 { animation-delay: 0.45s; opacity: 0; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .main-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-darkest);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 200;
  }

  .site-header.menu-open .main-nav { display: flex; }

  .main-nav ul,
  .main-nav .menu,
  .main-nav div.menu {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .main-nav li {
    display: block;
    width: 100%;
    text-align: center;
  }

  .main-nav a {
    font-size: 1.5rem;
    padding: 20px 32px;
    color: var(--white);
    display: block;
  }

  .header-ctas { display: none; }

  .menu-toggle {
    display: flex;
    z-index: 300;
  }

  .hero h1 { font-size: 3.5rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-featured { grid-template-columns: 1fr; }
  .volunteer-categories { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .donate-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.6rem; }
  .hero-buttons { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
  section { padding: 60px 0; }
  .form-row { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border-light); }
  .stat-item:last-child { border-bottom: none; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-row, .footer-legal { flex-direction: column; gap: 8px; text-align: center; }
}
