/* Custom styles that extend Tailwind */
html {
    scroll-behavior: smooth;
}

body {
    /* Prevents layout shift on load */
    background-color: #fafaf9; /* stone-50 */
}

/* Animation utility */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.is-hidden {
    opacity: 0;
    transform: translateY(20px);
}

/* Custom scrollbar for webkit */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}
