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

body {
    /* Prevent layout shift on mobile browsers */
    min-height: 100vh;
}

/* Ensure text is readable on images */
img {
    user-select: none;
    -webkit-user-drag: none;
}

/* Subtle fade-in for scroll elements (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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