/* ═══════════════════════════════════════════════════════════
   THE BEAUTY STUDIO — Custom Styles
   Deep Navy + Warm Gold | Vibrant Modern Aesthetic
   ═══════════════════════════════════════════════════════════ */

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

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #0A1F3F;
    color: #ffffff;
    overflow-x: hidden;
}

/* ── Selection ── */
::selection {
    background: rgba(212, 168, 75, 0.3);
    color: #ffffff;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0A1F3F;
}
::-webkit-scrollbar-thumb {
    background: rgba(212, 168, 75, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 168, 75, 0.5);
}

/* ── Header transition states ── */
#site-header {
    background: transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#site-header.scrolled {
    background: rgba(4, 13, 28, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ── Mobile menu animation ── */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

/* ── Hero decorative shapes animation ── */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(12deg); }
    50% { transform: translateY(-12px) rotate(12deg); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(10px); }
}

.hero-float-1 {
    animation: float 6s ease-in-out infinite;
}

.hero-float-2 {
    animation: float-reverse 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* ── Gold shimmer on CTA ── */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.cta-shimmer {
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

/* ── Service card hover glow ── */
.service-card-glow:hover {
    box-shadow: 0 0 40px rgba(212, 168, 75, 0.08);
}

/* ── Testimonial card hover ── */
.testimonial-card {
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 0.4s ease;
}

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

/* ── Image hover zoom ── */
.gallery-img {
    transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ── Focus visible ── */
:focus-visible {
    outline: 2px solid #D4A84B;
    outline-offset: 2px;
}

/* ── Utility ── */
.text-balance {
    text-wrap: balance;
}
