/* =============================================
   LUX SPA — Premium Dark Luxury Styles
   ============================================= */

/* ── Reset & Base ── */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background: rgba(212, 168, 83, 0.3);
    color: #f5e0ef;
}

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

::-webkit-scrollbar-track {
    background: #060610;
}

::-webkit-scrollbar-thumb {
    background: #6d2844;
    border-radius: 4px;
}

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

/* ── Navbar ── */
#navbar {
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}

#navbar.scrolled {
    background: rgba(6, 6, 16, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(212, 168, 83, 0.1);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #d4a853;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #d4a853;
}

/* ── Mobile Menu ── */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    font-size: 1.5rem;
}

/* ── Hero ── */
#hero {
    position: relative;
}

#heroImg {
    transition: transform 8s ease;
}

#hero:hover #heroImg {
    transform: scale(1.02);
}

/* Scroll line animation */
.scroll-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to bottom, transparent, #d4a853);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        top: -30%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* ── Service Cards ── */
.service-card {
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.05) 0%, transparent 60%);
    z-index: 1;
}

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

/* ── Reveal Animations ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }

    .scroll-line {
        animation: none;
        opacity: 0.6;
    }

    .service-card img,
    #heroImg {
        transition: none;
    }
}

/* ── Form Styles ── */
select option {
    background: #16162a;
    color: #f5e0ef;
}

/* ── Gold shimmer on buttons ── */
button,
a[href="tel:8478181840"] {
    position: relative;
    overflow: hidden;
}

button::after,
a[href="tel:8478181840"]::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        transparent 40%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 60%
    );
    transform: rotate(45deg) translate(-100%, -100%);
    transition: transform 0.6s ease;
}

button:hover::after,
a[href="tel:8478181840"]:hover::after {
    transform: rotate(45deg) translate(100%, 100%);
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .font-serif {
        line-height: 1.1;
    }
}
