/* ============================================
   Soho Nail Bar — Custom Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ── Selection ── */
::selection {
    background: #f9c5ce;
    color: #7B2D3B;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf8f4;
}
::-webkit-scrollbar-thumb {
    background: #e08978;
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c72545;
}

/* ── Navigation ── */
#site-header {
    background: rgba(254, 253, 251, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 207, 201, 0.5);
    transition: box-shadow 0.3s ease;
}

#site-header.scrolled {
    box-shadow: 0 1px 20px rgba(123, 45, 59, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c72545;
    border-radius: 999px;
    transition: width 0.25s ease;
}

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

/* ── Mobile Menu ── */
#mobile-menu.open {
    opacity: 1 !important;
    pointer-events: auto !important;
}

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

.mobile-nav-link {
    position: relative;
    transition: opacity 0.3s ease;
}

.mobile-nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #c72545;
    border-radius: 999px;
    margin: 4px auto 0;
    transition: width 0.3s ease;
}

.mobile-nav-link:hover::after {
    width: 40px;
}

/* ── Scroll Reveal ── */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll[data-reveal-delay="1"] { transition-delay: 0.1s; }
.reveal-on-scroll[data-reveal-delay="2"] { transition-delay: 0.2s; }
.reveal-on-scroll[data-reveal-delay="3"] { transition-delay: 0.3s; }
.reveal-on-scroll[data-reveal-delay="4"] { transition-delay: 0.4s; }
.reveal-on-scroll[data-reveal-delay="5"] { transition-delay: 0.5s; }
.reveal-on-scroll[data-reveal-delay="6"] { transition-delay: 0.6s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    html { scroll-behavior: auto; }
}

/* ── Form ── */
select option {
    background: #fefdfb;
    color: #3d3730;
}

/* ── Utility ── */
.container-padding {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (min-width: 1024px) {
    .container-padding {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ── Print ── */
@media print {
    #site-header, #mobile-menu { display: none; }
    body { color: #000; background: #fff; }
    a { color: #000; text-decoration: underline; }
}
