/* Custom styles that complement Tailwind */

/* Smooth focus outlines for accessibility */
*:focus-visible {
    outline: 2px solid #d9502a;
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf8e8;
}
::-webkit-scrollbar-thumb {
    background: #e56e45;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c43d1f;
}

/* Selection color */
::selection {
    background: #f5c0aa;
    color: #3a120b;
}

/* Prevent layout shift on images */
img {
    content-visibility: auto;
}

/* Ensure mobile menu links fill width */
.mobile-link {
    display: block;
    width: 100%;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .service-card {
        transition: none;
    }
    .service-card:hover {
        transform: none;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    @keyframes subtle-pulse {
        0%, 100% { box-shadow: 0 0 0 0 rgba(217, 80, 42, 0.3); }
        50% { box-shadow: 0 0 0 10px rgba(217, 80, 42, 0); }
    }
    .btn-pulse:hover {
        animation: none;
    }
}

/* Print styles */
@media print {
    nav, #contact-form, .reveal {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
