/* Globální styly */
body {
    font-family: 'Inter', sans-serif;
    background-color: #030712; /* bg-gray-950 */
}
html { scroll-behavior: smooth; }

/* Globální zjemnění nadpisů pro soulad s logem SIDI */
h1, h2, h3, .font-extrabold {
    font-weight: 700 !important;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.is-visible { opacity: 1; transform: translateY(0); }

/* Slider kontejner */
#sliderContainer {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.slider-page {
    flex-shrink: 0;
    width: 100%;
}

/* Parallax */
.parallax-banner {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('https://placehold.co/1600x800/222/FFF?text=SIDI+Banner');
}

/* Language Switcher */
.lang-btn {
    font-weight: 600;
    color: #9CA3AF; 
    transition: color 0.2s;
    text-transform: uppercase;
    cursor: pointer;
}
.lang-btn:hover { color: white; }
.lang-btn.active { color: white; text-decoration: underline; text-decoration-color: #EF4444; text-underline-offset: 4px; }

/* Styly pro záložky */
.tab-active { border-color: #EF4444; color: #FFFFFF; }
.tab-inactive { border-color: transparent; color: #9CA3AF; }

/* Prose Dark override */
.prose-dark { color: #d1d5db; }
.prose-dark p, .prose-dark ul, .prose-dark h3, .prose-dark h4 { color: #d1d5db; }
.prose-dark a { color: #f87171; }
.prose-dark strong { color: #f9fafb; }
.prose-dark li::marker { color: #f87171; }

/* Custom Scrollbar pro seznam prodejců */
.dealer-scroll::-webkit-scrollbar { width: 6px; }
.dealer-scroll::-webkit-scrollbar-track { background: #111827; }
.dealer-scroll::-webkit-scrollbar-thumb { background: #374151; border-radius: 3px; }
.dealer-scroll::-webkit-scrollbar-thumb:hover { background: #4B5563; }

/* Úprava popupů v mapě */
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background-color: #1f2937; /* gray-800 */
    color: #f3f4f6; /* gray-100 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    border: 1px solid #374151;
}
.leaflet-popup-content { margin: 12px; font-family: 'Inter', sans-serif; line-height: 1.5; }
.leaflet-container a.leaflet-popup-close-button { color: #9ca3af; }
.leaflet-container a.leaflet-popup-close-button:hover { color: #ffffff; }

/* Media overrides fix */
td.media-icon img[src$=".svg"], img[src$=".svg"].attachment-post-thumbnail { width: 100% !important; height: auto !important; }
