/* ============================================
   POSTURED IN KINDNESS — Main Stylesheet
   Inspired by charity:water — bold, clean, impactful
   Brand colors: Gold/Yellow #F5C518, Deep Black #1a1a1a, White #fff
   ============================================ */

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

:root {
  --gold: #F5C518;
  --gold-dark: #d4a90e;
  --black: #1a1a1a;
  --dark: #111111;
  --gray: #555;
  --light-gray: #f7f7f5;
  --white: #ffffff;
  --font-body: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--black); background: var(--white); line-height: 1.7; }

/* ---- UTILITIES ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container.narrow { max-width: 760px; }
.section { padding: 6rem 0; }
.center { text-align: center; }
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 0.75rem; display: block; }
.eyebrow.light { color: var(--gold); }
h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; margin-bottom: 1.5rem; }
h2.light, h3.light { color: var(--white); }
h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; color: var(--gray); font-size: 1.05rem; }
p.light { color: rgba(255,255,255,0.8); }
.section-sub { font-size: 1.15rem; max-width: 700px; margin: 0 auto 3rem; color: var(--gray); }
.section-sub.light { color: rgba(255,255,255,0.75); }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }

.bg-gold { background: var(--gold); }
.bg-gold p, .bg-gold .section-sub { color: rgba(0,0,0,0.7); }
.bg-dark { background: var(--dark); }
.bg-light { background: var(--light-gray); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245,197,24,0.4); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-call { background: #25a244; color: #fff; border-color: #25a244; font-weight: 700; letter-spacing: 0.02em; }
.btn-call:hover { background: #1e8a38; border-color: #1e8a38; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,162,68,0.4); }
.btn.full-width { width: 100%; text-align: center; }

/* Floating call bubble */
.call-bubble {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25a244;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  padding: 14px 22px 14px 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  animation: bubble-pulse 2.5s infinite;
}
.call-bubble:hover {
  background: #1e8a38;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 30px rgba(37,162,68,0.5);
}
.call-bubble-icon { font-size: 1.25rem; }
.call-bubble-label { white-space: nowrap; }
@keyframes bubble-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,162,68,0.35); }
  50% { box-shadow: 0 6px 32px rgba(37,162,68,0.65); }
}
@media (max-width: 480px) {
  .call-bubble { padding: 14px 18px; }
  .call-bubble-label { display: none; }
  .call-bubble { border-radius: 50%; width: 58px; height: 58px; justify-content: center; }
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.center .hero-buttons { justify-content: center; }

/* ---- NAV ---- */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.25rem 2rem;
  transition: var(--transition);
  background: transparent;
}
#navbar.scrolled {
  background: var(--dark);
  padding: 0.75rem 2rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.5rem; color: var(--white); font-weight: 800; font-size: 1.1rem; }
.logo-icon { font-size: 1.4rem; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.88); font-size: 0.88rem; font-weight: 500; transition: var(--transition); }
.nav-links a:hover { color: var(--gold); }
.nav-cta { background: var(--gold); color: var(--black) !important; padding: 0.5rem 1.25rem; border-radius: 50px; font-weight: 700 !important; }
.nav-cta:hover { background: var(--gold-dark) !important; }
.nav-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
.logo-img { height: 40px; width: 40px; border-radius: 50%; object-fit: cover; }
.board-photo-img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; display: block; border: 3px solid var(--gold); }
.org-photo { width: 100%; border-radius: var(--radius); object-fit: cover; max-height: 420px; }
.org-photo.center-placeholder { max-width: 600px; margin: 0 auto 3rem; display: block; }
.family-photo-img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; margin: 0 auto 0.75rem; display: block; border: 3px solid var(--gold); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.gallery-item { border-radius: var(--radius); overflow: hidden; background: var(--light-gray); }
.gallery-photo { width: 100%; height: 260px; object-fit: cover; display: block; }
.gallery-caption { padding: 0.75rem 1rem; font-size: 0.88rem; color: var(--gray); margin: 0; }
.gallery-placeholder { min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; border: 2px dashed #ddd; color: #bbb; text-align: center; padding: 1rem; }
.gallery-placeholder span { font-size: 2rem; }
.gallery-placeholder p { margin: 0; font-size: 0.95rem; color: #aaa; }
.gallery-placeholder small { font-size: 0.8rem; color: #ccc; }
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.event-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 2rem; border-top: 4px solid var(--gold); }
.event-date { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.5rem; }
.event-card h3 { color: var(--white); margin-bottom: 0.75rem; }
.event-details { color: rgba(255,255,255,0.75); font-size: 0.92rem; margin-bottom: 0.35rem; }
.event-card p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.event-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0.5rem; margin-top: 1rem; }
.event-photos img { width: 100%; height: 100px; object-fit: cover; border-radius: 8px; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1f00 50%, #1a1a1a 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: 8rem 2rem 4rem;
  background-size: cover; background-position: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.72) 0%, rgba(26,15,0,0.82) 100%);
}
.hero-content { max-width: 800px; position: relative; z-index: 1; }
.hero-eyebrow { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; display: block; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero h1 .highlight { color: var(--gold); }
.hero-sub { font-size: 1.2rem; color: rgba(255,255,255,0.8); max-width: 600px; }

/* ---- STATS BAR ---- */
.stats-bar { background: var(--gold); padding: 3rem 2rem; }
.stats-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 2rem; }
.stat { text-align: center; }
.stat-number { display: block; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 900; color: var(--black); line-height: 1; }
.stat-label { display: block; font-size: 0.82rem; font-weight: 600; color: rgba(0,0,0,0.65); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.35rem; }

/* ---- ABOUT ---- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.col-text h2 { margin-bottom: 1rem; }
.col-text h3 { font-size: 1.15rem; margin-top: 1.5rem; }
blockquote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--black);
  border-left: 4px solid var(--gold);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
}

/* ---- PHOTO PLACEHOLDERS ---- */
.photo-placeholder {
  background: var(--light-gray);
  border: 2px dashed #ddd;
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5rem; color: #aaa;
  font-size: 0.9rem; text-align: center;
  padding: 1rem;
}
.photo-placeholder.large { min-height: 360px; }
.photo-placeholder span { font-size: 1.5rem; }
.center-placeholder { max-width: 600px; margin: 0 auto 3rem; }

/* ---- VALUES ---- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.value-card {
  background: rgba(255,255,255,0.6);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}
.value-icon { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.value-card h3 { color: var(--black); }
.value-card p { color: rgba(0,0,0,0.65); }

/* ---- PROGRAMS ---- */
.programs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.program-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: var(--transition);
}
.program-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.program-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.program-card h3 { color: var(--black); margin-bottom: 0.5rem; }
.program-tagline { font-style: italic; color: var(--gold-dark); font-weight: 600; margin-bottom: 1rem; font-size: 0.95rem; }

/* ---- BOARD ---- */
.board-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 3rem; }
.board-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}
.board-card.featured { border-color: var(--gold); }
.board-photo.placeholder {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: rgba(245,197,24,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1rem;
}
.board-card h3 { color: var(--white); }
.board-title { color: var(--gold); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.board-bio { color: rgba(255,255,255,0.7); font-size: 0.92rem; text-align: left; }

/* ---- FAMILY LEGACY ---- */
.family-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.family-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.family-photo.placeholder {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 0.75rem;
  border: 3px solid var(--gold);
}
.family-card h4 { font-size: 1rem; color: var(--black); margin-bottom: 0.25rem; }
.family-card p { font-size: 0.82rem; color: var(--gray); margin: 0; }

/* ---- KINDNESS HUBS ---- */
.hubs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }
.hub-card {
  background: rgba(255,255,255,0.65);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}
.hub-icon { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.hub-card h3 { color: var(--black); font-size: 1.1rem; margin-bottom: 0.75rem; }
.hub-card p { color: rgba(0,0,0,0.65); font-size: 0.95rem; }

/* ---- PARTNERS ---- */
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; margin-top: 3rem; }
.partner-card {
  background: var(--light-gray);
  border-radius: var(--radius);
  padding: 2rem;
  border-left: 4px solid var(--gold);
}
.partner-icon { font-size: 2rem; display: block; margin-bottom: 1rem; }
.partner-card h3 { color: var(--black); margin-bottom: 0.5rem; }

/* ---- TRANSPARENCY ---- */
.transparency-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 3rem; }
.trans-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 2rem;
}
.trans-card h3 { color: var(--white); margin-bottom: 1rem; font-size: 1.1rem; }
.trans-card ul { list-style: none; }
.trans-card li { color: rgba(255,255,255,0.75); font-size: 0.92rem; margin-bottom: 0.6rem; border-bottom: 1px solid rgba(255,255,255,0.07); padding-bottom: 0.6rem; }
.trans-card p { color: rgba(255,255,255,0.7); font-size: 0.92rem; }

/* ---- NOMINATE / FEEDBACK FORMS ---- */
.nominate-form { background: var(--white); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow); margin-top: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem; color: var(--black); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,197,24,0.2);
}
.checkbox-group { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.25rem; }
.checkbox-label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; cursor: pointer; color: var(--gray); }

/* ---- DONATE CTA ---- */
.donate-cta {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1f00 100%);
  text-align: center;
  padding: 6rem 2rem;
}
.donate-cta h2 { color: var(--white); }
.donate-cta p { color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto 2rem; font-size: 1.1rem; }
.donate-cta .btn-outline { border-color: rgba(255,255,255,0.5); }

/* ---- FOOTER ---- */
.footer { background: #0d0d0d; padding: 4rem 2rem 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo-text { color: var(--white); font-weight: 800; font-size: 1.1rem; }
.footer-tagline { color: var(--gold); font-style: italic; margin: 0.5rem 0; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.footer h4 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-links ul li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-contact p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-contact a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-contact a:hover { color: var(--gold); }
.social-links { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.75rem; }
.social-links a { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: var(--transition); }
.social-links a:hover { color: var(--gold); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 1.5rem 0; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.8rem; margin: 0; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--dark); padding: 1rem 2rem 2rem; gap: 1rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .stats-inner { flex-direction: column; align-items: center; gap: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .board-grid { grid-template-columns: 1fr; }
  .family-grid { grid-template-columns: repeat(2, 1fr); }
}
