main {
    padding-top: 50px;    
    padding-bottom: 50px; 
    text-align: center;   
}

.mapa-kontejner {
    position: relative;
    display: inline-block; 
    margin: 0 auto;
    line-height: 0;
    text-align: left; 
}

#mapa-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 85vh; 
}

.mapa-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* --- Samotné parcely (polygony) --- */
.parcela {
    fill: transparent; /* Odstraněna stará oranžová */
    stroke: rgba(255, 255, 255, 0.5); 
    stroke-width: 2;
    cursor: pointer;
    transition: fill 0.3s ease;
    pointer-events: auto; 
}

.parcela:hover {
    fill: rgba(52, 152, 219, 0.6); /* RGB ekvivalent tvé --barva-hlavni pro zachování průhlednosti */
}

/* --- ROZLOŽENÍ MAPY A FORMULÁŘE VEDLE SEBE --- */
.mapa-flex-layout {
    display: flex;
    flex-direction: row;        
    gap: 40px;                  
    align-items: flex-start;    
    justify-content: center;    
    max-width: 1400px;          
    margin: 0 auto;
    padding: 0 20px;
}

.mapa-flex-layout .mapa-kontejner {
    flex: 0 1 auto;     
    width: fit-content; 
    margin: 0;
}

.mapa-flex-layout #kontakt {
    flex: 0 0 700px;            
    margin: 0;                  
    width: 100%;
}

/* --- RESPONZIVITA PRO TABLETY A MOBILY --- */
@media (max-width: 1024px) {
    .mapa-flex-layout {
        flex-direction: column; 
        align-items: center;    
    }

    .mapa-flex-layout #kontakt {
        flex: auto;             
        max-width: 600px;       
        margin-top: 40px;       
    }
}