/* ===================================
   CSS VARIABLES & RESET
   =================================== */
:root {
    /* New Zion Church Colors - Matching existing website */
    --color-primary: #8B1538;        /* Deep burgundy/maroon */
    --color-primary-dark: #6B0F2A;   /* Darker burgundy */
    --color-primary-light: #A41E45;  /* Lighter burgundy */
    --color-secondary: #C41E3A;      /* Bright red accent */
    --color-accent: #D4AF37;         /* Gold accent */

    /* Neutrals - Modern soft tones */
    --color-white: #ffffff;
    --color-off-white: #fafafa;
    --color-light-gray: #f3f4f6;
    --color-gray: #9ca3af;
    --color-dark-gray: #4b5563;
    --color-darker: #1f2937;
    --color-darkest: #111827;

    /* Semantic Colors */
    --color-success: #10b981;
    --color-error: #ef4444;
    --color-warning: #f59e0b;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

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

    /* Border Radius - Modern softer edges */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows - Subtle depth */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-darker);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

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

.section-dark {
    background-color: var(--color-darkest);
    color: var(--color-white);
}

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

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-dark-gray);
    margin-bottom: var(--spacing-md);
}

.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 2.5rem;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    line-height: 1;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-darker);
    position: relative;
    padding: var(--spacing-xs) var(--spacing-sm);
    line-height: 1.5;
    display: inline-block;
    white-space: nowrap;
    transition: color var(--transition-base);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: var(--spacing-sm);
    right: var(--spacing-sm);
    width: calc(100% - var(--spacing-md));
    height: 2px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

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

.btn-give {
    padding: var(--spacing-xs) var(--spacing-lg) !important;
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    line-height: 1.5 !important;
}

.btn-give::after {
    display: none !important;
}

.btn-give:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--color-white) !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-darkest);
    transition: all var(--transition-base);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    overflow: hidden;
    margin-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="white" fill-opacity="0.1"/></svg>');
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    max-width: 900px;
    padding: 0 var(--spacing-lg);
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 300;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-3xl);
}

.hero-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    max-width: 800px;
    margin: 0 auto;
}

.info-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-card i {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.info-card div {
    text-align: left;
}

.info-card strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.info-card span {
    font-size: 0.875rem;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: var(--color-white);
    opacity: 0.7;
}

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

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

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

/* White variant for dark backgrounds */
.section-dark .btn-secondary,
.hero .btn-secondary,
.page-header .btn-secondary {
    color: var(--color-white);
    border-color: var(--color-white);
}

.section-dark .btn-secondary:hover,
.hero .btn-secondary:hover,
.page-header .btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

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

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-content p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.value-card {
    text-align: center;
    padding: var(--spacing-lg);
    background-color: var(--color-off-white);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.value-card p {
    font-size: 0.9rem;
    color: var(--color-dark-gray);
    margin: 0;
}

.about-image {
    position: relative;
}

.church-photo {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    object-fit: cover;
}

.image-placeholder {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--color-light-gray) 0%, var(--color-gray) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    color: var(--color-dark-gray);
}

.image-placeholder i {
    font-size: 4rem;
    opacity: 0.3;
}

.image-placeholder p {
    font-size: 0.875rem;
    opacity: 0.6;
}

/* ===================================
   LIVE STREAMING SECTION
   =================================== */
.live-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background-color: var(--color-darker);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.live-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.live-schedule {
    background-color: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.live-schedule h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-item:last-child {
    border-bottom: none;
}

.live-dot {
    color: var(--color-success);
    font-size: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.schedule-item strong {
    display: block;
    margin-bottom: 2px;
}

.schedule-item span {
    font-size: 0.875rem;
    opacity: 0.8;
}

.live-description {
    line-height: 1.8;
    opacity: 0.9;
}

/* ===================================
   SERMON LIBRARY
   =================================== */
.sermon-filter {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--spacing-xs) var(--spacing-lg);
    background-color: transparent;
    color: var(--color-darker);
    border: 2px solid var(--color-light-gray);
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.sermon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.sermon-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.sermon-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.sermon-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sermon-thumbnail i {
    font-size: 3rem;
    color: var(--color-white);
    opacity: 0.8;
}

.sermon-type {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    padding: 4px 12px;
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.sermon-content {
    padding: var(--spacing-lg);
}

.sermon-date {
    font-size: 0.875rem;
    color: var(--color-gray);
    margin-bottom: var(--spacing-xs);
}

.sermon-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--color-darkest);
}

.sermon-content p {
    font-size: 0.9rem;
    color: var(--color-dark-gray);
    margin-bottom: var(--spacing-md);
}

.sermon-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.sermon-link:hover {
    gap: var(--spacing-sm);
}

/* ===================================
   PASTOR SECTION
   =================================== */
.pastor-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.pastor-photo {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 3px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
}

.pastor-image .image-placeholder {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.pastor-image .image-placeholder i {
    font-size: 5rem;
    opacity: 0.3;
}

.pastor-image .image-placeholder p {
    font-size: 1rem;
    opacity: 0.8;
    text-align: center;
}

.pastor-info h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-white);
}

.pastor-title {
    font-size: 1.125rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.pastor-info .lead {
    color: rgba(255, 255, 255, 0.9);
}

.pastor-info p {
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.pastor-info .btn {
    margin-top: var(--spacing-md);
}

/* ===================================
   ANNOUNCEMENTS SECTION
   =================================== */
.announcements-content {
    text-align: center;
}

.special-announcement {
    max-width: 900px;
    margin: 0 auto var(--spacing-3xl);
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, #fff9e6 0%, #fff5cc 100%);
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--color-accent);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--color-accent);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}

.announcement-badge i {
    font-size: 1rem;
}

.special-announcement h3 {
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.special-announcement p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-darker);
    margin: 0;
}

.recognition-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.recognition-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--color-accent);
}

.recognition-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.recognition-text p {
    margin: 0;
}

.announcements-form-container {
    max-width: 800px;
    margin: var(--spacing-xl) auto;
    padding: var(--spacing-lg);
    background-color: var(--color-off-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    min-height: 696px;
}

.announcements-form-container iframe {
    min-height: 696px;
}

.announcements-cta {
    margin: var(--spacing-xl) 0;
}

.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.announcement-card {
    padding: var(--spacing-xl);
    background-color: var(--color-off-white);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    text-align: center;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.announcement-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-icon i {
    font-size: 2rem;
    color: var(--color-white);
}

.announcement-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-darkest);
}

.announcement-card p {
    color: var(--color-dark-gray);
    line-height: 1.7;
    margin: 0;
}

/* ===================================
   EVENTS SECTION
   =================================== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.event-card {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.event-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.event-date {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background-color: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.event-date .month {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-date .day {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.event-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
    opacity: 0.8;
}

.event-meta i {
    margin-right: 4px;
}

.event-content p {
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.event-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.event-link:hover {
    gap: var(--spacing-sm);
}

/* ===================================
   GIVING SECTION
   =================================== */
.giving-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.giving-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.giving-option {
    padding: var(--spacing-lg);
    background-color: var(--color-off-white);
    border-radius: var(--radius-lg);
    text-align: center;
}

.giving-option i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.giving-option h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.giving-option p {
    font-size: 0.9rem;
    color: var(--color-dark-gray);
    margin-bottom: var(--spacing-md);
}

.giving-option strong {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.giving-link {
    display: inline-block;
    margin-top: var(--spacing-sm);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: underline;
    transition: all var(--transition-base);
}

.giving-link:hover {
    color: var(--color-primary-light);
}

.giving-cta {
    text-align: center;
}

.giving-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.giving-buttons .btn {
    min-width: 200px;
}

.giving-buttons .btn i {
    margin-right: var(--spacing-xs);
}

.giving-note {
    margin-top: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--color-gray);
}

.giving-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.stat-card {
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--color-white);
}

.stat-card i {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.stat-card p {
    font-size: 1rem;
    opacity: 0.95;
    margin: 0;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.member-update-section {
    max-width: 900px;
    margin: 0 auto var(--spacing-3xl);
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-primary);
}

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

.member-update-header i {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: var(--spacing-md);
}

.member-update-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
}

.member-update-header p {
    font-size: 1rem;
    opacity: 0.9;
    color: var(--color-white);
}

.member-update-form-container {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    min-height: 678px;
}

.member-update-form-container iframe {
    min-height: 678px;
}

.section-divider {
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    margin: var(--spacing-3xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-card {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card i {
    font-size: 1.5rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.6;
}

.contact-form-wrapper {
    background-color: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 678px;
}

.contact-form-wrapper iframe {
    min-height: 678px;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: var(--spacing-md);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background-color: var(--color-darkest);
    color: var(--color-white);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-logo i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.footer-column p {
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: var(--spacing-md);
}

.footer-column h4 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-column ul a {
    opacity: 0.8;
    transition: all var(--transition-base);
}

.footer-column ul a:hover {
    opacity: 1;
    color: var(--color-primary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.social-links a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom p {
    opacity: 0.7;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-bottom-links a {
    opacity: 0.7;
    font-size: 0.875rem;
}

.footer-bottom-links a:hover {
    opacity: 1;
    color: var(--color-primary);
}

/* ===================================
   PAGE HEADER (for subpages)
   =================================== */
.page-header {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/images/church-building.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 70px;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.85) 0%, rgba(196, 30, 58, 0.85) 100%);
    z-index: 1;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    padding: var(--spacing-xl);
}

.page-header-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.page-header-content p {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: 0.95rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--color-white);
    transition: all var(--transition-base);
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.breadcrumb span {
    opacity: 0.6;
}

/* ===================================
   PASTOR BIO PAGE
   =================================== */
.pastor-bio-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.pastor-bio-image {
    position: sticky;
    top: 100px;
}

.pastor-credentials {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background-color: var(--color-off-white);
    border-radius: var(--radius-lg);
    text-align: center;
}

.pastor-credentials h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.pastor-credentials .title {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
}

.pastor-credentials .subtitle {
    color: var(--color-dark-gray);
    font-size: 0.95rem;
}

.bio-text {
    line-height: 1.8;
}

.bio-text h3 {
    font-size: 1.5rem;
    margin: var(--spacing-xl) 0 var(--spacing-md);
    color: var(--color-primary);
}

.bio-text p {
    margin-bottom: var(--spacing-md);
}

.pastor-contact-info {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, var(--color-off-white) 0%, #f8f5f0 100%);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-primary);
}

.pastor-contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
}

.pastor-contact-info p {
    margin-bottom: var(--spacing-lg);
    color: var(--color-darker);
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item strong {
    color: var(--color-darkest);
    margin-bottom: 0.25rem;
}

.contact-item span {
    color: var(--color-darker);
    font-size: 0.9rem;
}

.contact-form-container {
    max-width: 800px;
    margin: var(--spacing-xl) auto;
    padding: var(--spacing-xl);
    background-color: var(--color-off-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    min-height: 678px;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.focus-card {
    text-align: center;
    padding: var(--spacing-xl);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.focus-card i {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: var(--spacing-md);
}

.focus-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
}

.focus-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
}

/* ===================================
   BELIEFS PAGE
   =================================== */
.beliefs-content {
    max-width: 900px;
    margin: 0 auto;
}

.belief-item {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid var(--color-light-gray);
}

.belief-item:last-child {
    border-bottom: none;
}

.belief-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.belief-icon i {
    font-size: 2rem;
    color: var(--color-white);
}

.belief-text h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.belief-text p {
    line-height: 1.8;
    color: var(--color-dark-gray);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.mission-card {
    text-align: center;
    padding: var(--spacing-2xl);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mission-card i {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: var(--spacing-md);
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.mission-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin: 0;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    color: var(--color-dark-gray);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   DONATE PAGE
   =================================== */
.giving-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0;
}

.giving-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 1.05rem;
}

.giving-list i {
    color: var(--color-primary);
    font-size: 1.25rem;
}

.scripture-box {
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: var(--radius-lg);
    color: var(--color-white);
    position: relative;
}

.scripture-box i {
    font-size: 2rem;
    opacity: 0.3;
    margin-bottom: var(--spacing-sm);
}

.scripture-box p {
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.8;
    margin: 0;
}

.scripture-ref {
    display: block;
    margin-top: var(--spacing-md);
    font-size: 1rem;
    font-weight: 600;
    text-align: right;
}

.giving-methods {
    margin-top: var(--spacing-3xl);
}

.methods-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-xl);
    color: var(--color-darkest);
}

.method-description {
    font-size: 0.95rem;
    color: var(--color-dark-gray);
    margin: var(--spacing-sm) 0 var(--spacing-md);
}

.other-methods {
    margin-top: var(--spacing-3xl);
    padding: var(--spacing-xl);
    background-color: var(--color-off-white);
    border-radius: var(--radius-lg);
}

.other-methods h4 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xl);
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.method-card {
    text-align: center;
    padding: var(--spacing-lg);
}

.method-card i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.method-card h5 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.method-card p {
    font-size: 0.95rem;
    color: var(--color-dark-gray);
    line-height: 1.6;
    margin: 0;
}

.tax-info {
    margin: var(--spacing-3xl) 0;
    padding: var(--spacing-lg);
    background-color: var(--color-light-gray);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: start;
    gap: var(--spacing-md);
}

.tax-info i {
    font-size: 1.5rem;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.tax-info p {
    margin: 0;
    line-height: 1.7;
}

.giving-questions {
    text-align: center;
    margin-top: var(--spacing-3xl);
    padding: var(--spacing-2xl);
    background-color: var(--color-off-white);
    border-radius: var(--radius-lg);
}

.giving-questions h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
}

.giving-questions p {
    font-size: 1.05rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-dark-gray);
    line-height: 1.7;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .about-grid,
    .pastor-content,
    .live-container,
    .giving-wrapper,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--color-white);
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        margin-top: 60px;
        min-height: 90vh;
    }

    .hero-content {
        padding-top: var(--spacing-3xl);
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-info {
        grid-template-columns: 1fr;
    }

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

    .about-values,
    .giving-options {
        grid-template-columns: 1fr;
    }

    .sermon-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }

    .member-update-section {
        padding: var(--spacing-md);
    }

    .member-update-header h3 {
        font-size: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .event-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .pastor-bio-grid {
        grid-template-columns: 1fr;
    }

    .pastor-bio-image {
        position: relative;
        top: 0;
    }

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

    .recognition-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .recognition-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .contact-form-wrapper {
        padding: var(--spacing-md);
    }

    .contact-form-container {
        padding: var(--spacing-md);
        margin: var(--spacing-md) auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .btn {
        width: 100%;
    }

    .hero-cta {
        width: 100%;
    }

    .contact-form-wrapper,
    .contact-form-container {
        padding: var(--spacing-sm);
        margin: var(--spacing-sm) auto;
    }
}

/* ===================================
   ANIMATIONS & MICRO-INTERACTIONS
   =================================== */
@media (prefers-reduced-motion: no-preference) {
    .value-card,
    .sermon-card,
    .event-card {
        animation: fadeIn 0.6s ease-out;
    }

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

/* ===================================
   ACCESSIBILITY
   =================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    .navbar,
    .hero,
    .scroll-indicator,
    .btn,
    .footer {
        display: none;
    }

    body {
        color: black;
        background: white;
    }
}
