/* Custom styles for Fox John M DDS */

:root {
    --tc-50: #fdf0eb;
    --tc-100: #fce4d8;
    --tc-200: #f8c4b0;
    --tc-300: #f3a080;
    --tc-400: #ec764e;
    --tc-500: #e05528;
    --tc-600: #cc4218;
    --tc-700: #ab3317;
    --s-100: #fdf8ee;
    --s-200: #faf0d4;
    --s-700: #a87124;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* Mobile menu */
#mobileMenu {
    animation: slideDown 0.25s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    display: block;
    transition: color 0.2s;
}

/* Scroll reveal animations (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--tc-50, #fdf0eb);
}
::-webkit-scrollbar-thumb {
    background: var(--tc-200, #f8c4b0);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--tc-300, #f3a080);
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--tc-500, #e05528);
    outline-offset: 2px;
    border-radius: 4px;
}
