/* ============================================
   Studio S Beauty Bar — Custom Styles
   Premium Dark Luxury Theme
   ============================================ */

/* Base & Typography */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* Selection Color */
::selection {
    background-color: rgba(212, 168, 67, 0.3);
    color: #ffffff;
}

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

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #a11a38, #d4a843);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #c22747, #e6c26a);
}

/* ============================================
   Navigation
   ============================================ */
#navbar {
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.1);
}

#navbar.scrolled .menu-line {
    background: rgba(255, 255, 255, 0.85);
}

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

.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #d4a843, #c22747);
    transition: width 0.3s ease;
}

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

/* ============================================
   Reveal Animations (progressive enhancement)
   Only applied when JS is available and user prefers motion
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .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);
    }
}

/* Default state: always visible for accessibility */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Hero Section
   ============================================ */
#hero {
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(161, 26, 56, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(212, 168, 67, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* ============================================
   Service Cards
   ============================================ */
.group:hover .group-hover\:text-gold-400 {
    filter: drop-shadow(0 0 8px rgba(212, 168, 67, 0.4));
}

.group:hover .group-hover\:text-burgundy-300 {
    filter: drop-shadow(0 0 8px rgba(194, 39, 71, 0.4));
}

/* ============================================
   Gallery
   ============================================ */
.group:hover img {
    transform: scale(1.05);
}

/* ============================================
   Buttons
   ============================================ */
a, button {
    cursor: pointer;
}

/* ============================================
   Form Elements
   ============================================ */
select option {
    background: #111111;
    color: #ffffff;
}

input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 1px rgba(212, 168, 67, 0.2);
}

/* ============================================
   Divider Lines
   ============================================ */
div[class*="w-12 h-px bg-gold"] {
    flex-shrink: 0;
}

/* ============================================
   Testimonial Cards
   ============================================ */
.reveal:last-child {
    transition-delay: 0.2s;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
    .font-display {
        letter-spacing: -0.01em;
    }
}

@media (max-width: 640px) {
    section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ============================================
   Focus Visible for Accessibility
   ============================================ */
:focus-visible {
    outline: 2px solid rgba(212, 168, 67, 0.6);
    outline-offset: 2px;
}

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