/* Custom Styles for Legacy Therapy */

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

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

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

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

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

/* Selection Color */
::selection {
    background: #e07a5f;
    color: white;
}

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

/* Button Hover Effects */
button, a {
    -webkit-tap-highlight-color: transparent;
}

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

/* Navigation Scroll Effect */
.nav-scrolled {
    background: white !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-scrolled .text-charcoal-700 {
    color: #2d2d2d !important;
}

.nav-scrolled .text-charcoal-800 {
    color: #2d2d2d !important;
}

/* Mobile Menu Animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Service Card Hover */
.group:hover {
    transform: translateY(-4px);
}

.group {
    transition: transform 0.3s ease;
}

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

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

/* Reduced Motion */
@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;
    }
}

/* Print Styles */
@media print {
    nav,
    button,
    form {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
