/* Custom Styles for Elite Medical Clinic */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #3f4d5c;
}

/* Selection Color */
::selection {
    background-color: #86efac;
    color: #1a2028;
}

/* Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

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

/* Print Styles */
@media print {
    header,
    #contact,
    .cta-section,
    footer {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .no-print {
        display: none;
    }
}

/* High Contrast Mode */
@media (forced-colors: active) {
    .bg-midnight-900 {
        background-color: ButtonText;
    }
    
    .text-white {
        color: ButtonText;
    }
}

/* Focus Visible for Accessibility */
:focus-visible {
    outline: 2px solid #4ade80;
    outline-offset: 2px;
}

/* Mobile Menu Animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 500px;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
