/* ============================================
   Diane Soller's Hair Salon — Custom Styles
   ============================================ */

:root {
    --navy-900: #0B1D3A;
    --navy-800: #0F2744;
    --gold-500: #C8A45E;
    --gold-400: #D4B76A;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Base */
body {
    font-family: 'Quicksand', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scroll reveal base — visible by default for progressive enhancement */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Animated state — applied by JS */
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

/* Navbar */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(11, 29, 58, 0.08);
}

.nav-logo-text {
    transition: color 0.4s ease;
}

#navbar.scrolled .nav-logo-text {
    color: #0B1D3A;
}

.nav-link {
    position: relative;
}

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

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

#navbar.scrolled .nav-link {
    color: #0F2744;
}

/* Mobile menu */
.mobile-link {
    border-bottom: 1px solid transparent;
}

.mobile-link:hover {
    border-bottom-color: #C8A45E;
}

/* Hero decorative shapes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Button focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #C8A45E;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection */
::selection {
    background: #C8A45E;
    color: #0B1D3A;
}

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

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

::-webkit-scrollbar-thumb {
    background: #0B1D3A;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #14325C;
}

/* Gallery hover */
@media (hover: hover) {
    .scroll-reveal img:hover {
        transform: scale(1.05);
    }
}

/* Print */
@media print {
    #navbar, .scroll-reveal { display: none; }
    body { color: #000; background: #fff; }
}
