/* Custom styles for Dr. Salandanan's practice */

/* Smooth transitions for interactive elements */
a, button {
    transition: all 0.3s ease;
}

/* Custom selection color */
::selection {
    background-color: #3a9d78;
    color: #ffffff;
}

/* Subtle hover effect for cards */
.group:hover .group-hover\:bg-mint-500 {
    background-color: #3a9d78;
}

/* Ensure all text has proper contrast */
.text-midnight-900 { color: #0d1e33; }
.text-midnight-800 { color: #0d1e33; }
.text-midnight-700 { color: #142d4a; }
.text-midnight-600 { color: #1e4268; }
.text-midnight-500 { color: #2d5a8a; }

/* Focus styles for accessibility */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 2px solid #3a9d78;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    header, footer, #contact-form {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Reduce motion for accessibility */
@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;
    }
}

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

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