/* Custom styles complementing Tailwind */

/* Ensure smooth rendering */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Custom select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b82840' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Subtle parallax for hero - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .hero-overlay {
        will-change: transform;
    }
}

/* Print styles */
@media print {
    header, footer, .reveal {
        display: block !important;
        opacity: 1 !important;
    }
    .service-card:hover {
        transform: none;
        box-shadow: none;
    }
}
