/**
 * CSS Animations untuk peta Indonesia
 */

/* Animasi fadeIn untuk elemen peta */
@keyframes fadeIn {
    to { opacity: 1; }
}

/* Modified to not set initial opacity to 0, allowing map elements to be visible by default */
.fade-in {
    /* opacity: 0; - removed to keep elements visible */
    animation: fadeIn 0.3s ease-in forwards;
}

/* Animasi pulse untuk efek ripple */
@keyframes pulse {
    0% {
        filter: brightness(100%);
        stroke-opacity: 0.8;
    }
    50% {
        filter: brightness(130%);
        stroke-opacity: 1;
    }
    100% {
        filter: brightness(100%);
        stroke-opacity: 0.8;
    }
}

.pulse-effect {
    animation: pulse 0.3s ease-in-out;
}

/* Animasi ripple untuk efek riak air */
@keyframes ripple {
    0% {
        stroke-width: 1;
        stroke-opacity: 1;
        transform: scale(1);
    }
    50% {
        stroke-width: 3;
        stroke-opacity: 0.8;
        transform: scale(1.03);
    }
    100% {
        stroke-width: 1;
        stroke-opacity: 1;
        transform: scale(1);
    }
}

.ripple-effect {
    animation: ripple 0.5s ease-in-out;
}