/* Custom styles for Maxwelton Health Center */

:root {
    --color-charcoal-900: #0f172a;
    --color-charcoal-800: #1e293b;
    --color-charcoal-700: #334155;
    --color-charcoal-600: #475569;
    --color-coral-500: #f97316;
    --color-coral-600: #ea580c;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Selection color */
::selection {
    background-color: rgba(249, 115, 22, 0.2);
    color: #0f172a;
}

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

/* Focus visible styles */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #f97316;
    outline-offset: 2px;
    border-radius: 4px;
}

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