/* Bunke Family Ministries: static rebuild of the original Elementor layout */
:root {
  --gold: #d28c0e;
  --gold-band: #da9c39;
  --nav-hover: #f5a900;
  --ink: #202125;
  --body: #48494c;
  --black: #000;
  --hero-bg: #141318;
  --white: #fff;
  --serif: "Amiri", Georgia, "Times New Roman", serif;
  --sans: "Didact Gothic", "Segoe UI", Helvetica, Arial, sans-serif;
  --box: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; }
a { color: inherit; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--hero-bg) url("../images/IMG_8787.jpg") center 30% / cover no-repeat;
  padding: 248px 20px 250px;
  text-align: center;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--hero-bg);
  opacity: .7;
  z-index: -1;
}
.hero__inner { max-width: 935px; margin: 0 auto; padding-top: 170px; }
.hero__welcome {
  margin: 0;
  font-family: var(--serif);
  font-size: 45px; font-weight: 700; font-style: italic;
  letter-spacing: 1.5px; line-height: 1.2;
  color: var(--gold);
  text-shadow: 0 0 7px rgba(0,0,0,.89);
}
.hero__title {
  font-family: var(--serif);
  font-size: 90px; line-height: 90px;
  color: var(--white);
  text-shadow: 0 0 10px rgba(0,0,0,.92);
  margin-top: 6px;
}

/* ---------- Nav ---------- */
.nav { background: var(--black); position: relative; z-index: 10; }
.nav__menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: center; flex-wrap: wrap;
}
.nav__menu a {
  position: relative;
  display: block;
  padding: 15px 22px;
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 500; font-size: 16px; letter-spacing: .3px;
  color: var(--white);
  text-decoration: none;
  transition: color .25s ease;
}
.nav__menu a::after {
  content: "";
  position: absolute; left: 22px; right: 22px; bottom: 8px;
  height: 3px; background: var(--white);
  transform: scaleX(0); transform-origin: center;
  transition: transform .3s ease;
}
.nav__menu a:hover, .nav__menu a:focus-visible, .nav__menu a.is-active { color: var(--nav-hover); }
.nav__menu a:hover::after, .nav__menu a:focus-visible::after { transform: scaleX(1); }
.nav__toggle {
  display: none;
  margin: 0 auto; padding: 12px 16px;
  background: none; border: 0; color: var(--white);
  font: 500 15px "Roboto", Arial, sans-serif;
  align-items: center; gap: 10px; cursor: pointer;
}
.nav__burger { display: inline-flex; flex-direction: column; gap: 4px; width: 22px; }
.nav__burger span { height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__burger span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Tagline band ---------- */
.tagline { background: var(--black); padding: 60px 20px; text-align: center; border-top: 1px solid rgba(255,255,255,.06); }
.tagline__text {
  max-width: var(--box); margin: 0 auto;
  font-family: var(--serif);
  font-size: 30px; line-height: 34px; text-transform: uppercase;
  color: var(--gold); letter-spacing: .5px;
}

/* ---------- Two-column sections ---------- */
.split {
  max-width: var(--box);
  margin: 0 auto;
  padding: 80px 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.split--welcome { align-items: center; }
.split--story { padding-top: 40px; align-items: start; }
.split__col { padding: 10px; min-width: 0; }
.split__col--media { display: flex; justify-content: center; }
.split__col--stack { flex-direction: column; align-items: center; gap: 97px; position: sticky; top: 30px; }
.photo { border-radius: 4px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.45); }

.section-title {
  font-family: var(--serif);
  font-size: 55px; line-height: 55px;
  color: var(--ink);
}
.section-sub {
  margin-top: 15px;
  font-family: var(--serif);
  font-size: 20px; font-style: italic; letter-spacing: 1px; line-height: 1.35;
  color: var(--gold);
}
.prose { margin-top: 35px; font-size: 17px; line-height: 27px; letter-spacing: .34px; color: var(--body); }
.prose p { margin: 0 0 1.15em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); }
.not-lines { list-style: none; margin: 1.6em 0 0; padding: 0 0 0 18px; border-left: 4px solid var(--gold); }
.not-lines li { margin: 0 0 .8em; }
.not-lines li:last-child { margin-bottom: 0; }
.not-lines strong { white-space: nowrap; }
.anchor { display: block; position: relative; top: -20px; visibility: hidden; }

/* ---------- Events ---------- */
.events-head { max-width: 720px; margin: 0 auto; padding: 95px 20px 35px; text-align: center; }
.divider { width: 11%; min-width: 60px; margin: 10px auto; border: 0; border-top: 5px solid var(--gold); }
.events-head__title {
  margin-top: 25px;
  font-family: var(--serif);
  font-size: 70px; line-height: 1.1;
  color: var(--ink);
}
.events-head .section-sub { margin-top: 12px; }

.event-details {
  max-width: var(--box); margin: 0 auto; padding: 10px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  align-items: center; text-align: center;
}
.event-details__item { padding: 22px 10px; }
.event-details__item + .event-details__item { border-left: 1px solid rgba(210,140,14,.3); }
.event-details__label { font-family: var(--serif); font-size: 30px; line-height: 1.2; color: var(--black); }
.event-details__value { margin-top: 6px; font-family: var(--serif); font-size: 20px; line-height: 1.4; color: var(--gold); }

.spacer { height: var(--h); }

/* ---------- Photo band ---------- */
.photo-band {
  position: relative;
  background: #111 url("../images/paul_bunke.jpg") center / cover no-repeat;
  background-image: image-set(url("../images/paul_bunke-1536.webp") type("image/webp"), url("../images/paul_bunke.jpg") type("image/jpeg"));
  min-height: 778px; /* 248 + 280 spacer + 250, as on the original */
  isolation: isolate;
}
.photo-band::before { content: ""; position: absolute; inset: 0; background: #000; opacity: .7; z-index: -1; }
.gold-band { background: var(--gold-band); height: 15px; }

/* ---------- Bottom (black) ---------- */
.bottom {
  background: var(--black);
  padding: 50px 20px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  align-items: start;
  text-align: center;
}
.bottom__col { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.bottom__col--media img { width: 100%; max-width: 420px; border-radius: 4px; }
.bottom__title {
  font-family: "Archivo", Arial, sans-serif;
  font-size: 22px; font-weight: 500; line-height: 1.3;
  color: var(--white);
  margin-bottom: 18px;
}
.bottom__title--sm { font-size: 20px; margin-bottom: 11px; }
.fb-embed { width: 100%; max-width: 340px; }
.fb-embed iframe { width: 100%; border: 0; overflow: hidden; display: block; border-radius: 4px; }
.bible-link { display: inline-block; margin-bottom: 30px; border-radius: 4px; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.bible-link:hover, .bible-link:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(218,156,57,.35); }

.social { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 5px; }
.social__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 10%;
  color: #fff; transition: opacity .25s, transform .25s;
}
.social__icon svg { width: 25px; height: 25px; fill: currentColor; }
.social__icon--facebook { background: #3b5998; }
.social__icon--linkedin { background: #0077b5; }
.social__icon:hover, .social__icon:focus-visible { opacity: .9; transform: translateY(-2px); }

/* ---------- Footer ---------- */
.footer { background: var(--black); padding: 25px 20px; border-top: 1px solid rgba(255,255,255,.08); }
.footer__text { font-family: "Roboto", Arial, sans-serif; font-size: 16px; font-weight: 400; color: var(--white); text-align: center; }

/* ---------- Entrance animations (as on the original) ---------- */
.js .reveal { opacity: 0; transition: opacity 1s ease, transform 1s ease; }
.js .reveal[data-anim="fade-up"] { transform: translateY(40px); }
.js .reveal[data-anim="fade-left"] { transform: translateX(-60px); transition-duration: 1.6s; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

a:focus-visible, button:focus-visible { outline: 2px solid var(--nav-hover); outline-offset: 3px; }

/* ---------- Tablet (≤1024px) ---------- */
@media (max-width: 1024px) {
  .hero { padding: 70px 15px 80px; }
  .hero__inner { padding-top: 120px; }
  .hero__welcome { margin-top: 10px; }
  .hero__title { font-size: 80px; line-height: 80px; }
  .nav__toggle { display: flex; }
  .nav__menu { display: none; flex-direction: column; background: #111; }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { text-align: center; padding: 14px 20px; border-top: 1px solid rgba(255,255,255,.08); }
  .nav__menu a::after { display: none; }
  .tagline { padding: 50px 15px; }
  .section-sub { margin-top: 10px; }
  .events-head { padding: 75px 15px 20px; }
  .events-head__title { margin-top: 15px; }
  .photo-band { min-height: 430px; }
  .split__col--stack { gap: 60px; }
}

/* ---------- Mobile (≤767px) ---------- */
@media (max-width: 767px) {
  .not-lines strong { white-space: normal; }
  .hero { padding: 50px 15px; }
  .hero__inner { padding-top: 90px; }
  .hero__welcome { font-size: 26px; }
  .hero__title { font-size: 46px; line-height: 52px; }
  .tagline { padding: 30px 15px 50px; }
  .tagline__text { font-size: 26px; line-height: 32px; }
  .split { grid-template-columns: 1fr; padding: 50px 15px; gap: 10px; }
  .split__col { padding: 0; }
  .split--story { padding-top: 20px; }
  .split__col--stack { position: static; gap: 40px; margin-top: 30px; }
  .section-title { font-size: 48px; line-height: 48px; }
  .prose { margin-top: 20px; }
  .events-head { padding: 45px 15px 10px; }
  .events-head__title { font-size: 44px; line-height: 48px; }
  .event-details { grid-template-columns: 1fr; gap: 0; padding: 0 15px; }
  .event-details__item + .event-details__item { border-left: 0; border-top: 1px solid rgba(210,140,14,.3); }
  .spacer { height: 70px; }
  .photo-band { min-height: 360px; background-position: center 20%;
    background-image: image-set(url("../images/paul_bunke-800.webp") type("image/webp"), url("../images/paul_bunke.jpg") type("image/jpeg")); }
  .bottom { grid-template-columns: 1fr; gap: 45px; padding: 45px 15px; }
}
