/* Custom styles - loaded inline in HTML, this file provides additional overrides */

/* Ensure smooth rendering on all devices */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    .btn-primary,
    .btn-secondary {
        background: transparent !important;
        border: 1px solid #000 !important;
        color: #000 !important;
    }
    
    nav,
    footer {
        display: none;
    }
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card {
        border-width: 2px;
    }
    
    .thin-border {
        border-width: 2px;
        border-color: currentColor;
    }
}

/* Ensure proper text rendering */
body {
    text-rendering: optimizeLegibility;
}

/* Improve touch targets on mobile */
@media (max-width: 768px) {
    a,
    button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Subtle parallax-like effect for hero image on scroll */
@media (prefers-reduced-motion: no-preference) {
    .hero-image-overlay {
        will-change: transform;
    }
}
