/* Úpravy pro hero sekci s videem */
.hero {
    position: relative;
    height: calc(100vh - var(--header-offset));
    height: calc(100svh - var(--header-offset));
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: var(--header-offset);
    padding: 0;
    color: #fff;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.video-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.58);
}

.hero .container {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: var(--font-primary);
    color: #fff;
    font-size: clamp(2.5rem, 3.5vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-transform: none;
    letter-spacing: 1px;
    font-weight: 400;
}

.hero p {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 40px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero .btn {
    background: var(--action-color);
    border-color: var(--action-color);
    color: #fff;
    padding: 15px 35px;
    font-size: 1rem;
    letter-spacing: 2px;
}

.hero .btn:hover {
    background: #fff;
    color: var(--action-color);
}

/* Úpravy pro elegantnější intro sekci */
.intro {
    padding: 100px 0;
    background: #ffffff;
}

.elegant-heading {
    text-align: center;
    font-family: var(--font-primary);
    font-size: 2.2rem;
    color: var(--heading-color);
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 40px; /* Zvětšeno - nahrazuje odstranění dekoračních čar */
    text-transform: uppercase;
}

/* Kompletně odstraněná třída - necháme ji zde jako prázdnou pro případ, že by ji jiný CSS kód používal */
.decorative-lines {
    display: none !important;
}

/* Hodnoty uprostřed */
.values-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.values-bar span {
    margin: 0 30px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--accent-color);
    text-transform: uppercase;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content p {
    margin-bottom: 25px;
    line-height: 1.8;
    color: var(--text-color);
}

/* Rychlá navigace na služby */
.quick-nav {
    background: var(--light-color);
    padding: 100px 0;
}

.service-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1200px;
    margin: 50px auto 50px;
    gap: 20px;
}

.service-nav-item {
    background: white;
    padding: 40px 30px;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    display: block;
    color: var(--text-color);
}

.service-nav-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    color: var(--text-color);
}

.service-nav-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-nav-icon i {
    font-size: 2rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.service-nav-item:hover .service-nav-icon {
    background: var(--accent-color);
}

.service-nav-item:hover .service-nav-icon i {
    color: white;
}

.service-nav-item h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-nav-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.quick-nav .btn {
    margin-top: 20px;
}

/* Media Queries */
@media (max-width: 992px) {
    .service-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .elegant-heading {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .service-nav-grid {
        grid-template-columns: 1fr;
    }

    .intro,
    .quick-nav {
        padding: 64px 0;
    }

    .service-nav-item {
        padding: 32px 22px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .values-bar {
        flex-direction: column;
        align-items: center;
    }
    
    .values-bar span {
        margin: 10px 0;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) and (max-height: 480px) {
    .hero {
        height: auto;
        min-height: 350px;
        padding: 38px 0 30px;
    }

    .hero h1 {
        margin-bottom: 16px;
        font-size: 1.8rem;
        line-height: 1.08;
    }

    .hero p {
        margin-bottom: 22px;
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .hero .btn {
        padding: 10px 22px;
    }
}
