/* Custom styles for Your Wae Hair Studio */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0A1F0A;
}
::-webkit-scrollbar-thumb {
    background: #C9A84C40;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C9A84C60;
}

/* Selection color */
::selection {
    background: #C9A84C30;
    color: #FAF8F5;
}

/* Service card stagger animation (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .service-card {
        opacity: 1;
        transform: translateY(0);
    }
    
    .service-card:nth-child(1) { transition-delay: 0ms; }
    .service-card:nth-child(2) { transition-delay: 80ms; }
    .service-card:nth-child(3) { transition-delay: 160ms; }
    .service-card:nth-child(4) { transition-delay: 240ms; }
    .service-card:nth-child(5) { transition-delay: 320ms; }
    .service-card:nth-child(6) { transition-delay: 400ms; }
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(10, 31, 10, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu transitions */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

/* Image hover zoom */
.group img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Gold shimmer effect on hover for CTA buttons */
a[href^="tel:"] {
    position: relative;
    overflow: hidden;
}

a[href^="tel:"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
}

a[href^="tel:"]:hover::after {
    left: 100%;
}

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

/* Loading state for images */
img {
    background: linear-gradient(135deg, #0D2B0D 0%, #1A3D1A 100%);
    min-height: 100px;
}
