/* Bethel Christian Church — site styles
   Warm, high-contrast, large type for an all-ages congregation. */
:root {
  --cream: #faf6ef;
  --paper: #ffffff;
  --ink: #2a2622;
  --muted: #6b625a;
  --brand: #6b2d2a;      /* deep barn red */
  --brand-dark: #4e1f1d;
  --accent: #b8893a;     /* wheat gold */
  --line: #e6ddd0;
  --radius: 10px;
  --max: 1080px;
  font-size: 18px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
h1, h2, h3 { font-family: "Lora", Georgia, serif; line-height: 1.2; color: var(--brand-dark); }
h1 { font-size: 2.6rem; margin: 0 0 .5rem; }
h2 { font-size: 1.8rem; margin: 0 0 1rem; }
h3 { font-size: 1.25rem; margin: 0 0 .4rem; }
a { color: var(--brand); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* Header / nav */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.logo { font-family: "Lora", Georgia, serif; font-weight: 700; font-size: 1.3rem; color: var(--brand-dark); text-decoration: none; }
.logo small { display: block; font-family: inherit; font-weight: 400; font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
.nav { display: flex; gap: 1.4rem; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }
.nav .btn { color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: .4rem .7rem; font-size: 1rem; }

/* Buttons */
.btn { display: inline-block; background: var(--brand); color: #fff; padding: .75rem 1.4rem; border-radius: 999px; text-decoration: none; font-weight: 700; border: 0; cursor: pointer; font-size: 1rem; font-family: inherit; }
.btn:hover { background: var(--brand-dark); }
.btn.ghost { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn.ghost:hover { background: var(--brand); color: #fff; }
.btn.gold { background: var(--accent); }

/* Hero */
.hero { background: linear-gradient(rgba(42,38,34,.55), rgba(42,38,34,.55)), url("img/hero-placeholder.svg") center/cover; color: #fff; padding: 6rem 0 5rem; text-align: center; }
.hero h1 { color: #fff; font-size: 3rem; }
.hero p { font-size: 1.25rem; max-width: 640px; margin: 0 auto 2rem; }
.hero .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero .btn.ghost { color: #fff; border-color: #fff; }

/* Sections */
section { padding: 4rem 0; }
section.alt { background: var(--paper); }
.grid { display: grid; gap: 1.5rem; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
section.alt .card { background: var(--cream); }
.time { font-size: 1.6rem; font-weight: 700; color: var(--brand); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--accent); font-weight: 700; margin-bottom: .3rem; }
.date { font-size: .9rem; color: var(--muted); }
.placeholder { background: #fff7d6; color: var(--ink); border: 1px dashed #d9b84a; padding: .1rem .35rem; border-radius: 4px; }

/* Forms */
form { display: grid; gap: 1rem; }
label { font-weight: 600; display: grid; gap: .35rem; }
input, textarea, select { font: inherit; padding: .7rem .85rem; border: 1px solid #cfc4b5; border-radius: 8px; background: #fff; }
textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.check input { margin-top: .35rem; }
.hp { position: absolute; left: -9999px; }
.form-status { font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: #2f6b2f; }
.form-status.err { color: #a12a2a; }
.tabs { display: flex; gap: .5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.tabs button { font: inherit; font-weight: 700; padding: .6rem 1.2rem; border-radius: 999px; border: 2px solid var(--brand); background: transparent; color: var(--brand); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--brand); color: #fff; }

/* Map */
.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius); }

/* Footer */
footer { background: var(--brand-dark); color: #f0e6da; padding: 3rem 0 2rem; }
footer a { color: #fff; }
footer .grid { grid-template-columns: 2fr 1fr 1fr; }
footer h3 { color: #fff; }
footer .fine { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2rem; padding-top: 1rem; font-size: .85rem; opacity: .8; }

@media (max-width: 820px) {
  :root { font-size: 17px; }
  .grid.three, .grid.two, footer .grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--paper); flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
}
