/* ========================================= */
/* 🎯 100% NEHYBNÉ POZADÍ PRO VŠECHNY MOBILY */
/* ========================================= */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(var(--hero-overlay-dark), var(--hero-overlay-dark)), url('../assets/images/elektrikar-ceske-budejovice-hero-bg.webp') center/cover no-repeat;
    z-index: -999;
    pointer-events: none;
}

.hero-section {
    /* Staré pozadí je smazáno, aby fungovala nehybná vrstva z body::before */
    color: var(--text-light);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.logo-heading {
    margin: 0;
    padding: 0;
}

.hero-logo-main {
    width: 100%;
    max-width: 600px;
    height: auto;
    filter: var(--shadow-logo);
    position: relative;
    z-index: 2; 
    cursor: pointer; 
    transition: transform var(--transition-speed);
}

.hero-logo-main:hover {
    transform: scale(1.02); 
}

#lightning-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; 
    pointer-events: none; 
    z-index: 1; 
    transition: opacity 0.8s ease-out;
}

.lightning-effect {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: flash 0.1s alternate infinite;
    mix-blend-mode: screen; 
}

@keyframes flash {
    0% { opacity: 0.5; filter: drop-shadow(0 0 5px rgba(150, 200, 255, 0.5)); }
    100% { opacity: 1; filter: drop-shadow(0 0 15px rgba(150, 200, 255, 0.9)); }
}

.hero-content h2 {
    color: var(--text-hero-h2); 
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-shadow: var(--shadow-hero-text);
}

.hero-content p {
    color: var(--text-hero-p); 
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: var(--shadow-hero-text);
}

/* Mobilní zobrazení (Zmenšené logo pro uvolnění místa kartám) */
@media (max-width: 768px) {
    .hero-content {
        padding-top: 15vh; 
    }
    .hero-logo-main { 
        max-width: 60vw; 
        max-height: 30vh; 
    }
    .hero-content h2 { font-size: 1.4rem; margin-bottom: 40px; } 
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.9;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-light);
    border-radius: var(--radius-pill);
    position: relative;
    margin-bottom: 10px;
    box-shadow: var(--shadow-mouse);
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--accent-color);
    border-radius: var(--radius-sm);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
    box-shadow: 0 0 5px var(--accent-color);
}

.arrows span {
    display: block;
    width: 12px;
    height: 12px;
    border-bottom: 2px solid var(--accent-color);
    border-right: 2px solid var(--accent-color);
    transform: rotate(45deg);
    margin: -6px auto;
    animation: arrowScroll 1.5s infinite;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.3);
}

.arrows span:nth-child(2) { animation-delay: -0.2s; }
.arrows span:nth-child(3) { animation-delay: -0.4s; }

@keyframes scrollWheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 25px; opacity: 0; }
}

@keyframes arrowScroll {
    0% { opacity: 0; transform: rotate(45deg) translate(-5px, -5px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(5px, 5px); }
}