/* Custom Styles for A Lady with Pride Tax Services */

:root {
    --midnight-900: #0A1F44;
    --midnight-800: #122d5c;
    --mint: #A7D8C9;
    --mint-light: #b8e4d8;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
}

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

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

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

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

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

/* Base Typography */
body {
    font-family: 'Lato', sans-serif;
}

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

/* Selection Color */
::selection {
    background-color: var(--mint);
    color: var(--midnight-900);
}

/* Focus Styles */
*:focus-visible {
    outline: 2px solid var(--mint);
    outline-offset: 2px;
}

/* Input Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    appearance: none;
    background-image: none;
}

textarea {
    resize: none;
}

/* Button Hover Effects */
button,
a {
    transition: all 0.3s ease;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 300px;
}

/* Print Styles */
@media print {
    header, footer, #contact-form, .no-print {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --midnight-900: #000;
        --mint: #0f0;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.2;
    }
}
