/* ================= SPECIFICKÉ STYLY PRO ÚVODNÍ STRÁNKU ================= */

/* Úvodní Hero sekce */
.hero {
    position: relative;
    background-image: url(/res/img/index.gif);
    background-size: cover;
    background-position: center;
    padding: 140px 20px 100px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: var(--hero-brightness);
    z-index: 1;
    transition: filter 0.3s ease;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--hero-overlay);
    z-index: 2;
    transition: background 0.3s ease;
}

.hero h1, .hero .hero-subtitle, .hero .btn {
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 3.2rem;
    color: var(--text-color);
    text-shadow: 0 2px 10px rgba(255,255,255,0.9);
    margin-bottom: 20px;
    font-weight: 800;
}

body.dark-theme .hero h1 {
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(0,0,0,0.9);
}

.hero-subtitle {
    background: var(--subtitle-bg);
    color: var(--subtitle-color);
    font-size: 1.3rem;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 30px;
    border: 1px solid var(--subtitle-border);
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    max-width: 90%;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Mobilní úpravy hero sekce */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.05rem;
        padding: 10px 18px;
    }
}