/* Custom styles for UI Health O'Hare Clinic */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure all text has proper contrast */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure links are visible */
a {
    text-decoration: none;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #7EDDB8;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile menu transitions */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

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

/* Smooth transitions for all interactive elements */
button,
a,
input,
textarea,
select {
    transition: all 0.2s ease;
}

/* Selection color */
::selection {
    background-color: rgba(47, 168, 126, 0.3);
    color: #fff;
}

/* Print styles */
@media print {
    nav,
    #mobileMenu,
    .reveal.hidden-reveal,
    .btn-shine::after {
        display: none !important;
    }
    
    body {
        background: white;
        color: #1a1a1a;
    }
    
    .hero-gradient,
    .bg-midnight-800,
    .bg-midnight-900 {
        background: white !important;
    }
    
    a[href^="tel:"]::after,
    a[href^="mailto:"]::after {
        content: none;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .service-card,
    .bg-midnight-700 {
        border: 1px solid ButtonText;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero-gradient {
        animation: none;
        background: linear-gradient(135deg, #060D1A 0%, #0A1628 25%, #142950 50%, #1A3568 75%, #224480 100%);
    }
}
