/* -------------------------------------------------
   HERO
------------------------------------------------- */

.section-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 60%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 35%, rgba(0, 0, 0, 0.12) 65%, rgba(0, 0, 0, 0) 88%);
}

.hero-inner {
    width: 100%;
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.hero-nadpis {
    color: #fff;
    font-weight: 400;
    font-size: clamp(2.75rem, 1.8rem + 4.5vw, 4.75rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text {
    color: rgba(255, 255, 255, 0.85);
    max-width: 480px;
    font-size: 1.05rem;
}

.hero-scroll-down {
    position: absolute;
    left: 50%;
    bottom: 2.5rem;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
}

.hero-scroll-down:hover {
    color: var(--color-accent);
}

.hero-scroll-down-pill {
    display: flex;
    justify-content: center;
    padding-top: 10px;
    width: 30px;
    height: 48px;
    border-radius: 999px;
    border: 1.5px solid currentColor;
}

.hero-scroll-down-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: heroScrollDot 2s ease-in-out infinite;
}

@keyframes heroScrollDot {
    0% { transform: translateY(0); opacity: 1; }
    60% { transform: translateY(18px); opacity: 0; }
    61% { transform: translateY(0); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
    .hero-inner { padding-top: 7rem; padding-bottom: 7rem; }
    .hero-scroll-down { bottom: 1.5rem; }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.55) 70%, rgba(0, 0, 0, 0.4) 100%);
    }
}