/* Custom styles for Haney Enterprises */

/* Smooth focus outlines for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #C0603A;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9ee;
}
::-webkit-scrollbar-thumb {
    background: #f4e0b0;
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ecce7e;
}

/* Selection color */
::selection {
    background: #fad2c1;
    color: #6f321f;
}

/* Navbar scroll state */
.nav-scrolled {
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

/* Subtle image hover zoom */
.hero-img-pattern img:hover {
    transform: scale(1.02);
    transition: transform 0.6s ease;
}

/* Service card image hover */
.service-card img {
    transition: transform 0.5s ease;
}
.service-card:hover img {
    transform: scale(1.05);
}

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