/* ================================
   HERO SECTION â€” RESPONSYWNE VIDEO
   ================================ */

/* GĹ‚Ăłwna sekcja hero */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 480px;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* WSPĂ“LNE style dla obu wersji video */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
    background-color: #000;
}

.hero-image-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Warstwa przyciemnienia */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 2;
}

/* Indykator przewijania */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator span {
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--accent-color));
    animation: scrollDown 2s infinite;
}

/* -------------------------------
   PRZEĹÄ„CZANIE WIDEO / OBRAZU
   ------------------------------- */
.hero-video-desktop {
    display: block;
}

.hero-video-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hero {
        height: 90vh;
        min-height: 360px;
    }

    .hero-video-desktop {
        display: none;
    }

    .hero-video-mobile {
        display: block;
    }

    .hero-video,
    .hero-image {
        object-position: 50% 40%;
    }

    .scroll-indicator {
        bottom: 16px;
    }
}

@media (max-height: 700px) {
    .hero {
        height: 100vh;
        min-height: 360px;
    }
}

@media (min-width: 1600px) {
    .hero-video,
    .hero-image {
        object-position: 50% 45%;
    }
}

/* -------------------------------
   PRZYCISK (jeĹ›li uĹĽywany w HERO)
   ------------------------------- */
.btn-primary {
    display: inline-block;
    padding: 18px 45px;
    background: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 500;
    text-transform: uppercase;
    border: 2px solid var(--accent-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    color: var(--primary-color);
    border-color: var(--white);
}

/* -------------------------------
   ANIMACJA SCROLL INDICATOR
   ------------------------------- */
@keyframes scrollDown {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}
