/* ═══════════════════════════════════════════════════════════════
   MCC CHURCH - HERO IMAGE SYSTEM
   Adaptive system for STATIC IMAGES vs VIDEO
   ═══════════════════════════════════════════════════════════════ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   🎯 HERO SECTION - BASE (Works for both)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.mcc-video-hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.mcc-video-hero__bg video,
.mcc-video-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   🖼️ MODE: STATIC IMAGE (Current - NO heavy overlay)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Image optimization - KEEP THIS */
.mcc-video-hero__image {
    object-position: center center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
}

/* STATIC IMAGE OVERLAY - Minimal (8-10% max) */
.mcc-video-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Very light vignette only - preserves image clarity */
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        transparent 40%,
        rgba(15, 23, 42, 0.08) 100%
    );
    z-index: 2;
}

/* Content container */
.mcc-video-hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: var(--space-lg);
    max-width: 900px;
}

/* Text with glass effect background - NO crushing the image */
.mcc-video-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--mcc-white);
    margin-bottom: var(--space-md);
    line-height: 1.1;
    /* Soft text shadow for readability - NOT dark overlay on image */
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 0 40px rgba(15, 23, 42, 0.4);
}

.mcc-video-hero__subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--mcc-text-light);
    margin-bottom: var(--space-lg);
    font-weight: 500;
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Optional: Glass effect for text container (subtle) */
.mcc-video-hero__content--glass {
    background: rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 2rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   🎬 MODE: VIDEO (Future - Cinematic overlay)
   Add class .mcc-video-hero--video when using actual video
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.mcc-video-hero--video .mcc-video-hero__overlay {
    /* Heavy overlay for video - better readability */
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.85) 0%, 
        rgba(30, 41, 59, 0.75) 50%,
        rgba(59, 130, 246, 0.4) 100%
    );
}

.mcc-video-hero--video .mcc-video-hero__title {
    /* Stronger shadow for moving video */
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   📸 QUOTE / STATEMENT SECTIONS - STATIC IMAGE MODE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.mcc-video-intro {
    animation: fadeInUp 1s ease-out;
}

.mcc-video-intro__container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 600px;
    min-height: 600px;
}

.mcc-video-intro__container img,
.mcc-video-intro__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.mcc-video-intro__container:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(59, 130, 246, 0.2),
        0 0 40px rgba(59, 130, 246, 0.15);
}

/* STATIC IMAGE: Light gradient at bottom only for text */
.mcc-video-intro__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 2rem;
    /* Light gradient - text area only */
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.92) 0%,
        rgba(15, 23, 42, 0.65) 30%,
        rgba(15, 23, 42, 0.15) 70%,
        transparent 100%
    );
    /* NO blur on static images - text shadow is enough */
    backdrop-filter: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 2;
}

.mcc-video-intro__text {
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    font-weight: 600;
    /* Strong text shadow - NOT blurring the image */
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.8),
        0 4px 16px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(0, 0, 0, 0.4);
    line-height: 1.7;
    letter-spacing: 0.5px;
    color: #FFFFFF;
    max-width: 800px;
    text-align: center;
}

/* VIDEO MODE: Add backdrop blur when using video */
.mcc-video-intro--video .mcc-video-intro__overlay {
    /* Stronger overlay + blur for video */
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.98) 0%,
        rgba(30, 41, 59, 0.85) 40%,
        rgba(30, 41, 59, 0.3) 80%,
        transparent 100%
    );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   📱 RESPONSIVE - MOBILE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media (max-width: 768px) {
    .mcc-video-hero {
        height: 70vh;
        min-height: 500px;
    }

    .mcc-video-hero__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .mcc-video-hero__content--glass {
        padding: 1.5rem 2rem;
    }

    .mcc-video-intro__container {
        height: 400px;
        min-height: 400px;
    }

    .mcc-video-intro__overlay {
        padding: 2rem 1.5rem;
    }

    .mcc-video-intro__text {
        font-size: 1rem;
        line-height: 1.5;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   💡 USAGE GUIDE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

   STATIC IMAGE (current default):
   <div class="mcc-video-hero">
     <div class="mcc-video-hero__bg">
       <img src="image.jpg" class="mcc-video-hero__image">
     </div>
     <div class="mcc-video-hero__overlay"></div>
     <div class="mcc-video-hero__content">
       <h1 class="mcc-video-hero__title">Title</h1>
     </div>
   </div>

   VIDEO (future):
   <div class="mcc-video-hero mcc-video-hero--video">
     <div class="mcc-video-hero__bg">
       <video autoplay muted loop>...</video>
     </div>
     <div class="mcc-video-hero__overlay"></div>
     <div class="mcc-video-hero__content">
       <h1 class="mcc-video-hero__title">Title</h1>
     </div>
   </div>

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
