/* Custom Styles for Landing Page */

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

/* Animation for fade-in effect */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* Hover effects for skill cards */
.group:hover {
    background: linear-gradient(135deg, rgba(15, 23, 42, 1) 0%, rgba(30, 41, 59, 1) 100%);
}

/* Smooth transitions */
a, button {
    transition: all 0.3s ease;
}

/* Focus states for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Mobile menu */
@media (max-width: 768px) {
    nav {
        padding: 0 1rem;
    }

    .text-5xl {
        font-size: 2.5rem;
    }
}

/* Smooth link scroll */
a[href^="#"] {
    scroll-padding-top: 5rem;
}

/* Hero section animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    animation: slideUp 0.8s ease-out;
}

/* Gradient text support */
.bg-clip-text {
    background-clip: text;
    -webkit-background-clip: text;
}

/* Performance optimization */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure proper button styling */
button, a.button {
    cursor: pointer;
    user-select: none;
}

/* Skip link for accessibility */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #3b82f6;
    color: white;
    padding: 8px;
    text-decoration: none;
}

.skip-to-content:focus {
    top: 0;
}
