/* Custom styles for C & G Salon */

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

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

::-webkit-scrollbar-track {
    background: #0a0510;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #9d174d;
}

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(10, 5, 16, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(157, 23, 77, 0.2);
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(157, 23, 77, 0.15);
}

/* Gallery item hover */
.gallery-item {
    height: 100%;
    min-height: 200px;
}

/* Testimonial card animation */
.testimonial-card {
    transition: transform 0.4s ease, border-color 0.4s ease;
}

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

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

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

/* Mobile link hover */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #e8c47a, #d4a574, #c49040);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Decorative line animation */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card,
    .testimonial-card,
    .gallery-item img {
        transition: none;
    }
    
    .service-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
    
    .gallery-item:hover img {
        transform: none;
    }
    
    .animate-bounce {
        animation: none;
    }
}
