/* ============================================
   Urban Wellness Chiropractic — Custom Styles
   ============================================ */

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

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

body {
    overflow-x: hidden;
}

/* Selection Color */
::selection {
    background-color: #f59e0b;
    color: #3d0f18;
}

/* Navigation */
.nav-logo-text,
.nav-logo-sub {
    color: #ffffff;
}

.nav-link {
    color: rgba(255, 255, 255, 0.75);
}

.nav-link:hover {
    color: #fbbf24;
}

.nav-scrolled .nav-logo-text,
.nav-scrolled .nav-logo-sub {
    color: #3d0f18;
}

.nav-scrolled .nav-link {
    color: #7d2239;
}

.nav-scrolled .nav-link:hover {
    color: #d97706;
}

.nav-scrolled #navbar {
    background-color: rgba(253, 244, 246, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(61, 15, 24, 0.08);
}

/* Mobile Menu */
.mobile-menu-link {
    color: rgba(255, 255, 255, 0.9);
}

/* Scroll Reveal */
.scroll-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);
}

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

/* Form Focus Styles */
input:focus,
textarea:focus {
    outline: none;
}

/* Smooth Image Loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #972641;
}

/* Print Styles */
@media print {
    nav, #mobile-menu, .scroll-reveal {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    section {
        page-break-inside: avoid;
    }
}
