/*
Theme Name: Lumen Church
Theme URI: https://lumenchurch.com
Author: Bellacom Technologies & Design Inc.
Author URI: https://bellacomtd.com
Description: Official WordPress theme for Lumen Church — a 508(c)(1)(a) free church built on faith, global charity, and community. Navy and gold design system with full page template support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: lumen-church
Tags: church, charity, nonprofit, faith, community, one-column, two-columns, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, sticky-post, threaded-comments, translation-ready

---

LUMEN CHURCH DESIGN TOKENS
Primary Navy:     #0D1B2E
Navy Mid:         #152237
Navy Card:        #1A2D45
Gold:             #C9A84C
Gold Light:       #E2C47A
Gold Dim:         #8A6E32
White:            #FFFFFF
Off White:        #F0EDE8
Muted:            #7A93AF
Green:            #4CAF82

Typography:
  Display:  Cormorant Garamond (serif, faith/gravitas)
  Body:     DM Sans (clean, modern readability)
  Utility:  system-ui

*/

/* === RESET & ROOT === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0D1B2E;
  --navy-mid:    #152237;
  --navy-card:   #1A2D45;
  --navy-light:  #213650;
  --gold:        #C9A84C;
  --gold-light:  #E2C47A;
  --gold-dim:    #8A6E32;
  --white:       #FFFFFF;
  --off-white:   #F0EDE8;
  --muted:       #7A93AF;
  --green:       #4CAF82;
  --red:         #E05C5C;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-pill: 50px;

  --shadow-card: 0 8px 32px rgba(0,0,0,.35);
  --shadow-gold: 0 6px 28px rgba(201,168,76,.35);

  --transition: all .22s ease;
  --max-width: 1200px;
  --content-width: 800px;
}

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

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 10% 10%, rgba(201,168,76,.06) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 90%, rgba(201,168,76,.04) 0%, transparent 40%);
  z-index: 0;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.08;
  color: var(--white);
}
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(30px, 4vw, 52px); }
h3 { font-size: clamp(22px, 3vw, 36px); }
h4 { font-size: clamp(18px, 2vw, 26px); }
h5 { font-size: 20px; }
h6 { font-size: 16px; font-weight: 600; font-family: var(--font-body); }

em, i { font-style: italic; }
h1 em, h2 em, h3 em { color: var(--gold-light); }

p { margin-bottom: 1rem; color: rgba(240,237,232,.82); }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

strong, b { font-weight: 600; color: var(--off-white); }

/* === LAYOUT === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.container-narrow {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }

/* === EYEBROW === */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .3px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, #B8902E 0%, var(--gold-light) 50%, #B8902E 100%);
  background-size: 200% 100%;
  color: var(--navy);
  box-shadow: var(--shadow-gold);
  animation: shimmer 3s ease-in-out infinite;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,168,76,.5); color: var(--navy); }
.btn-outline {
  background: transparent;
  color: var(--off-white);
  border: 1.5px solid rgba(201,168,76,.3);
}
.btn-outline:hover { background: rgba(201,168,76,.1); border-color: var(--gold); color: var(--gold-light); }
.btn-ghost {
  background: rgba(255,255,255,.07);
  color: var(--off-white);
  border: 1px solid rgba(255,255,255,.1);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 18px 44px; font-size: 17px; }
.btn-sm { padding: 9px 20px; font-size: 13px; }

@keyframes shimmer { 0%,100%{background-position:0% 0%} 50%{background-position:100% 0%} }

/* === CARDS === */
.card {
  background: var(--navy-card);
  border: 1px solid rgba(201,168,76,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { border-color: rgba(201,168,76,.28); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.card-body { padding: 28px; }
.card-header-img img { width: 100%; height: 220px; object-fit: cover; display: block; }

/* === GOLD DIVIDER === */
.gold-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 16px 0;
}
.gold-line-center { margin: 16px auto; }

/* === SECTION HEADERS === */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header p { font-size: 16px; color: var(--muted); max-width: 540px; margin: 0 auto; }

/* === GRID === */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* === FADE IN === */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.vis { opacity: 1; transform: none; }

/* === SEPARATOR === */
.separator {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.2), transparent);
  border: none;
  margin: 0;
}

/* === TAGS / BADGES === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.badge-gold { background: rgba(201,168,76,.12); border: 1px solid rgba(201,168,76,.25); color: var(--gold); }
.badge-green { background: rgba(76,175,130,.12); border: 1px solid rgba(76,175,130,.25); color: var(--green); }

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }
}
