/* ============================================================
   LCS FOUNDATION — styles.css
   Version: 1.0.2 (Updated May 2026)
   ============================================================ */

/* ── 1. Base Styles ───────────────────────────────────────── */
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    /* Prevent horizontal scroll issues with marquee */
    overflow-x: hidden; 
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #ffae00; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #e09900; }

/* ── 2. Keyframe Animations ───────────────────────────────── */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.5); }
    50%      { box-shadow: 0 0 0 12px rgba(245,158,11,0); }
}

.animate-fade-in { animation: fadeIn 0.7s ease-out forwards; }

/* ── 3. Navigation & Buttons ──────────────────────────────── */
.nav-link {
    color: #94a3b8;
    border-bottom: 4px solid transparent;
    padding-bottom: 4px;
    padding-top: 4px;
    transition: color 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.nav-link:hover { color: #1e2749; }

.active-nav {
    color: #1e2749 !important;
    border-bottom-color: #f59e0b !important;
}

.give-btn {
    transition: all 0.25s ease;
    animation: pulseGlow 3s ease-in-out infinite;
}

.give-btn:hover {
    background: #fbbf24;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245,158,11,0.45);
}

.mobile-menu-panel {
    animation: fadeIn 0.3s ease-out forwards;
}

/* ── 4. 3D Carousel Slider ────────────────────────────────── */
.carousel-perspective {
    perspective: 1200px;
    transform-style: preserve-3d;
    position: relative;
}

.carousel-slide {
    position: absolute;
    width: 60%; 
    max-width: 800px;
    height: 100%;
    object-fit: contain; 
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                opacity 0.6s ease, 
                filter 0.6s ease, 
                z-index 0.6s ease;
    will-change: transform, opacity;
}

.active-slide {
    transform: translateX(0) translateZ(0) rotateY(0deg);
    z-index: 20;
    opacity: 1;
    filter: blur(0px) brightness(1) drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

.left-slide {
    transform: translateX(-40%) translateZ(-250px) rotateY(35deg);
    z-index: 10;
    opacity: 0.9;
    filter: blur(6px) brightness(0.6);
}

.right-slide {
    transform: translateX(40%) translateZ(-250px) rotateY(-35deg);
    z-index: 10;
    opacity: 0.9;
    filter: blur(6px) brightness(0.6);
}

.hidden-slide {
    transform: translateX(0) translateZ(-500px) rotateY(0deg);
    z-index: 1;
    opacity: 0;
    pointer-events: none; 
}

/* ── 5. Continuous Marquee Gallery ────────────────────────── */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    background: transparent;
}

.marquee-track {
    display: flex;
    gap: 1.5rem; 
    padding: 1rem 0;
    width: max-content;
    animation: scrollMarquee 35s linear infinite;
}

.marquee-track img {
    height: 250px;
    width: 380px;
    object-fit: cover; 
    border-radius: 12px; 
    flex-shrink: 0; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

/* ── 6. Pastor Images ─────────────────────────────────────── */
.pastor-img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    border-radius: 20px;
}

.pastor-img:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ── 7. Footer Social Icons ───────────────────────────────── */
.footer-social-icon {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-icon:hover {
    transform: translateY(-5px);
    background: #f59e0b;
    border-color: #f59e0b;
}

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

/* ── 8. Responsive Media Queries ──────────────────────────── */
@media (max-width: 768px) {
    .carousel-slide { width: 90%; height: 250px; }
    .left-slide { transform: translateX(-50%) scale(0.8) rotateY(15deg); }
    .right-slide { transform: translateX(50%) scale(0.8) rotateY(-15deg); }
    
    .marquee-track img { height: 180px; width: 280px; }
    
    .big-text { font-size: 38px !important; }
}