/* Custom styles that complement the inline styles in index.html */

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

/* Prevent zoom on input focus on iOS */
input, textarea, select {
    font-size: 16px;
}

/* Selection color */
::selection {
    background-color: rgba(212, 85, 46, 0.2);
    color: #3D2B1F;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #menuOverlay, button {
        display: none !important;
    }

    body {
        background: white !important;
        color: #3D2B1F !important;
    }

    .hero-card {
        background: #d4552e !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .btn-primary {
        border: 2px solid ButtonText;
    }

    .service-card {
        border: 1px solid ButtonText;
    }
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 2px solid #d4552e;
    outline-offset: 2px;
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
