/* ============================================
   Legit Nails — Premium Dark Luxury Styles
   ============================================ */

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0d0a0a;
}
::-webkit-scrollbar-thumb {
    background: #3a0e0e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7f2222;
}

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

/* Selection color */
::selection {
    background: rgba(184, 50, 50, 0.4);
    color: #f5f5f5;
}

/* Base animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Scroll reveal animations — progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* Service card hover glow */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(212, 160, 74, 0.1), transparent, rgba(184, 50, 50, 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;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.service-card:hover::before {
    opacity: 1;
}

/* Gallery hover */
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 6, 6, 0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}
.gallery-item:hover::after {
    opacity: 1;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(8, 6, 6, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 160, 74, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gold shimmer text effect */
.shimmer-text {
    background: linear-gradient(90deg, #d4a04a, #f5d89a, #d4a04a, #e8c06a, #d4a04a);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}

/* Subtle pulse for hero CTA */
@keyframes softPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(154, 39, 39, 0.4); }
    50% { box-shadow: 0 0 20px 4px rgba(154, 39, 39, 0.15); }
}
.hero-cta {
    animation: softPulse 3s ease-in-out infinite;
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
    border-color: rgba(212, 160, 74, 0.4) !important;
    box-shadow: 0 0 0 3px rgba(212, 160, 74, 0.08) !important;
}

/* Testimonial card hover */
.testimonial-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 160, 74, 0.2);
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #1a1515 0%, #0d0a0a 100%);
}

/* Responsive typography adjustments */
@media (max-width: 640px) {
    h1 {
        font-size: 2.75rem;
        line-height: 1.1;
    }
    h1 span {
        font-size: 1.75rem;
    }
}

/* Print styles */
@media print {
    nav, #contact, .cta-section, footer {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
}
