/* Dalga Animasyonu için CSS */
.wave-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none; /* Mouse etkileşimlerini engelleyerek performans artışı sağlar */
}

.wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/VoleyBul/assets/img/wave.svg');
    background-size: 1000px 100%;
    opacity: 0.07;
    will-change: transform; /* GPU hızlandırma için */
    backface-visibility: hidden; /* Render performansını artırır */
}

.wave.wave1 {
    animation: animate 45s linear infinite; /* Daha yavaş animasyon */
    z-index: 1000;
    opacity: 0.08;
    animation-delay: 0s;
    bottom: 0;
    transform: translateZ(0); /* GPU hızlandırması için */
}

.wave.wave2 {
    animation: animate2 60s linear infinite; /* Çok daha yavaş animasyon */
    z-index: 999;
    opacity: 0.06;
    animation-delay: -5s;
    bottom: 10px;
    transform: translateZ(0);
}

.wave.wave3 {
    animation: animate 50s linear infinite;
    z-index: 998;
    opacity: 0.04;
    animation-delay: -2s;
    bottom: 15px;
    transform: translateZ(0);
}

.wave.wave4 {
    animation: animate2 55s linear infinite;
    z-index: 997;
    opacity: 0.05;
    animation-delay: -5s;
    bottom: 20px;
    transform: translateZ(0);
}

@keyframes animate {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(1000px);
    }
}

@keyframes animate2 {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-1000px);
    }
}

/* Footer içindeki animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.footer-section:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-section:nth-child(2) {
    animation-delay: 0.3s;
}

.footer-section:nth-child(3) {
    animation-delay: 0.5s;
}

.footer-section:nth-child(4) {
    animation-delay: 0.7s;
}

.footer-title {
    animation: pulse 3s infinite;
}

.social-link:hover {
    animation: float 2s ease infinite;
}
