/* ============================================================
   DO GOOD PLEASE THANK YOU — Shared Styles
   Option C Multi-Page
   ============================================================ */

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

:root {
  --bg: #0F1210;
  --surface: #161B18;
  --surface-2: #1C2420;
  --surface-3: #232E28;
  --white: #F5F2ED;
  --white-80: rgba(245,242,237,0.8);
  --white-60: rgba(245,242,237,0.6);
  --white-40: rgba(245,242,237,0.4);
  --white-20: rgba(245,242,237,0.2);
  --white-10: rgba(245,242,237,0.1);
  --white-05: rgba(245,242,237,0.05);
  --sage: #5BA672;
  --sage-light: #7BC492;
  --sage-glow: rgba(91,166,114,0.12);
  --sage-glow-strong: rgba(91,166,114,0.25);
  --terra: #D4763A;
  --terra-glow: rgba(212,118,58,0.15);
  --cream: #E8DFC8;
  --radius: 18px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Sora', sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* ---- 501(c)(3) BANNER ---- */
.status-banner {
  background: var(--sage);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---- NAV ---- */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,18,16,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--white-10);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem; font-weight: 400; color: var(--white);
  text-decoration: none;
}
.logo span { color: var(--sage); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.84rem; font-weight: 500; color: var(--white-60);
  text-decoration: none; transition: color 0.2s; letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.active { color: var(--sage-light); }
.nav-donate {
  background: var(--terra) !important; color: #fff !important;
  padding: 9px 24px; border-radius: 50px;
  font-weight: 600 !important; transition: all 0.2s !important;
}
.nav-donate:hover { background: #b8612c !important; transform: translateY(-1px); }

/* ---- LANGUAGE SWITCHER ---- */
.lang-switcher { display: inline-flex; gap: 2px; align-items: center; margin-left: 8px; }
.lang-btn {
  padding: 4px 8px; border-radius: 6px; font-size: 0.7rem; font-weight: 600;
  color: var(--white-40); text-decoration: none; letter-spacing: 0.05em;
  transition: all 0.2s;
}
.lang-btn:hover { color: var(--white-80); background: var(--white-05); }
.lang-btn.active { color: var(--sage-light); background: var(--sage-glow); }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: 0.3s; }
.mobile-nav {
  display: none; position: fixed; inset: 0; background: var(--bg);
  z-index: 200; flex-direction: column; align-items: center;
  justify-content: center; gap: 36px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'DM Serif Display', serif; font-size: 1.8rem;
  color: var(--white); text-decoration: none;
}
.mobile-close {
  position: absolute; top: 24px; right: 28px;
  background: none; border: none; font-size: 2rem;
  cursor: pointer; color: var(--white);
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 50px; font-size: 0.88rem;
  font-weight: 600; text-decoration: none; border: none;
  cursor: pointer; font-family: inherit; transition: all 0.25s;
}
.btn-primary {
  background: var(--terra); color: #fff;
  box-shadow: 0 0 30px var(--terra-glow);
}
.btn-primary:hover {
  background: #b8612c; transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(212,118,58,0.3);
}
.btn-outline {
  background: var(--white-05); color: var(--white);
  border: 1px solid var(--white-20);
}
.btn-outline:hover { background: var(--white-10); border-color: var(--white-40); }
.btn-white { background: #fff; color: var(--terra); font-weight: 700; }
.btn-white:hover { background: var(--white); transform: translateY(-2px); }

/* ---- SECTION SHARED ---- */
.section-label {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 16px;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400; line-height: 1.15; margin-bottom: 16px;
}
.section-body {
  font-size: 0.98rem; color: var(--white-60);
  max-width: 560px; line-height: 1.85;
}
.s-header { text-align: center; margin-bottom: 56px; }
.s-header .section-body { margin: 0 auto; }

/* ---- PAGE HERO (subpages) ---- */
.page-hero {
  padding: 100px 0 60px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--white-10);
}
.page-hero .hero-bg-glow {
  position: absolute; top: -200px; right: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, var(--sage-glow) 0%, transparent 65%);
  pointer-events: none; filter: blur(80px);
}
.page-hero .section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
}
.page-hero .section-body { margin-bottom: 0; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--surface); border-top: 1px solid var(--white-10);
  padding: 56px 28px 40px;
}
.footer-inner { max-width: 1140px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 48px; align-items: start;
}
.footer-logo {
  font-family: 'DM Serif Display', serif; font-size: 1.15rem;
  color: var(--white); margin-bottom: 14px; display: block; text-decoration: none;
}
.footer-logo span { color: var(--sage-light); }
.footer-copy { font-size: 0.76rem; color: var(--white-40); margin-bottom: 6px; }
.footer-tax { font-size: 0.72rem; color: var(--white-40); line-height: 1.6; max-width: 280px; opacity: 0.7; }
.footer-links {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px;
}
.footer-links a {
  color: var(--white-40); text-decoration: none;
  font-size: 0.84rem; transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-connect h4 {
  color: var(--white-60); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px;
}
.footer-subscribe-form { display: flex; gap: 8px; }
.footer-input {
  flex: 1; min-width: 0; padding: 10px 14px; border-radius: 10px;
  border: 1px solid rgba(245,242,237,0.1); background: rgba(245,242,237,0.05);
  color: #F5F2ED; font-family: inherit; font-size: 0.82rem; outline: none;
}
.footer-subscribe-btn {
  padding: 10px 18px; border-radius: 10px; border: none;
  background: #5BA672; color: #fff; font-family: inherit;
  font-size: 0.82rem; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.footer-subscribe-btn:hover { background: #4e9463; }
.footer-social { display: flex; gap: 8px; margin-top: 14px; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-tax { margin: 0 auto; }
  .footer-subscribe-form { justify-content: center; }
  .footer-social { justify-content: center; }
}

/* ---- ANIMATIONS ---- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- TOAST ---- */
.toast {
  position: fixed; bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--sage); color: #fff;
  padding: 14px 30px; border-radius: 50px;
  font-size: 0.88rem; font-weight: 600;
  box-shadow: 0 8px 40px rgba(91,166,114,0.3);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 999;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---- TAGS ---- */
.tag {
  background: var(--sage-glow); color: var(--sage-light);
  font-size: 0.73rem; font-weight: 600; padding: 4px 14px;
  border-radius: 50px;
}
.tag-terra { background: var(--terra-glow); color: var(--terra); }

/* ---- TAX NOTE ---- */
.tax-note { font-size: 0.76rem; color: rgba(255,255,255,0.55); margin-top: 14px; }

/* ---- SOCIAL LINKS (Footer) ---- */
.footer-social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(245,242,237,0.05); border: 1px solid rgba(245,242,237,0.1);
  color: rgba(245,242,237,0.6); text-decoration: none; transition: all 0.2s;
}
.footer-social-link:hover { background: rgba(91,166,114,0.15); border-color: var(--sage); color: var(--sage-light); }
