/* ============================================
   The Hair Room — Custom Styles
   Premium Dark Luxury | Burgundy + Blush + Gold
   ============================================ */

/* --- Base & Scroll --- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0d0d0d;
}
::-webkit-scrollbar-thumb {
    background: rgba(201, 162, 39, 0.3);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 162, 39, 0.5);
}

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

/* --- Navbar glass effect --- */
.nav-scrolled {
    background: rgba(7, 7, 7, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Service card shimmer on hover --- */
.group:hover .card-shimmer {
    opacity: 1;
}

/* --- Gallery hover overlay --- */
.group:hover .gallery-overlay {
    opacity: 1;
}

/* --- Button ripple effect --- */
.btn-gold {
    position: relative;
    overflow: hidden;
}
.btn-gold::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.btn-gold:hover::after {
    transform: translateX(100%);
}

/* --- Decorative line animation --- */
.deco-line {
    position: relative;
    overflow: hidden;
}
.deco-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c9a227, transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}
.deco-line:hover::after {
    transform: scaleX(1);
    transform-origin: right;
}

/* --- Image reveal on scroll (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .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; }
}

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

/* --- Form focus states --- */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.2);
}

/* --- Subtle gold border glow --- */
.gold-glow:hover {
    box-shadow: 0 0 30px rgba(201, 162, 39, 0.1);
}

/* --- Loading skeleton (for images) --- */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* --- Print styles --- */
@media print {
    nav, #contactForm, button { display: none; }
    body { background: white; color: black; }
}
