/*
Theme Name: KINGDOM UNITED CHURCH
Theme URI: https://www.blueprintchurch.us/
Author: NAEEM ASHRAF
Description: A premium, state-of-the-art, fully responsive WordPress theme clone of Blueprint Church in Houston, TX. Designed with dynamic cards, immersive dark aesthetics, and gorgeous micro-animations.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: KINGDOM UNITED CHURCH
Tags: custom-background, custom-colors, custom-menu, featured-images, flexible-header, full-width-template, theme-options, translation-ready

================================================================================
GLOBAL CONFIGURATION & CSS VARIABLES
================================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

:root {
    --bg-dark: #0a0c10;
    --bg-dark-rgb: 10, 12, 16;
    --bg-card: #131722;
    --bg-card-rgb: 19, 23, 34;
    --primary: #0070f3;
    --primary-rgb: 0, 112, 243;
    --primary-hover: #0051b3;
    --accent: #ffb703;
    --accent-rgb: 255, 183, 3;
    --text-light: #f5f6f8;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(19, 23, 34, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-title: 'Outfit', sans-serif;
    --max-width: 1200px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ============================================================================
RESET & BASE STYLES
============================================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-light);
}

p {
    color: var(--text-muted);
}

/* ============================================================================
TYPOGRAPHY UTILITIES
============================================================================ */
.text-center { text-align: center; }
.text-gradient {
    background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.accent-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, #ff5b00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================================================
LAYOUTS & CONTAINERS
============================================================================ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }
}

/* ============================================================================
PREMIUM GLASSMORPHIC BUTTONS
============================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 112, 243, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background-color: var(--primary-hover);
    box-shadow: 0 8px 25px rgba(0, 112, 243, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-light);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: var(--glass-shadow);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #f39c12 100%);
    color: #000;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.4);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 183, 3, 0.6);
}

/* ============================================================================
HEADER & NAVIGATION
============================================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-link {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: #fff;
    display: flex;
    align-items: center;
}

.logo-link span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.8rem;
}

.nav-link {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-item.current-menu-item .nav-link {
    color: #fff;
}

.nav-link:hover::after, .nav-item.current-menu-item .nav-link::after {
    width: 100%;
}

.btn-give-nav {
    background-color: var(--primary);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 112, 243, 0.3);
}

.btn-give-nav:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 112, 243, 0.5);
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 6px 0;
    transition: var(--transition-smooth);
}

@media (max-width: 1024px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(10, 12, 16, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: 0.4s ease-in-out;
        border-left: 1px solid var(--glass-border);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger.active .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* ============================================================================
HERO SECTION & DECORATIVE GRAPHICS
============================================================================ */
.hero {
    position: relative;
    padding: 12rem 0 8rem 0;
    display: flex;
    align-items: center;
    min-height: 90vh;
    background: radial-gradient(circle at 80% 20%, rgba(0, 112, 243, 0.15) 0%, rgba(10, 12, 16, 0) 60%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero {
        padding: 9rem 0 5rem 0;
    }
}

.hero-subtitle {
    font-family: var(--font-title);
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

@media (max-width: 768px) {
    .hero-description {
        margin: 0 auto 2.5rem auto;
    }
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-actions {
        justify-content: center;
    }
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    padding: 8px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--border-color);
}

.hero-image {
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    box-shadow: var(--glass-shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
}

.hero-badge-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.hero-badge-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* ============================================================================
DYNAMIC STATS / COUNTERS
============================================================================ */
.stats-banner {
    background: linear-gradient(180deg, rgba(19, 23, 34, 0.4) 0%, rgba(10, 12, 16, 0.8) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.stats-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}

.stats-info {
    max-width: 550px;
}

.stats-heading {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.stats-number-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stats-number {
    font-size: 7rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-title);
    background: linear-gradient(135deg, var(--accent) 0%, #ff5b00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 10px rgba(255, 183, 3, 0.2));
}

.stats-label {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ============================================================================
GLASS CARDS GRID & BOXES
============================================================================ */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 112, 243, 0.4);
    box-shadow: 0 12px 40px rgba(0, 112, 243, 0.15);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.glass-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-description {
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
}

/* ============================================================================
PASTORS / TEAM BIOGRAPHY SECTION
============================================================================ */
.pastor-section {
    background: radial-gradient(circle at 10% 80%, rgba(255, 183, 3, 0.08) 0%, rgba(10, 12, 16, 0) 65%);
}

.pastor-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

@media (max-width: 992px) {
    .pastor-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.pastor-image-container {
    position: relative;
}

.pastor-image-decor {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 24px;
    z-index: 1;
    pointer-events: none;
}

.pastor-image-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.pastor-info-box {
    padding-left: 1rem;
}

@media (max-width: 992px) {
    .pastor-info-box {
        padding-left: 0;
        text-align: center;
    }
}

.section-tag {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.pastor-heading {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.pastor-bio {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.pastor-subbio {
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    font-style: italic;
    color: var(--text-muted);
}

/* ============================================================================
EXODUS DEDICATED WOMEN'S LANDING STYLES
============================================================================ */
.exodus-hero {
    background: radial-gradient(circle at 50% 50%, rgba(255, 183, 3, 0.15) 0%, rgba(10, 12, 16, 0) 80%);
    text-align: center;
    padding: 14rem 0 8rem 0;
}

.exodus-scripture {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 2rem;
    color: #fff;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.exodus-intro {
    font-size: 1.2rem;
    max-width: 750px;
    margin: 0 auto 3rem auto;
    line-height: 1.8;
}

.exodus-expect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.exodus-expect-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    transition: var(--transition-bounce);
}

.exodus-expect-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateY(-5px);
}

/* ============================================================================
B-GROUPS ACCORDIONS & GRID
============================================================================ */
.semester-timeline {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.timeline-item {
    flex: 1;
    min-width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -1rem;
    width: 2rem;
    height: 1px;
    background: var(--border-color);
}

.timeline-item:last-child::after {
    display: none;
}

@media (max-width: 768px) {
    .timeline-item::after {
        display: none;
    }
}

.timeline-date {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 600;
}

/* B-GROUPS ACCORDION */
.accordion {
    max-width: 800px;
    margin: 4rem auto 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: #fff;
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition-smooth);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding-top: 1rem;
    font-size: 0.95rem;
}

/* ============================================================================
GIVE ONLINE GRID
============================================================================ */
.give-ways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.give-card {
    background: linear-gradient(135deg, rgba(19, 23, 34, 0.6) 0%, rgba(10, 12, 16, 0.9) 100%);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 20px;
    transition: var(--transition-bounce);
}

.give-card:hover {
    transform: scale(1.03);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0, 112, 243, 0.15);
}

.give-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* ============================================================================
FOOTER
============================================================================ */
.site-footer {
    background-color: #050608;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2.5rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.8rem;
    color: #fff;
}

.footer-logo span {
    color: var(--primary);
}

.footer-address {
    font-style: normal;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-title {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    color: var(--text-muted);
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.footer-link:hover {
    color: #fff;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin-top: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    transition: var(--transition-bounce);
}

.social-icon:hover {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: scale(1.1);
}

.footer-copyright {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-copyright a:hover {
    color: #fff;
}
