/* Custom styles for West Side Pediatrics */

/* Smooth scroll offset for fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}

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

/* Subtle entrance animation for below-fold sections */
@media (prefers-reduced-motion: no-preference) {
    .fade-section {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf8f0;
}
::-webkit-scrollbar-thumb {
    background: #9cc2ae;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6e9d86;
}

/* Print styles */
@media print {
    nav, #mobile-menu-btn, button {
        display: none !important;
    }
    .hero-pattern {
        background: #1f3229 !important;
        min-height: auto !important;
        padding: 2rem 0 !important;
    }
    body {
        color: #1f3229 !important;
        background: white !important;
    }
}
