/* Custom styles for Valiant Tax Solutions */

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

/* Custom animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

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

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

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

/* Form focus styles */
input:focus,
textarea:focus {
    background: rgba(245, 245, 240, 0.05);
}

/* Selection color */
::selection {
    background: #c9a87c;
    color: #1a3c2b;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    .font-serif.text-4xl {
        font-size: 1.75rem;
    }
}
