/* Custom styles for True North Property Management */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: #701b2f;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1223d;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .group:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    nav, #contact-form, button {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
}

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

/* Ensure all links are distinguishable */
a:not([class]) {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Custom selection color */
::selection {
    background-color: #701b2f;
    color: white;
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #faf9f7 inset !important;
}
