/* ===== COLORS (taken from your logo) — change them here to restyle the whole site ===== */
:root {
  --red: #8e1a2b;
  --gold: #d4a24c;
  --blue: #2f6a9a;
  --ink: #2b2b33;
  --soft: #faf6ef;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); line-height: 1.7; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.25; margin: 0 0 .5rem; }

/* ===== NAV ===== */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: .6rem 1.5rem; background: rgba(255,255,255,.96); box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--blue); font-weight: 700; font-family: Georgia, serif; }
.brand img { height: 58px; width: auto; object-fit: contain; }
.nav nav a { margin-left: 1.4rem; text-decoration: none; color: var(--ink); font-weight: 600; }
.nav nav a:hover { color: var(--red); }
.menu-btn { display: none; background: none; border: 0; font-size: 1.8rem; cursor: pointer; color: var(--red); }

/* ===== HERO ===== */
.hero { min-height: 88vh; display: grid; place-items: center; text-align: center; padding: 4rem 1.5rem; color: #fff;
  background: linear-gradient(rgba(60,10,20,.78), rgba(30,50,80,.8)), url("images/hero.jpg") center/cover, linear-gradient(135deg, var(--red), var(--blue)); }
.logo-card { width: 190px; height: 190px; margin: 0 auto 1.2rem; display: grid; place-items: center; background: #fff; border-radius: 50%; box-shadow: 0 14px 40px rgba(0,0,0,.35), 0 0 0 6px rgba(212,162,76,.6); }
.hero-logo { height: 68%; width: auto; }
.church-name { font-size: clamp(2.3rem, 7vw, 4rem); color: #fff; margin: 0 0 .3rem; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.tagline { font-size: .95rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.verse { max-width: 640px; margin: 1rem auto 2rem; font-style: italic; opacity: .95; }
.verse b { color: var(--gold); font-style: normal; }
.btn { display: inline-block; padding: .8rem 1.7rem; margin: .3rem; border-radius: 40px; background: var(--gold); color: #3a2400; font-weight: 700; text-decoration: none; transition: transform .2s; }
.btn:hover { transform: translateY(-3px); }
.btn.ghost { background: transparent; color: #fff; border: 2px solid #fff; }
.btn.give { background: var(--red); color: #fff; }
.nav nav a.nav-give { background: var(--red); color: #fff; padding: .4rem 1.1rem; border-radius: 30px; }
.nav nav a.nav-give:hover { background: var(--gold); color: #3a2400; }

/* ===== SECTIONS ===== */
.section { padding: 5rem 1.5rem; max-width: 1100px; margin: 0 auto; text-align: center; }
.section.alt { max-width: none; background: var(--soft); }
.section.alt > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.section h2 { font-size: 2.2rem; color: var(--red); }
.section h2::after { content: ""; display: block; width: 70px; height: 4px; background: var(--gold); margin: .6rem auto 1.2rem; border-radius: 2px; }
.lead { max-width: 800px; margin: 0 auto 2.5rem; font-size: 1.15rem; }
.sub { margin-bottom: 2rem; color: #666; }

.grid { display: grid; gap: 1.5rem; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: #fff; border-radius: 14px; padding: 2rem; box-shadow: 0 6px 22px rgba(0,0,0,.08); border-top: 4px solid var(--gold); text-align: left; }
.card h3 { color: var(--blue); }
.card.center { text-align: center; }
.qr { width: 160px; margin: 1rem auto; }
.visit p { margin: .6rem 0; }

/* ===== MINISTRY CARDS ===== */
.grid.ministries { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ministry { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 22px rgba(0,0,0,.1); text-align: left; transition: transform .25s; }
.ministry:hover { transform: translateY(-6px); }
.photo { position: relative; height: 190px; background: linear-gradient(135deg, var(--blue), var(--red)); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.photo .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3.5rem; color: rgba(255,255,255,.55); }
.ministry .body { padding: 1.3rem 1.4rem 1.6rem; }
.ministry h3 { color: var(--red); font-size: 1.25rem; }
.ministry small { display: block; color: var(--blue); font-weight: 700; margin-bottom: .5rem; }

/* ===== GALLERY ===== */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.gallery figure { margin: 0; position: relative; height: 200px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, var(--gold), var(--red)); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.08); }
.gallery figure.empty img { display: none; }
.gallery figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: .5rem .8rem; color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.65)); text-align: left; }

/* ===== VISIT STEPS & GIVE ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; margin-bottom: 2rem; }
.step { background: #fff; border-radius: 14px; padding: 1.5rem; box-shadow: 0 6px 22px rgba(0,0,0,.08); }
.step span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; margin-bottom: .6rem; }
.step h4 { margin: 0 0 .3rem; color: var(--blue); font-size: 1.1rem; }
.step p { margin: 0; }
.note { margin-top: 2rem; }

/* ===== FOOTER ===== */
footer { text-align: center; padding: 2.5rem 1rem; background: #2a1218; color: #eee; }
footer img { width: 120px; margin: 0 auto .8rem; background: #fff; border-radius: 14px; padding: 8px; }
footer .small { opacity: .6; font-size: .85rem; }

/* ===== MOBILE ===== */
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1rem 1.5rem; box-shadow: 0 8px 14px rgba(0,0,0,.1); }
  body.open .nav nav { display: flex; }
  .nav nav a { margin: .6rem 0; }
  .brand span { font-size: .9rem; }
  .brand img { height: 46px; }
}

/* ===== CLICKABLE MINISTRY CARDS ===== */
a.ministry { display: block; text-decoration: none; color: inherit; }
.ministry .more { display: inline-block; margin-top: .6rem; color: var(--red); font-weight: 700; }
.ministry:hover .more { text-decoration: underline; }

/* ===== MINISTRY DETAIL PAGES ===== */
.mhero { min-height: 52vh; display: grid; place-items: center; text-align: center; padding: 4rem 1.5rem; color: #fff; background-size: cover; background-position: center; }
.mhero h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.mhero p { margin: 0 0 .6rem; color: var(--gold); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.detail { max-width: 960px; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }
.detail h2 { color: var(--red); margin-top: 2.5rem; }
.detail h2::after { content: ""; display: block; width: 60px; height: 4px; background: var(--gold); margin: .5rem 0 1rem; border-radius: 2px; }
.back { display: inline-block; font-weight: 700; text-decoration: none; }
.intro { font-size: 1.2rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.fact { background: var(--soft); border-left: 5px solid var(--gold); border-radius: 10px; padding: 1rem 1.2rem; }
.fact small { display: block; color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.todo { padding-left: 1.2rem; font-size: 1.1rem; }
.todo li { margin: .4rem 0; }
.join { margin-top: 3rem; padding: 2rem; text-align: center; background: var(--soft); border-radius: 14px; border-top: 4px solid var(--gold); }
.join h3 { color: var(--blue); }
.others { display: flex; flex-wrap: wrap; gap: .8rem; }
.others a { padding: .6rem 1.2rem; border-radius: 30px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 600; }
.others a:hover { background: var(--red); }

/* ===== PHOTOS PAGE ===== */
.detail.wide { max-width: 1100px; }
.tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 .5rem; }
.tab { border: 2px solid var(--blue); background: #fff; color: var(--blue); padding: .5rem 1.2rem; border-radius: 30px; font-weight: 700; cursor: pointer; font-size: 1rem; }
.tab.active, .tab:hover { background: var(--blue); color: #fff; }
.photos-page .gallery figure.empty { display: none; }
.photos-page .gallery figure { cursor: zoom-in; }
.photo-section.hidden { display: none; }
.soon { display: none; color: #888; font-style: italic; }
.photo-section.no-photos .soon { display: block; }
.lightbox { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; background: rgba(0,0,0,.88); padding: 1rem; cursor: zoom-out; }
.lightbox.show { display: grid; }
.lightbox img { max-width: 94vw; max-height: 84vh; border-radius: 8px; }
.lightbox .cap { position: absolute; bottom: 1.5rem; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; }

/* ===== ROUND 2: coming soon labels, extra text, photo button ===== */
.photo .ph { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .3rem; font-size: 1rem; color: rgba(255,255,255,.85); }
.photo .ph i { font-style: normal; font-size: 3rem; opacity: .7; }
.photo .ph em { font-style: normal; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.ministry .extra { margin-top: .5rem; color: #555; font-size: .95rem; }
.section.cta { max-width: none; color: #fff; background: linear-gradient(135deg, var(--red), var(--blue)); }
.section.cta h2 { color: #fff; }
.section.cta .lead { margin-bottom: 1.5rem; }
.btn.big { font-size: 1.15rem; padding: .95rem 2.2rem; }
.soon { padding: 1.4rem; border: 2px dashed #c9c9c9; border-radius: 12px; text-align: center; color: #777; font-style: italic; background: var(--soft); }
.all-soon { display: none; padding: 3rem 1rem; margin: 2rem 0; border: 2px dashed #c9c9c9; border-radius: 14px; text-align: center; font-size: 1.4rem; color: #777; background: var(--soft); }
.all-empty .all-soon { display: block; }
.all-empty .tabs, .all-empty .photo-section { display: none; }
.verse-box { margin: 2rem 0; padding: 1.4rem 1.6rem; background: var(--soft); border-left: 5px solid var(--red); border-radius: 10px; font-family: Georgia, serif; font-size: 1.15rem; font-style: italic; }
.verse-box cite { display: block; margin-top: .6rem; font-style: normal; font-weight: 700; color: var(--red); font-size: .95rem; }
