
/* ----------------------------------------------------
    1. ROOT VARIABLES & RESET
    ---------------------------------------------------- */
:root {
    --primary: #8B0000;
    --primary-dark: #5a0000;
    --gold: #FFD700;
    --gold-dim: #C5A000;
    --blue: #000080;
    --white: #ffffff;
    --light-gray: #f4f6f8;
    --dark: #1a1a1a;
    --text-gray: #666;

    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --gradient: linear-gradient(135deg, var(--primary) 0%, #4a0000 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.logo-font {
    font-family: 'Cinzel', serif;
    /* Cinematic/Biblical feel */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ----------------------------------------------------
    2. UTILITIES & COMPONENTS
    ---------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-btn-special {
    transition: all 0.3s ease;
    border-radius: 12px;
    padding: 14px;
    font-size: 16px;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
}

.btn-gold {
    background: var(--gold);
    color: var(--primary-dark);
    border: 2px solid var(--gold);
}

.btn-gold:hover {
    background: var(--white);
    color: var(--primary);
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header span {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto 0;
}

/* ----------------------------------------------------
    3. PRELOADER
    ---------------------------------------------------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-logo {
    width: 80px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1); 
        opacity: 1;
    }
}

/* ----------------------------------------------------
    4. HEADER & NAVIGATION
    ---------------------------------------------------- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: 0.4s;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.logo img {
    height: 50px;
}

header.scrolled .logo {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 15px;
    position: relative;
}

header.scrolled .nav-links a {
    color: var(--dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gold);
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-btn {
    padding: 10px 25px;
    border-radius: 30px;
    background: var(--gold);
    color: var(--primary);
    font-weight: 700;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    color: var(--white);
    cursor: pointer;
}

header.scrolled .menu-toggle {
    color: var(--dark);
}

/* ----------------------------------------------------
    5. HERO SLIDER
    ---------------------------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 600px;
    color: var(--white);
    z-index: 2;
}

.hero-content h1 {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* ----------------------------------------------------
    6. COUNTDOWN BAR
    ---------------------------------------------------- */
.countdown-section {
    background: var(--primary);
    color: var(--white);
    padding: 30px 0;
    margin-top: -5px;
}

.countdown-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.next-service {
    display: flex;
    align-items: center;
    gap: 15px;
}

.next-service i {
    font-size: 30px;
    color: var(--gold);
}

.next-service h4 {
    margin: 0;
    font-size: 18px;
}

.next-service p {
    font-size: 14px;
    opacity: 0.8;
}

.timer {
    display: flex;
    gap: 15px;
}

.time-box {
    text-align: center;
}

.time-box span {
    display: block;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Cinzel', serif;
}

.time-box small {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--gold);
}

/* ----------------------------------------------------
    7. ABOUT & WELCOME
    ---------------------------------------------------- */
.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img {
    position: relative;
}

.about-img img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-img::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-top: 5px solid var(--gold);
    border-left: 5px solid var(--gold);
}

.about-text h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 20px;
    text-align: justify;
}

/* ----------------------------------------------------
    8. BIBLE REVIEWS (FEATURED)
    ---------------------------------------------------- */
.reviews-section {
    background: var(--light-gray);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: 0.4s;
    position: relative;
    border-top: 4px solid var(--primary);
}

.review-card:hover {
    transform: translateY(-10px);
}

.review-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.review-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--dark);
}

.review-excerpt {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 20px;
    height: 60px;
    overflow: hidden;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
}

.empty-reviews {
    grid-column: 1/-1;
    text-align: center;
    padding: 40px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    color: #999;
}

/* ----------------------------------------------------
    9. CALL TO ACTION (JOIN)
    ---------------------------------------------------- */
.cta-section {
    background: linear-gradient(rgba(139, 0, 0, 0.9), rgba(0, 0, 128, 0.9)), url('assets/img/worship-bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

/* ----------------------------------------------------
    10. FOOTER
    ---------------------------------------------------- */
footer {
    background: #111;
    color: #aaa;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.footer-col p {
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.newsletter input {
    width: 100%;
    padding: 12px;
    border: none;
    background: #222;
    color: #fff;
    margin-bottom: 10px;
    border-radius: 5px;
}

.copyright {
    background: #000;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    border-top: 1px solid #222;
}

/* ----------------------------------------------------
    11. RESPONSIVE MEDIA QUERIES
    ---------------------------------------------------- */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 40px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .nav-links,
    .nav-btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 28px;
    }

    .countdown-wrap {
        justify-content: center;
        text-align: center;
    }

    .timer {
        gap: 10px;
    }
}

/* MOBILE DRAWER */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background: var(--dark);
    z-index: 1001;
    padding: 50px 30px;
    transition: 0.4s;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    display: block;
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: var(--white);
}