/* Custom styles for Hair Image salon website */

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

/* Selection color */
::selection {
    background-color: rgba(201, 168, 76, 0.3);
    color: #E8D5C4;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0D0D0D;
}
::-webkit-scrollbar-thumb {
    background: #2A2A2A;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C9A84C;
}

/* Service card shimmer effect */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.03), transparent);
    transition: left 0.7s ease;
}
.service-card:hover::before {
    left: 100%;
}
.service-card {
    position: relative;
    overflow: hidden;
}

/* Gold shimmer on hover for buttons */
button, a {
    position: relative;
}

/* Animation keyframes for reveal */
@keyframes fadeInUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Custom select dropdown styling */
select option {
    background-color: #1A1A1A;
    color: #E8D5C4;
    padding: 8px;
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #C9A84C;
    outline-offset: 2px;
}

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

/* Navbar scroll state */
.nav-scrolled {
    background-color: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

/* Image lazy load placeholder */
img {
    background: linear-gradient(135deg, #1A1A1A 0%, #212121 100%);
}

/* Hero text animation */
@keyframes gentlePulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Gallery hover overlay */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Custom underline for links */
.underline-gold {
    background-image: linear-gradient(to right, #C9A84C, #C9A84C);
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: 100% 2px;
    padding-bottom: 2px;
}

/* Gradient text utility */
.text-gradient-gold {
    background: linear-gradient(135deg, #C9A84C 0%, #D4B96A 50%, #C4623A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
