/* Custom styles and overrides */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle gradient overlay for hero image */
#hero img {
    transition: transform 0.6s ease;
}

#hero:hover img {
    transform: scale(1.02);
}

/* Service card hover lift */
.group:hover {
    transform: translateY(-2px);
}

/* Smooth select dropdown */
select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25em 1.25em;
    padding-right: 2.5rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f9f2;
}
::-webkit-scrollbar-thumb {
    background: #c7dbbb;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9dbe8c;
}

/* Selection color */
::selection {
    background: #c7dbbb;
    color: #293f20;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    #hero img {
        transition: none;
    }
    .group:hover {
        transform: none;
    }
}
