/* Mount Zion Fire Ministry - Main Stylesheet */

:root {
    --primary-blue: #1a3a8c;
    --dark-blue: #0f2260;
    --gold: #f5c518;
    --gold-dark: #d4a800;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background: #fff;
}

/* ===== TOPBAR ===== */
.topbar {
    background: var(--dark-blue);
    color: #fff;
    font-size: 13px;
    padding: 6px 0;
}
.topbar a { color: var(--gold); text-decoration: none; }
.topbar a:hover { color: #fff; }

/* ===== NAVBAR ===== */
.navbar {
    background: var(--primary-blue) !important;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.navbar-brand img { height: 65px; }
.navbar-brand span {
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}
.navbar-brand small { color: #ccc; font-size: 0.75rem; font-weight: 400; }
.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 20px 14px !important;
    transition: all 0.3s;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold) !important;
    background: rgba(255,255,255,0.1);
}
.navbar-toggler { border-color: var(--gold); }
.navbar-toggler-icon { filter: invert(1); }
.dropdown-menu { background: var(--dark-blue); border: none; border-radius: 0; }
.dropdown-item { color: #fff !important; font-size: 13px; padding: 10px 20px; }
.dropdown-item:hover { background: var(--gold); color: var(--dark-blue) !important; }

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 60%, #2a5298 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="40" fill="rgba(245,197,24,0.05)"/><circle cx="80" cy="80" r="60" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: cover;
}
.hero-content { position: relative; z-index: 2; }
.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}
.hero h1 span { color: var(--gold); }
.hero p { color: rgba(255,255,255,0.88); font-size: 1.15rem; max-width: 560px; }
.hero-logo { max-width: 280px; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5)); animation: float 4s ease-in-out infinite; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.btn-gold {
    background: var(--gold);
    color: var(--dark-blue);
    font-weight: 700;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}
.btn-gold:hover { background: var(--gold-dark); color: var(--dark-blue); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,197,24,0.4); }
.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    font-weight: 700;
    padding: 11px 28px;
    border: 2px solid var(--gold);
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}
.btn-outline-gold:hover { background: var(--gold); color: var(--dark-blue); }

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gold);
    margin: 12px auto 0;
    border-radius: 2px;
}
.section-title p { color: var(--text-muted); font-size: 1.05rem; margin-top: 15px; }

/* ===== SERVICE CARDS ===== */
.service-card {
    background: var(--primary-blue);
    color: #fff;
    border-radius: 8px;
    padding: 35px 25px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(26,58,140,0.3); }
.service-card .icon { font-size: 3rem; color: var(--gold); margin-bottom: 15px; }
.service-card h4 { font-weight: 700; margin-bottom: 8px; }
.service-card .time { background: var(--gold); color: var(--dark-blue); font-weight: 700; padding: 6px 18px; border-radius: 20px; display: inline-block; margin-top: 12px; font-size: 14px; }

/* ===== ABOUT SECTION ===== */
.about-section { background: var(--light-gray); }
.about-img { border-radius: 10px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.about-img img { width: 100%; height: 400px; object-fit: cover; object-position: top; }
.vision-item { display: flex; align-items: flex-start; margin-bottom: 18px; }
.vision-icon { background: var(--gold); color: var(--dark-blue); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; margin-right: 15px; margin-top: 2px; }

/* ===== LEADERSHIP SECTION ===== */
.leader-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transition: transform 0.3s;
}
.leader-card:hover { transform: translateY(-5px); }
.leader-card img { width: 100%; height: 320px; object-fit: cover; object-position: top; }
.leader-card .card-body { background: var(--primary-blue); color: #fff; padding: 25px; text-align: center; }
.leader-card .card-title { color: var(--gold); font-weight: 700; font-size: 1.2rem; }
.leader-card .card-text { color: rgba(255,255,255,0.85); font-size: 14px; }
.founder-badge { background: var(--gold); color: var(--dark-blue); font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; }

/* ===== SERMONS ===== */
.sermon-card {
    border: 1px solid #e0e6f0;
    border-radius: 8px;
    padding: 22px;
    transition: all 0.3s;
    background: #fff;
}
.sermon-card:hover { border-color: var(--primary-blue); box-shadow: 0 8px 25px rgba(26,58,140,0.15); transform: translateY(-3px); }
.sermon-card .date-badge { background: var(--gold); color: var(--dark-blue); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; display: inline-block; margin-bottom: 10px; }
.sermon-card h5 { color: var(--primary-blue); font-weight: 700; }
.sermon-card .preacher { color: var(--text-muted); font-size: 14px; margin-bottom: 10px; }

/* ===== EVENTS ===== */
.event-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border-left: 4px solid var(--gold);
    padding: 20px 20px 20px 25px;
    background: #fff;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.07);
    transition: all 0.3s;
}
.event-item:hover { border-left-color: var(--primary-blue); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.event-date-box { background: var(--primary-blue); color: #fff; min-width: 70px; border-radius: 6px; text-align: center; padding: 12px 8px; }
.event-date-box .day { font-size: 2rem; font-weight: 800; line-height: 1; }
.event-date-box .month { font-size: 12px; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.event-title { font-weight: 700; color: var(--primary-blue); font-size: 1.05rem; margin-bottom: 5px; }
.event-meta { font-size: 13px; color: var(--text-muted); }

/* ===== GIVING SECTION ===== */
.giving-card {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: #fff;
    border-radius: 12px;
    padding: 40px 35px;
    text-align: center;
}
.giving-card h3 { color: var(--gold); font-weight: 800; }
.bank-detail { background: rgba(255,255,255,0.12); border-radius: 8px; padding: 20px 25px; margin: 15px 0; text-align: left; }
.bank-detail label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); font-weight: 600; display: block; margin-bottom: 4px; }
.bank-detail .value { font-size: 1.15rem; font-weight: 700; color: #fff; }

/* ===== PRAYER REQUEST ===== */
.prayer-form { background: var(--primary-blue); color: #fff; border-radius: 12px; padding: 40px; }
.prayer-form label { color: var(--gold); font-weight: 600; font-size: 14px; }
.prayer-form .form-control, .prayer-form .form-select {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 6px;
}
.prayer-form .form-control:focus { background: rgba(255,255,255,0.15); border-color: var(--gold); color: #fff; box-shadow: 0 0 0 3px rgba(245,197,24,0.2); }
.prayer-form .form-control::placeholder { color: rgba(255,255,255,0.5); }

/* ===== CONTACT ===== */
.contact-info-box { background: var(--primary-blue); color: #fff; border-radius: 10px; padding: 30px; height: 100%; }
.contact-info-box h4 { color: var(--gold); margin-bottom: 20px; font-weight: 700; }
.contact-item { display: flex; align-items: flex-start; margin-bottom: 20px; }
.contact-icon { color: var(--gold); font-size: 1.3rem; min-width: 35px; margin-top: 2px; }
.contact-item p { margin: 0; color: rgba(255,255,255,0.88); line-height: 1.6; }
.map-embed { border-radius: 10px; overflow: hidden; }

/* ===== GALLERY ===== */
.gallery-grid .col { margin-bottom: 20px; }
.gallery-item { border-radius: 8px; overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26,58,140,0.7);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s;
    color: #fff; font-size: 2rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    padding: 80px 0 50px;
    color: #fff;
    text-align: center;
}
.page-header h1 { font-weight: 800; color: var(--gold); font-size: 2.5rem; }
.page-header .breadcrumb { justify-content: center; background: none; }
.page-header .breadcrumb-item a { color: rgba(255,255,255,0.7); text-decoration: none; }
.page-header .breadcrumb-item.active { color: var(--gold); }
.breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ===== FOOTER ===== */
footer {
    background: var(--dark-blue);
    color: rgba(255,255,255,0.8);
    padding-top: 60px;
}
footer h5 { color: var(--gold); font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; }
footer p, footer li, footer a { font-size: 14px; }
footer a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.3s; }
footer a:hover { color: var(--gold); }
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: 8px; }
footer ul li::before { content: '›'; color: var(--gold); margin-right: 8px; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; margin-top: 40px; font-size: 13px; color: rgba(255,255,255,0.5); }
.social-links a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.1); color: #fff; margin-right: 8px;
    transition: all 0.3s; text-decoration: none;
}
.social-links a:hover { background: var(--gold); color: var(--dark-blue); }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--gold); padding: 30px 0; }
.stat-item { text-align: center; }
.stat-item .number { font-size: 2.5rem; font-weight: 800; color: var(--dark-blue); line-height: 1; }
.stat-item .label { font-size: 13px; font-weight: 600; color: var(--dark-blue); text-transform: uppercase; letter-spacing: 1px; }

/* ===== ADMIN ===== */
.admin-sidebar {
    width: 260px; min-height: 100vh; background: var(--dark-blue);
    position: fixed; left: 0; top: 0; z-index: 100;
    overflow-y: auto;
}
.admin-sidebar .logo-area { padding: 25px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); text-align: center; }
.admin-sidebar .logo-area img { max-width: 70px; border-radius: 50%; }
.admin-sidebar .logo-area h6 { color: var(--gold); font-weight: 700; margin-top: 10px; font-size: 13px; }
.admin-sidebar .nav-link { color: rgba(255,255,255,0.75) !important; padding: 12px 20px; font-size: 14px; display: flex; align-items: center; gap: 10px; transition: all 0.3s; border-left: 3px solid transparent; }
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active { background: rgba(255,255,255,0.08); color: var(--gold) !important; border-left-color: var(--gold); }
.admin-sidebar .nav-link i { font-size: 16px; min-width: 20px; }
.admin-sidebar .menu-title { color: rgba(255,255,255,0.35); font-size: 10px; text-transform: uppercase; letter-spacing: 2px; padding: 15px 20px 5px; font-weight: 700; }
.admin-content { margin-left: 260px; min-height: 100vh; background: #f0f2f5; }
.admin-topbar { background: #fff; padding: 12px 25px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); display: flex; align-items: center; justify-content: space-between; }
.admin-topbar h5 { margin: 0; color: var(--primary-blue); font-weight: 700; }
.admin-inner { padding: 25px; }
.stat-card { background: #fff; border-radius: 10px; padding: 25px; border-left: 4px solid var(--gold); box-shadow: 0 3px 15px rgba(0,0,0,0.07); }
.stat-card .icon { font-size: 2.5rem; color: var(--primary-blue); }
.stat-card .count { font-size: 2.2rem; font-weight: 800; color: var(--dark-blue); }
.table-card { background: #fff; border-radius: 10px; box-shadow: 0 3px 15px rgba(0,0,0,0.07); overflow: hidden; }
.table-card .table-header { background: var(--primary-blue); color: #fff; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; }
.table-card .table-header h6 { margin: 0; font-weight: 700; }
.btn-primary-custom { background: var(--primary-blue); color: #fff; border: none; padding: 8px 20px; border-radius: 5px; font-size: 14px; cursor: pointer; transition: background 0.3s; }
.btn-primary-custom:hover { background: var(--dark-blue); color: #fff; }
.admin-login-wrap { min-height: 100vh; background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue)); display: flex; align-items: center; justify-content: center; }
.admin-login-card { background: #fff; border-radius: 12px; padding: 45px 40px; max-width: 420px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.admin-login-card img { max-width: 90px; }
.badge-status { font-size: 11px; padding: 4px 10px; border-radius: 20px; }

/* ===== UTILITIES ===== */
.bg-primary-custom { background: var(--primary-blue); }
.text-gold { color: var(--gold); }
.text-primary-blue { color: var(--primary-blue); }
.border-gold { border-color: var(--gold) !important; }
section { padding: 80px 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.2rem; }
    .hero-logo { max-width: 200px; margin-top: 30px; }
    .admin-sidebar { width: 220px; }
    .admin-content { margin-left: 220px; }
}
@media (max-width: 768px) {
    .hero { min-height: auto; padding: 60px 0; }
    .hero h1 { font-size: 1.8rem; }
    section { padding: 55px 0; }
    .admin-sidebar { transform: translateX(-100%); }
    .admin-content { margin-left: 0; }
    .admin-sidebar.open { transform: translateX(0); }
}
