/* Custom styles complementing Tailwind — loaded after Tailwind CDN */

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

/* Selection color */
::selection {
    background: #f5c9bb;
    color: #2a2019;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #fefdfb;
}
::-webkit-scrollbar-thumb {
    background: #d1c3b0;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C4724E;
}

/* Ensure all images have proper aspect ratio handling */
img {
    max-width: 100%;
    height: auto;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #C4724E;
    outline-offset: 2px;
}

/* Mobile nav link hover */
@media (max-width: 767px) {
    .mobile-nav-link {
        font-size: 1.1rem;
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, #contactForm, .btn-primary, .btn-outline {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card {
        border-color: #C4724E;
    }
    .nav-link {
        color: #000;
    }
}

/* Reduced motion - content already visible by default */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .img-reveal img {
        transition: none;
    }
}
