/* Custom styles that complement Tailwind */

/* Smooth focus outlines */
*:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Selection color */
::selection {
    background: #99f6e4;
    color: #134e4a;
}

/* Mobile menu link hover */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    transition: color 0.2s ease;
}
.mobile-link:last-child {
    border-bottom: none;
}
.mobile-link:hover {
    color: #0d9488;
}

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

/* Image placeholder fallback */
img {
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
}

/* Reduced motion */
@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;
    }
}
