/* Custom styles for Hometown Tax Service */

:root {
    --forest: #1a3c2a;
    --forest-light: #2d5a3f;
    --forest-dark: #0f2318;
    --off-white: #f8f6f0;
    --cream: #f0ece0;
    --gold: #c9a84c;
    --text-dark: #1a1a1a;
    --text-muted: #4a4a4a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--off-white);
    color: var(--text-dark);
}

h1, h2, h3, h4, h5 {
    font-family: 'Cormorant Garamond', serif;
}

/* 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);
    }
}

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

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

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

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--forest-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--forest);
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 90, 63, 0.1);
}

/* Button hover effects */
button,
a {
    transition: all 0.2s ease-in-out;
}

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