/* Custom styles for The Upholstery Shop */

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

/* Service card hover effect */
.service-card {
    transform: translateY(0);
    transition: all 0.3s ease;
}

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

/* Gallery item hover */
.gallery-item {
    position: relative;
}

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

#mobile-menu.active {
    max-height: 300px;
}

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

/* Button hover effects */
button, a {
    cursor: pointer;
}

/* Form input focus styles */
input:focus,
select:focus,
textarea:focus {
    border-color: #c05172;
    box-shadow: 0 0 0 3px rgba(192, 81, 114, 0.2);
}

/* Animation for scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

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

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