/* Custom styles for Holme Inspection Services */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Selection color */
::selection {
    background-color: rgba(200, 164, 78, 0.3);
    color: #0a1628;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #faf8f4;
}

::-webkit-scrollbar-thumb {
    background: #0f2140;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #152d56;
}

/* Print styles */
@media print {
    .nav, .mobile-menu, .hamburger {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .hero-split {
        min-height: auto;
    }
}

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

/* Subtle hover states for interactive elements */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Reduce motion for users who prefer it */
@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;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .btn-primary {
        border: 2px solid ButtonText;
    }
}
