.home-hero--front {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    margin-top: -120px;
    margin-bottom: 70px;
}

/* BACKGROUND */
.hero-front__background,
.hero-front__background-static {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* OVERLAY */
.hero-front__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* CONTENT */
.hero-front__content {
    position: absolute;
    inset: 0;
    z-index: 9999;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 2rem;
}

/* TITLE */
.hero-front__title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    hyphens: auto;
    padding: 0 15px;
    margin: 0 auto;
    max-width: 100%;    
    word-wrap: break-word;
    white-space: pre-wrap;
}

/* SUBTITLE */
.hero-front__subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 1);
    margin-bottom: 2rem;
    max-width: 700px;
    font-weight: 500;
}

.hero-front__title span,
.hero-front__title div {
    display: block;
}
/* BUTTON */
.hero-front__button {
    background: #f97316;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

.hero-front__button:hover {
    background: #ea580c;
    transform: translateY(-3px);
}

/* TYPEWRITER */
.typewriter.typing::after {
    content: '|';
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0;
    }
}
/* SCROLL INDICATOR */
.hero-front__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
}

.hero-front__scroll-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    animation: heroScrollBounce 2s infinite;
}

.hero-front__scroll-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.1);
}

/* animacja */
@keyframes heroScrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}
.home-hero--front.scrolled .hero-front__scroll {
    opacity: 0;
    transform: translate(-50%, 20px);
}
/* slide jako kontener */
.swiper-slide {
    position: relative;
}

/* obraz */
.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

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



/* content */
.hero-front__content {
    position: absolute;
    inset: 0;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}