/* Banner Carousel Styles */
.banner-section {
    position: relative;
    z-index: 10;
}

.banner-carousel-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-carousel {
    position: relative;
    margin: 0 auto;
    overflow: visible;
    /* Odstraněno pozadí a rámečkování */
    min-width: 125px;
    min-height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Zabránění třesení */
    transform: translateZ(0);
    backface-visibility: hidden;
}

.banner-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.banner-item {
    width: 100%;
    height: 100%;
}

.banner-container {
    position: relative;
    overflow: visible;
    /* Odstraněno pozadí a rámečkování */
}

.banner-image {
    object-fit: contain;
    display: block;
    max-width: 100%;
    height: auto;
    /* Rozměry se nastaví dynamicky podle velikosti banneru */
}

.banner-fallback {
    display: none;
    /* Rozměry se nastaví dynamicky podle velikosti banneru */
}

/* Carousel Controls */
.carousel-controls {
    margin-top: 12px;
}

.carousel-indicators {
    display: flex;
    gap: 8px;
    align-items: center;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator:hover {
    background: #9ca3af;
    transform: scale(1.2);
}

.indicator.active {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    transform: scale(1.3);
}

.carousel-counter {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    margin-left: 8px;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .banner-container {
        background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    }
    
    .indicator {
        background: #4b5563;
    }
    
    .indicator:hover {
        background: #6b7280;
    }
    
    .carousel-counter {
        color: #9ca3af;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-carousel-container {
        max-width: 90vw;
        padding: 0 10px;
    }
    
    .banner-container {
        max-width: 100%;
        height: auto !important;
    }
    
    .banner-image {
        max-width: 100%;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .banner-carousel-container {
        max-width: 95vw;
        padding: 0 5px;
    }
    
    .indicator {
        width: 6px;
        height: 6px;
    }
    
    .carousel-counter {
        font-size: 11px;
    }
    
    /* Scale down large banners on mobile */
    .banner-container {
        transform: scale(0.8);
        transform-origin: center;
    }
}

/* Hover Effects odstraněny pro čistý vzhled */

.banner-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* Loading Animation */
.banner-image[src=""] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .banner-slide,
    .indicator,
    .banner-container {
        transition: none;
    }
    
    .banner-image[src=""] {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .banner-container {
        border: 2px solid #000;
    }
    
    .indicator {
        border: 1px solid #000;
    }
    
    .indicator.active {
        background: #000;
    }
}

/* Print Styles */
@media print {
    .banner-section {
        display: none;
    }
}
