/* ===== CSS Variables ===== */
:root {
    /* Deep Blue Metallic Colors */
    --primary-dark: #0a1628;
    --primary-mid: #1a2d4a;
    --primary-light: #2a4a6f;
    --primary-metallic: linear-gradient(135deg, #0a1628 0%, #1a2d4a 50%, #2a4a6f 100%);
    --metallic-shine: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);

    /* Gold Accent Colors */
    --gold-primary: #d4a853;
    --gold-light: #f0d078;
    --gold-dark: #b8860b;
    --gold-gradient: linear-gradient(135deg, #d4a853 0%, #f0d078 50%, #b8860b 100%);
    --gold-shimmer: linear-gradient(90deg, #d4a853 0%, #f0d078 25%, #fff9c4 50%, #f0d078 75%, #d4a853 100%);

    /* Neutral Colors */
    --text-primary: #e8e8e8;
    --text-secondary: #b8b8b8;
    --text-muted: #888888;
    --bg-darker: #050d16;
    --bg-light: #f5f5f5;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-darker);
    overflow-x: hidden;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 83, 0.2);
    transition: all var(--transition-normal);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.98);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--spacing-sm);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--gold-primary);
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform var(--transition-normal);
}

.nav-brand:hover {
    transform: scale(1.05);
}

.brand-icon {
    font-size: 2rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 3s infinite;
}

@keyframes goldShimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

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

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--gold-primary);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gold-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--primary-metallic);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(212, 168, 83, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 168, 83, 0.08) 0%, transparent 50%);
    animation: heroGlow 10s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--metallic-shine);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: var(--spacing-md);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 4s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: brightness(1) drop-shadow(0 0 10px rgba(212, 168, 83, 0.3)); }
    50% { filter: brightness(1.2) drop-shadow(0 0 20px rgba(212, 168, 83, 0.5)); }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--gold-primary);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ===== Buttons ===== */
.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(212, 168, 83, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 168, 83, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
}

.btn-secondary:hover {
    background: rgba(212, 168, 83, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 168, 83, 0.3);
}

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

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 40px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

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

/* ===== Section Styles ===== */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section:nth-child(even) {
    background: var(--primary-mid);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gold-gradient);
    margin: 1rem auto;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% { left: 100%; }
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: var(--spacing-lg);
}

.about-card {
    background: var(--primary-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid rgba(212, 168, 83, 0.1);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    color: var(--gold-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== Timeline ===== */
.history-section {
    max-width: 800px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold-gradient);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -34px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold-primary);
    border: 3px solid var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 168, 83, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(212, 168, 83, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 168, 83, 0); }
}

.timeline-content h4 {
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
}

/* ===== Fellowship Section ===== */
.fellowship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.fellowship-card {
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(212, 168, 83, 0.1);
    transition: all var(--transition-normal);
}

.fellowship-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.fellowship-image {
    height: 200px;
    background: var(--primary-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-placeholder {
    font-size: 5rem;
    opacity: 0.5;
}

.fellowship-content {
    padding: 1.5rem;
}

.fellowship-content h3 {
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.fellowship-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gold-gradient);
    color: var(--primary-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.fellowship-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.fellowship-details {
    list-style: none;
    margin-bottom: 1.5rem;
}

.fellowship-details li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-fellowship {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.btn-fellowship:hover {
    background: var(--gold-gradient);
    color: var(--primary-dark);
}

/* ===== Ministry Section ===== */
.ministry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: var(--spacing-lg);
}

.ministry-item {
    display: flex;
    gap: 1.5rem;
    background: var(--primary-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 168, 83, 0.1);
    transition: all var(--transition-normal);
}

.ministry-item:hover {
    transform: translateX(10px);
    box-shadow: -10px 0 30px rgba(212, 168, 83, 0.2);
}

.ministry-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.ministry-content h3 {
    color: var(--gold-primary);
    margin-bottom: 0.75rem;
}

.ministry-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.ministry-skills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ministry-skills span {
    padding: 0.25rem 0.75rem;
    background: rgba(212, 168, 83, 0.1);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    border-radius: 20px;
    font-size: 0.85rem;
}

/* ===== Events ===== */
.upcoming-events {
    margin-top: var(--spacing-lg);
}

.upcoming-events h3 {
    text-align: center;
    color: var(--gold-primary);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.events-list {
    display: grid;
    gap: 1.5rem;
}

.event-card {
    display: flex;
    gap: 1.5rem;
    background: var(--primary-light);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 168, 83, 0.1);
    transition: all var(--transition-normal);
}

.event-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 80px;
    background: var(--gold-gradient);
    color: var(--primary-dark);
    border-radius: var(--radius-md);
    font-weight: 700;
}

.date-day {
    font-size: 2rem;
    line-height: 1;
}

.date-month {
    font-size: 0.9rem;
}

.event-info {
    flex: 1;
}

.event-info h4 {
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.event-info p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.event-time {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.btn-event {
    padding: 0.5rem 1.5rem;
    background: var(--gold-gradient);
    color: var(--primary-dark);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-normal);
    align-self: center;
}

.btn-event:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(212, 168, 83, 0.4);
}

/* ===== Sermons Section ===== */
.sermon-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold-gradient);
    color: var(--primary-dark);
}

.sermon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.sermon-card {
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(212, 168, 83, 0.1);
    transition: all var(--transition-normal);
}

.sermon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.sermon-image {
    height: 180px;
    background: var(--primary-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.play-overlay {
    position: absolute;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transition: all var(--transition-normal);
}

.sermon-card:hover .play-overlay {
    opacity: 1;
    transform: scale(1.2);
}

.sermon-content {
    padding: 1.5rem;
}

.sermon-series {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(212, 168, 83, 0.2);
    color: var(--gold-primary);
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.sermon-series.special {
    background: var(--gold-gradient);
    color: var(--primary-dark);
}

.sermon-content h3 {
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.sermon-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.sermon-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.sermon-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-sermon {
    flex: 1;
    padding: 0.75rem;
    background: var(--gold-gradient);
    color: var(--primary-dark);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.btn-sermon:hover {
    transform: scale(1.05);
}

.btn-sermon-outline {
    flex: 1;
    padding: 0.75rem;
    background: transparent;
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.btn-sermon-outline:hover {
    background: rgba(212, 168, 83, 0.1);
}

/* ===== Contact Section ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: var(--spacing-lg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--primary-light);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 168, 83, 0.1);
    transition: all var(--transition-normal);
}

.info-card:hover {
    transform: translateX(10px);
    box-shadow: -10px 0 30px rgba(212, 168, 83, 0.2);
}

.info-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.info-card h3 {
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.info-link {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.info-link:hover {
    color: var(--gold-light);
}

.contact-form-wrapper {
    background: var(--primary-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 168, 83, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--gold-primary);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    background: var(--primary-mid);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
}

.btn-submit {
    padding: 1rem;
    background: var(--gold-gradient);
    color: var(--primary-dark);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 168, 83, 0.4);
}

/* ===== Social Links ===== */
.social-links {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.social-links h3 {
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--primary-light);
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-icon span:first-child {
    font-size: 2rem;
}

.social-icon:hover {
    transform: translateY(-5px);
    background: var(--gold-gradient);
    border-color: transparent;
}

.social-icon:hover span {
    color: var(--primary-dark);
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-dark);
    border-top: 1px solid rgba(212, 168, 83, 0.2);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: var(--spacing-md);
}

.footer-section h4 {
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

.subscribe-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.subscribe-form input {
    flex: 1;
    padding: 0.75rem;
    background: var(--primary-mid);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: var(--radius-md);
    color: var(--text-primary);
}

.subscribe-form button {
    padding: 0.75rem 1.5rem;
    background: var(--gold-gradient);
    color: var(--primary-dark);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.subscribe-form button:hover {
    transform: scale(1.05);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-bottom em {
    color: var(--gold-primary);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    color: var(--primary-dark);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(212, 168, 83, 0.4);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 168, 83, 0.6);
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--primary-dark);
        flex-direction: column;
        padding: 2rem;
        transition: left var(--transition-normal);
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        padding: var(--spacing-sm);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .about-grid,
    .fellowship-grid,
    .ministry-grid,
    .sermon-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        flex-direction: column;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }

    .section {
        padding: var(--spacing-lg) 0;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline-marker {
        left: -24px;
    }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--gold-primary);
    outline-offset: 2px;
}
