/* Custom styles for Renegade's Salon */

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu animations */
#mobile-menu.active {
    transform: translateX(0);
}

#mobile-menu:not(.active) {
    transform: translateX(-100%);
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #C9A227, #D4AF37);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #D4AF37, #E8C547);
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #E8C547 0%, #C9A227 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover effects for cards */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Selection color */
::selection {
    background-color: rgba(201, 162, 39, 0.3);
    color: #fff;
}

/* Focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.5);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .group:hover .group-hover\:scale-110 {
        transform: none;
    }
    
    button,
    a {
        transition: none;
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    background-color: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.shimmer {
    background: linear-gradient(90deg, #C9A227 0%, #F0D66A 50%, #C9A227 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}
