/* Custom styles for Mosaic Skin and Hair Studio */

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

/* Service card hover effects */
.service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

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

/* Gallery item hover */
.gallery-item {
    cursor: pointer;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #cc2d5a;
    border-radius: 5px;
}

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}

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

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

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

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