/* ===== Custom Styles for Walk Chiropractic ===== */

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0f1d;
}
::-webkit-scrollbar-thumb {
    background: #1e3a5f;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
}

/* Selection */
::selection {
    background: rgba(13, 148, 136, 0.3);
    color: #f0fdfa;
}

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

/* Nav active state */
.nav-link.active {
    color: #2dd4bf;
}

/* Card hover glow */
.service-card:hover {
    box-shadow: 0 0 40px rgba(13, 148, 136, 0.1);
}

/* Subtle pulse for CTA buttons */
@keyframes subtle-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4); }
    50% { box-shadow: 0 0 20px 4px rgba(13, 148, 136, 0.15); }
}

.cta-pulse:hover {
    animation: subtle-pulse 2s ease-in-out infinite;
}

/* Hero text shimmer */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Form styles */
input, textarea, select {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(51, 65, 85, 0.5);
    color: #f1f5f9;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

input::placeholder, textarea::placeholder {
    color: #64748b;
}

/* Success message */
.success-message {
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid rgba(13, 148, 136, 0.3);
    color: #2dd4bf;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    font-weight: 500;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Image lazy load fade */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease;
}
img[loading="lazy"].loaded {
    opacity: 1;
}

/* Print styles */
@media print {
    header, footer, .reveal { display: none; }
    body { background: white; color: black; }
    a { color: black; }
}
