/* Custom styles for Harris Asphalt Paving */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #1a2d5a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #243d75;
}

/* Selection color */
::selection {
    background: #d4a853;
    color: #0f1c3f;
}

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(15, 28, 63, 0.08);
}

/* Image hover zoom */
img {
    transition: transform 0.4s ease;
}

/* Button ripple effect */
button, a {
    position: relative;
    overflow: visible;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

/* Form input autofill */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}
