/* Grants Pass Baptist Church — single stylesheet, mobile-first */

:root {
  /* Root brand color sampled from the logo mark: #48605c */
  --pine-deep: #2e3f3c;
  --pine: #48605c;
  --gold: #c69a4b;
  --gold-2: #a97f33;
  --cream: #f5f5f0;
  --ink: #28322e;
  --muted: #5c6b66;
  --line: #dde2da;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine); }

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.2; color: var(--pine-deep); margin: 0 0 .5em; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.2rem; }
@media (min-width: 720px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.1rem; }
}

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

/* Header */
header.site {
  background: var(--pine-deep);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 20px; max-width: var(--max); margin: 0 auto; }
.brand img { height: 34px; width: auto; filter: brightness(0) invert(1); }
.nav-toggle { display: none; }
.nav-btn { display: inline-block; color: #fff; font-size: 1.6rem; cursor: pointer; user-select: none; padding: 2px 8px; }
nav.main { display: none; width: 100%; }
.nav-toggle:checked ~ nav.main { display: block; }
nav.main ul { list-style: none; margin: 0; padding: 8px 0 14px; }
nav.main li { padding: 0; }
nav.main a { display: block; padding: 10px 4px; color: #f2ede2; text-decoration: none; font-weight: 600; }
nav.main a:hover, nav.main a[aria-current] { color: var(--gold); }
nav.main .cta a { background: var(--gold); color: var(--pine-deep); border-radius: 6px; text-align: center; margin-top: 6px; padding: 12px; }
@media (min-width: 880px) {
  .nav-bar { flex-wrap: nowrap; }
  .nav-btn { display: none; }
  nav.main { display: block !important; width: auto; }
  nav.main ul { display: flex; align-items: center; gap: 4px; padding: 0; }
  nav.main a { padding: 8px 12px; }
  nav.main .cta a { margin: 0 0 0 8px; padding: 9px 18px; }
}
@media (max-width: 879px) {
  .nav-bar { flex-wrap: wrap; }
}

/* Hero */
.hero {
  background: linear-gradient(rgba(23, 33, 30, .48), rgba(23, 33, 30, .48)), url("../img/family-hero.jpg") center top/cover no-repeat;
  color: #fff; text-align: center;
  display: flex; align-items: center;
  min-height: 44vw;
  padding: 60px 0;
}
.hero .wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.hero h1 { color: #fff; margin: 0 0 .3em; text-shadow: 0 2px 16px rgba(0,0,0,.55); }
.hero p { font-size: 1.35rem; max-width: 560px; margin: 0 auto 1.5em; color: #f0ece0; text-shadow: 0 1px 10px rgba(0,0,0,.55); }
@media (max-width: 719px) {
  .hero { min-height: 0; padding: 84px 0 96px; background-position: center 30%; }
}
.signature { height: 76px; width: auto; margin: 8px 0 20px; }

/* Buttons */
.btn {
  display: inline-block; background: var(--gold); color: var(--pine-deep);
  font-weight: 700; text-decoration: none; border: 0; cursor: pointer;
  padding: 14px 28px; border-radius: 6px; font-size: 1.05rem;
}
.btn:hover { background: var(--gold-2); color: #fff; }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px var(--gold); margin-left: 10px; }
.btn.ghost:hover { background: var(--gold); color: var(--pine-deep); }
@media (max-width: 719px) {
  .btn.ghost { margin-left: 0; margin-top: 10px; }
}

/* Sections */
section { padding: 56px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.deep { background: var(--pine-deep); color: #e8e2d4; }
section.deep h2, section.deep h3 { color: #fff; }
section.deep a { color: var(--gold); }
section.deep a.btn { color: var(--pine-deep); }
section.deep a.btn:hover { color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.15rem; max-width: 720px; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }

/* Grids & cards */
.grid { display: grid; gap: 22px; }
@media (min-width: 720px) {
  .grid.c2 { grid-template-columns: 1fr 1fr; align-items: center; }
  .grid.c3 { grid-template-columns: repeat(3, 1fr); }
}
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px 22px; }
.card h3 { margin-top: 0; }
section.deep .card { background: var(--pine); border-color: rgba(255,255,255,.12); }

.photo-round { border-radius: 12px; box-shadow: 0 10px 30px rgba(30,45,41,.2); }

/* Verse block */
.verse { font-family: Georgia, serif; font-size: 1.3rem; font-style: italic; max-width: 680px; margin: 0 auto; }
.verse cite { display: block; font-style: normal; font-size: 1rem; margin-top: 12px; color: var(--gold); }

/* Info rows (visit page) */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list strong { color: var(--pine-deep); }

/* Map */
.map { border: 0; width: 100%; height: 360px; border-radius: 10px; }

/* Video embed */
.video { position: relative; padding-top: 56.25%; border-radius: 10px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Forms (Mailchimp embed) */
.mc-form input[type="email"], .mc-form input[type="text"] {
  width: 100%; padding: 12px; margin-bottom: 12px; border: 1px solid var(--line);
  border-radius: 6px; font-size: 1rem; background: #fff;
}
.mc-form label { font-weight: 600; display: block; margin-bottom: 4px; }

/* Footer */
footer.site { background: var(--pine-deep); color: #ccd6d1; padding: 48px 0 28px; }
footer.site h3 { color: var(--gold); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; font-family: inherit; }
footer.site a { color: #e8e2d4; text-decoration: none; }
footer.site a:hover { color: var(--gold); }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { padding: 4px 0; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } }
.foot-logo { height: 30px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); }
.copyright { text-align: center; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; color: #94a49e; }
