/* Custom styles for Psychotherapy Services LLC */

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

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

#navbar.scrolled .font-serif {
    color: #111827;
}

/* Service card hover */
.service-card {
    will-change: transform;
}

/* FAQ transitions */
.faq-content {
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 1;
}

.faq-content.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.faq-content:not(.hidden) {
    max-height: 300px;
    opacity: 1;
}

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

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

/* Mobile links */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    font-size: 1.125rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card,
    a,
    button {
        transition: none;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .mobile-link {
        animation: none;
    }
}

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

/* Selection color */
::selection {
    background-color: #f9e4db;
    color: #6b2a1f;
}
