/* Interactive Map Styling */
.limousin-map-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.map-image,
.map-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* City pins styling */
.city-pin {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: 10;
}

/* Position each city pin (carte Creuse + Haute-Vienne) */
.aubusson {
    top: 48.95%;
    left: 76.51%;
}

.bellac {
    top: 33.43%;
    left: 22.36%;
}

.eymoutiers {
    top: 69.41%;
    left: 55.84%;
}

.st-leonard {
    top: 59.69%;
    left: 43.66%;
}

/* Pin dot styling */
.pin-dot {
    width: 16px;
    height: 16px;
    background-color: #D73A42;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 rgba(215, 58, 66, 0.4);
    transition: all 0.3s ease;
}

/* Pin label styling */
.pin-label {
    color: #2a1a0c;
    font-weight: bold;
    font-size: 22px;
    line-height: 1.05;
    margin-top: 6px;
    padding: 4px 10px;
    background-color: rgba(255, 255, 255, 0.78);
    border-radius: 5px;
    opacity: 1;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 6px rgba(58, 36, 16, 0.25);
    transition: all 0.3s ease;
}

/* Hover effects */
.city-pin:hover {
    transform: translate(-50%, -50%) scale(1.15);
}

.city-pin:hover .pin-dot {
    background-color: #FF4D57;
    box-shadow: 0 0 15px rgba(215, 58, 66, 0.6);
    animation: pulse 1.5s infinite;
}

.city-pin:hover .pin-label {
    opacity: 1;
    background-color: rgba(255, 255, 255, 1);
}

/* Pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(215, 58, 66, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(215, 58, 66, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(215, 58, 66, 0);
    }
}

/* Active state for currently viewed city */
.city-pin.active .pin-dot {
    background-color: #FF4D57;
    width: 16px;
    height: 16px;
}

.city-pin.active .pin-label {
    font-weight: bold;
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pin-label {
        font-size: 16px;
        padding: 3px 7px;
    }

    .pin-dot {
        width: 13px;
        height: 13px;
    }
}

@media (max-width: 480px) {
    .pin-label {
        font-size: 13px;
        padding: 2px 5px;
    }

    .pin-dot {
        width: 11px;
        height: 11px;
    }
}
