/* Custom styles for Charles E. Rader Medical Practice */

html {
    scroll-behavior: smooth;
}

body {
    background-color: #050a0f;
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #96763e 0%, #e2c080 50%, #96763e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Reveal animation - progressive enhancement via JS */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Navbar scroll state */
nav.scrolled {
    background: rgba(5, 10, 15, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(197, 160, 89, 0.1);
}

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

::-webkit-scrollbar-track {
    background: #050a0f;
}

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

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

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0a1520 inset !important;
    -webkit-text-fill-color: #e2e8f0 !important;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Focus visible styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #c5a059;
    outline-offset: 2px;
}

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