/* Custom styles for Surepoint Lending */

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

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f7f7f8;
}
::-webkit-scrollbar-thumb {
    background: #d6d6dd;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b0b0be;
}

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

/* Subtle entrance for hero elements - only below the fold or with JS enhancement */
@media (prefers-reduced-motion: no-preference) {
    .hero-stat {
        opacity: 0;
        animation: fadeInUp 0.6s ease forwards;
    }
    .hero-stat:nth-child(1) { animation-delay: 0.3s; }
    .hero-stat:nth-child(2) { animation-delay: 0.4s; }
    .hero-stat:nth-child(3) { animation-delay: 0.5s; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print styles */
@media print {
    nav, #contact-form, .reveal { display: none; }
    body { color: #1e1e30; }
}
