/* Base styles and custom utilities */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Scroll reveal base - content always visible by default */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0A2540;
}
::-webkit-scrollbar-thumb {
    background: #40E0D0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #38C8BA;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #40E0D0;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #40E0D0;
    color: #0A2540;
}
