/* Custom overrides and utilities */

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background-color: #d45238;
    color: #fefdfb;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9f0;
}
::-webkit-scrollbar-thumb {
    background: #e0c9a0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d45238;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .service-card,
    .service-icon-wrap,
    .service-line {
        transition: none !important;
    }
}

/* Focus visible styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d45238;
    outline-offset: 2px;
}

/* Ensure select dropdown text is visible */
select option {
    color: #57534e;
    background: #fefdfb;
}

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