/* Animasyon stilleri */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseEffect {
    0% {
        box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(26, 115, 232, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(26, 115, 232, 0);
    }
}

@keyframes floatEffect {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Ana sayfa animasyonları */
.profile-section {
    animation: fadeIn 1s ease-out;
}

.profile-image {
    animation: pulseEffect 2s infinite;
}

.links-container .link-card {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.links-container .link-card:nth-child(1) {
    animation-delay: 0.1s;
}

.links-container .link-card:nth-child(2) {
    animation-delay: 0.2s;
}

.links-container .link-card:nth-child(3) {
    animation-delay: 0.3s;
}

.links-container .link-card:nth-child(4) {
    animation-delay: 0.4s;
}

.links-container .link-card:nth-child(5) {
    animation-delay: 0.5s;
}

.links-container .link-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Hover animasyonları */
.link-card:hover .icon {
    animation: floatEffect 2s ease infinite;
}

/* Sayfa geçiş animasyonları */
.page-transition {
    animation: fadeIn 0.5s ease-out;
}

/* Animasyonlu loader */
.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--background-color);
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-heart {
    width: 50px;
    height: 50px;
    position: relative;
    animation: heartbeat 1.4s infinite;
}

.loader-heart:before,
.loader-heart:after {
    content: "";
    width: 50px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50px 50px 0 0;
    position: absolute;
    transform: rotate(-45deg);
    transform-origin: 0 100%;
    left: 25px;
    top: 0;
}

.loader-heart:after {
    transform: rotate(45deg);
    transform-origin: 100% 100%;
    left: -25px;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.2);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.2);
    }
    70% {
        transform: scale(1);
    }
} 