/* =============================================
   SPARWOOD CHRISTIAN CENTRE — style.css
   ============================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:      #0e2148;
    --navy-mid:  #1a3a6e;
    --blue:      #1e5fa8;
    --gold:      #c9a84c;
    --gold-light:#e6c96a;
    --white:     #ffffff;
    --off-white: #f4f7fc;
    --light-grey:#e8edf5;
    --text:      #2c3e50;
    --text-light:#5a6a7e;
    --header-h:  108px;
    --radius:    8px;
    --shadow:    0 4px 24px rgba(14,33,72,.10);
    --shadow-md: 0 8px 40px rgba(14,33,72,.16);
    --trans:     all .28s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ---- Utility ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-sub {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 620px;
}
.btn {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .03em;
    cursor: pointer;
    transition: var(--trans);
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,.35); }
.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }
.btn-outline-navy {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9000;
    transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 28px rgba(14,33,72,.15); }

/* — Top utility bar — */
.header-topbar {
    background: var(--navy);
    height: 40px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-topbar-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 28px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}
.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    color: rgba(255,255,255,.65);
    letter-spacing: .04em;
    padding: 0 14px;
    white-space: nowrap;
}
.topbar-item svg { flex-shrink: 0; color: var(--gold); }
.topbar-link {
    transition: color .2s;
    text-decoration: none;
}
.topbar-link:hover { color: var(--gold-light); }
.topbar-divider {
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,.18);
    flex-shrink: 0;
}

/* — Main nav bar — */
.header-main {
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--gold);
    height: 68px;
}
.header-main-inner {
    max-width: 1320px;
    margin: 0 auto;
    height: 100%;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* — Brand — */
.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}
.header-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(14,33,72,.15));
    transition: transform .3s ease;
}
.header-brand:hover .header-logo { transform: scale(1.05); }
.header-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.header-name-top {
    font-size: .95rem;
    font-weight: 900;
    color: var(--navy);
    letter-spacing: .12em;
    text-transform: uppercase;
}
.header-name-bottom {
    font-size: .7rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: .22em;
    text-transform: uppercase;
}

/* — Nav links — */
.site-nav {
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    height: 100%;
}
.site-nav a {
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 0 12px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: .07em;
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
    transition: color .22s;
}
.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s cubic-bezier(.4,0,.2,1);
}
.site-nav a:hover { color: var(--navy); }
.site-nav a.active { color: var(--navy); }
.site-nav a:hover::after,
.site-nav a.active::after { transform: scaleX(1); }

/* — Hamburger — */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 2px solid var(--light-grey);
    border-radius: 6px;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
    transition: border-color .2s;
}
.nav-toggle:hover { border-color: var(--gold); }
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--trans);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: var(--header-h);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('images/preview16.jpg');
    background-size: cover;
    background-position: center 30%;
    transform: scale(1.04);
    transition: transform 8s ease-out;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(10,22,54,.82) 0%, rgba(14,33,72,.65) 60%, rgba(10,22,54,.72) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 0 20px;
    max-width: 820px;
}
.hero-eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp .7s .2s forwards;
}
.hero-title {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp .7s .4s forwards;
}
.hero-title span { color: var(--gold-light); }
.hero-desc {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp .7s .6s forwards;
    max-width: 580px;
    margin: 0 auto 36px;
    color: rgba(255,255,255,.88);
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp .7s .8s forwards;
}
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: bounce 2s infinite;
}
.hero-scroll span {
    display: block;
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255,255,255,.5);
    border-radius: 14px;
    position: relative;
    margin: 0 auto;
}
.hero-scroll span::after {
    content: '';
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scrollDot 2s infinite;
}

/* ============================================
   MISSION & VISION BAND
   ============================================ */
.mission-band {
    background: var(--navy);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.mission-band::before {
    content: '\2720';
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18rem;
    color: rgba(255,255,255,.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.mission-band-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 80px;
    align-items: start;
}
.mission-block .section-label { color: var(--gold-light); }
.mission-block .section-title { color: var(--white); }
.mission-text {
    font-size: 1.12rem;
    color: rgba(255,255,255,.85);
    line-height: 1.75;
}
.mission-quote {
    border-left: 4px solid var(--gold);
    padding-left: 20px;
    margin-top: 20px;
    font-size: 1.18rem;
    font-style: italic;
    color: rgba(255,255,255,.92);
    line-height: 1.65;
}
.vision-block .section-label { color: var(--gold-light); }
.vision-block .section-title { color: var(--white); }
.vision-text {
    font-size: 1.05rem;
    color: rgba(255,255,255,.82);
    line-height: 1.75;
}
.values-list {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.value-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .95rem;
    color: rgba(255,255,255,.85);
}
.value-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: .7rem;
    font-weight: 900;
    margin-top: 2px;
}
.mission-cta { margin-top: 32px; }

/* ============================================
   WELCOME SECTION
   ============================================ */
.welcome-section {
    padding: 96px 0;
    background: var(--white);
}
.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.welcome-image-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.welcome-image-wrap img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.welcome-image-wrap:hover img { transform: scale(1.03); }
.welcome-badge {
    position: absolute;
    bottom: -18px;
    right: -18px;
    width: 110px;
    height: 110px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-weight: 900;
    text-align: center;
    font-size: .78rem;
    line-height: 1.3;
    box-shadow: 0 4px 20px rgba(201,168,76,.4);
    border: 4px solid var(--white);
}
.welcome-badge strong { font-size: 1.4rem; display: block; }
.welcome-text p { font-size: 1.05rem; color: var(--text); margin-bottom: 18px; line-height: 1.8; }
.welcome-text p:first-of-type { font-size: 1.12rem; color: var(--text); }
.welcome-features {
    margin: 28px 0 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.welcome-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .97rem;
    color: var(--text);
    font-weight: 500;
}
.feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

/* ============================================
   PROGRAMS SECTION
   ============================================ */
.programs-section {
    padding: 96px 0;
    background: var(--off-white);
}
.programs-header {
    text-align: center;
    margin-bottom: 56px;
}
.programs-header .section-sub { margin: 0 auto; }
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.program-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--trans);
    display: flex;
    flex-direction: column;
}
.program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.program-card-image {
    height: 200px;
    overflow: hidden;
}
.program-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.program-card:hover .program-card-image img { transform: scale(1.06); }
.program-card-body {
    padding: 24px 26px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.program-icon {
    width: 46px;
    height: 46px;
    background: var(--off-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 14px;
}
.program-card h3 {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}
.program-card p {
    font-size: .93rem;
    color: var(--text-light);
    line-height: 1.65;
    flex: 1;
}
.program-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: .88rem;
    font-weight: 700;
    color: var(--navy-mid);
    text-transform: uppercase;
    letter-spacing: .05em;
    transition: var(--trans);
}
.program-link::after { content: '→'; transition: transform .2s; }
.program-card:hover .program-link::after { transform: translateX(4px); }
.programs-footer { text-align: center; margin-top: 48px; }

/* ============================================
   WORSHIP / GATHERING SECTION
   ============================================ */
.gather-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}
.gather-bg {
    position: absolute;
    inset: 0;
    background-image: url('images/re (6).jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.gather-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,54,.88) 0%, rgba(14,33,72,.80) 100%);
}
.gather-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.gather-text .section-label { color: var(--gold-light); }
.gather-text .section-title { color: var(--white); }
.gather-text p { color: rgba(255,255,255,.84); font-size: 1.05rem; margin-bottom: 18px; }
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.stat-card {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    backdrop-filter: blur(6px);
    transition: var(--trans);
}
.stat-card:hover { background: rgba(255,255,255,.14); transform: translateY(-4px); }
.stat-number {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label { font-size: .88rem; color: rgba(255,255,255,.78); text-transform: uppercase; letter-spacing: .08em; }

/* ============================================
   WORSHIP LIFE SECTION (gallery strip)
   ============================================ */
.worship-section {
    padding: 96px 0;
    background: var(--white);
}
.worship-header { text-align: center; margin-bottom: 52px; }
.worship-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 240px 240px;
    gap: 12px;
}
.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
}
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-caption {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,22,54,.7) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 18px;
    opacity: 0;
    transition: opacity .3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-caption span {
    font-size: .85rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* ============================================
   EVENTS PREVIEW
   ============================================ */
.events-section {
    padding: 96px 0;
    background: var(--off-white);
}
.events-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 16px;
}
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.event-card {
    background: var(--white);
    border-radius: 12px;
    padding: 28px 26px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    transition: var(--trans);
    border-left: 4px solid transparent;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-left-color: var(--gold); }
.event-date {
    flex-shrink: 0;
    width: 54px;
    height: 62px;
    background: var(--navy);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}
.event-date .month { font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-light); font-weight: 700; }
.event-date .day   { font-size: 1.5rem; font-weight: 900; line-height: 1; }
.event-info h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.event-info p  { font-size: .9rem; color: var(--text-light); line-height: 1.55; }
.event-time    { font-size: .82rem; color: var(--gold); font-weight: 600; margin-top: 8px; display: block; }
.events-footer { text-align: center; margin-top: 44px; }

/* ============================================
   CONTACT STRIP
   ============================================ */
.contact-strip {
    padding: 72px 0;
    background: var(--light-grey);
    border-top: 1px solid #dce3ef;
}
.contact-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
}
.contact-items {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.contact-item-icon {
    width: 44px;
    height: 44px;
    background: var(--navy);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    color: var(--gold-light);
}
.contact-item-text strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-light); margin-bottom: 4px; }
.contact-item-text span, .contact-item-text a { font-size: .97rem; color: var(--navy); font-weight: 600; }
.contact-item-text a:hover { color: var(--blue); text-decoration: underline; }

/* ============================================
   PRE-FOOTER CTA
   ============================================ */
.prefooter-cta {
    background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}
.prefooter-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
}
.prefooter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}
.prefooter-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.2;
}
.prefooter-text p {
    font-size: 1.02rem;
    color: rgba(255,255,255,.72);
    max-width: 480px;
    line-height: 1.65;
}
.prefooter-actions {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #0a1730;
    color: var(--white);
    font-size: .92rem;
}

/* footer body */
.footer-body { padding: 64px 0 52px; }
.footer-body-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr 1.4fr;
    gap: 52px;
}

/* col 1 – brand */
.footer-col-brand {}
.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
}
.footer-logo { height: 46px; width: auto; object-fit: contain; }
.footer-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.footer-name-top {
    font-size: .9rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: .1em;
    text-transform: uppercase;
}
.footer-name-bottom {
    font-size: .65rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: .2em;
    text-transform: uppercase;
}
.footer-about {
    font-size: .88rem;
    color: rgba(255,255,255,.55);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 280px;
}
.footer-service-badge {
    display: inline-flex;
    flex-direction: column;
    background: rgba(201,168,76,.12);
    border: 1px solid rgba(201,168,76,.35);
    border-radius: 8px;
    padding: 10px 18px;
}
.badge-label {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--gold);
    font-weight: 700;
}
.badge-time {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: .04em;
}

/* col titles */
.footer-col-title {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--gold);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    position: relative;
}
.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 28px; height: 2px;
    background: var(--gold);
}

/* quick links */
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a {
    font-size: .88rem;
    color: rgba(255,255,255,.55);
    transition: color .2s, padding-left .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-links a::before {
    content: '›';
    color: var(--gold);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    transition: transform .2s;
}
.footer-links a:hover { color: var(--white); }
.footer-links a:hover::before { transform: translateX(3px); }

/* service times */
.footer-services { list-style: none; }
.footer-services li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-services li:last-child { border-bottom: none; }
.svc-day {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--gold);
    font-weight: 700;
}
.svc-time {
    font-size: .88rem;
    color: rgba(255,255,255,.65);
}
.footer-service-note {
    margin-top: 14px;
    font-size: .8rem;
    color: rgba(255,255,255,.38);
    line-height: 1.6;
    font-style: italic;
}

/* contact list */
.footer-contact-list { list-style: none; }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-contact-item:last-child { border-bottom: none; }
.fc-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    background: rgba(201,168,76,.12);
    border: 1px solid rgba(201,168,76,.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    color: var(--gold);
}
.footer-contact-item address,
.footer-contact-item a {
    font-size: .88rem;
    color: rgba(255,255,255,.6);
    line-height: 1.6;
    font-style: normal;
    transition: color .2s;
    text-decoration: none;
}
.footer-contact-item a:hover { color: var(--gold-light); }

/* bottom bar */
.footer-bottom {
    background: rgba(0,0,0,.35);
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 18px 0;
}
.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.42); }
.footer-registry { font-size: .78rem; color: rgba(255,255,255,.3); }

/* ============================================
   INNER PAGES
   ============================================ */
.page-hero {
    position: relative;
    margin-top: var(--header-h);
    min-height: 420px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}
.page-hero-media,
.page-hero-overlay {
    position: absolute;
    inset: 0;
}
.page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-hero-overlay {
    background: linear-gradient(135deg, rgba(10,22,54,.86) 0%, rgba(14,33,72,.60) 55%, rgba(10,22,54,.78) 100%);
}
.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 84px 0;
}
.page-hero-content .section-title {
    color: var(--white);
    margin-bottom: 18px;
}
.page-hero-content p {
    font-size: 1.08rem;
    color: rgba(255,255,255,.86);
    max-width: 640px;
}

.page-section {
    padding: 96px 0;
    background: var(--white);
}
.page-section.alt {
    background: var(--off-white);
}
.page-section.tight {
    padding: 72px 0;
}

.intro-grid,
.split-grid,
.contact-grid,
.history-grid,
.belief-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center;
}
.split-grid.reverse > :first-child {
    order: 2;
}
.split-grid.reverse > :last-child {
    order: 1;
}
.text-block p,
.intro-copy p,
.story-card p,
.lead-copy p {
    margin-bottom: 18px;
    color: var(--text);
    line-height: 1.8;
}
.lead-copy p:last-child,
.story-card p:last-child,
.intro-copy p:last-child,
.text-block p:last-child {
    margin-bottom: 0;
}

.media-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--white);
}
.media-card img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
}

.stat-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}
.mini-stat {
    background: var(--white);
    border: 1px solid #dfe6f1;
    border-radius: 12px;
    padding: 22px;
    box-shadow: var(--shadow);
}
.mini-stat strong {
    display: block;
    font-size: 1.7rem;
    line-height: 1;
    color: var(--navy);
    margin-bottom: 8px;
}
.mini-stat span {
    font-size: .88rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.info-card,
.value-card,
.belief-card,
.contact-card,
.leader-card,
.event-list-card,
.volunteer-card {
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 28px;
    transition: var(--trans);
}
.info-card:hover,
.value-card:hover,
.belief-card:hover,
.contact-card:hover,
.leader-card:hover,
.event-list-card:hover,
.volunteer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.card-kicker {
    display: inline-block;
    margin-bottom: 10px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
}
.info-card h3,
.value-card h3,
.belief-card h3,
.contact-card h3,
.leader-card h3,
.event-list-card h3,
.volunteer-card h3 {
    color: var(--navy);
    font-size: 1.15rem;
    margin-bottom: 12px;
}
.info-card p,
.value-card p,
.belief-card p,
.contact-card p,
.leader-card p,
.event-list-card p,
.volunteer-card p {
    color: var(--text-light);
    line-height: 1.75;
}

.highlight-panel {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: var(--white);
    border-radius: 18px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}
.highlight-panel .section-title,
.highlight-panel h3 {
    color: var(--white);
}
.highlight-panel p,
.highlight-panel li {
    color: rgba(255,255,255,.84);
}

.check-list,
.detail-list,
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 22px;
}
.check-list li,
.detail-list li,
.contact-list li {
    position: relative;
    padding-left: 24px;
    color: var(--text);
}
.check-list li::before,
.detail-list li::before,
.contact-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .7em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gold);
    transform: translateY(-50%);
}

.value-card {
    border-top: 4px solid var(--gold);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 36px;
}
.leader-role {
    display: inline-block;
    margin-bottom: 8px;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--gold);
    font-weight: 700;
}

.timeline {
    display: grid;
    gap: 22px;
}
.timeline-item {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 22px;
    background: var(--white);
    border-radius: 14px;
    padding: 22px;
    box-shadow: var(--shadow);
    align-items: center;
}
.timeline-date {
    background: var(--navy);
    color: var(--white);
    border-radius: 12px;
    text-align: center;
    padding: 16px 12px;
}
.timeline-date strong {
    display: block;
    font-size: 1.7rem;
    line-height: 1;
    color: var(--gold-light);
}
.timeline-date span {
    display: block;
    margin-top: 6px;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .12em;
}
.timeline-content h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 8px;
}
.timeline-content p {
    color: var(--text-light);
    margin-bottom: 10px;
}
.timeline-meta {
    font-size: .88rem;
    color: var(--gold);
    font-weight: 700;
}

.program-detail-grid,
.youth-grid,
.outreach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.program-detail-card,
.youth-card,
.outreach-card {
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.program-detail-card img,
.youth-card img,
.outreach-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.program-detail-body,
.youth-card-body,
.outreach-card-body {
    padding: 26px;
}
.program-detail-body h3,
.youth-card-body h3,
.outreach-card-body h3 {
    color: var(--navy);
    font-size: 1.15rem;
    margin-bottom: 10px;
}
.program-detail-body p,
.youth-card-body p,
.outreach-card-body p {
    color: var(--text-light);
    line-height: 1.75;
}

.contact-grid {
    align-items: start;
}
.contact-panel {
    display: grid;
    gap: 22px;
}
.contact-card a {
    color: var(--navy-mid);
    font-weight: 700;
}
.contact-card a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 30px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form-field {
    margin-bottom: 18px;
}
.form-field label {
    display: block;
    margin-bottom: 8px;
    font-size: .88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--navy);
}
.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid #d3dceb;
    border-radius: 12px;
    padding: 14px 16px;
    font: inherit;
    color: var(--text);
    background: #fbfcff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(30,95,168,.10);
}
.form-field textarea {
    min-height: 150px;
    resize: vertical;
}

.map-frame {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 360px;
}
.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(-8px); }
}
@keyframes scrollDot {
    0%   { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 24px; }
}

/* Scroll-reveal */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 1100px) {
    .site-nav a { padding: 0 8px; font-size: .7rem; }
    .header-name-top { font-size: .82rem; }
    .header-name-bottom { font-size: .62rem; }
    .topbar-item { padding: 0 9px; font-size: .67rem; }
    .programs-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .worship-gallery { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; }
    .worship-gallery .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; height: 280px; }
    .worship-gallery .gallery-item { height: 200px; }
    .footer-body-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer-col-brand { grid-column: span 2; }
}

@media (max-width: 900px) {
    .mission-band-inner { grid-template-columns: 1fr; gap: 40px; }
    .welcome-grid { grid-template-columns: 1fr; }
    .welcome-image-wrap { order: -1; }
    .gather-content { grid-template-columns: 1fr; }
    .intro-grid,
    .split-grid,
    .contact-grid,
    .history-grid,
    .belief-grid,
    .program-detail-grid,
    .youth-grid,
    .outreach-grid { grid-template-columns: 1fr; }
    .split-grid.reverse > :first-child,
    .split-grid.reverse > :last-child { order: initial; }
    .card-grid { grid-template-columns: 1fr 1fr; }
    .leadership-grid,
    .stat-strip { grid-template-columns: 1fr; }
    .events-grid { grid-template-columns: repeat(2, 1fr); }
    .prefooter-inner { flex-direction: column; gap: 28px; }
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 700px) {
    :root { --header-h: 76px; }

    .header-topbar { display: none; }
    .nav-toggle { display: flex; }

    .site-nav {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 68px;
        left: 0; right: 0;
        background: var(--white);
        padding: 12px 0 24px;
        box-shadow: 0 8px 36px rgba(14,33,72,.18);
        gap: 2px;
        z-index: 8999;
        border-top: 3px solid var(--gold);
    }
    .site-nav.open { display: flex; }
    .site-nav a {
        font-size: .92rem;
        padding: 12px 24px;
        height: auto;
        border-radius: 0;
        letter-spacing: .04em;
        border-bottom: 1px solid var(--light-grey);
    }
    .site-nav a:last-child { border-bottom: none; }
    .site-nav a::after { display: none; }
    .site-nav a:hover, .site-nav a.active { background: var(--off-white); color: var(--navy); }

    .hero-actions { flex-direction: column; align-items: center; }
    .gather-bg { background-attachment: scroll; }
    .programs-grid { grid-template-columns: 1fr; }
    .card-grid,
    .leadership-grid,
    .form-row,
    .program-detail-grid,
    .youth-grid,
    .outreach-grid,
    .stat-strip { grid-template-columns: 1fr; }
    .worship-gallery { grid-template-columns: 1fr 1fr; }
    .worship-gallery .gallery-item:nth-child(1) { grid-column: span 2; height: 220px; }
    .worship-gallery .gallery-item { height: 160px; }
    .events-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .timeline-item { grid-template-columns: 1fr; }
    .timeline-date { max-width: 110px; }
    .values-list { grid-template-columns: 1fr; }
    .footer-body-inner { grid-template-columns: 1fr; }
    .footer-col-brand { grid-column: span 1; }
    .footer-bottom-inner { flex-direction: column; text-align: center; gap: 6px; }
    .contact-strip-inner { flex-direction: column; }
    .contact-items { flex-direction: column; gap: 24px; }
    .events-header { flex-direction: column; align-items: flex-start; }
    .page-hero-content { padding: 72px 0; }
    .contact-form { padding: 24px; }
    .prefooter-inner { text-align: center; }
    .prefooter-actions { justify-content: center; }
}
