


/* Hero sekcia */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    overflow: hidden;
}

.hero-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-image-left {
    background-image: url(../images/home/hero-f.webp);
}

.hero-image-right {
    background-image: url(../images/home/hero-vvm.webp);
}

/* Overlay pre zatmavenie */
.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

/* Obsah hero sekcie */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 90%;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.4rem;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 2.5rem;
}

/* CTA tlačidlá */
.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-left: 1.8rem;
}

.cta-button {
    padding: 1rem 2.5rem;
    margin: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-primary {
    background: #22c55e;
    color: white;
}

.cta-primary:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.cta-secondary {
    background: white;
    color: #16a34a;
    border: 2px solid white;
}

.cta-secondary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Responzívny dizajn */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .cta-buttons{
        margin-left: 0;
    }

    .cta-button{
        margin: 1rem;
    }

}

@media (max-width: 768px) {


    .hero {
        
        min-height: 600px;
        flex-direction: column;
    }

    .hero-image {
        height: 50%;
    }

    /* Silnejší overlay na mobile */
    .hero-image::before {
        background: rgba(0, 0, 0, 0.45);
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1.2rem;
        line-height: 1.15;
    }

    .hero-content p {
        font-size: 1.15rem;
        line-height: 1.5;
    }

    .cta-buttons {
        gap: 1rem;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        margin: 0.5rem;
    }
}

@media (max-width: 480px) {

    .hero {
        height: 100vh;
        min-height: 550px;
    }

    .hero-content {
        padding: 0 1.2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.05rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0 1rem;
    }

    .cta-button {
        padding: 0.85rem 1.8rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
    }
}

/* Animácie pre lepší dojem */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}