/* Custom styles for Driver Side Rehab */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4a574, #ff6b6b);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #c9956a, #ee5a5a);
}

/* Selection color */
::selection {
    background: rgba(212, 165, 116, 0.3);
    color: #f5f5f5;
}

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

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

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(212, 165, 116, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(212, 165, 116, 0.6);
    }
}

/* Utility classes */
.float-animation {
    animation: float 3s ease-in-out infinite;
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .metallic-text {
        background: none;
        -webkit-text-fill-color: #d4a574;
    }
}

/* Print styles */
@media print {
    .gradient-hero,
    .reveal,
    .btn-primary,
    .btn-secondary {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}
