/* ============================================
   Jobe's Chapel Missionary Baptist Church
   A Church on the Move for God
   Custom Styles - Purple & Gold Theme
   ============================================ */

/* CSS Variables */
:root {
    /* Primary Colors - Royal Purple & Gold */
    --royal-purple: #25255a;
    --deep-purple: #181845;
    --purple-dark: #0f0f2a;
    --gold: #c9a227;
    --gold-light: #dbb84d;
    --gold-dark: #a88620;
    
    /* Neutrals */
    --cream: #faf8f2;
    --cream-dark: #f0ece0;
    --white: #ffffff;
    --gray-light: #e8e6e0;
    --gray: #6b6b6b;
    --gray-dark: #333333;
    --black: #1a1a1a;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-dark);
    background-color: var(--cream);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--purple-dark);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--royal-purple);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--gold);
}

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

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(30, 30, 82, 0.98);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 60px;
    width: auto;
    transition: height var(--transition-normal);
}

.navbar.scrolled .nav-logo img {
    height: 45px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition-normal);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--gold-light);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-normal);
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(201, 162, 39, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 162, 39, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Decorative geometric pattern */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 50px,
            rgba(201, 162, 39, 0.03) 50px,
            rgba(201, 162, 39, 0.03) 100px
        );
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-logo {
    width: 200px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero .tagline {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-style: italic;
    color: var(--gold-light);
    margin-bottom: 10px;
}

.hero .founded {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
    transition: all var(--transition-normal);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 162, 39, 0.4);
    color: var(--white);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.5; }
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light h2,
.section-header.light .section-subtitle {
    color: var(--white);
}

.section-header.light .decorative-line::before,
.section-header.light .decorative-line::after {
    background: rgba(255, 255, 255, 0.3);
}

.section-subtitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.decorative-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.decorative-line::before,
.decorative-line::after {
    content: '';
    width: 60px;
    height: 1px;
    background: var(--gold);
}

/* ============================================
   Welcome Section
   ============================================ */
.welcome-section {
    background: var(--white);
    position: relative;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--royal-purple), var(--gold));
}

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

.lead-text {
    font-size: 1.25rem;
    color: var(--purple-dark);
    margin-bottom: 1.5rem;
}

.beliefs-section {
    background: var(--white);
    position: relative;
}

.beliefs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--royal-purple), var(--gold));
}

.beliefs-content {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.beliefs-text {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 40px;
}

@media (max-width: 768px) {
    .beliefs-text {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.belief-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-light);
}

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

.belief-statement {
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--purple-dark);
    font-weight: 600;
    margin-bottom: 10px;
    font-family: var(--font-display);
}

.scripture-references {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.scripture-references li {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--gray-dark);
    margin-bottom: 6px;
    padding-left: 25px;
    position: relative;
}

.scripture-references li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
    font-size: 1.2rem;
}

.scripture-references li strong {
    color: var(--royal-purple);
    font-weight: 600;
}

/* ============================================
   Pastor Section
   ============================================ */
.pastor-section {
    background: var(--cream);
    position: relative;
}

.pastor-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--gold);
    margin-top: -15px;
}

.pastor-credentials {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gray);
    margin-top: 5px;
    font-weight: 500;
}

.pastor-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

.pastor-image-left {
    position: sticky;
    top: 120px;
}

.pastor-bio-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.pastor-image-right {
    margin-top: auto;
}

.image-frame {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.image-frame + .image-frame {
    margin-top: 20px;
}

.headshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    object-fit: cover;
}

.pastor-bio h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--royal-purple);
}

.pastor-bio p {
    color: var(--gray);
}

.pastor-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.detail-card {
    background: var(--white);
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--gold);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-slow);
}

.detail-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.detail-card h4 {
    font-size: 1.3rem;
    color: var(--royal-purple);
    margin-bottom: 15px;
}

.detail-card p {
    color: var(--gray);
    margin-bottom: 0;
}

.family-card {
    grid-column: 1 / -1;
    max-width: 100%;
}

.family-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
}

.family-image {
    width: 100%;
}

.family-photo {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.family-text {
    flex: 1;
}

.pastor-quote {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--royal-purple) 100%);
    border-radius: 8px;
    position: relative;
}

.pastor-quote::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-family: var(--font-display);
    font-size: 100px;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
}

.pastor-quote blockquote {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--white);
    margin-bottom: 20px;
}

.pastor-quote cite {
    color: var(--gold-light);
    font-size: 1rem;
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--royal-purple) 100%);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 0% 0%, rgba(201, 162, 39, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(201, 162, 39, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-slow);
}

.service-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-note {
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card li:last-child {
    border-bottom: none;
}

.service-card li strong {
    color: var(--gold-light);
}

.service-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--gold-light);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.service-link:hover {
    color: var(--white);
}

/* ============================================
   Watch Live Section
   ============================================ */
.watch-live-section {
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.watch-live-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.live-info {
    text-align: left;
}

.live-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--royal-purple) 0%, var(--deep-purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(61, 61, 143, 0.3);
}

.live-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.live-info h3 {
    font-size: 2rem;
    color: var(--purple-dark);
    margin-bottom: 15px;
}

.live-info p {
    color: var(--gray);
    font-size: 1.1rem;
}

.live-schedule {
    background: rgba(61, 61, 143, 0.08);
    padding: 20px 25px;
    border-radius: 8px;
    margin: 25px 0;
    border-left: 4px solid var(--gold);
}

.live-schedule p {
    margin-bottom: 5px;
    color: var(--purple-dark);
}

.facebook-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: #1877F2;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.3);
}

.facebook-button:hover {
    background: #166fe5;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(24, 119, 242, 0.4);
    color: var(--white);
}

.fb-icon {
    width: 22px;
    height: 22px;
}

.recent-service {
    margin-top: 25px;
}

.recent-service p {
    margin-bottom: 15px;
    color: var(--gray);
}

.facebook-button.recent-service-button {
    background: linear-gradient(135deg, var(--royal-purple) 0%, var(--deep-purple) 100%);
    box-shadow: 0 8px 25px rgba(61, 61, 143, 0.3);
}

.facebook-button.recent-service-button:hover {
    background: linear-gradient(135deg, var(--deep-purple) 0%, var(--purple-dark) 100%);
    box-shadow: 0 12px 35px rgba(61, 61, 143, 0.4);
}

.preview-video-section {
    margin-top: 30px;
}

.preview-video-section p {
    margin-bottom: 15px;
    color: var(--gray);
}

.preview-video-container {
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.preview-video-container a {
    display: block;
    cursor: pointer;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.preview-video-container a:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.preview-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin-bottom: 15px;
}

.preview-text {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--royal-purple);
    margin: 0;
    font-family: var(--font-display);
}

.live-visual {
    position: relative;
}

.live-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #e63946;
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.video-container {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--gold);
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--royal-purple) 100%);
}

.video-embed-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 2;
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--royal-purple) 100%);
    border-radius: 16px;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    text-align: center;
}

.video-placeholder h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0;
    font-family: var(--font-display);
}

.placeholder-logo {
    width: 120px;
    height: auto;
    opacity: 0.9;
}

.video-placeholder p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   Donations Section
   ============================================ */
.donations-section {
    background: linear-gradient(135deg, var(--royal-purple) 0%, var(--purple-dark) 100%);
    position: relative;
}

.donations-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(201, 162, 39, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(201, 162, 39, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.donations-content {
    position: relative;
    z-index: 1;
}

.donations-message {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.donations-message h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 20px;
}

.donations-message p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.giving-verse {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    margin: 30px 0 0;
    padding: 25px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

.giving-verse cite {
    display: block;
    margin-top: 10px;
    color: var(--gold-light);
    font-size: 0.95rem;
    font-style: normal;
}

.paypal-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #0070ba 0%, #003087 100%);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 25px rgba(0, 112, 186, 0.3);
}

.paypal-button:hover {
    background: linear-gradient(135deg, #003087 0%, #001f5c 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 112, 186, 0.4);
    color: var(--white);
}

.paypal-button svg {
    width: 20px;
    height: 20px;
}

.paypal-button-container {
    text-align: center;
    margin-top: 30px;
}

.donation-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.donation-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all var(--transition-slow);
    opacity: 0;
    transform: translateY(20px);
}

.donation-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.donation-card.animate-in:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.donation-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.donation-card h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.donation-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.donation-methods {
    text-align: center;
    padding: 40px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.donation-methods h4 {
    color: var(--gold-light);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.method-icon {
    font-size: 2rem;
}

.method p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.method p strong {
    color: var(--white);
}

.method a {
    color: var(--gold-light);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.method a:hover {
    color: var(--gold);
}

/* ============================================
   Ministries Section
   ============================================ */
.ministries-section {
    background: var(--white);
}

.ministries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.ministry-card {
    background: var(--cream);
    padding: 40px 30px;
    border-radius: 12px;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

.ministry-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.ministry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.ministry-card.featured {
    background: linear-gradient(135deg, var(--royal-purple) 0%, var(--deep-purple) 100%);
    grid-column: span 2;
}

.ministry-card.featured h3,
.ministry-card.featured p {
    color: var(--white);
}

.ministry-card.featured .ministry-details p {
    color: var(--gold-light);
}

.ministry-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.ministry-card h3 {
    font-size: 1.5rem;
    color: var(--royal-purple);
    margin-bottom: 15px;
}

.ministry-card p {
    color: var(--gray);
}

.ministry-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.ministry-details p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.ministry-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--gold-light);
    font-weight: 600;
    font-size: 0.9rem;
}

.ministry-link:hover {
    color: var(--white);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    background: linear-gradient(135deg, var(--deep-purple) 0%, var(--purple-dark) 100%);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item h4 {
    color: var(--gold-light);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.contact-item a {
    color: var(--gold-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--gold);
    text-decoration: underline;
}

.contact-message {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.contact-message h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-message p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* ============================================
   Events Section
   ============================================ */
.events-section {
    background: var(--white);
    position: relative;
}

.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--royal-purple), var(--gold));
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.event-card {
    background: var(--cream);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

.event-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.event-image {
    width: 100%;
    min-height: 300px;
    overflow: hidden;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.event-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    transition: transform var(--transition-slow);
    display: block;
}

.event-card:hover .event-image img {
    transform: scale(1.02);
}

.event-content {
    padding: 30px;
}

.event-content h3 {
    font-size: 1.5rem;
    color: var(--royal-purple);
    margin-bottom: 15px;
    font-family: var(--font-display);
}

.event-date {
    color: var(--gold);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
}

.event-description {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 10px;
}

.event-location {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--black);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    height: 80px;
    width: auto;
    opacity: 0.9;
}

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

.footer-info h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.footer-verse {
    text-align: right;
    max-width: 300px;
}

.footer-verse p {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    margin-bottom: 8px;
}

.footer-verse cite {
    color: var(--gold);
    font-size: 0.9rem;
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .pastor-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pastor-image {
        position: static;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .ministry-card.featured {
        grid-column: span 1;
    }
    
    .donation-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    /* Mobile Navigation */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--purple-dark);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 25px;
        transition: right var(--transition-normal);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-logo {
        width: 150px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .watch-live-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .live-info {
        text-align: center;
    }
    
    .live-icon {
        margin: 0 auto 25px;
    }
    
    .donation-options {
        grid-template-columns: 1fr;
    }
    
    .methods-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-verse {
        text-align: center;
        max-width: none;
    }
    
    .footer-logo img {
        height: 60px;
    }
    
    .pastor-details {
        grid-template-columns: 1fr;
    }
    
    .family-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .family-image {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero .tagline {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 14px 30px;
        font-size: 13px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .ministries-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation delay utilities */
.service-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.2s; }
.service-card:nth-child(4) { transition-delay: 0.3s; }
.service-card:nth-child(5) { transition-delay: 0.4s; }

.ministry-card:nth-child(1) { transition-delay: 0s; }
.ministry-card:nth-child(2) { transition-delay: 0.1s; }
.ministry-card:nth-child(3) { transition-delay: 0.2s; }
.ministry-card:nth-child(4) { transition-delay: 0.3s; }
.ministry-card:nth-child(5) { transition-delay: 0.4s; }

.detail-card:nth-child(1) { transition-delay: 0s; }
.detail-card:nth-child(2) { transition-delay: 0.15s; }
.detail-card:nth-child(3) { transition-delay: 0.3s; }

.donation-card:nth-child(1) { transition-delay: 0s; }
.donation-card:nth-child(2) { transition-delay: 0.1s; }
.donation-card:nth-child(3) { transition-delay: 0.2s; }

/* Print Styles */
@media print {
    .navbar,
    .scroll-indicator,
    .cta-button {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 40px 0;
        background: var(--white);
    }
    
    .hero h1,
    .hero .tagline,
    .hero .founded {
        color: var(--black);
    }
    
    section {
        padding: 40px 0;
    }
}

