/**
 * Hotspot Map CSS Stílusok
 * WordPress hotspot térkép megjelenítéshez
 */

/* Alapvető container stílusok */
.hotspot-container {
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
}

.hotspot-map {
    position: relative;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

span.cim {
    font-weight: 800;
}

/* Hotspot pontok */
.hotspot-point {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

/* SVG ikon stílusok */
.hotspot-icon {
    position: relative;
    width: 65px;
    height: 65px;
    transition: all 0.3s ease;
    z-index: 15;
}

.hotspot-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Alapértelmezett ikon színek */
.hotspot-icon svg path:last-child {
    fill: #ffffff;
    transition: fill 0.3s ease;
}

/* Pulzáló animáció az SVG-n */
.hotspot-icon svg {
    animation: svgPulse 2s infinite;
}

@keyframes svgPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Hover effektek az ikonra */
.hotspot-point:hover .hotspot-icon {
    transform: scale(1.2);
}

.hotspot-point:hover .hotspot-icon svg path:last-child {
    fill: #ffffff;
}

/* Hover alatt szüneteljük a pulzálást */
.hotspot-point:hover .hotspot-icon svg {
    animation-play-state: paused;
}

/* Tooltip (hover szöveg) */
.hotspot-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    white-space: nowrap;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 20;
    margin-bottom: 10px;
}

/* Tooltip nyíl */
.hotspot-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
}

/* Tooltip megjelenítés hover-re */
.hotspot-point:hover .hotspot-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Tooltip tartalom stílusok */
.tooltip-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.tooltip-description {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #ddd;
    white-space: normal;
}

.tooltip-description span {
    display: block;
    margin-bottom: 4px;
}

.tooltip-description span:last-child {
    margin-bottom: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .hotspot-container {
        padding: 10px;
    }
    
    .hotspot-tooltip {
        min-width: 180px;
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .tooltip-title {
        font-size: 14px;
    }
    
    .tooltip-description {
        font-size: 12px;
    }
    
    .hotspot-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .hotspot-tooltip {
        min-width: 150px;
        white-space: normal;
        max-width: 250px;
    }
    
    .hotspot-point:hover .hotspot-icon {
        transform: scale(1.1);
    }
    
    .hotspot-icon {
        width: 50px;
        height: 50px;
    }
}