/* Custom styles for Center City Psychological Services */

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

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

::-webkit-scrollbar-track {
    background: #0D0D0D;
}

::-webkit-scrollbar-thumb {
    background: #C4623A;
    border-radius: 4px;
}

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

/* Navbar styles */
nav {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

nav.scrolled {
    background: rgba(13, 13, 13, 0.95);
    box-shadow: 0 1px 0 rgba(232, 213, 196, 0.05);
}

/* Service card animations */
.service-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile menu */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* Fade-in animations for below-fold content */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card,
    .fade-in {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #C4623A;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: rgba(196, 98, 58, 0.3);
    color: #E8D5C4;
}
