/* Custom styles for Marie St.Germain, P.A website */

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

/* Navigation transitions */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

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

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

/* Testimonial slider */
.testimonial-slide {
    transition: opacity 0.6s ease;
}

/* Mobile menu */
.mobile-link {
    transition: opacity 0.3s ease;
}

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

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

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

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

/* Selection color */
::selection {
    background-color: #f9d0d9;
    color: #6b132e;
}

/* Form focus styles */
input:focus,
textarea:focus {
    outline: none;
}

/* Button hover lift */
button,
a {
    transition: all 0.3s ease;
}

/* Image hover zoom container */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    nav,
    #contact-form,
    .testimonial-slider,
    iframe {
        display: none;
    }
}
