/* Custom CSS */
.gradient-text {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.active::after {
    width: 100%;
}

.project-card {
    transition: all 0.3s ease;
    background-size: 200% auto;
    background-image: linear-gradient(to right, #f9fafb 0%, #e5e7eb 51%, #f9fafb 100%);
}

.dark .project-card {
    background-image: linear-gradient(to right, #1a1a1a 0%, #2a2a2a 51%, #1a1a1a 100%);
}

.project-card:hover {
    background-position: right center;
}

.skill-badge {
    transition: all 0.3s ease;
}

.skill-badge:hover {
    transform: scale(1.05);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

body, .bg-white, .bg-gray-50, .bg-gray-900 {
    transition: background-color 0.3s ease, color 0.3s ease;
}