/* Custom Styles for Arthritis & Joint Center of Florida */

:root {
    --color-dark-slate: #1a1d20;
    --color-off-white: #f5f5f5;
    --color-coral: #ff7e5f;
    --color-coral-light: #feb47b;
    --color-gray-400: #9ca3af;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-dark-slate);
    color: var(--color-off-white);
}

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

::-webkit-scrollbar-track {
    background: var(--color-dark-slate);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--color-coral), var(--color-coral-light));
    border-radius: 5px;
}

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

/* Selection Color */
::selection {
    background-color: var(--color-coral);
    color: white;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s ease;
}

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

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--color-coral);
    outline-offset: 2px;
}

/* Reduced motion preference */
@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;
    }
    
    .animate-bounce {
        animation: none;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .bg-dark-slate, .bg-\[\#1e2227\] {
        background: white !important;
    }
    
    .text-white, .text-gray-300, .text-gray-400 {
        color: black !important;
    }
}
