/* Sunny Hills Baptist Church — shared styles */
:root {
  --navy: #0d173f;
  --royal: #27589b;
  --navy-dark: #070d26;
  --cream: #faf6ec;
  --gold: #c8a03c;
  --ink: #2b2b2b;
  --muted: #5c5c5c;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", Calibri, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}
a { color: var(--navy); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header / nav */
.site-header {
  background: linear-gradient(120deg, var(--royal), var(--navy-dark) 70%);
  color: #fff;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px;
}
.brand { color: #fff; text-decoration: none; }
.brand .name { font-family: Georgia, serif; font-size: 1.5rem; letter-spacing: .5px; }
.brand .sub { font-size: .8rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.brand .logo { height: 58px; width: auto; border-radius: 8px; display: block; }
nav.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
nav.main-nav a {
  color: #fff; text-decoration: none; padding: 8px 12px; border-radius: 6px;
  font-size: .95rem;
}
nav.main-nav a:hover, nav.main-nav a.active { background: rgba(255,255,255,.14); }

/* Hero */
.hero {
  position: relative; color: #fff; text-align: center;
  background: var(--navy-dark);
}
.hero img.bg {
  width: 100%; height: 420px; object-fit: cover; object-position: center 40%;
  display: block; opacity: .9;
}
.hero .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(17,26,64,.55), rgba(17,26,64,.75));
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 20px;
}
.hero h1 { font-family: Georgia, serif; font-size: 2.6rem; margin-bottom: 8px; text-shadow: 0 2px 6px rgba(0,0,0,.5); }
.hero p.tag { font-size: 1.15rem; color: #f3e9cf; max-width: 640px; }
.btn {
  display: inline-block; margin-top: 18px; padding: 12px 28px;
  background: var(--gold); color: var(--navy-dark); font-weight: 700;
  text-decoration: none; border-radius: 8px; font-size: 1.05rem;
}
.btn:hover { filter: brightness(1.08); }
.btn-outline {
  background: transparent; color: #fff; border: 2px solid #fff;
}

/* Sections */
.section { padding: 52px 0; }
.section.alt { background: #fff; }
.section h2 {
  font-family: Georgia, serif; color: var(--navy); font-size: 1.9rem;
  margin-bottom: 14px; text-align: center;
}
.section h2::after {
  content: ""; display: block; width: 64px; height: 3px; background: var(--gold);
  margin: 10px auto 0;
}
.lead { text-align: center; max-width: 720px; margin: 0 auto 8px; color: var(--muted); font-size: 1.08rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; }
.card {
  background: #fff; border-radius: 12px; padding: 26px 22px;
  box-shadow: 0 3px 14px rgba(26,36,86,.10); border-top: 4px solid var(--gold);
}
.section.alt .card { background: var(--cream); }
.card h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.2rem; }
.card p { color: var(--muted); font-size: .98rem; }
.card .time { font-weight: 700; color: var(--navy); font-size: 1.05rem; }

/* Times strip */
.times-strip { background: var(--navy); color: #fff; padding: 30px 0; }
.times-strip .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; text-align: center; }
.times-strip .t { min-width: 200px; }
.times-strip .t .d { font-weight: 700; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; font-size: .85rem; }
.times-strip .t .h { font-size: 1.25rem; font-weight: 700; }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(120deg, var(--royal), var(--navy-dark) 70%); color: #fff; text-align: center; padding: 56px 20px; }
.page-hero h1 { font-family: Georgia, serif; font-size: 2.2rem; }
.page-hero p { color: #d9d2bd; margin-top: 8px; }
.prose { max-width: 780px; margin: 0 auto; }
.prose p { margin-bottom: 16px; }
.prose h3 { color: var(--navy); margin: 26px 0 8px; font-size: 1.25rem; }
.prose ul { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; }
.verse { font-style: italic; color: var(--muted); }

/* Statement of faith */
.sof article { background: #fff; border-radius: 10px; padding: 22px 24px; margin-bottom: 16px; box-shadow: 0 2px 10px rgba(26,36,86,.08); }
.sof article h3 { color: var(--navy); margin-bottom: 6px; }
.draft-note {
  background: #fff8e6; border: 1px solid var(--gold); border-radius: 10px;
  padding: 16px 20px; margin-bottom: 26px; font-size: .95rem;
}

/* Footer */
.site-footer { background: var(--navy-dark); color: #cfc9b8; padding: 40px 0 24px; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.site-footer h4 { color: #fff; margin-bottom: 10px; font-size: 1.05rem; }
.site-footer a { color: #e8dfc6; }
.copy { text-align: center; margin-top: 26px; font-size: .85rem; color: #9a94a8; }

/* Map */
.map-frame { width: 100%; height: 380px; border: 0; border-radius: 12px; box-shadow: 0 3px 14px rgba(26,36,86,.12); }

/* Mobile nav */
.menu-btn { display: none; background: none; border: 1px solid #fff; color: #fff; border-radius: 6px; padding: 8px 12px; font-size: 1rem; }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  nav.main-nav { display: none; width: 100%; flex-direction: column; margin-top: 10px; }
  nav.main-nav.open { display: flex; }
  .site-header .wrap { flex-wrap: wrap; }
  .hero h1 { font-size: 1.9rem; }
  .hero img.bg { height: 340px; }
}

.card img.ministry-img { width: 100%; border-radius: 8px; margin-bottom: 12px; display: block; }

/* Photo gallery */
.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px; margin-top: 28px;
}
.gallery img {
  width: 100%; height: 260px; object-fit: cover; border-radius: 10px;
  box-shadow: 0 3px 12px rgba(26,36,86,.12); display: block;
}

/* Pastor photo */
.pastor-photo { text-align: center; margin: 8px 0 24px; }
.pastor-photo img { max-width: 420px; width: 100%; border-radius: 12px;
  box-shadow: 0 6px 24px rgba(26,36,86,.18); }

.hero .tagline {
  font-family: Georgia, 'Times New Roman', serif; font-style: italic;
  font-size: 1.6rem; color: var(--gold); margin: 6px 0 10px;
  letter-spacing: 1px;
}

/* Floating social buttons (homepage) */
.social-float { position: fixed; left: 18px; bottom: 18px; display: flex; gap: 10px; z-index: 60; }
.social-float a { width: 46px; height: 46px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; box-shadow: 0 3px 10px rgba(0,0,0,.28); }
.social-float a.fb { background: #1877F2; }
.social-float a.ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-float svg { width: 23px; height: 23px; fill: #fff; }

/* Events list */
.events-list { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.event { display: flex; gap: 18px; align-items: center; background: #fff;
  border-radius: 12px; padding: 16px 20px; box-shadow: 0 3px 12px rgba(26,36,86,.08); }
.event-date { flex-shrink: 0; width: 76px; text-align: center; background: var(--navy);
  color: #fff; border-radius: 10px; padding: 10px 0; }
.event-date .m { display: block; font-size: .75rem; letter-spacing: 2px; color: var(--gold); font-weight: 700; }
.event-date .d { display: block; font-size: 1.7rem; font-weight: 800; line-height: 1.2; }
.event-date .w { display: block; font-size: .72rem; opacity: .75; }
.event-body h3 { margin: 0 0 4px; font-size: 1.15rem; }
.event-body .time { margin: 0; color: var(--navy); font-weight: 600; }

/* Harvest Festival banner + hero */
.festival-banner {
  background: linear-gradient(120deg, #7a2e0e 0%, #b3541e 45%, #d98a2b 100%);
  color: #fff; text-align: center; padding: 34px 20px;
}
.festival-banner h2 { color: #fff; font-size: 2rem; margin: 0 0 6px; }
.festival-banner p { margin: 0 0 16px; font-size: 1.1rem; opacity: .95; }
.festival-banner .btn { background: #fff; color: #7a2e0e; }
.festival-banner .btn:hover { background: #ffe9c9; }
.harvest-hero { background: linear-gradient(120deg, #7a2e0e 0%, #b3541e 45%, #d98a2b 100%) !important; }

.festival-banner .more-link { color: #fff; font-weight: 700; font-size: 1.1rem;
  text-decoration: underline; text-underline-offset: 4px; }
.festival-banner .more-link:hover { color: #ffe9c9; }

.kjbc-spot { background: #fff; }
.kjbc-home-logo { max-width: 170px; border-radius: 12px;
  box-shadow: 0 4px 16px rgba(26,36,86,.15); margin-bottom: 14px; }
