/* Subtle fade in for CV sections */
.cv-fade-in {
    opacity: 0;
    animation: cvFadeIn 0.4s ease forwards;
}

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

/* More dynamic animations for portfolio sections */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.animate-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.animate-in:nth-child(2) {
    animation-delay: 0.2s;
}

/* Reduced animation for CV sections */
.cv-section {
    opacity: 0;
    animation: cvFadeIn 0.4s ease forwards;
}

.cv-section:nth-child(2) {
    animation-delay: 0.1s;
}

.cv-section:nth-child(3) {
    animation-delay: 0.2s;
}

/* Theme Toggle Animation */
.theme-toggle svg {
    transition: transform 0.3s ease;
}

.theme-toggle:hover svg {
    transform: rotate(180deg);
}

/* Menu Toggle Animation */
.menu-toggle svg {
    transition: transform 0.3s ease;
}

.menu-toggle.active svg {
    transform: rotate(90deg);
}
