/* ============================================
   SLIDE 03 - VIDEO
   Marka osobista z tłem video
   ============================================ */

.lwm-hero-slider-root .lwm-hero-slide-3 {
    background: #000;
}

/* --- Video Background --- */
.lwm-hero-slider-root .lwm-hero-slide-3 .lwm-hero-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.lwm-hero-slider-root .lwm-hero-slide-3 .lwm-hero-hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translateZ(0);
    display: block;
}

/* --- Overlay --- */
.lwm-hero-slider-root .lwm-hero-slide-3 .lwm-hero-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(0,0,0,0.55), rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.55));
}

/* --- Content --- */
.lwm-hero-slider-root .lwm-hero-slide-3 .lwm-hero-hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 42px;
    color: #fff;
    text-align: center;
}

/* --- Video Title --- */
.lwm-hero-slider-root .lwm-hero-slide-3 .lwm-hero-video-title {
    font-family: 'Arial', sans-serif;
    font-size: 82px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 40px 0;
    color: #fff;
    text-shadow: 3px 3px 30px rgba(0,0,0,0.8);
}

.lwm-hero-slider-root .lwm-hero-slide-3 .lwm-hero-video-title .lwm-hero-line {
    display: block;
}

/* Letter animation: each letter starts hidden */
.lwm-hero-slider-root .lwm-hero-slide-3 .lwm-hero-video-title .lwm-hero-letter {
    display: inline-block;
    opacity: 0;
    filter: blur(20px);
}

/* Animate letters only on first activation */
.lwm-hero-slider-root .lwm-hero-slide-3.lwm-hero-first-time-active .lwm-hero-video-title .lwm-hero-letter {
    animation: lwm-hero-letterFocusIn 0.9s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* --- Description --- */
.lwm-hero-slider-root .lwm-hero-slide-3 .lwm-hero-video-description {
    font-family: 'Arial', sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 50px 0;
    max-width: 800px;
    color: #fff;
}

/* --- CTA --- */
.lwm-hero-slider-root .lwm-hero-slide-3 .lwm-hero-video-cta {
    opacity: 0;
    filter: blur(15px);
}

.lwm-hero-slider-root .lwm-hero-slide-3.lwm-hero-first-time-active .lwm-hero-video-cta {
    animation: lwm-hero-letterFocusIn 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* After animation completes: keep elements visible */
.lwm-hero-slider-root .lwm-hero-slide-3.lwm-hero-animation-completed .lwm-hero-video-title .lwm-hero-letter,
.lwm-hero-slider-root .lwm-hero-slide-3.lwm-hero-animation-completed .lwm-hero-video-description span,
.lwm-hero-slider-root .lwm-hero-slide-3.lwm-hero-animation-completed .lwm-hero-video-cta {
    opacity: 1;
    filter: blur(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .lwm-hero-slider-root .lwm-hero-slide-3 .lwm-hero-video-title {
        font-size: 64px;
    }

    .lwm-hero-slider-root .lwm-hero-slide-3 .lwm-hero-video-description {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .lwm-hero-slider-root .lwm-hero-slide-3 .lwm-hero-video-title {
        font-size: 48px;
    }

    .lwm-hero-slider-root .lwm-hero-slide-3 .lwm-hero-video-description {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .lwm-hero-slider-root .lwm-hero-slide-3 .lwm-hero-video-title {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .lwm-hero-slider-root .lwm-hero-slide-3 .lwm-hero-video-description {
        font-size: 16px;
        margin-bottom: 40px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .lwm-hero-slider-root .lwm-hero-slide-3 .lwm-hero-video-title {
        font-size: 28px;
    }
}
