/* ========================================================
   Echoes of Faith — shared stylesheet
   ======================================================== */

:root {
  --maroon: #7a3218;
  --maroon-dark: #55220f;
  --flame: #e4772e;
  --gold: #d9973b;
  --gold-light: #f8e7c9;
  --cream: #fbf3e7;
  --ink: #2a2320;
  --ink-soft: #5c534c;
  --line: #e6ddc9;
  --white: #ffffff;
  --max: 1120px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(74, 18, 32, 0.08);
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Georgia", "Iowan Old Style", "Palatino Linotype", serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand {
  font-family: "Trajan Pro", "Cinzel", "Georgia", serif;
  letter-spacing: 0.02em;
  color: var(--maroon-dark);
  line-height: 1.25;
}

p { color: var(--ink-soft); }

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

img { max-width: 100%; display: block; }

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

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--maroon-dark);
}

.brand .logo-img {
  height: 42px;
  width: 42px;
  border-radius: 8px;
  flex-shrink: 0;
  object-fit: contain;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

nav.main-nav a.active,
nav.main-nav a:hover {
  color: var(--maroon);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--maroon-dark);
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 999px;
  border: 2px solid var(--maroon);
  background: var(--maroon);
  color: var(--white);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  background: var(--maroon-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn.outline {
  background: transparent;
  color: var(--maroon);
}

.btn.outline:hover {
  background: var(--maroon);
  color: var(--white);
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, var(--gold-light) 0%, transparent 60%),
    var(--cream);
}

.hero .eyebrow {
  font-family: "Segoe UI", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0 0 20px;
}

.hero p.lead {
  max-width: 640px;
  margin: 0 auto 34px;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head .eyebrow {
  font-family: "Segoe UI", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: 0 0 14px; }

.divider {
  width: 64px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 20px;
  border-radius: 2px;
}

/* ---------- Grid cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card .icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--maroon);
}

.card h3 { font-size: 1.15rem; margin: 0 0 10px; }
.card p { font-size: 0.95rem; margin: 0; }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split .media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--gold-light), var(--maroon) 140%);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.page-banner {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}

.split h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--maroon);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}

.cta-band h2 { color: var(--white); margin: 0 0 14px; }
.cta-band p { color: var(--gold-light); margin: 0 0 30px; }
.cta-band .btn { background: var(--gold); border-color: var(--gold); color: var(--maroon-dark); }
.cta-band .btn:hover { background: var(--white); border-color: var(--white); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--maroon-dark);
  color: var(--gold-light);
  padding: 56px 0 28px;
  font-family: "Segoe UI", system-ui, sans-serif;
}

footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 16px;
}

footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 10px; }
footer a { color: var(--gold-light); font-size: 0.92rem; }
footer a:hover { color: var(--white); }

footer .bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  font-size: 0.82rem;
  color: rgba(232, 217, 181, 0.7);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Showcase banner (homepage) ---------- */
.showcase-wrap {
  padding: 0 0 8px;
}

.showcase {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  height: clamp(220px, 30vw, 380px);
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(30, 12, 6, 0.72) 0%, rgba(30, 12, 6, 0.15) 42%, transparent 65%);
  pointer-events: none;
}

.showcase-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 24px 34px;
  text-align: center;
  color: var(--white);
}

.showcase-caption .eyebrow {
  color: var(--gold);
  margin-bottom: 10px;
}

.showcase-caption h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

/* ---------- Verse of the Day (homepage) ---------- */
.verse-section { padding-top: 0; padding-bottom: 0; }

.verse-card {
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--gold-light), var(--white) 60%);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 44px 48px;
  text-align: center;
  box-shadow: var(--shadow);
}

.verse-card .eyebrow { margin-bottom: 14px; }

.verse-card .verse-text {
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--maroon-dark);
  font-style: italic;
  margin: 0 0 16px;
}

.verse-card .verse-ref {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* ---------- News & Events page ---------- */
.event-card {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 20px;
  align-items: flex-start;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.event-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.event-date {
  flex-shrink: 0;
  width: 72px;
  text-align: center;
  background: var(--gold-light);
  border-radius: 8px;
  padding: 10px 6px;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.event-date .day {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1;
}

.event-date .month {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--maroon-dark);
  margin-top: 4px;
}

.event-card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.event-card .meta {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.event-card p { margin: 0; font-size: 0.95rem; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.news-card .thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 160%);
  background-size: cover;
  background-position: center;
}

.news-card .body { padding: 22px; }

.news-card .date-tag {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.news-card h3 { font-size: 1.05rem; margin: 0 0 8px; }
.news-card p { font-size: 0.92rem; margin: 0 0 12px; }
.news-card a.read-more { font-family: "Segoe UI", system-ui, sans-serif; font-size: 0.88rem; font-weight: 700; }

/* ---------- Daily Prayer page ---------- */
.prayer-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 44px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}

.prayer-card .quote-mark {
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  font-family: Georgia, serif;
}

.prayer-card .prayer-date {
  font-family: "Segoe UI", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 18px;
}

.prayer-card .prayer-title {
  font-size: 1.3rem;
  color: var(--maroon-dark);
  margin: 0 0 20px;
}

.prayer-card .prayer-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--ink);
  font-style: italic;
  margin: 0 0 24px;
  white-space: pre-line;
}

.prayer-card .prayer-ref {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.prayer-archive {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: center;
}

.prayer-archive .btn { margin-top: 8px; }

/* ---------- Store page ---------- */
.store-intro { text-align: center; max-width: 700px; margin: 0 auto 40px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-slot {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 260px;
}

.product-slot .placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  color: var(--ink-soft);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.85rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.notice-banner {
  background: var(--gold-light);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.92rem;
  color: var(--maroon-dark);
  margin-bottom: 40px;
}

.notice-banner code {
  background: rgba(255,255,255,0.6);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ---------- About page ---------- */
.mission-block { max-width: 780px; margin: 0 auto; }
.mission-block h2 { margin-top: 40px; }
.pull-quote {
  border-left: 4px solid var(--gold);
  padding: 6px 0 6px 24px;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--maroon-dark);
  margin: 32px 0;
}

.timeline { max-width: 780px; margin: 0 auto; }
.timeline .step { display: flex; gap: 20px; margin-bottom: 28px; }
.timeline .dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); margin-top: 6px; flex-shrink: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  nav.main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 12px 24px 24px;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; gap: 16px; }
  .nav-toggle { display: block; }

  .grid-3, .product-grid, .news-grid { grid-template-columns: 1fr; }
  .event-card { flex-direction: column; }
  .event-date { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; }
  .prayer-card { padding: 36px 24px; }
  .split { grid-template-columns: 1fr; }
  .split .media { order: -1; aspect-ratio: 16/9; }
  footer .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
