/* Custom Styles for Dr. Larry Franke Medical Website */

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

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

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

::-webkit-scrollbar-thumb {
    background: #a3dbbe;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6fc79b;
}

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

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-animated {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .reveal-animated.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar Active State */
.nav-active {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

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

/* Print Styles */
@media print {
    .animate-float, .animate-float-delayed {
        animation: none;
    }
    
    nav, footer {
        display: none;
    }
}

/* 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;
    }
}

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