/* Custom styles for BLEND Hair Lounge */

:root {
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
}

.font-serif {
    font-family: var(--font-serif);
}

.font-sans {
    font-family: var(--font-sans);
}

/* Scroll reveal — progressive enhancement only */
@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);
    }
}

/* Fallback: always visible if JS is disabled */
.reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Navbar transition */
.nav-scrolled {
    background: rgba(10, 26, 17, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Service card hover */
.service-card {
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: rgba(26, 60, 42, 0.1);
}

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

#mobileMenu {
    opacity: 0;
    pointer-events: none;
}

/* Smooth image loading */
img {
    image-rendering: auto;
}

/* Selection color */
::selection {
    background: rgba(26, 60, 42, 0.2);
    color: inherit;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #97c4a3;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6aa578;
}
