/* Custom styles beyond Tailwind */

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

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F5F4F0;
}
::-webkit-scrollbar-thumb {
    background: #3d3d3d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1a1a1a;
}

/* Ensure hero renders immediately */
.hero-bg,
.hero-overlay {
    will-change: auto;
}

/* Reduced motion preference */
@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;
    }
    .photo-grid-img {
        transition: none;
    }
    .service-card {
        transition: none;
    }
}

/* Print styles */
@media print {
    header, footer, .reveal {
        display: block !important;
        opacity: 1 !important;
    }
    .hero-bg {
        background: #1a1a1a !important;
    }
}
