/* ============================================================
   Garden of Grace Radio — gogradio.org
   Main stylesheet
   ============================================================ */

:root {
  --forest: #0f4a35;
  --forest-mid: #1a6b4a;
  --green: #1d9e75;
  --green-soft: #e8f5f0;
  --green-pale: #f2faf6;
  --gold: #b8860b;
  --gold-soft: #fdf6e3;
  --cream: #faf8f4;
  --ink: #1a1a16;
  --ink-2: #4a4a42;
  --ink-3: #8a8a80;
  --ink-4: #c4c4bc;
  --white: #ffffff;
  --border: rgba(15,74,53,0.1);
  --border-mid: rgba(15,74,53,0.18);
  --r: 10px;
  --r-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,244,0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { width: 40px; height: 40px; object-fit: contain; }
.nav-logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px; color: var(--forest); font-weight: 600;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--ink-2); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--forest); }
.nav-cta {
  background: var(--green); color: #fff;
  padding: 8px 20px; border-radius: 24px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--forest); }
.nav-ham {
  display: none; background: none; border: none;
  cursor: pointer; padding: 4px; color: var(--ink-2);
}
.nav-mobile {
  display: none; flex-direction: column;
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 8px 24px 16px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  display: block; padding: 12px 0;
  font-size: 15px; color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

/* ── HERO ── */
.hero {
  background: var(--forest); color: #fff;
  padding: 80px 24px 0; overflow: hidden; position: relative;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(ellipse 60% 50% at 80% 50%, rgba(29,158,117,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 460px;
  gap: 60px; align-items: end; position: relative;
}
.hero-logo-img { width: 88px; height: 88px; object-fit: contain; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: 0.88; }
.hero-eyebrow {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green); font-weight: 500; margin-bottom: 16px;
}
.hero-h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400; line-height: 1.12; margin-bottom: 20px; color: #fff;
}
.hero-h1 em { font-style: italic; color: #a8d5c2; }
.hero-sub {
  font-size: 17px; color: rgba(255,255,255,0.72);
  line-height: 1.65; margin-bottom: 32px; max-width: 440px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-white {
  background: #fff; color: var(--forest);
  padding: 12px 28px; border-radius: 28px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px;
  transition: transform 0.15s; border: none; cursor: pointer;
  font-family: inherit;
}
.btn-white:hover { transform: translateY(-1px); }
.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.35); color: #fff;
  padding: 12px 28px; border-radius: 28px; font-size: 15px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 7px;
  transition: border-color 0.15s;
}
.btn-outline-white:hover { border-color: rgba(255,255,255,0.7); }
.hero-trust { display: flex; align-items: center; gap: 10px; }
.trust-avatars { display: flex; }
.trust-ava {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--forest); background: var(--forest-mid);
}
.trust-ava:not(:first-child) { margin-left: -8px; }
.trust-text { font-size: 13px; color: rgba(255,255,255,0.6); }
.trust-text strong { color: rgba(255,255,255,0.9); font-weight: 500; }

/* ── PLAYER ── */
.player-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 24px; align-self: end;
}
.live-row {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-bottom: 16px;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ef4444; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.player-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px; color: #fff; margin-bottom: 4px;
}
.player-sub { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
.player-row { display: flex; align-items: center; gap: 14px; }
.play-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--green); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, transform 0.1s; flex-shrink: 0;
}
.play-btn:hover { background: #16805f; transform: scale(1.05); }
.play-btn svg { width: 22px; height: 22px; fill: #fff; }
.play-btn.playing .icon-play { display: none; }
.play-btn:not(.playing) .icon-pause { display: none; }
.player-right { flex: 1; }
.player-bar {
  height: 4px; background: rgba(255,255,255,0.15);
  border-radius: 2px; margin-bottom: 10px; overflow: hidden;
}
.player-bar-fill {
  height: 100%; width: 100%; background: var(--green);
  border-radius: 2px;
  animation: stream 3s linear infinite; transform-origin: left;
}
.player-bar-fill.paused { animation-play-state: paused; }
@keyframes stream {
  0%  { opacity:0.4; transform:scaleX(0.3) }
  50% { opacity:1;   transform:scaleX(0.7) }
  100%{ opacity:0.4; transform:scaleX(0.3) }
}
.vol-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.5); }
.vol-row input { flex: 1; accent-color: var(--green); cursor: pointer; }
.share-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7); border-radius: 8px;
  padding: 6px 14px; font-size: 12px; cursor: pointer;
  font-family: inherit; transition: background 0.15s;
}
.share-btn:hover { background: rgba(255,255,255,0.15); }

/* ── SECTIONS ── */
.section { padding: 80px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.eyebrow {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green); font-weight: 500; margin-bottom: 10px;
}
.section-h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 4vw, 40px);
  color: var(--forest); line-height: 1.2; margin-bottom: 14px;
}
.section-lead {
  font-size: 17px; color: var(--ink-2);
  line-height: 1.65; max-width: 540px; margin-bottom: 48px;
}

/* ── FEATURES ── */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.feat {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.feat:hover { border-color: var(--border-mid); transform: translateY(-2px); }
.feat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feat-icon svg { width: 22px; height: 22px; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.feat h3 { font-size: 17px; font-weight: 500; color: var(--forest); margin-bottom: 8px; }
.feat p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }

/* ── DEVOTIONALS ── */
.devos-section {
  background: var(--green-pale);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.devos-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.devo {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: border-color 0.2s;
  display: flex; flex-direction: column;
}
.devo:hover { border-color: var(--green); }
.devo-thumb {
  height: 130px; background: var(--green-soft);
  display: flex; align-items: center; justify-content: center;
}
.devo-thumb svg { width: 36px; height: 36px; stroke: var(--green); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.devo-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.devo-tag { font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--green); font-weight: 500; margin-bottom: 8px; }
.devo-title { font-family: 'Playfair Display', Georgia, serif; font-size: 17px; color: var(--forest); line-height: 1.3; margin-bottom: 8px; }
.devo-excerpt { font-size: 13px; color: var(--ink-2); line-height: 1.55; flex: 1; }
.devo-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.devo-dur { font-size: 12px; color: var(--ink-3); }
.devo-play { background: var(--green-soft); color: var(--green); border-radius: 20px; padding: 5px 12px; font-size: 12px; font-weight: 500; }

/* ── PRAYER ── */
.prayer-section { background: var(--forest); color: #fff; }
.prayer-section .section-h2 { color: #fff; }
.prayer-section .section-lead { color: rgba(255,255,255,0.65); }
.prayer-section .eyebrow { color: #a8d5c2; }
.prayer-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-bottom: 28px; }
.p-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r); padding: 20px;
}
.p-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.p-ava {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500; color: var(--forest); flex-shrink: 0;
}
.p-name { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.9); }
.p-time { font-size: 11px; color: rgba(255,255,255,0.4); margin-left: auto; }
.p-text { font-size: 14px; color: rgba(255,255,255,0.72); line-height: 1.6; margin-bottom: 14px; }
.p-actions { display: flex; gap: 12px; }
.p-btn {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.65); border-radius: 20px;
  padding: 5px 13px; font-size: 12px; cursor: pointer;
  font-family: inherit; transition: background 0.15s;
  display: inline-flex; align-items: center; gap: 5px;
}
.p-btn:hover, .p-btn.active { background: rgba(29,158,117,0.2); border-color: var(--green); color: #a8d5c2; }
.p-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.p-count { font-size: 14px; color: rgba(255,255,255,0.45); }
.btn-green {
  background: var(--green); color: #fff;
  padding: 12px 28px; border-radius: 28px;
  font-size: 15px; font-weight: 500; border: none; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 7px;
  transition: background 0.15s; font-family: inherit;
}
.btn-green:hover { background: #16805f; }

/* ── GIVE ── */
.give-section {
  background: var(--gold-soft);
  border-top: 1px solid rgba(184,134,11,0.15);
  border-bottom: 1px solid rgba(184,134,11,0.15);
}
.give-inner { display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: center; }
.give-verse { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-style: italic; color: var(--forest); line-height: 1.45; margin-bottom: 10px; }
.give-ref { font-size: 13px; color: var(--ink-3); margin-bottom: 28px; }
.give-tiers { display: flex; flex-direction: column; gap: 12px; }
.give-tier {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 18px 20px; cursor: pointer;
  transition: border-color 0.15s;
  display: flex; align-items: center; gap: 14px;
}
.give-tier:hover, .give-tier.sel { border-color: var(--green); }
.give-tier.sel { background: var(--green-pale); }
.give-amount { font-size: 20px; font-weight: 500; color: var(--forest); min-width: 52px; }
.give-lbl { font-size: 14px; color: var(--ink-2); }
.give-lbl small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 1px; }
.give-radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--border-mid); margin-left: auto; flex-shrink: 0; position: relative;
}
.give-tier.sel .give-radio::after { content: ''; position: absolute; inset: 3px; background: var(--green); border-radius: 50%; }
.give-btn-wrap { margin-top: 16px; }
.give-note { font-size: 12px; color: var(--ink-3); text-align: center; margin-top: 10px; }
.partners-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.partner-chip {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 11px 18px;
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--ink-2);
}
.partner-chip-icon { width: 28px; height: 28px; background: var(--green-soft); border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.partner-chip-icon svg { width: 16px; height: 16px; stroke: var(--green); stroke-width: 1.7; fill: none; stroke-linecap: round; }
.partner-add {
  background: transparent; border: 1.5px dashed var(--border-mid);
  border-radius: 8px; padding: 11px 18px; font-size: 13px; color: var(--green);
  text-decoration: none; transition: border-color 0.15s;
}
.partner-add:hover { border-color: var(--green); }

/* ── NEWSLETTER ── */
.newsletter { background: var(--forest); padding: 64px 24px; text-align: center; }
.newsletter-inner { max-width: 500px; margin: 0 auto; }
.newsletter h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 30px; color: #fff; margin-bottom: 10px; }
.newsletter p { font-size: 15px; color: rgba(255,255,255,0.6); margin-bottom: 28px; line-height: 1.6; }
.nl-form { display: flex; gap: 10px; }
.nl-input {
  flex: 1; padding: 12px 18px; border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08); color: #fff;
  font-size: 15px; font-family: inherit;
}
.nl-input::placeholder { color: rgba(255,255,255,0.35); }
.nl-input:focus { outline: none; border-color: var(--green); }
.nl-btn {
  background: var(--green); color: #fff; border: none;
  border-radius: 28px; padding: 12px 24px;
  font-size: 15px; font-weight: 500; cursor: pointer;
  font-family: inherit; white-space: nowrap; transition: background 0.15s;
}
.nl-btn:hover { background: #16805f; }

/* ── FOOTER ── */
.footer { background: #0a2e20; color: rgba(255,255,255,0.55); padding: 48px 24px 32px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.f-brand { font-family: 'Playfair Display', Georgia, serif; font-size: 20px; color: #fff; margin-bottom: 10px; }
.f-about { font-size: 14px; line-height: 1.6; max-width: 240px; }
.f-head { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.4); font-weight: 500; margin-bottom: 14px; }
.f-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.f-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 14px; transition: color 0.15s; }
.f-links a:hover { color: #fff; }
.f-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px; font-size: 13px;
}
.f-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.f-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── MODAL ── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.55); z-index: 200;
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal { background: var(--white); border-radius: var(--r-lg); padding: 32px; width: 100%; max-width: 480px; position: relative; }
.modal-x { position: absolute; top: 16px; right: 16px; background: none; border: none; cursor: pointer; color: var(--ink-3); font-size: 24px; line-height: 1; }
.modal h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; color: var(--forest); margin-bottom: 6px; }
.modal p { font-size: 14px; color: var(--ink-2); margin-bottom: 20px; }
.m-form { display: flex; flex-direction: column; gap: 12px; }
.m-input {
  padding: 11px 14px; border: 1.5px solid var(--border-mid);
  border-radius: var(--r); font-size: 14px; font-family: inherit;
  color: var(--ink); background: var(--cream); transition: border-color 0.15s;
}
.m-input:focus { outline: none; border-color: var(--green); }
textarea.m-input { resize: vertical; min-height: 100px; }
.m-btn {
  background: var(--green); color: #fff; border: none;
  border-radius: 28px; padding: 12px; font-size: 15px; font-weight: 500;
  cursor: pointer; font-family: inherit; transition: background 0.15s;
}
.m-btn:hover { background: var(--forest); }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--forest); color: #fff;
  padding: 12px 24px; border-radius: 28px;
  font-size: 14px; font-weight: 500; z-index: 300;
  transition: transform 0.3s; pointer-events: none; white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .player-card { border-radius: var(--r-lg); }
  .features-grid, .devos-grid { grid-template-columns: 1fr 1fr; }
  .give-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .prayer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-ham { display: block; }
}
@media (max-width: 600px) {
  .hero { padding: 56px 20px 0; }
  .section { padding: 56px 20px; }
  .features-grid, .devos-grid { grid-template-columns: 1fr; }
  .nl-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns a, .hero-btns button { text-align: center; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
