﻿
.map-container {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    padding: 15px;
}

.map-bg {
    position: absolute;
    inset: 0;
    /*   background: rgba(255,255,255,0.1);
    background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 1px, transparent 1px), radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;*/
}

.city-label {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 24px;
    font-weight: bold;
    color: rgba(255,255,255,0.8);
    letter-spacing: 2px;
}

.location-item {
    position: absolute;
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-button {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #ffc107;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

    .location-button:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    }

    .location-button.active {
        transform: scale(1.2);
        border-color: #ff5722;
        background: #fff3e0;
    }

.plus-icon {
    width: 20px;
    height: 20px;
    color: #ffc107;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.location-button:hover .plus-icon,
.location-button.active .plus-icon {
    color: #ff5722;
    transform: rotate(45deg);
}

.location-image {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.location-button:hover .location-image,
.location-button.active .location-image {
    opacity: 1;
}

.location-button:hover .plus-icon,
.location-button.active .plus-icon {
    opacity: 0;
}

.info-card {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 10;
}

    .info-card::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid #fff;
    }

.location-item:hover .info-card,
.location-item.active .info-card {
    opacity: 1;
    visibility: visible;
    top: -90px;
}

.info-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 2px;
}

.info-subtitle {
    font-size: 12px;
    color: #666;
}

/* Individual location positions */
.location-1 {
    top: 15%;
    left: 25%;
}

.location-2 {
    top: 40%;
    left: 55%;
}

.location-3 {
    top: 65%;
    left: 20%;
}

.location-4 {
    top: 30%;
    left: 75%;
}

.location-5 {
    top: 55%;
    left: 65%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .map-container {
        height: 400px;
    }

    .city-label {
        font-size: 20px;
        top: 20px;
        right: 30px;
    }

    .location-button {
        width: 40px;
        height: 40px;
    }

    .plus-icon {
        font-size: 16px;
    }
}
