/* Custom styles to complement Tailwind */
html {
    scroll-behavior: smooth;
}

/* Ensure smooth transitions for theme switching */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom scrollbar for a more minimalistic look */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

.dark ::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

header, section {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Ensure fixed nav doesn't hide content */
:target {
    scroll-margin-top: 5rem;
}
