/* ============================================================================
   İSTANBUL HAMAL HİZMETİ - ANİMASYON VE MİKRO ETKİLEŞİMLER (animations.css)
   ============================================================================ */

/* Pulse Animasyonu - Floating Butonlar ve Telefon İkonları */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 107, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
    }
}

@keyframes pulseWaGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.floating-phone {
    animation: pulseGlow 2.5s infinite;
}

.floating-whatsapp {
    animation: pulseWaGlow 2.5s infinite 1.25s;
}

/* Yukarı Aşağı Süzülme (Float Effect) */
@keyframes floatY {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.hero-card-box {
    animation: floatY 6s ease-in-out infinite;
}

/* Fade In Up Entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Ripple Efekti */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:focus:not(:active)::after {
    animation: ripple 0.8s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(40, 40);
        opacity: 0;
    }
}
