/* ═══════════════════════════════════════════════════════════
   ARISE CHURCH SOUTH LAKE — SHARED STYLES (site.css)
   Design tokens, nav, footer, buttons, panels, and reusable
   interior-page components. Linked by every page.
═══════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --forest-dark:  #1A3226;
  --forest:       #2D5C3B;
  --sage:         #5A8A6A;
  --sage-light:   #7AB08A;
  --moss:         #C2D9C8;
  --cream:        #F7F2E9;
  --cream-soft:   #F0EBE1;
  --gold:         #C98B3A;
  --gold-light:   #E8B97E;
  --gold-pale:    #F5DEB8;
  --white:        #FFFFFF;
  --text:         #162019;
  --text-mid:     #3D5E4A;
  --text-soft:    #5A7A65;
  --shadow-lg:    0 30px 80px rgba(16,30,23,0.16);
  --shadow-md:    0 16px 44px rgba(16,30,23,0.11);
  --shadow-sm:    0 8px 24px rgba(16,30,23,0.07);
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--text); background: var(--cream); overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 32px), 1180px); margin: 0 auto; }

/* ── TYPOGRAPHY UTILITIES ───────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.eyebrow::before {
  content: ''; width: 30px; height: 2px; border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
  flex-shrink: 0;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.93; letter-spacing: -0.5px;
  color: var(--forest-dark); margin-bottom: 16px;
}
.section-copy {
  font-size: 1rem; line-height: 1.82;
  color: var(--text-soft); font-weight: 300;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; min-height: 50px; padding: 0 26px;
  border-radius: 999px; border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  color: var(--white);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: 0 12px 30px rgba(201,139,58,0.30);
}
.btn-gold:hover { box-shadow: 0 16px 38px rgba(201,139,58,0.42); }
.btn-glass {
  color: var(--forest-dark);
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(45,92,59,0.12);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}
.btn-forest {
  color: var(--white);
  background: linear-gradient(135deg, var(--forest-dark), var(--forest));
  box-shadow: 0 14px 32px rgba(26,50,38,0.28);
}
.btn-youtube {
  color: var(--white); background: #c4302b;
  box-shadow: 0 12px 30px rgba(196,48,43,0.35);
}
.btn-youtube:hover { box-shadow: 0 16px 38px rgba(196,48,43,0.50); }

/* ── GLASS PANEL ────────────────────────────────────────── */
.panel {
  padding: clamp(26px, 4vw, 42px);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78));
  border: 1px solid rgba(45,92,59,0.09);
  box-shadow: var(--shadow-md);
}

/* ── NAV ────────────────────────────────────────────────── */
.nav-wrap {
  position: sticky; top: 0; z-index: 1000;
  padding: 8px 0;
  background: var(--forest-dark);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(90,138,106,0.25);
  box-shadow: 0 2px 18px rgba(16,30,23,0.12);
}
.nav {
  width: min(calc(100% - 24px), 1280px);
  margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
  padding: 6px 22px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 6px 20px rgba(16,30,23,0.18);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img, .brand-logo { height: 46px; width: auto; object-fit: contain; display: block; }
.brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  letter-spacing: 0.5px; line-height: 1.15;
  color: var(--white);
}
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--forest); transition: color 180ms;
}
.nav-links a:hover, .nav-links a.active { color: var(--forest-dark); }
.nav-links a.active { position: relative; }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.mobile-toggle {
  display: none; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(45,92,59,0.06);
  border: 1px solid rgba(45,92,59,0.16);
  align-items: center; justify-content: center;
  cursor: pointer; flex-direction: column; gap: 4px;
}
.mobile-toggle span {
  display: block; width: 14px; height: 1.5px;
  background: var(--forest); border-radius: 2px; transition: all 0.3s;
}

/* ── INTERIOR PAGE HERO (reusable header band) ──────────── */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 84px);
  background:
    radial-gradient(circle at 12% 20%, rgba(201,139,58,0.16), transparent 32%),
    radial-gradient(circle at 88% 90%, rgba(90,138,106,0.20), transparent 34%),
    linear-gradient(155deg, var(--forest-dark), var(--forest));
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 64px);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero .eyebrow::before { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.page-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.92; letter-spacing: -1px;
  color: var(--white); max-width: 16ch; margin-bottom: 18px;
}
.page-hero h1 span { color: var(--gold-light); }
.page-hero .page-hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.75;
  color: rgba(194,217,200,0.92); font-weight: 300; max-width: 60ch;
}
.page-hero .btn-row { margin-top: 28px; }

/* breadcrumb */
.crumbs {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(194,217,200,0.6);
  margin-bottom: 18px;
}
.crumbs a { color: rgba(194,217,200,0.6); transition: color 160ms; }
.crumbs a:hover { color: var(--gold-light); }
.crumbs span { color: var(--gold-light); }

/* ── SECTIONS ───────────────────────────────────────────── */
.section { padding: clamp(44px, 6vw, 72px) 0; }
.section-head { max-width: 660px; margin: 0 auto clamp(28px,4vw,44px); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after {
  content: ''; width: 30px; height: 2px; border-radius: 99px;
  background: linear-gradient(90deg, var(--gold-pale), var(--gold));
}
.section-head .section-title { color: var(--forest-dark); }
.bg-soft {
  background:
    radial-gradient(circle at 85% 25%, rgba(45,92,59,0.06), transparent 30%),
    radial-gradient(circle at 10% 75%, rgba(201,139,58,0.06), transparent 28%),
    var(--cream-soft);
}

/* ── PROSE (article-style body copy for About/Transparency) ─ */
.prose { max-width: 70ch; }
.prose p {
  font-size: 1rem; line-height: 1.85; color: var(--text-mid);
  font-weight: 300; margin-bottom: 18px;
}
.prose h2 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--forest-dark); margin: 34px 0 12px; letter-spacing: -0.3px;
}
.prose h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--forest-dark);
  margin: 22px 0 8px;
}
.prose strong { color: var(--forest-dark); font-weight: 600; }
.prose a { color: var(--forest); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ── GENERIC CARD GRID ──────────────────────────────────── */
.tile-grid { display: grid; gap: 22px; }
.tile-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.tile-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.tile-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.info-card {
  background: rgba(255,255,255,0.85); border-radius: 20px;
  padding: 26px; border: 1px solid rgba(45,92,59,0.08);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-card .ic-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(201,139,58,0.18), rgba(240,212,166,0.30));
}
.info-card h3 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  text-transform: uppercase; font-size: 1.35rem;
  color: var(--forest-dark); margin-bottom: 8px; line-height: 1.05;
}
.info-card p { font-size: 0.9rem; line-height: 1.7; color: var(--text-soft); font-weight: 300; }

/* ── CTA BAND (bottom of interior pages) ────────────────── */
.cta-band { padding: clamp(40px, 6vw, 72px) 0; }
.cta-shell {
  display: grid; grid-template-columns: 1fr auto;
  gap: 36px; align-items: center;
  padding: clamp(28px, 4vw, 48px); border-radius: 28px;
  background: linear-gradient(135deg, var(--forest-dark), var(--forest));
  border: 1px solid rgba(90,138,106,0.20); box-shadow: var(--shadow-lg);
}
.cta-shell .eyebrow { color: var(--gold-light); }
.cta-shell .eyebrow::before { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.cta-shell .section-title { color: var(--white); font-size: clamp(1.9rem, 4vw, 3rem); }
.cta-shell .section-copy { color: rgba(194,217,200,0.88); }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--forest-dark);
  border-top: 1px solid rgba(90,138,106,0.15);
  padding: 52px 0 36px; margin-top: 52px;
}
.footer-shell { display: flex; flex-direction: column; gap: 30px; }
.footer-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 40px; flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-brand img, .footer-logo { width: clamp(260px, 34vw, 340px); height: auto; max-width: 100%; }
.footer-tag { font-family: 'Lora', serif; font-style: italic; font-size: 1rem; color: var(--gold-light); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; max-width: 540px; justify-content: flex-end; }
.footer-links a {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sage); transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

/* Prominent legal block — supports nonprofit verification */
.footer-legal {
  padding: 22px 24px; border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(90,138,106,0.18);
  display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center;
}
.footer-legal .fl-name {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.5px;
  font-size: 1.02rem; color: var(--white);
}
.footer-legal .fl-item { font-size: 0.8rem; color: var(--moss); font-weight: 300; }
.footer-legal .fl-item strong { color: var(--gold-light); font-weight: 600; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  padding-top: 22px; border-top: 1px solid rgba(90,138,106,0.12);
}
.footer-bottom p { font-size: 0.74rem; color: var(--text-soft); font-weight: 300; }
.footer-socials { display: flex; gap: 20px; }
.footer-socials a {
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sage); transition: color 0.2s;
}
.footer-socials a:hover { color: var(--white); }

/* ── SCROLL REVEAL ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── RESPONSIVE (shared) ────────────────────────────────── */
@media (max-width: 900px) {
  .tile-grid.cols-3, .tile-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cta-shell { grid-template-columns: 1fr; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 680px) {
  .nav-links, .nav-actions {
    display: none; flex-direction: column;
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    padding: 24px; gap: 18px; align-items: center;
    border-bottom: 1px solid rgba(45,92,59,0.12);
    box-shadow: 0 12px 30px rgba(16,30,23,0.10); z-index: 999;
  }
  .nav-links.open, .nav-actions.open { display: flex; }
  .nav-links a.active::after { display: none; }
  .mobile-toggle { display: flex; }
  .brand img, .brand-logo { height: 38px; }
  .tile-grid.cols-2, .tile-grid.cols-3, .tile-grid.cols-4 { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
}
