/* Cookie Bar - tmavý, fixní dole, vysoký index */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(31, 41, 55, 0.95); /* Tmavě šedá s průhledností */
    backdrop-filter: blur(5px);
    color: white;
    padding: 1rem;
    z-index: 10000; /* Aby byla vždy nahoře */
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Video sekce - responzivita a vzhled */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Poměr stran 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Jemná animace pro karty a video při načtení */
.video-container, .card-custom {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}

/* Infografika */
.infografika-link img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.infografika-link:hover img {
    transform: scale(1.01);
    box-shadow: 0 1.5rem 3rem rgba(0,0,0,.2) !important;
}

/* Responzivita - mobil */
@media (max-width: 575.98px) {
    .display-4 { font-size: 2rem; }
    .btn-lg { font-size: 1rem; padding: 0.6rem 1.5rem; }
    section { padding-top: 2rem !important; padding-bottom: 2rem !important; }
    .hero-btn-group { flex-direction: column !important; gap: 0.75rem !important; }
}

/* Responzivita - tablet */
@media (max-width: 991.98px) {
    .col-lg-6 .video-container {
        margin-bottom: 0;
    }
    .object-fit-cover {
        object-fit: cover;
        max-height: 350px;
    }
}

/* object-fit helper */
.object-fit-cover {
    object-fit: cover;
}