/* ============================================================
   Full Gospel Christ The Light Church (FGCLC)
   Calm, quiet, understated design
   ============================================================ */

:root {
  --ink:    #23201d;
  --body:   #4a463f;
  --muted:  #8a847a;
  --accent: #6b5e4a;      /* soft warm taupe/bronze */
  --accent-deep: #4f4535;
  --line:   #e8e4dd;
  --bg:     #fcfbf8;      /* warm off-white */
  --bg-alt: #f5f2ec;
  --bg-dark:#2b2824;
  --radius: 6px;
  --shadow: 0 10px 30px -22px rgba(35, 32, 29, 0.3);
  --maxw:   1080px;
  --display: "Fraunces", Georgia, serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--sans);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); }
.btn--light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--light:hover { background: var(--bg-alt); }
.btn--ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); }
.btn--full { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--bg-dark);
  color: #cfc9bf;
  font-size: 0.82rem;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 42px; }
.topbar a { transition: color 0.2s ease; }
.topbar a:hover { color: #fff; }
.topbar__divider { margin: 0 10px; color: rgba(255,255,255,0.25); }
.topbar__meta { color: #a79f92; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252,251,248,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.header.scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px -20px rgba(35,32,29,0.4); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--bg-alt); color: var(--accent);
  display: grid; place-items: center;
  font-size: 1.3rem;
  border: 1px solid var(--line);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--display); font-size: 1.4rem; font-weight: 700; color: var(--ink); letter-spacing: -0.005em; }
.brand__tag { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 0.92rem; font-weight: 500; color: var(--body); position: relative; padding: 6px 0; transition: color 0.2s ease; }
.nav a:not(.nav__cta):hover { color: var(--ink); }
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--accent); transition: width 0.25s ease;
}
.nav a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  background: var(--accent); color: #fff !important; padding: 10px 22px !important; border-radius: var(--radius);
  transition: background 0.2s ease;
}
.nav__cta:hover { background: var(--accent-deep); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; border-radius: 2px; background: var(--ink); transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--bg-alt);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; padding: 120px 24px 124px; max-width: 760px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.74rem;
  color: var(--accent); margin-bottom: 24px; font-weight: 600;
}
.hero__spark { font-size: 0.85rem; }
.hero__title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700; line-height: 1.06; letter-spacing: -0.015em; margin-bottom: 24px; color: var(--ink);
}
.hero__highlight { color: var(--accent); font-style: italic; }
.hero__sub { font-size: 1.12rem; color: var(--body); max-width: 560px; margin-bottom: 36px; font-weight: 400; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__actions .btn--ghost { border-color: var(--line); color: var(--ink); }
.hero__actions .btn--ghost:hover { background: #fff; border-color: var(--accent); }
.hero__scroll { margin-top: 54px; display: flex; align-items: center; gap: 12px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hero__scroll span { width: 32px; height: 1px; background: var(--muted); display: inline-block; }

/* ---------- Trust / stats strip ---------- */
.trust { background: var(--bg); }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.trust__item { padding: 44px 20px; text-align: center; border-left: 1px solid var(--line); }
.trust__item:first-child { border-left: none; }
.trust__num {
  display: block; font-family: var(--display); font-size: 2.4rem; font-weight: 700; color: var(--ink);
}
.trust__label { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 660px; margin: 0 auto 60px; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.74rem;
  font-weight: 600; color: var(--accent); margin-bottom: 16px;
}
.eyebrow--light { color: #d8d0c2; }
.section__title { font-family: var(--display); font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; color: var(--ink); line-height: 1.15; letter-spacing: -0.01em; }
.section__title--light { color: #fff; }
.section__lead { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.about__imgcard {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  color: var(--accent);
}
.about__imgcard--light { background: #fff; }
.about__imgmark {
  font-size: 3rem; width: 116px; height: 116px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center;
}
.about__imgcard--light .about__imgmark { background: var(--bg-alt); }
.about__imgmark--navy { color: var(--accent); }
.about__imgcard p { letter-spacing: 0.06em; color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.about__content .section__title { margin-top: 6px; text-align: left; }
.about__content p { color: var(--body); margin-top: 18px; }

.checklist { list-style: none; margin-top: 28px; display: grid; gap: 13px; }
.checklist li { position: relative; padding-left: 32px; color: var(--ink); font-weight: 500; }
.checklist li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; background: var(--bg-alt); color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 50%; display: grid; place-items: center; font-size: 0.7rem; font-weight: 700;
}

/* ---------- Cards (ministries) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card {
  position: relative; background: var(--bg);
  padding: 40px 34px;
  transition: background 0.2s ease;
}
.card:hover { background: #fff; }
.card__icon {
  width: 52px; height: 52px; border-radius: var(--radius); background: var(--bg-alt); color: var(--accent);
  display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 22px;
  border: 1px solid var(--line);
}
.card h3 { font-family: var(--display); font-size: 1.4rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.005em; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Invitation / welcome (quiet dark) ---------- */
.section--dark { background: var(--bg-dark); color: #e9e4db; }
.welcome { text-align: center; max-width: 680px; margin: 0 auto; position: relative; z-index: 2; }
.welcome .eyebrow { text-align: center; color: #c9bfae; }
.welcome__lead { color: #bdb6aa; font-size: 1.1rem; margin: 20px 0 34px; }

/* ---------- Live ---------- */
.live__card {
  position: relative; max-width: 740px; margin: 0 auto;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 60px 40px; text-align: center; color: var(--ink);
}
.live__badge {
  position: absolute; top: 22px; right: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-alt); color: var(--body);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  padding: 6px 13px; border-radius: 40px; border: 1px solid var(--line);
}
.live__dot { width: 8px; height: 8px; border-radius: 50%; background: #c0564f; }
.live__icon {
  display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 22px;
  border-radius: 50%; background: var(--bg-alt); color: var(--accent); font-size: 1.4rem;
  border: 1px solid var(--line);
}
.live__inner h3 { font-family: var(--display); font-size: 1.75rem; font-weight: 700; margin-bottom: 12px; }
.live__inner p { color: var(--muted); max-width: 440px; margin: 0 auto 28px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: start; }
.contact__info .section__title { text-align: left; }
.contact__info > p { color: var(--body); margin-top: 16px; }
.contact__list { list-style: none; margin-top: 32px; display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__ico {
  width: 46px; height: 46px; flex: 0 0 46px; color: var(--accent); border-radius: var(--radius);
  background: var(--bg-alt); display: grid; place-items: center; font-size: 1.1rem;
  border: 1px solid var(--line);
}
.contact__list a { transition: color 0.2s ease; }
.contact__list a:hover { color: var(--accent); }

.contact__form { background: #fff; border-radius: var(--radius); padding: 38px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: inherit; font-size: 0.95rem; color: var(--ink); background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(107,94,74,0.12);
}
.field textarea { resize: vertical; }
.form__note { margin-top: 14px; font-size: 0.9rem; text-align: center; font-weight: 500; }
.form__note.success { color: #4f7d5e; }
.form__note.error { color: #b25a52; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: #bdb6aa; padding-top: 58px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer__brand .brand__name { color: #fff; font-size: 1.35rem; font-family: var(--display); font-weight: 700; }
.footer__brand p { font-size: 0.9rem; color: #a79f92; margin-top: 4px; }
.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__nav a { font-size: 0.92rem; font-weight: 500; transition: color 0.2s ease; }
.footer__nav a:hover { color: #fff; }
.footer__copy { font-size: 0.84rem; color: #8a8276; width: 100%; text-align: center; }
.footer__disclaimer { padding: 26px 24px 44px; }
.footer__disclaimer p { font-size: 1.05rem; color: #d8d0c2; line-height: 1.7; max-width: 800px; margin: 0 auto; text-align: center; font-family: var(--display); font-style: italic; font-weight: 600; }

/* ---------- Active nav link ---------- */
.nav a.active { color: var(--ink); }
.nav a.active:not(.nav__cta)::after { width: 100%; }

/* ---------- Page hero (interior pages) ---------- */
.pagehero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.pagehero__inner { max-width: 760px; padding: 92px 24px 96px; }
.crumbs { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.03em; margin-bottom: 22px; }
.crumbs a { transition: color 0.2s ease; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 8px; color: var(--line); }

/* ---------- Schedule ---------- */
.schedule {
  max-width: 820px; margin: 0 auto;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg);
}
.schedule__row {
  display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; align-items: center;
  padding: 26px 30px; border-top: 1px solid var(--line);
}
.schedule__row:first-child { border-top: none; }
.schedule__day { font-family: var(--display); font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.schedule__detail h3 { font-size: 1.02rem; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.schedule__detail p { font-size: 0.92rem; color: var(--muted); margin: 0; }
.schedule__time {
  font-size: 0.86rem; font-weight: 600; color: var(--accent);
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 40px; padding: 7px 16px; white-space: nowrap;
}
.schedule__note { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 22px; }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 44px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-left: none; }
  #biblestudy .about__media { order: -1; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed; top: 78px; right: 0; width: 74%; max-width: 320px; height: calc(100vh - 78px);
    background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 24px 28px;
    transform: translateX(110%); transition: transform 0.3s ease; box-shadow: -14px 0 50px -24px rgba(0,0,0,0.3);
  }
  .nav.open { transform: translateX(0); }
  .nav a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: 14px; }
  .nav__toggle { display: flex; }
  .topbar__meta { display: none; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .hero__inner { padding: 86px 24px 92px; }
  .pagehero__inner { padding: 70px 24px 76px; }
  .schedule__row { grid-template-columns: 1fr; gap: 8px; padding: 22px 24px; }
  .schedule__time { justify-self: start; }
}

@media (max-width: 480px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: none; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .live__card { padding: 46px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
