/**
 * Ukraine Map Section Styles (jVectorMap Integration)
 */

.map-section {
    padding: 100px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.map-section .section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 42px;
    font-weight: 800;
    color: #173750;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.map-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

#ukraine-map {
    background: transparent !important;
}

/* Fix jVectorMap SVG sizing */
#ukraine-map .jvectormap-container {
    width: 100% !important;
    height: 100% !important;
}

#ukraine-map svg {
    width: 100% !important;
    height: 100% !important;
    max-height: 600px;
    filter: drop-shadow(2px 0 0 #002E5D) drop-shadow(-2px 0 0 #002E5D) drop-shadow(0 2px 0 #002E5D) drop-shadow(0 -2px 0 #002E5D);
}

.map-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 30px;
    overflow: hidden;
}

.map-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 20px;
    background: linear-gradient(to bottom, transparent, rgba(0, 46, 93, 0.15));
    border-radius: 50%;
    filter: blur(10px);
}

/* jVectorMap Tooltip Customization */
.jvectormap-tip {
    background: #173750;
    border: 1px solid #FFBE2E;
    border-radius: 8px;
    color: white;
    font-family: inherit;
    padding: 12px 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.map-tooltip .tooltip-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
    color: #FFBE2E;
}

.map-tooltip .tooltip-hint {
    font-size: 12px;
    opacity: 0.8;
}

/* Marker Pulse Animation using CSS */
/* Note: jVectorMap uses SVG for markers, but we can target them if needed */
/* For now, we rely on the markerStyle defined in JS */

/* Responsive */
@media (max-width: 1200px) {
    #ukraine-map {
        height: 450px !important;
    }
}


@media (max-width: 992px) {
    .map-section {
        padding: 80px 0;
    }

    .map-section .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    #ukraine-map {
        height: 400px !important;
    }
}

@media (max-width: 768px) {
    .map-section {
        padding: 60px 0;
    }

    .map-section .section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    #ukraine-map {
        height: 350px !important;
    }
}

@media (max-width: 480px) {
    #ukraine-map {
        height: 250px !important;
    }
}