/* Custom styles for Nobles Auto Repair */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Scroll reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback: ensure content is visible even without JS */
@supports not (opacity: 0) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

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

::-webkit-scrollbar-track {
    background: #0A1628;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #2DD4BF;
}

/* Selection color */
::selection {
    background: #2DD4BF;
    color: #0A1628;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid #2DD4BF;
    outline-offset: 2px;
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}
