/* ===================================
   ULTRA ATTRACTIVE DESIGN
   Premium, Eye-Catching, Stunning
   =================================== */

/* ===================================
   VIBRANT COLOR SYSTEM
   =================================== */
:root {
    /* Premium Gradients */
    --ultra-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --ultra-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --ultra-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --ultra-fire: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --ultra-ocean: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --ultra-purple: linear-gradient(135deg, #c471f5 0%, #fa71cd 100%);
    --ultra-orange: linear-gradient(135deg, #ff9a56 0%, #ff6a88 100%);
    --ultra-green: linear-gradient(135deg, #81fbb8 0%, #28c76f 100%);
    
    /* Neon Effects */
    --neon-blue: #00d4ff;
    --neon-pink: #ff006e;
    --neon-purple: #b967ff;
    --neon-green: #05ffa1;
}

/* ===================================
   STUNNING HERO SECTION
   =================================== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
}

/* Animated Mesh Gradient Background */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(118, 75, 162, 0.6) 0%, transparent 50%);
    animation: meshMove 20s ease-in-out infinite;
    filter: blur(50px);
}

@keyframes meshMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(50px, -50px) rotate(120deg); }
    66% { transform: translate(-50px, 50px) rotate(240deg); }
}

/* Floating Shapes */
.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.15) 2px, transparent 2px);
    background-size: 40px 40px;
    animation: floatShapes 30s linear infinite;
}

@keyframes floatShapes {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

/* Hero Content Glow */
.hero-content h1 {
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.4),
        0 5px 20px rgba(0, 0, 0, 0.5);
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6); }
    50% { text-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 30px rgba(255, 255, 255, 0.8); }
}

/* ===================================
   ULTRA ATTRACTIVE CARDS
   =================================== */
.quick-link-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 
        20px 20px 60px #d1d1d1,
        -20px -20px 60px #ffffff;
    border-radius: 20px;
    position: relative;
    overflow: visible !important;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #f5576c);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s;
    filter: blur(10px);
}

.quick-link-card:hover::before {
    opacity: 1;
    animation: borderPulse 2s infinite;
}

@keyframes borderPulse {
    0%, 100% { filter: blur(10px) brightness(1); }
    50% { filter: blur(15px) brightness(1.5); }
}

/* Icon with Rainbow Gradient */
.quick-link-card .icon {
    background: linear-gradient(135deg, 
        #667eea 0%, 
        #764ba2 25%, 
        #f093fb 50%, 
        #f5576c 75%,
        #667eea 100%);
    background-size: 200% 200%;
    animation: rainbowShift 3s ease infinite;
    box-shadow: 
        0 10px 40px rgba(102, 126, 234, 0.4),
        0 0 20px rgba(240, 147, 251, 0.3);
}

@keyframes rainbowShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.quick-link-card:hover .icon {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 
        0 15px 60px rgba(102, 126, 234, 0.6),
        0 0 30px rgba(240, 147, 251, 0.5);
}

.quick-link-card:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 
        30px 30px 80px #d1d1d1,
        -30px -30px 80px #ffffff,
        0 30px 60px rgba(102, 126, 234, 0.3);
}

/* Sparkle Effect on Hover */
.quick-link-card:hover::after {
    content: '✨';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    animation: sparkle 1s ease infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(180deg); }
}

/* ===================================
   NEON BUTTONS
   =================================== */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 
        0 0 20px rgba(102, 126, 234, 0.5),
        0 0 40px rgba(118, 75, 162, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary:hover {
    box-shadow: 
        0 0 30px rgba(102, 126, 234, 0.8),
        0 0 60px rgba(118, 75, 162, 0.6),
        0 15px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 
        0 0 20px rgba(240, 147, 251, 0.5),
        0 10px 30px rgba(0, 0, 0, 0.2);
    animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(240, 147, 251, 0.5), 0 10px 30px rgba(0, 0, 0, 0.2); }
    50% { box-shadow: 0 0 40px rgba(240, 147, 251, 0.8), 0 10px 30px rgba(0, 0, 0, 0.2); }
}

/* ===================================
   MINISTRY CARDS - HOLOGRAPHIC EFFECT
   =================================== */
.ministry-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    position: relative;
    overflow: hidden;
}

.ministry-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(102, 126, 234, 0.3) 90deg,
        rgba(240, 147, 251, 0.3) 180deg,
        rgba(118, 75, 162, 0.3) 270deg,
        transparent 360deg
    );
    animation: holoRotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.5s;
}

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

@keyframes holoRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ministry-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    box-shadow: 
        0 10px 30px rgba(102, 126, 234, 0.4),
        inset 0 -10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

.ministry-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.2) 40%,
        transparent 50%
    );
    animation: iconShine 3s ease-in-out infinite;
}

@keyframes iconShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(30deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(30deg); }
}

/* ===================================
   EVENT CARDS - MAGNETIC HOVER
   =================================== */
.event-card {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
}

.event-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    padding: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.event-card:hover::before {
    opacity: 1;
    animation: borderFlow 2s linear infinite;
}

@keyframes borderFlow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.event-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 
        0 30px 60px rgba(102, 126, 234, 0.3),
        0 0 40px rgba(240, 147, 251, 0.2);
}

/* ===================================
   SERMON CARDS - SPOTLIGHT EFFECT
   =================================== */
.sermon-card {
    position: relative;
    background: #fff;
}

.sermon-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.sermon-card:hover::after {
    width: 400px;
    height: 400px;
}

.play-button {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(102, 126, 234, 0.3),
        inset 0 -8px 16px rgba(0, 0, 0, 0.1);
}

.sermon-card:hover .play-button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: translate(-50%, -50%) scale(1.3) rotate(360deg);
    box-shadow: 
        0 12px 40px rgba(102, 126, 234, 0.6),
        0 0 30px rgba(240, 147, 251, 0.4);
}

/* ===================================
   SECTION BACKGROUNDS
   =================================== */
.section-alternate {
    background: 
        linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(240, 147, 251, 0.03) 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(102, 126, 234, 0.02) 10px,
            rgba(102, 126, 234, 0.02) 20px
        );
}

/* ===================================
   TOP BAR ENHANCEMENT
   =================================== */
.top-bar {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
}

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

@keyframes topBarShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ===================================
   NAVIGATION ENHANCEMENT
   =================================== */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(102, 126, 234, 0.1);
}

.nav-menu li a {
    position: relative;
    transition: all 0.3s;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #f093fb);
    transform: translateX(-50%);
    transition: width 0.3s;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.nav-menu li a:hover::before,
.nav-menu li a.active::before {
    width: 80%;
}

.nav-menu li a:hover {
    color: #667eea;
    transform: translateY(-2px);
}

/* ===================================
   FOOTER ENHANCEMENT
   =================================== */
.main-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, #f093fb, transparent);
    animation: footerGlow 3s linear infinite;
}

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

.footer-social a {
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    transform: translateY(-5px) scale(1.1) rotate(360deg);
    box-shadow: 0 10px 30px rgba(240, 147, 251, 0.5);
}

/* ===================================
   FORM ENHANCEMENTS
   =================================== */
.form-control:focus,
.form-group input:focus,
.form-group textarea:focus {
    border-color: #667eea;
    box-shadow: 
        0 0 0 4px rgba(102, 126, 234, 0.1),
        0 0 20px rgba(102, 126, 234, 0.3);
    transform: translateY(-3px);
}

/* ===================================
   TESTIMONIAL CARDS
   =================================== */
.testimonial-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    box-shadow: 15px 15px 30px #d1d1d1, -15px -15px 30px #ffffff;
    transition: all 0.4s;
}

.testimonial-card:hover {
    box-shadow: 
        20px 20px 40px #d1d1d1,
        -20px -20px 40px #ffffff,
        0 0 40px rgba(102, 126, 234, 0.3);
    transform: scale(1.05) rotate(-1deg);
}

/* ===================================
   GALLERY IMAGES
   =================================== */
.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.6), rgba(240, 147, 251, 0.6));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 3rem;
    z-index: 2;
    transition: transform 0.4s;
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

/* ===================================
   SCROLL PROGRESS BAR
   =================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    z-index: 9999;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    transition: width 0.1s;
}

/* ===================================
   LOADING ANIMATION
   =================================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 80px;
    height: 80px;
    border: 8px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ===================================
   MOBILE OPTIMIZATIONS
   =================================== */
@media (max-width: 768px) {
    .quick-link-card:hover::before {
        opacity: 0.5;
    }
    
    .ministry-card::before {
        display: none;
    }
    
    .hero::before {
        filter: blur(30px);
    }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    .scroll-progress,
    .page-loader {
        display: none !important;
    }
}
