/* Fondo dinámico */
#infoOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Estilos del botón de cierre */
.back-button {
    position: absolute;
    top: 15px;
    left: 15px;
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* Efecto hover en el botón de cierre */
.back-button:hover {
    transform: scale(1.1);
}

/* Estilos de los marcadores en el mapa */
.custom-marker {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s;
    position: relative;
}

/* Efecto hover en los marcadores */
.custom-marker:hover {
    transform: scale(1.5);
}

/* Botón de información en los marcadores */
.info-button {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
}

/* Mostrar botón de información al hacer hover */
.custom-marker:hover .info-button {
    display: block;
}
