/* Global Styling Adjustments to accompany Tailwind CSS */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: linear-gradient(135deg, #84cc16, #eab308);
    background-color: #84cc16;
    color: #1a1a1a;
}

input, textarea, select, button {
    transition: all 0.2s ease-in-out;
}

/* Custom styles for select dropdown */
select:invalid {
    color: #9ca3af;
}

/* Prosaic styling improvements for About page */
.prose {
    line-height: 1.8;
}

.prose p {
    margin-bottom: 1.5em;
}

.prose strong {
    font-weight: 700;
}

/* Smooth hover animations */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Custom scrollbar for modern look */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fefce8;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #84cc16, #eab308);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #65a30d, #ca8a04);
}

/* Gradient text utility */
.text-gradient {
    background: linear-gradient(135deg, #84cc16, #eab308);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive mobile menu adjustments */
@media (max-width: 640px) {
    nav .flex.items-center {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
}

/* Animated gradient background */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

/* Focus ring override */
*:focus-visible {
    outline: 2px solid #84cc16;
    outline-offset: 2px;
}
