/* Custom styles that complement Tailwind */

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

/* Selection color */
::selection {
    background: #e36844;
    color: white;
}

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

/* Print styles */
@media print {
    nav, #back-to-top, .animate-float, .animate-float-reverse, .animate-blob, .animate-blob-alt {
        display: none !important;
    }
    body {
        color: #1a1a2e;
        background: white;
    }
}

/* Large screen optimization */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}

/* 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;
    }
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode */
@media (forced-colors: active) {
    .service-card, .testimonial-card {
        border: 1px solid ButtonText;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .service-card:hover {
        transform: none;
    }
    .btn-primary:hover {
        transform: none;
    }
}
