/* Custom styles for TGC Grooming */

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

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

::-webkit-scrollbar-track {
    background: #3a1313;
}

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

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

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

/* Gallery hover effects */
.gallery-item {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Navbar transition */
#navbar {
    transition: all 0.5s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Fade-in animation for scroll reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card,
    .gallery-item,
    #navbar {
        transition: none;
    }
    
    .fade-in {
        animation: none;
    }
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Testimonial card hover */
.bg-burgundy-50:hover,
.bg-blush-50:hover {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
}
