/* Custom styles for Battle Frank & Associates */

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

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

/* Navbar scroll state */
#navbar.scrolled {
    box-shadow: 0 1px 20px rgba(10, 15, 26, 0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0f4f8;
}
::-webkit-scrollbar-thumb {
    background: #6b7b8d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #515e6b;
}

/* Selection color */
::selection {
    background: #10b981;
    color: #0a0f1a;
}

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

/* Print styles */
@media print {
    #navbar, #mobile-menu-btn, .scroll-reveal {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
