/* Custom styles for Holland Spine Physical Therapy */

html {
    scroll-behavior: smooth;
}

/* Ensure all text has proper contrast */
.text-charcoal-900 {
    color: #0f172a;
}

.text-charcoal-800 {
    color: #1e293b;
}

.text-charcoal-700 {
    color: #334155;
}

.text-charcoal-600 {
    color: #475569;
}

.text-charcoal-500 {
    color: #64748b;
}

.text-charcoal-100 {
    color: #f1f5f9;
}

/* Coral accent colors */
.text-coral-500 {
    color: #f0705f;
}

.text-coral-400 {
    color: #f4897a;
}

.text-coral-600 {
    color: #e85d4a;
}

.bg-coral-500 {
    background-color: #f0705f;
}

.bg-coral-600 {
    background-color: #e85d4a;
}

.bg-coral-500\/10 {
    background-color: rgba(240, 112, 95, 0.1);
}

.bg-charcoal-900 {
    background-color: #0f172a;
}

.bg-charcoal-800 {
    background-color: #1e293b;
}

.bg-charcoal-100 {
    background-color: #f1f5f9;
}

/* Animation utilities */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #64748b;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid #f0705f;
    outline-offset: 2px;
}

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

/* Image loading placeholder */
img {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

img[src] {
    animation: none;
    background: none;
}
