/* La La's Beauty Salon — Custom Styles */

/* Base & Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}

/* Selection Color */
::selection {
    background-color: rgba(194, 112, 78, 0.3);
    color: #F5F0EB;
}

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

::-webkit-scrollbar-track {
    background: #1C1917;
}

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

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

/* Service Card Hover Effect */
.service-card {
    will-change: transform;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Reveal Animation */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

.reveal[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Transition */
.nav-scrolled {
    background: rgba(28, 25, 23, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu Transitions */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Gold Shimmer Line */
.shimmer-line {
    background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.5), transparent);
    background-size: 200% 100%;
    animation: shimmerMove 3s ease-in-out infinite;
}

@keyframes shimmerMove {
    0%, 100% { background-position: -200% 0; }
    50% { background-position: 200% 0; }
}

/* Floating Animation Override for Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .animate-float-slow,
    .animate-float-medium,
    .animate-float-fast,
    .animate-shimmer {
        animation: none !important;
    }
    
    .reveal[data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus Visible Styles */
:focus-visible {
    outline: 2px solid #D4A574;
    outline-offset: 2px;
}

/* Image Loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Button Ripple Effect */
button, a {
    -webkit-tap-highlight-color: transparent;
}

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

/* Card Gradient Borders */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), transparent, rgba(194, 112, 78, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 1;
}

/* Testimonial Card Hover */
.service-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Input Autofill Styling */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #292524 inset !important;
    -webkit-text-fill-color: #F5F0EB !important;
    transition: background-color 5000s ease-in-out 0s;
}
