/* Custom styles for Avenue U Pediatrics */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background-color: rgba(251, 191, 36, 0.3);
    color: #102a43;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0f4f8;
}
::-webkit-scrollbar-thumb {
    background: #9fb3c8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #627d98;
}

/* Nav transition for scroll state */
#navbar.scrolled {
    background: rgba(16, 42, 67, 0.95);
    box-shadow: 0 4px 20px rgba(16, 42, 67, 0.2);
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Button ripple-like effect on hover */
a:hover, button:hover {
    transition: all 0.2s ease;
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

/* Print styles */
@media print {
    header, footer, .reveal {
        display: block !important;
        opacity: 1 !important;
    }
    .hero-gradient {
        background: #102a43 !important;
        color: white !important;
    }
}
