/* Custom styles — minimal, supporting the Tailwind design system */

/* Ensure smooth transitions for interactive elements */
a, button, input, select, textarea {
    -webkit-tap-highlight-color: transparent;
}

/* Selection color */
::selection {
    background: #c3eed1;
    color: #102a43;
}

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

/* Reduce motion for users who prefer it */
@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;
    }
}

/* Image loading placeholder */
img {
    background-color: #d9e2ec;
}

/* Subtle pattern for hero section */
#hero {
    background-image: radial-gradient(circle at 20% 80%, rgba(53, 185, 97, 0.04) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(16, 42, 67, 0.03) 0%, transparent 50%);
}

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

.group {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Gallery image zoom container */
.overflow-hidden {
    will-change: transform;
}

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 1px 0 rgba(16, 42, 67, 0.06);
}

/* Custom select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23627d98' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}
