
/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation classes */
.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* Dark mode styles */
.dark {
    background-color: #111827;
    color: #f9fafb;
}

.dark header {
    background-color: rgba(17, 24, 39, 0.9);
    border-color: #374151;
}

.dark .bg-gray-50 {
    background-color: #1f2937;
}

.dark .bg-white {
    background-color: #374151;
}

.dark .text-gray-900 {
    color: #f9fafb;
}

.dark .text-gray-600 {
    color: #d1d5db;
}

.dark .text-gray-500 {
    color: #9ca3af;
}

.dark .border-gray-100 {
    border-color: #374151;
}

.dark .bg-gray-100 {
    background-color: #4b5563;
}

.dark .hover\:bg-gray-200:hover {
    background-color: #6b7280;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Skills animation delay */
.skill-item {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.skill-item:nth-child(1) { animation-delay: 0.1s; }
.skill-item:nth-child(2) { animation-delay: 0.2s; }
.skill-item:nth-child(3) { animation-delay: 0.3s; }
.skill-item:nth-child(4) { animation-delay: 0.4s; }
.skill-item:nth-child(5) { animation-delay: 0.5s; }
.skill-item:nth-child(6) { animation-delay: 0.6s; }
.skill-item:nth-child(7) { animation-delay: 0.7s; }
.skill-item:nth-child(8) { animation-delay: 0.8s; }
.skill-item:nth-child(9) { animation-delay: 0.9s; }
.skill-item:nth-child(10) { animation-delay: 1.0s; }
.skill-item:nth-child(11) { animation-delay: 1.1s; }
.skill-item:nth-child(12) { animation-delay: 1.2s; }

/* Hover effects */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Mobile menu */
#mobile-menu {
    display: none;
}

#mobile-menu.show {
    display: block;
}

/* Responsive design improvements */
@media (max-width: 768px) {
    .animate-slide-in-left,
    .animate-slide-in-right {
        animation: fadeIn 0.6s ease-out;
    }
}