/* ==========================================================================
   Riverside County Black Chamber Health & Wellness Foundation
   Main Stylesheet
   ========================================================================== */

:root {
  --navy: #0f2a4a;
  --navy-dark: #0a1d33;
  --green: #1f6f3d;
  --green-dark: #164f2c;
  --green-light: #e8f3ec;
  --gold: #d9a441;
  --gold-dark: #b3822f;
  --cream: #faf7f0;
  --white: #ffffff;
  --gray-800: #2b2b2b;
  --gray-600: #5a5a5a;
  --gray-300: #d9d9d9;
  --gray-100: #f4f4f2;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius: 10px;
  --shadow-sm: 0 2px 10px rgba(15,42,74,0.08);
  --shadow-md: 0 10px 30px rgba(15,42,74,0.14);
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

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

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.eyebrow {
  display: inline-block;
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 16px; }
.section-lead { color: var(--gray-600); font-size: 1.05rem; max-width: 680px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); transform: translateY(-2px); }
.btn-green { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); }
.btn-navy-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-navy-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 56px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text .brand-name { font-family: var(--font-heading); font-weight: 700; color: var(--navy); font-size: 1.02rem; }
.brand-text .brand-sub { font-size: 0.68rem; color: var(--green-dark); font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav a {
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--green-dark); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 11px 22px; font-size: 0.82rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center 35%;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,29,51,0.94) 0%, rgba(10,29,51,0.75) 42%, rgba(10,29,51,0.35) 75%, rgba(10,29,51,0.15) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 640px; padding: 90px 24px; }
.hero-inner .eyebrow { color: var(--gold); }
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: 18px; }
.hero h1 .accent { color: var(--gold); }
.hero p.lead { font-size: 1.05rem; margin-bottom: 14px; opacity: 0.95; }
.hero p.gold-sub { color: var(--gold); font-style: italic; font-weight: 500; margin-bottom: 20px; }
.hero .tagline { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 26px; }
.hero .tagline .eq { color: var(--gold); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,29,51,0.92) 0%, rgba(15,42,74,0.75) 100%);
}
.page-hero-inner { position: relative; z-index: 2; max-width: 720px; padding: 60px 24px; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.page-hero p { margin-top: 14px; opacity: 0.95; max-width: 600px; }
.breadcrumb { font-size: 0.85rem; margin-bottom: 12px; opacity: 0.85; }
.breadcrumb a:hover { text-decoration: underline; }

/* ==========================================================================
   Icon Row (5 pillars)
   ========================================================================== */
.icon-row {
  background: var(--cream);
  border-bottom: 1px solid var(--gray-300);
}
.icon-row .grid5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding: 40px 0;
}
.icon-item { text-align: center; padding: 0 10px; }
.icon-item .icon-circle {
  width: 58px; height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.4rem;
}
.icon-item h4 { font-size: 0.95rem; margin-bottom: 6px; }
.icon-item p { font-size: 0.82rem; color: var(--gray-600); }

/* ==========================================================================
   Split sections
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.split.reverse .split-media { order: 2; }
.split.reverse .split-text { order: 1; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; height: 100%; object-fit: cover; }
.split-media { height: 420px; }
.split-media.tall { height: 480px; }

.welcome-block p { color: var(--gray-600); margin-bottom: 14px; }
.welcome-block p:last-of-type strong { color: var(--navy); }

.vision-banner { background: var(--green); color: var(--white); }
.vision-banner .split-text .eyebrow { color: var(--gold); }
.vision-banner h2 { color: var(--white); }
.vision-banner p { color: rgba(255,255,255,0.92); margin-bottom: 24px; }

.partners-banner { background: var(--green-light); }
.partners-banner .split-text p { color: var(--gray-600); margin-bottom: 24px; }

/* ==========================================================================
   Cards
   ========================================================================== */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--gray-300);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card .card-img { height: 190px; overflow: hidden; }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.card .card-body { padding: 22px; }
.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--gray-600); font-size: 0.9rem; }
.card .tag {
  display: inline-block; background: var(--green-light); color: var(--green-dark);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 4px 10px; border-radius: 20px; margin-bottom: 10px;
}

/* Pillars grid (used on About / Work pages) */
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pillar-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease;
}
.pillar-card:hover { transform: translateY(-6px); }
.pillar-card .icon-circle {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; font-size: 1.6rem; color: var(--white);
}
.pillar-card.navy .icon-circle { background: var(--navy); }
.pillar-card.green .icon-circle { background: var(--green); }
.pillar-card.gold .icon-circle { background: var(--gold-dark); }
.pillar-card.blue .icon-circle { background: #1c4f7c; }
.pillar-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.pillar-card p { color: var(--gray-600); font-size: 0.9rem; }

/* Values / checklist */
.check-list { list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.check-list li i { color: var(--green); margin-top: 3px; }

/* Stats */
.stats-strip { background: var(--navy); color: var(--white); }
.stats-strip .grid4 { text-align: center; }
.stats-strip .stat-num { font-family: var(--font-heading); font-size: 2.4rem; color: var(--gold); }
.stats-strip .stat-label { font-size: 0.85rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.04em; }

/* Testimonial / quote */
.quote-block {
  background: var(--cream);
  border-left: 5px solid var(--gold);
  padding: 30px 34px;
  border-radius: var(--radius);
  font-style: italic;
  color: var(--navy);
  font-size: 1.1rem;
}

/* Timeline (Our Journey) */
.timeline { position: relative; padding-left: 30px; border-left: 3px solid var(--gold); }
.timeline-item { position: relative; margin-bottom: 34px; padding-left: 20px; }
.timeline-item::before {
  content: '';
  position: absolute; left: -39px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--green); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--gold);
}
.timeline-item h4 { margin-bottom: 6px; }
.timeline-item p { color: var(--gray-600); font-size: 0.92rem; }

/* Partner logos strip */
.partner-logos {
  display: flex; align-items: center; justify-content: center; gap: 50px; flex-wrap: wrap;
  padding: 20px 0;
}
.partner-logos .plogo {
  font-family: var(--font-heading); font-weight: 700; color: var(--navy);
  font-size: 1.1rem; opacity: 0.75; letter-spacing: 0.02em;
}

/* Forms */
.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--gray-300); border-radius: 6px;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--gray-800);
  transition: border-color 0.2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 0.82rem; color: var(--gray-600); margin-top: 14px; }
.form-success {
  display: none; background: var(--green-light); border: 1px solid var(--green);
  color: var(--green-dark); padding: 16px 20px; border-radius: 8px; margin-bottom: 20px; font-weight: 600;
}
.form-success.show { display: block; }

.contact-info-card { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 40px; }
.contact-info-card h3 { color: var(--white); margin-bottom: 20px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.contact-info-item i { color: var(--gold); font-size: 1.2rem; margin-top: 3px; }
.contact-info-item strong { display: block; margin-bottom: 3px; }
.contact-info-item span, .contact-info-item a { color: rgba(255,255,255,0.85); font-size: 0.92rem; }
.social-row { display: flex; gap: 14px; margin-top: 26px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.social-row a:hover { background: var(--gold); color: var(--navy-dark); }

/* CTA banner */
.cta-banner {
  background: var(--navy-dark);
  color: var(--white);
  text-align: center;
  padding: 60px 0;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner .gold-line { color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.cta-banner .script-line { font-family: var(--font-heading); font-style: italic; font-size: 1.3rem; color: var(--white); margin: 18px 0 28px; }
.cta-banner-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Flyer image frame (President's Message) */
.flyer-frame { border: 6px solid var(--navy); border-radius: 4px; box-shadow: var(--shadow-md); overflow: hidden; }
.flyer-frame img { width: 100%; }

/* ==========================================================================
   Five-Step Navigation Model (Healthy Aging)
   ========================================================================== */
.steps-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.step-item {
  text-align: center; padding: 26px 16px; background: var(--white);
  border: 1px solid var(--gray-300); border-radius: var(--radius);
  position: relative; box-shadow: var(--shadow-sm);
}
.step-item:not(:last-child)::after {
  content: '\2192'; position: absolute; right: -24px; top: 44px;
  color: var(--gold-dark); font-size: 1.3rem; font-weight: 700;
}
.step-num {
  width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem;
}
.step-item h4 { font-size: 0.98rem; margin-bottom: 8px; }
.step-item p { font-size: 0.82rem; color: var(--gray-600); }

/* ==========================================================================
   Board of Directors
   ========================================================================== */
.board-card {
  background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius);
  padding: 32px 26px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease; height: 100%;
}
.board-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.board-card .icon-circle {
  width: 78px; height: 78px; border-radius: 50%; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.7rem;
}
.board-card.exec .icon-circle { background: var(--gold-dark); color: var(--navy-dark); }
.board-card .board-logo {
  width: 84px; height: 84px; border-radius: 50%; background: var(--white);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
  border: 2px solid var(--gold); box-shadow: var(--shadow-sm); overflow: hidden;
}
.board-card .board-logo img { width: 62px; height: 62px; object-fit: contain; }
.board-card h3 { font-size: 1.12rem; margin-bottom: 4px; }
.board-card .role {
  display: block; color: var(--gold-dark); font-weight: 700; font-size: 0.76rem;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px;
}
.board-card p { color: var(--gray-600); font-size: 0.88rem; text-align: left; margin-bottom: 10px; }
.board-card p:last-child { margin-bottom: 0; }
.board-card-horizontal {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 900px; margin-left: auto; margin-right: auto; padding: 32px 36px;
}
.board-card-horizontal .board-logo { margin: 0 auto 16px; flex-shrink: 0; }
.board-card-horizontal .board-card-body { width: 100%; }
.board-card-horizontal h3 { text-align: center; }
.board-card-horizontal .role { text-align: center; }
.board-card-horizontal .board-card-body p { text-align: left; }
.board-tagline {
  text-align: center; font-family: var(--font-heading); font-style: italic;
  font-size: 1.3rem; color: var(--navy); margin-top: 26px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--green-dark); color: rgba(255,255,255,0.9); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { height: 50px; }
.footer-brand span { font-family: var(--font-heading); font-weight: 700; color: var(--white); font-size: 1rem; }
.footer-col h4 { color: var(--gold); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.82); transition: color 0.2s ease; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-desc { font-size: 0.88rem; color: rgba(255,255,255,0.75); margin-bottom: 18px; }
.footer-contact { margin-bottom: 18px; }
.footer-contact p {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.86rem; color: rgba(255,255,255,0.8);
  margin-bottom: 10px; line-height: 1.4;
}
.footer-contact p i { color: var(--gold); width: 14px; margin-top: 3px; flex-shrink: 0; }
.footer-contact p a { color: rgba(255,255,255,0.8); transition: color 0.2s ease; }
.footer-contact p a:hover { color: var(--gold); }
.newsletter-form { display: flex; gap: 8px; margin-bottom: 18px; }
.newsletter-form input {
  flex: 1; padding: 11px 14px; border-radius: 6px; border: none; font-size: 0.88rem;
}
.newsletter-form button {
  background: var(--gold); color: var(--navy-dark); border: none; padding: 11px 18px;
  border-radius: 6px; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; cursor: pointer;
  transition: background 0.2s ease;
}
.newsletter-form button:hover { background: var(--gold-dark); }
.newsletter-msg { font-size: 0.82rem; color: var(--gold); margin-bottom: 10px; min-height: 1.2em; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 0.82rem; color: rgba(255,255,255,0.65);
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 36px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 36px; }
.bg-cream { background: var(--cream); }
.bg-gray { background: var(--gray-100); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: 1; }
  .split.reverse .split-text { order: 2; }
  .split-media { height: 320px; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .icon-row .grid5 { grid-template-columns: repeat(3, 1fr); }
  .steps-row { grid-template-columns: repeat(3, 1fr); }
  .step-item:not(:last-child)::after { display: none; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .header-cta .btn:not(.mobile-visible) { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); padding: 20px 24px; gap: 18px;
    box-shadow: var(--shadow-md);
  }
  .hero {
    min-height: 560px;
    background-color: var(--navy-dark);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  .hero-inner { padding: 60px 20px; }
  .icon-row .grid5 { grid-template-columns: repeat(2, 1fr); }
  .grid4, .grid3, .grid2 { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding-bottom: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .stats-strip .grid4 { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .nav-wrap { flex-wrap: wrap; }
  .brand img { height: 44px; }
  .brand-text .brand-name { font-size: 0.85rem; }
  .brand-text .brand-sub { font-size: 0.58rem; }
  .hero-actions .btn { white-space: normal; text-align: center; }
  .steps-row { grid-template-columns: 1fr; }
  .board-card-horizontal { padding: 30px 22px; }
}
