/* ============================================================
   BLESSED ASSEMBLY CHURCH - MAIN STYLESHEET
   Design: Refined Luxury / Sacred Elegance
   ============================================================ */

/* ---- CSS VARIABLES ---- */
:root {
    --gold: #C9A84C;
    --gold-light: #E8D28A;
    --gold-dark: #9A7A30;
    --navy: #28282B;
    --navy-light: #28282B;
    --navy-deep: #28282B;
    --ivory: #FAF8F4;
    --ivory-dark: #F0EDE6;
    --charcoal: #2D2D2D;
    --text-body: #4A4A4A;
    --text-muted: #7A7A7A;
    --border: rgba(201, 168, 76, 0.2);
    --shadow: 0 8px 40px rgba(26, 39, 68, 0.12);
    --shadow-hover: 0 16px 60px rgba(26, 39, 68, 0.2);
    --font-display: 'Bebas Neue', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 4px;
    --radius-lg: 12px;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--navy);
    line-height: 1.2;
}

a { color: var(--gold-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; }

/* ---- PRELOADER ---- */
#preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--navy-deep);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}
#preloader.loaded { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.cross-icon {
    font-size: 3rem; color: var(--gold);
    display: block; margin-bottom: 12px;
    animation: pulse-cross 1.5s ease-in-out infinite;
}
@keyframes pulse-cross {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
}
.preloader-text {
    font-family: var(--font-display);
    font-size: 1.2rem; color: var(--gold-light);
    letter-spacing: 3px; text-transform: uppercase;
}

/* ---- TOP BAR ---- */
.topbar {
    background: #28282B;
    padding: 8px 0;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}
.topbar-info span { color: rgba(255,255,255,0.7); }
.topbar-info i { color: var(--gold); margin-right: 4px; }
.topbar-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 50%;
    color: var(--gold-light); font-size: 0.75rem;
    margin-left: 4px; transition: var(--transition);
}
.topbar-social a:hover { background: var(--gold); color: var(--navy-deep); }

/* ---- NAVBAR ---- */
.main-navbar {
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.08);

    position: absolute; /* NOT fixed initially */
    top: 44px;
    left: 0;
    right: 0;

    z-index: 1000;
    padding: 0;

    transition:
        background 0.4s ease,
        box-shadow 0.4s ease,
        top 0.3s ease,
        border-color 0.4s ease;
}

/* Sticky state after scroll */
.main-navbar.sticky {
    position: fixed;
    top: 0;
    background: #0b163f; /* optional */
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
 
/* Scrolled state — becomes solid */
.main-navbar.scrolled {
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(26,39,68,0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
 
/* Brand */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    text-decoration: none;
}
.brand-logo {
    height: 48px;
    width: auto;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(201,168,76,0.4);
}
.brand-icon-cross {
    font-size: 1.8rem;
    color: var(--gold);
    line-height: 1;
    transition: var(--transition);
}
.navbar-brand:hover .brand-icon-cross { transform: rotate(15deg); }
 
.brand-text { display: flex; flex-direction: column; }
.brand-name {
    font-family: var(--font-display);
    font-size: 1.3rem; font-weight: 700;
    color: #fff;                 /* white on hero */
    line-height: 1;
    transition: color 0.4s ease;
}
.brand-tagline {
    font-size: 0.62rem;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}
.main-navbar.scrolled .brand-name { color: var(--navy); }
 
/* Nav links — white on transparent, dark on scrolled */
.main-navbar .nav-link {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9) !important;
    padding: 28px 14px !important;
    position: relative;
    transition: color 0.4s ease;
}
.main-navbar.scrolled .nav-link { color: var(--charcoal) !important; }
 
/* Active underline */
.main-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; right: 50%;
    height: 2px;
    background: var(--gold);
    transition: left 0.3s ease, right 0.3s ease;
}
.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after { left: 14px; right: 14px; }
 
.main-navbar .nav-link:hover { color: var(--gold) !important; }
.main-navbar .nav-link.active { color: var(--gold) !important; }
 
.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 8px;
    min-width: 200px;
}
.dropdown-item {
    font-size: 0.85rem; padding: 8px 16px;
    border-radius: var(--radius);
    transition: var(--transition);
}
.dropdown-item:hover { background: var(--ivory); color: var(--gold-dark); }

.btn-give {
    background: var(--gold) !important;
    color: #fff !important;
    border-radius: 8px !important;       /* ← changed from 50px to 8px */
    padding: 10px 26px !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    letter-spacing: 1px !important;
    box-shadow: 0 4px 20px rgba(201,168,76,0.4) !important;
    transition: var(--transition) !important;
    border: 2px solid transparent !important;
}
.btn-give:hover {
    background: transparent !important;
    color: var(--gold) !important;
    border-color: var(--gold) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201,168,76,0.3) !important;
}
.btn-give::after { display: none !important; }
 
/* On transparent navbar, give button has a white variant */
.main-navbar:not(.scrolled) .btn-give {
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}
/* ---- FLASH MESSAGES ---- */
.flash-alert { border-radius: 0; border: none; border-left: 4px solid; }
.flash-alert.alert-success { border-color: #198754; background: #d1e7dd; }
.flash-alert.alert-danger { border-color: #dc3545; background: #f8d7da; }
.flash-alert.alert-info { border-color: #0dcaf0; background: #cff4fc; }

/* ---- HERO SLIDER ---- */
.hero-slider { position: relative; height: 100vh; min-height: 600px; overflow: hidden; }
.hero-slider .swiper { height: 100%; }
.hero-slide {
    position: relative; height: 100%;
    background-size: cover; background-position: center;
    display: flex; align-items: center;
}
.hero-slide::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(14,24,41,0.75) 0%, rgba(14,24,41,0.45) 100%);
}
/* Gradient slide backgrounds for demo (replace with real images) */
.slide-bg-1 { background: linear-gradient(135deg, #1A2744 0%, #243356 50%, #0E1829 100%); }
.slide-bg-2 { background: linear-gradient(135deg, #2C1810 0%, #4A2A1A 50%, #1A0E08 100%); }
.slide-bg-3 { background: linear-gradient(135deg, #0D2B1A 0%, #1A4A2E 50%, #081508 100%); }

.hero-content {
    position: relative; z-index: 2;
    color: #fff; padding: 40px 0;
    
}
.hero-eyebrow {
    display: inline-block;
    font-size: 0.75rem; letter-spacing: 4px; text-transform: uppercase;
    color: var(--gold); border: 1px solid rgba(201,168,76,0.4);
    padding: 6px 20px; border-radius: 50px;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease forwards;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700; line-height: 1.1;
    color: #fff; margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-subtitle {
    font-size: 1.1rem; color: rgba(255,255,255,0.8);
    max-width: 540px; margin-bottom: 36px;
    animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-actions {
    display: flex; gap: 16px; flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}
.hero-decor {
    position: absolute; right: 10%; top: 50%; transform: translateY(-50%);
    width: 280px; height: 280px; z-index: 1;
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 50%; display: none;
}
@media(min-width: 992px){ .hero-decor { display: block; } }
.hero-decor::before {
    content: '&#10010;';
    font-size: 6rem; color: rgba(201,168,76,0.1);
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
}

/* Slider Nav */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: var(--gold); background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    width: 50px; height: 50px; border-radius: 50%;
    border: 1px solid rgba(201,168,76,0.3);
    transition: var(--transition);
}
.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover { background: var(--gold); color: var(--navy-deep); }
.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after { font-size: 1rem; font-weight: 700; }
.hero-slider .swiper-pagination-bullet { background: rgba(255,255,255,0.5); opacity: 1; }
.hero-slider .swiper-pagination-bullet-active { background: var(--gold); transform: scale(1.3); }

/* Scroll indicator */
.scroll-indicator {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    z-index: 10; display: flex; flex-direction: column; align-items: center;
    color: rgba(255,255,255,0.6); font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
    gap: 8px;
}
.scroll-indicator .scroll-line {
    width: 1px; height: 40px; background: rgba(201,168,76,0.5);
    animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* ---- BUTTONS ---- */
.btn-primary-church {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--gold); color: #fff;
    padding: 14px 32px; border-radius: 50px;
    font-weight: 600; font-size: 0.875rem;
    letter-spacing: 1px; text-transform: uppercase;
    border: 2px solid var(--gold);
    transition: var(--transition); cursor: pointer;
}
.btn-primary-church:hover {
    background: transparent; color: #fff;
    box-shadow: 0 8px 30px rgba(201,168,76,0.4);
    transform: translateY(-3px);
}
.btn-outline-church {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: #fff;
    padding: 12px 30px; border-radius: 50px;
    font-weight: 500; font-size: 0.875rem;
    letter-spacing: 1px; text-transform: uppercase;
    border: 2px solid rgba(255,255,255,0.4);
    transition: var(--transition);
}
.btn-outline-church:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7); color: #fff;
}
.btn-gold {
    background: var(--gold); color: #fff; border: none;
    padding: 12px 28px; font-weight: 600;
    border-radius: var(--radius); transition: var(--transition);
}
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-navy {
    background: var(--navy); color: #fff; border: none;
    padding: 12px 28px; font-weight: 600;
    border-radius: var(--radius); transition: var(--transition);
}
.btn-navy:hover { background: var(--navy-light); color: #fff; }

/* ---- SECTION STYLES ---- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-dark { background: var(--navy); color: #fff; }
.section-ivory { background: var(--ivory); }
.section-pattern {
    background-color: var(--ivory);
    background-image: radial-gradient(var(--gold) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    background-attachment: fixed;
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-eyebrow {
    display: inline-block;
    font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase;
    color: var(--gold); font-weight: 600;
    padding: 0; margin-bottom: 12px;
    position: relative;
}
.section-eyebrow::before, .section-eyebrow::after {
    content: '—'; display: inline-block;
    color: var(--gold-light); margin: 0 10px;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy); margin-bottom: 16px;
}
.section-dark .section-title { color: #fff; }
.section-subtitle {
    max-width: 580px; margin: 0 auto;
    color: var(--text-muted); font-size: 1.05rem;
}
.section-dark .section-subtitle { color: rgba(255,255,255,0.65); }

/* Gold divider */
.gold-divider {
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 0 auto 24px;
    border-radius: 2px;
}

/* ---- MISSION / VISION / WELCOME ---- */
.mvw-card {
    background: #fff; border-radius: var(--radius-lg);
    padding: 40px 32px; height: 100%;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition); position: relative;
    overflow: hidden;
}
.mvw-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.mvw-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.mvw-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff; margin-bottom: 20px;
}
.mvw-title {
    font-size: 0.7rem; letter-spacing: 3px;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 12px; font-weight: 600;
}
.mvw-text { font-size: 1.15rem; font-family: var(--font-display); color: var(--navy); font-style: italic; }

/* Welcome from Pastor */
.pastor-welcome {
    display: grid; grid-template-columns: 1fr 1.4fr;
    gap: 60px; align-items: center;
}
@media(max-width: 768px){ .pastor-welcome { grid-template-columns: 1fr; } }
.pastor-welcome-img {
    position: relative;
}
.pastor-welcome-img img {
    width: 100%; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
}
.pastor-welcome-img::after {
    content: ''; position: absolute;
    bottom: -16px; right: -16px;
    width: 70%; height: 70%;
    border: 3px solid var(--gold);
    border-radius: var(--radius-lg);
    z-index: -1;
}
.welcome-quote {
    font-family: var(--font-display);
    font-size: 1.3rem; color: var(--text-body);
    font-style: italic; line-height: 1.7;
    border-left: 4px solid var(--gold);
    padding-left: 24px; margin: 24px 0;
}
.welcome-sig {
    font-family: var(--font-display);
    font-size: 1.1rem; font-weight: 600;
    color: var(--navy);
}

/* ---- SERMON CARDS ---- */
.sermon-card {
    background: #fff; border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition); height: 100%;
    display: flex; flex-direction: column;
}
.sermon-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.sermon-thumb {
    position: relative; overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--navy);
}
.sermon-thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.sermon-card:hover .sermon-thumb img { transform: scale(1.05); }
.sermon-thumb-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--gold); font-size: 3rem;
}
.sermon-play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 56px; height: 56px;
    background: rgba(201,168,76,0.9); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.2rem;
    transition: var(--transition); opacity: 0;
}
.sermon-card:hover .sermon-play-btn { opacity: 1; transform: translate(-50%,-50%) scale(1.1); }
.sermon-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--gold); color: #fff;
    padding: 3px 12px; font-size: 0.7rem; font-weight: 600;
    border-radius: 50px; letter-spacing: 1px; text-transform: uppercase;
}
.sermon-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.sermon-meta {
    display: flex; gap: 16px; flex-wrap: wrap;
    font-size: 0.78rem; color: var(--text-muted); margin-bottom: 10px;
}
.sermon-meta span { display: flex; align-items: center; gap: 4px; }
.sermon-meta i { color: var(--gold); }
.sermon-title {
    font-size: 1.25rem; margin-bottom: 10px;
    color: var(--navy); transition: var(--transition);
    flex: 1;
}
.sermon-card:hover .sermon-title a { color: var(--gold-dark); }
.sermon-title a { color: inherit; }
.sermon-scripture {
    font-size: 0.8rem; color: var(--gold-dark);
    font-style: italic; margin-bottom: 16px;
}
.sermon-footer {
    padding-top: 16px; border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}

/* ---- PASTOR CARDS ---- */
.pastor-card {
    background: #fff; border-radius: var(--radius-lg);
    overflow: hidden; text-align: center;
    box-shadow: var(--shadow); border: 1px solid var(--border);
    transition: var(--transition); height: 100%;
}
.pastor-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.pastor-photo-wrap {
    position: relative; overflow: hidden;
    aspect-ratio: 3/4; max-height: 320px;
}
.pastor-photo-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: var(--transition);
}
.pastor-card:hover .pastor-photo-wrap img { transform: scale(1.05); }
.pastor-photo-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem; color: var(--gold); font-family: var(--font-display);
}
.pastor-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(14,24,41,0.8) 0%, transparent 50%);
    opacity: 0; transition: var(--transition);
    display: flex; align-items: flex-end; justify-content: center; padding-bottom: 20px;
}
.pastor-card:hover .pastor-overlay { opacity: 1; }
.pastor-social a {
    display: inline-flex; width: 36px; height: 36px;
    align-items: center; justify-content: center;
    background: rgba(255,255,255,0.15); backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff; border-radius: 50%; margin: 0 4px;
    font-size: 0.85rem; transition: var(--transition);
}
.pastor-social a:hover { background: var(--gold); border-color: var(--gold); }
.pastor-info { padding: 24px; }
.pastor-role {
    font-size: 0.7rem; letter-spacing: 2px;
    text-transform: uppercase; color: var(--gold);
    font-weight: 600; margin-bottom: 6px;
}
.pastor-name { font-size: 1.4rem; color: var(--navy); margin: 0; }

/* ---- EVENT CARDS ---- */
.event-card {
    background: #fff; border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition); display: flex; height: 100%;
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.event-date-box {
    min-width: 80px; background: var(--navy);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 20px 16px; text-align: center;
}
.event-day { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--gold); line-height: 1; }
.event-month { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.event-body { padding: 20px 24px; flex: 1; }
.event-cat {
    font-size: 0.7rem; letter-spacing: 2px;
    text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-weight: 600;
}
.event-title { font-size: 1.2rem; color: var(--navy); margin-bottom: 8px; }
.event-title a { color: inherit; transition: var(--transition); }
.event-title a:hover { color: var(--gold-dark); }
.event-meta { font-size: 0.8rem; color: var(--text-muted); }
.event-meta span { display: inline-flex; align-items: center; gap: 4px; margin-right: 12px; }
.event-meta i { color: var(--gold); }

/* ---- TESTIMONY CARDS ---- */
.testimony-card {
    background: #fff; border-radius: var(--radius-lg);
    padding: 32px; box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative; transition: var(--transition); height: 100%;
}
.testimony-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.testimony-quote-mark {
    position: absolute; top: 24px; right: 24px;
    font-family: var(--font-display); font-size: 5rem;
    color: var(--gold); opacity: 0.1; line-height: 1;
}
.testimony-text {
    font-family: var(--font-display);
    font-size: 1.05rem; font-style: italic;
    color: var(--text-body); margin-bottom: 20px; line-height: 1.7;
}
.testimony-author { display: flex; align-items: center; gap: 12px; }
.testimony-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--navy); color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
}
.testimony-name { font-weight: 600; color: var(--navy); margin: 0; }
.testimony-title-text { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* ---- BLOG CARDS ---- */
.blog-card {
    background: #fff; border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition); height: 100%;
    display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.blog-thumb {
    aspect-ratio: 16/9; overflow: hidden;
    background: var(--navy);
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-thumb-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--navy-light), var(--navy));
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 2.5rem;
}
.blog-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-category {
    font-size: 0.7rem; letter-spacing: 2px;
    text-transform: uppercase; color: var(--gold); margin-bottom: 10px; font-weight: 600;
}
.blog-title { font-size: 1.25rem; color: var(--navy); margin-bottom: 12px; flex: 1; }
.blog-title a { color: inherit; transition: var(--transition); }
.blog-title a:hover { color: var(--gold-dark); }
.blog-excerpt { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.blog-footer {
    border-top: 1px solid var(--border); padding-top: 16px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.8rem; color: var(--text-muted);
}

/* ---- SERVICE TIMES BANNER ---- */
.service-times-banner {
    background: linear-gradient(135deg, var(--navy-deep), var(--navy));
    padding: 50px 0;
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
}
.service-time-item {
    text-align: center; color: #fff;
    padding: 16px; border-right: 1px solid rgba(201,168,76,0.2);
}
.service-time-item:last-child { border-right: none; }
.service-time-day {
    font-size: 0.7rem; letter-spacing: 3px;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 6px; font-weight: 600;
}
.service-time-time {
    font-family: var(--font-display);
    font-size: 1.8rem; color: #fff; line-height: 1;
}
.service-time-name { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ---- STATS COUNTER ---- */
.stats-section {
    background: var(--gold);
    padding: 60px 0;
}
.stat-item { text-align: center; }
.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem; font-weight: 700;
    color: var(--navy-deep); line-height: 1;
}
.stat-label { font-size: 0.85rem; color: var(--navy); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

/* ---- PAGE HERO ---- */
.page-hero {
    background: linear-gradient(135deg, var(--navy-deep), var(--navy));
    padding: 100px 0 60px;
    text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(201,168,76,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-eyebrow {
    display: inline-block;
    font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase;
    color: var(--gold); border: 1px solid rgba(201,168,76,0.3);
    padding: 5px 20px; border-radius: 50px; margin-bottom: 16px;
}
.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #fff; margin-bottom: 16px;
}
.page-hero-subtitle { color: rgba(255,255,255,0.65); font-size: 1.05rem; }
.breadcrumb { justify-content: center; margin-top: 20px; }
.breadcrumb-item a { color: var(--gold); }
.breadcrumb-item.active { color: rgba(255,255,255,0.6); }
.breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.3); }

/* ---- FORMS ---- */
.church-form .form-label { font-weight: 500; color: var(--navy); font-size: 0.9rem; }
.church-form .form-control, .church-form .form-select {
    border: 1.5px solid #e0d8cc;
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
    background: #fafafa;
}
.church-form .form-control:focus, .church-form .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
    background: #fff;
}

/* ---- DONATE SECTION ---- */
.donate-types { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.donate-type-btn {
    padding: 10px 20px; border: 2px solid var(--border);
    border-radius: 50px; font-size: 0.85rem; font-weight: 500;
    cursor: pointer; transition: var(--transition); background: #fff;
    color: var(--charcoal);
}
.donate-type-btn.active, .donate-type-btn:hover {
    border-color: var(--gold); background: var(--gold);
    color: #fff;
}
.bank-details {
    background: var(--ivory); border-radius: var(--radius-lg);
    padding: 24px; border: 1px solid var(--border);
}
.bank-details h6 { color: var(--gold-dark); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; }

/* ---- FOOTER ---- */
.main-footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); }
.footer-newsletter {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    padding: 50px 0;
    border-bottom: 1px solid rgba(201,168,76,0.1);
}
.newsletter-title { font-family: var(--font-display); color: #fff; font-size: 1.8rem; margin-bottom: 6px; }
.newsletter-sub { color: rgba(255,255,255,0.6); margin: 0; }
.newsletter-form .form-control {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(201,168,76,0.2);
    color: #fff; padding: 14px 20px;
    border-radius: 50px 0 0 50px;
}
.newsletter-form .form-control::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form .form-control:focus { outline: none; box-shadow: none; border-color: var(--gold); }
.newsletter-form .btn-gold { border-radius: 0 50px 50px 0; padding: 14px 28px; }

.footer-main { padding: 60px 0; }
.footer-brand {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 16px;
}
.footer-cross { font-size: 1.8rem; color: var(--gold); }
.footer-brand span { font-family: var(--font-display); font-size: 1.3rem; color: #fff; }
.footer-about { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social a {
    display: inline-flex; width: 36px; height: 36px;
    align-items: center; justify-content: center;
    background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.2);
    color: var(--gold-light); border-radius: 50%;
    margin-right: 6px; transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }

.footer-widget-title {
    font-family: var(--font-display); font-size: 1.1rem;
    color: #fff; margin-bottom: 20px; position: relative; padding-bottom: 12px;
}
.footer-widget-title::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 30px; height: 2px; background: var(--gold);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 6px; }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
    display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.9rem;
}
.footer-contact i { color: var(--gold); font-size: 1rem; margin-top: 2px; min-width: 16px; }
.footer-contact a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    font-size: 0.85rem;
    border-top: 1px solid rgba(201,168,76,0.1);
}
.footer-bottom p { color: rgba(255,255,255,0.5); }

/* ---- BACK TO TOP ---- */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px; z-index: 999;
    width: 44px; height: 44px;
    background: var(--gold); color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; box-shadow: 0 4px 20px rgba(201,168,76,0.4);
    opacity: 0; visibility: hidden; transition: var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold-dark); color: #fff; transform: translateY(-4px); }

/* ---- ADMIN PANEL ---- */
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 260px; min-height: 100vh;
    background: var(--navy-deep); position: fixed; top: 0; left: 0;
    z-index: 100; transition: var(--transition); overflow-y: auto;
}
.admin-sidebar-brand {
    padding: 24px 20px; border-bottom: 1px solid rgba(201,168,76,0.15);
    display: flex; align-items: center; gap: 10px;
}
.admin-sidebar-brand .cross { font-size: 1.5rem; color: var(--gold); }
.admin-sidebar-brand .name { font-family: var(--font-display); color: #fff; font-size: 1.1rem; }
.admin-sidebar-brand .sub { font-size: 0.65rem; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; }

.admin-nav { padding: 16px 0; }
.admin-nav-section {
    padding: 8px 20px 4px; font-size: 0.65rem;
    letter-spacing: 3px; text-transform: uppercase;
    color: rgba(255,255,255,0.3); margin-top: 8px;
}
.admin-nav-link {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 20px; color: rgba(255,255,255,0.65);
    font-size: 0.875rem; transition: var(--transition);
    border-left: 3px solid transparent; text-decoration: none;
}
.admin-nav-link i { width: 18px; text-align: center; font-size: 1rem; }
.admin-nav-link:hover { color: var(--gold-light); background: rgba(201,168,76,0.08); border-left-color: rgba(201,168,76,0.3); }
.admin-nav-link.active { color: var(--gold); background: rgba(201,168,76,0.12); border-left-color: var(--gold); }

.admin-main {
    margin-left: 260px; flex: 1;
    background: #F4F6FA; min-height: 100vh;
}
.admin-topbar {
    background: #fff; padding: 16px 32px;
    border-bottom: 1px solid #e8ecf0;
    display: flex; justify-content: space-between; align-items: center;
    position: sticky; top: 0; z-index: 50;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.admin-page-title { font-family: var(--font-display); color: var(--navy); margin: 0; font-size: 1.4rem; }
.admin-content { padding: 32px; }

.stat-card {
    background: #fff; border-radius: var(--radius-lg);
    padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #e8ecf0; transition: var(--transition);
    display: flex; align-items: center; gap: 20px;
}
.stat-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); transform: translateY(-2px); }
.stat-card-icon {
    width: 56px; height: 56px; border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; flex-shrink: 0;
}
.stat-card-icon.gold { background: rgba(201,168,76,0.12); color: var(--gold); }
.stat-card-icon.navy { background: rgba(26,39,68,0.1); color: var(--navy); }
.stat-card-icon.green { background: rgba(25,135,84,0.1); color: #198754; }
.stat-card-icon.red { background: rgba(220,53,69,0.1); color: #dc3545; }
.stat-card-icon.blue { background: rgba(13,110,253,0.1); color: #0d6efd; }
.stat-card-icon.purple { background: rgba(111,66,193,0.1); color: #6f42c1; }
.stat-card-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-card-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

.admin-table { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.admin-table .table { margin: 0; }
.admin-table .table th { background: var(--ivory); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); font-weight: 600; padding: 14px 20px; border-bottom: 1px solid #e8ecf0; }
.admin-table .table td { padding: 14px 20px; vertical-align: middle; font-size: 0.9rem; border-bottom: 1px solid #f0f0f0; }
.admin-table .table tr:last-child td { border-bottom: none; }
.admin-table .table tr:hover td { background: #fafafa; }

.admin-card { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); border: 1px solid #e8ecf0; }
.admin-card-header { padding: 20px 28px; border-bottom: 1px solid #e8ecf0; display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.admin-card-header h5 { margin: 0; font-size: 1rem; color: var(--navy); }
.admin-card-body { padding: 28px; }

/* Admin Login */
.admin-login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
    display: flex; align-items: center; justify-content: center;
}
.admin-login-card {
    background: #fff; border-radius: var(--radius-lg);
    padding: 48px 40px; width: 100%; max-width: 420px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}
.login-logo { text-align: center; margin-bottom: 32px; }
.login-cross { font-size: 2.5rem; color: var(--gold); }
.login-church-name { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); }
.login-sub { font-size: 0.8rem; color: var(--text-muted); }

/* Badge styles */
.badge-gold { background: rgba(201,168,76,0.15); color: var(--gold-dark); }
.badge-pending { background: rgba(255,193,7,0.15); color: #856404; }
.badge-approved { background: rgba(25,135,84,0.15); color: #146c43; }
.badge-rejected { background: rgba(220,53,69,0.15); color: #b02a37; }

/* ---- PAGINATION ---- */
.pagination .page-link {
    border: 1px solid var(--border); color: var(--navy);
    padding: 8px 16px; transition: var(--transition); border-radius: var(--radius) !important;
}
.pagination .page-link:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.pagination .page-item.active .page-link { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ---- ANIMATIONS ---- */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; }
    .section { padding: 64px 0; }
    .main-navbar .nav-link { padding: 10px 16px !important; }
    .main-navbar .nav-link::after { display: none; }
}
@media (max-width: 767px) {
    .hero-slider { height: 85vh; }
    .section { padding: 48px 0; }
}

/* ---- UTILITY ---- */
.text-gold { color: var(--gold) !important; }
.text-navy { color: var(--navy) !important; }
.bg-gold { background: var(--gold) !important; }
.bg-navy { background: var(--navy) !important; }
.border-gold { border-color: var(--gold) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }

/* Scripture Quote Block */
.scripture-block {
    background: var(--ivory); border-radius: var(--radius-lg);
    padding: 40px; text-align: center; border-left: 4px solid var(--gold);
    position: relative;
}
.scripture-block .verse {
    font-family: var(--font-display);
    font-size: 1.4rem; font-style: italic; color: var(--navy);
}
.scripture-block .reference {
    font-size: 0.85rem; color: var(--gold-dark);
    font-weight: 600; margin-top: 12px;
}

/* Map embed */
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 400px; border: none; }
