/* 
 * Animation Styles
 * Contains animations and transition effects
 */

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.slide-in {
    animation: slideIn 0.6s ease forwards;
}

.scale-in {
    animation: scaleIn 0.6s ease forwards;
}

.opacity-0 {
    opacity: 0;
}

.transform-up {
    transform: translateY(30px);
}

/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

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

/* Loading Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hover Effect Animations */
.project-tab:hover:not(.active) {
    transform: translateY(-2px);
}

.social-link:hover,
.footer-social a:hover {
    transform: translateY(-5px);
}

/* Card Animations */
.about-card:hover,
.project-card:hover,
.blog-card:hover,
.cta-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Image Hover Effects */
.project-card:hover .project-image img {
    transform: scale(1.05);
}
