/**
 * Styles CSS - Plateforme Multi-Églises Bujumbura KLC
 * Design responsive pour tous les appareils
 */

/* ===== Variables CSS ===== */
:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --secondary-color: #0891b2;
    --accent-color: #f59e0b;
    --accent-dark: #d97706;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --text-light: #ffffff;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;
    --bg-overlay: rgba(0, 0, 0, 0.6);
    
    --border-color: #e2e8f0;
    --border-radius: 0.75rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(30, 64, 175, 0.15);
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Poppins', var(--font-primary);
    
    --transition-fast: all 0.15s ease;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1280px;
    --container-narrow: 800px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: var(--primary-dark);
}

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

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

.text-center { text-align: center; }
.text-muted { color: var(--text-secondary); }

/* ===== Header & Navigation ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    padding: 0.5rem 0;
    font-size: 0.8125rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.top-bar-link:hover {
    color: #ffffff;
}

.top-bar-link i {
    font-size: 0.75rem;
    opacity: 0.8;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Social Links */
.social-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Language Selector */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lang-btn i:first-child {
    font-size: 0.875rem;
}

.lang-btn i:last-child {
    font-size: 0.625rem;
    opacity: 0.7;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    overflow: hidden;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 0.625rem 1rem;
    color: #374151;
    font-size: 0.875rem;
    transition: var(--transition);
}

.lang-option:hover {
    background: #f3f4f6;
}

.lang-option.active {
    background: var(--primary-color);
    color: #ffffff;
}

/* Main Navigation */
.main-nav {
    padding: 0;
    background: #ffffff;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    height: 64px;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo img {
    height: 48px;
    width: auto;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}

/* Nav Links */
.nav-links {
    display: none;
    list-style: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    display: block;
    padding: 0.625rem 0.875rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: calc(100% - 1.75rem);
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    width: calc(100% - 1.75rem);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.btn-donate {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.btn-donate i {
    font-size: 0.8rem;
}

.btn-dashboard {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.8125rem;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-dashboard:hover {
    background: var(--border-color);
}

.btn-login {
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: var(--transition);
}

.btn-login:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--text-secondary);
    border-radius: 6px;
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 100;
}

.mobile-toggle:hover {
    background: var(--border-color);
}

.mobile-toggle:active {
    transform: scale(0.95);
}

@media (max-width: 1023px) {
    .mobile-toggle {
        display: flex !important;
    }
    
    .nav-links {
        display: none !important;
    }
    
    .btn-login, .btn-dashboard, .btn-icon {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .top-bar-left span {
        display: none;
    }
    
    .social-links {
        display: none;
    }
    
    .btn-donate span {
        display: none;
    }
    
    .btn-donate {
        padding: 0.625rem;
    }
    
    .btn-donate i {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .nav-logo img {
        height: 36px;
    }
    
    .main-nav .container {
        height: 56px;
        gap: 0.5rem;
    }
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex !important;
    }
    
    .btn-login, .btn-dashboard {
        display: block !important;
    }
    
    .mobile-toggle {
        display: none !important;
    }
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #374151;
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    padding: 0;
    overflow-y: auto;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.35s ease, 
                visibility 0.35s ease;
}

.mobile-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.mobile-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: none;
    border-radius: 8px;
    font-size: 1.25rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-close:hover {
    background: var(--border-color);
}

/* Mobile Language */
.mobile-lang {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-lang a {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.8125rem;
    border-radius: 20px;
    transition: var(--transition);
}

.mobile-lang a.active {
    background: var(--primary-color);
    color: #ffffff;
}

/* Mobile Nav Links */
.mobile-nav-links {
    padding: 1rem 0;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.mobile-nav-links a:last-child {
    border-bottom: none;
}

.mobile-nav-links a i {
    width: 24px;
    color: var(--text-secondary);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.mobile-nav-links a.active i {
    color: var(--primary-color);
}

/* Mobile Actions */
.mobile-actions {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-donate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    transition: var(--transition);
}

.mobile-dashboard,
.mobile-login,
.mobile-register,
.mobile-logout {
    display: block;
    padding: 0.875rem 1rem;
    text-align: center;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-dashboard {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.mobile-login {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.mobile-register {
    background: var(--primary-color);
    color: #ffffff;
}

.mobile-logout {
    background: #fef2f2;
    color: #dc2626;
}

/* Additional mobile styles */
@media (max-width: 767px) {
    .top-bar-link i {
        font-size: 1rem;
    }
    
    .btn-donate {
        padding: 0.5rem;
        width: 36px;
        height: 36px;
        border-radius: 8px;
        justify-content: center;
    }
    
    .btn-donate i {
        font-size: 1rem;
    }
    
    .mobile-menu {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .mobile-menu-header {
        padding: 0.875rem 1rem;
    }
    
    .mobile-nav-links a {
        padding: 0.875rem 1rem;
    }
    
    .mobile-actions {
        padding: 1rem;
    }
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(-15deg);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg-secondary), transparent);
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(30, 64, 175, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--text-light);
    text-align: center;
    padding: 6rem 0;
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    max-width: 550px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    min-width: 160px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    min-height: 48px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #0e7490);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #0e7490, var(--secondary-color));
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--text-light);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--text-light);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--bg-primary);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background: var(--bg-primary);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    min-height: 38px;
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.1rem;
    min-height: 56px;
}

/* ===== Cards ===== */
.card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
    border-color: transparent;
}

.card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: var(--transition-slow);
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-img-wrapper {
    overflow: hidden;
    position: relative;
}

.card-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.card:hover .card-img-wrapper::after {
    opacity: 1;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.card-meta i {
    color: var(--primary-light);
    margin-right: 0.25rem;
}

/* ===== Sections ===== */
.section {
    padding: 5rem 0;
    position: relative;
}

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

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3.5rem;
}

.section-header .section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    background: var(--primary-50);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.section-header h2 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ===== Grid ===== */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(1, 1fr); }

@media (min-width: 576px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 992px) {
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ===== Church Cards ===== */
.church-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.church-card:hover {
    background: var(--bg-primary);
}

.church-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.25rem;
    border: 4px solid var(--bg-primary);
    box-shadow: var(--shadow-lg), 0 0 0 4px var(--primary-100);
    transition: var(--transition);
}

.church-card:hover .church-logo {
    transform: scale(1.08);
    box-shadow: var(--shadow-xl), 0 0 0 6px var(--primary-200);
}

.church-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.church-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

/* ===== Live Banner ===== */
.live-banner {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: var(--text-light);
    padding: 1rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.live-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(50%); }
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.live-dot {
    width: 14px;
    height: 14px;
    background: var(--text-light);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 10px rgba(255,255,255,0.5); }
    50% { opacity: 0.7; transform: scale(1.3); box-shadow: 0 0 20px rgba(255,255,255,0.8); }
}

/* ===== Donation Section ===== */
.donation-section {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.donation-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.donation-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.donation-method {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    min-width: 130px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}

.donation-method:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
}

.donation-method i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.donation-method div {
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== Forms ===== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: var(--bg-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 576px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer h4 {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--text-light);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ===== Newsletter ===== */
.newsletter {
    background: var(--primary-color);
    padding: 3rem 0;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius);
}

/* ===== Partners ===== */
.partners-slider {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.partner-logo {
    height: 60px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== Alerts ===== */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* ===== Dashboard Sidebar ===== */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--bg-dark);
    color: var(--text-light);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transform: translateX(-100%);
    transition: var(--transition);
}

.sidebar.active {
    transform: translateX(0);
}

@media (min-width: 992px) {
    .sidebar {
        transform: translateX(0);
    }
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
    padding: 1rem 0;
}

.sidebar-nav-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.sidebar-nav-item:hover,
.sidebar-nav-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.sidebar-nav-item i {
    width: 20px;
    margin-right: 0.75rem;
}

.sidebar-section {
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 1rem;
}

.main-content {
    flex: 1;
    margin-left: 0;
    transition: var(--transition);
}

@media (min-width: 992px) {
    .main-content {
        margin-left: 260px;
    }
}

.dashboard-header {
    background: var(--bg-primary);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.dashboard-content {
    padding: 1.5rem;
}

/* ===== Tables ===== */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background: var(--bg-secondary);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.table tbody tr:hover {
    background: var(--bg-secondary);
}

/* ===== Stats Cards ===== */
.stat-card {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-card-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ===== Badges ===== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.badge-danger {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
}

.badge-warning {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.badge-info {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: 1.125rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-body {
    padding: 1.25rem;
}

.modal-footer {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding: 1.25rem;
    border-top: 1px solid var(--border-color);
}

/* ===== Utilities ===== */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.flex-wrap { flex-wrap: wrap; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.w-100 { width: 100%; }
.text-sm { font-size: 0.875rem; }
.font-bold { font-weight: 700; }

@media (max-width: 575px) {
    .d-sm-none { display: none !important; }
}

@media (min-width: 768px) {
    .d-md-block { display: block !important; }
    .d-md-flex { display: flex !important; }
}

/* ===== Professional Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-out forwards;
}

/* ===== Communication Banner ===== */
.comm-banner {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 0;
}

.comm-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) transparent;
}

.comm-scroll::-webkit-scrollbar {
    height: 6px;
}

.comm-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.comm-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 3px;
}

.comm-card {
    min-width: 300px;
    flex-shrink: 0;
    padding: 1.25rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    transition: var(--transition);
}

.comm-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

/* ===== Partners Section ===== */
.partners-slider {
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.partner-logo {
    height: 70px;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition);
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* ===== Scroll Indicator ===== */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-indicator i {
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

/* ===== Glassmorphism Utilities ===== */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Focus States ===== */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-200);
}

/* ===== Print Styles ===== */
@media print {
    .header, .footer, .live-banner, .donation-section {
        display: none !important;
    }
}
