/* 
 * Ace Home Inspection Professionals - Custom Styles
 * Complementary to Tailwind CSS
 */

/* Base styles are handled in index.html <style> block */
/* This file contains additional custom styles */

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid currentColor;
    }
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #a11d3d;
    outline-offset: 2px;
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom selection color */
::selection {
    background: rgba(161, 29, 61, 0.15);
    color: #1a1a1a;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

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

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
    }
    
    .stat-card:hover {
        transform: none;
    }
    
    .img-hover:hover img {
        transform: none;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .mobile-menu {
        padding: 2rem;
    }
}
