/* Custom styles for Lamann Dental Group */

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

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(165, 23, 56, 0.08);
}

#navbar.scrolled .font-serif,
#navbar.scrolled .text-burgundy-800 {
    color: #741632;
}

#navbar.scrolled .text-burgundy-600 {
    color: #a51738;
}

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

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

/* Testimonial card hover */
.testimonial-card {
    transform: translateY(0);
}

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

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

#mobile-menu.open {
    max-height: 400px;
    padding-top: 0;
}

/* Mobile link hover */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #a51738;
    transition: width 0.2s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* Form input focus */
input:focus,
select:focus,
textarea:focus {
    border-color: #a51738 !important;
    box-shadow: 0 0 0 3px rgba(165, 23, 56, 0.15) !important;
}

/* Subtle entrance animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .testimonial-card {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.5s ease, transform 0.4s ease;
    }
}

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

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

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

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

/* Selection color */
::selection {
    background: #f9d0d9;
    color: #400715;
}
