/* Estilos para el overlay oscuro del modal de imágenes */
#image-modal {
    display: none; 
    position: fixed; 
    z-index: 99999; /* Asegura que esté por encima de todo */
    left: 0; 
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.85); /* Fondo oscuro semitransparente */
    justify-content: center; 
    align-items: center;
}

#image-modal img {
    max-width: 90%; 
    max-height: 90%; 
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

/* Animación suave al abrir la imagen */
@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Indicador visual de que la imagen es clickeable */
.img-contacto {
    cursor: zoom-in;
    transition: transform 0.2s;
}
.img-contacto:hover {
    transform: scale(1.05);
}