/* Custom styles and overrides beyond Tailwind */

/* Smooth scroll for the whole page */
html {
    scroll-behavior: smooth;
}

/* Ensure anchor links don't hide behind fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background: #0d9488;
    color: #fff;
}

/* Focus visible styles */
*:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Service card icon hover - already handled in HTML styles */

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .animate-bounce {
        animation: none;
    }
    .animate-pulse {
        animation: none;
    }
    .btn-primary {
        transition: none;
    }
    .btn-primary:hover {
        transform: none;
    }
    .service-card:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    header, footer, #contact-form, .btn-primary {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
