/* Custom styles for Sonja Lingo medical practice */

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

/* Prevent flash of hidden content - all content visible by default */
body {
    opacity: 1;
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Service card hover */
.service-card {
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Testimonial card hover */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* Mobile menu transitions */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
}

#mobileMenu.open {
    max-height: 500px;
}

/* Mobile link active state */
.mobile-link.active {
    background-color: #fff5f0;
    color: #f05220;
}

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

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

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

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

/* Selection color */
::selection {
    background-color: #ffe8db;
    color: #c73d12;
}

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #FF6F3F;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Form styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #FF6F3F;
    box-shadow: 0 0 0 3px rgba(255, 111, 63, 0.15);
}

/* Loading animation for images */
img {
    background-color: #eeeff2;
}
