/* Custom styles beyond Tailwind */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #102a43;
}
::-webkit-scrollbar-thumb {
    background: #334e66;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #486381;
}

/* Selection color */
::selection {
    background: rgba(74, 222, 128, 0.3);
    color: #102a43;
}

/* Reduced motion preference */
@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;
    }
    .gallery-img {
        transform: none !important;
    }
}

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

/* Base typography */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Service card hover glow */
.group:hover .group-hover\\:bg-mint-500\\/20 {
    background-color: rgba(74, 222, 128, 0.2);
}

/* Button hover lift */
button, a {
    transition: all 0.2s ease;
}
