/* Custom styles for All in One Tax and Cell Phone Service */

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

/* Floating animation for hero badge */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
.navbar.scrolled {
    background: rgba(253, 252, 249, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

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

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

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

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

/* Selection color */
::selection {
    background: #f4c9a8;
    color: #6b2c21;
}
