/* Base & Top — Premium Dark Luxury Salon Styles */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0d0a12;
}
::-webkit-scrollbar-thumb {
    background: #2a2038;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #fbbf24;
}

/* Selection */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

/* Hero animations */
.hero-anim {
    animation: heroFadeUp 1s ease forwards;
}
.hero-anim:nth-child(1) { animation-delay: 0.1s; }
.hero-anim:nth-child(2) { animation-delay: 0.3s; }
.hero-anim:nth-child(3) { animation-delay: 0.5s; }
.hero-anim:nth-child(4) { animation-delay: 0.7s; }
.hero-anim:nth-child(5) { animation-delay: 0.9s; }

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal animations — progressive enhancement */
.reveal {
    /* Default: visible for no-JS */
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(40px);
        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);
    }
}

/* Navbar glass effect */
.nav-scrolled {
    background: rgba(13, 10, 18, 0.9) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(251, 191, 36, 0.1);
}

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

/* Hamburger animation */
.hamburger-active #menu-line-1 {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-active #menu-line-2 {
    opacity: 0;
}
.hamburger-active #menu-line-3 {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Gold shimmer on hover for buttons */
button, a[href="tel:+16107871147"] {
    position: relative;
    overflow: hidden;
}

/* Subtle gradient border on cards */
.card-glow:hover {
    box-shadow: 0 0 60px rgba(251, 191, 36, 0.08);
}

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

/* Prevent layout shift */
img {
    max-width: 100%;
    height: auto;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile menu link hover */
.mobile-link {
    transition: opacity 0.3s ease;
}
.mobile-link:hover {
    opacity: 0.7;
}
