/* Custom styles for Counterpoint Financial */

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

/* Scroll animation base - progressive enhancement via JS */
.scroll-animate {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-animate {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Mobile menu links */
.mobile-menu-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f5f5f7;
    text-decoration: none;
}

.mobile-menu-link:last-child {
    border-bottom: none;
}

/* Navbar transition states */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .nav-logo-text {
    color: #18181b !important;
}

/* Hide scrollbar for cleaner look */
::-webkit-scrollbar {
    width: 8px;
}

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

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

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

/* Form focus styles */
input:focus,
textarea:focus {
    outline: none;
}

/* Button hover lift effect */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Selection color */
::selection {
    background: #ffd0b8;
    color: #18181b;
}
