/* Custom styles for A Mindful Place */

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

/* Service card stagger animation (progressive enhancement) */
.service-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, -webkit-transform 0.6s ease;
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

/* Navbar background on scroll */
#navbar.scrolled header nav {
    box-shadow: 0 4px 20px rgba(139, 58, 101, 0.1);
}

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

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf5f7;
}
::-webkit-scrollbar-thumb {
    background: #d9a8c4;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a85582;
}
