/* Custom Styles for AllureHealth */

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

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

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Scroll Reveal States (applied via JS) */
@media (prefers-reduced-motion: no-preference) {
    .reveal.hidden {
        opacity: 0;
        transform: translateY(30px);
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #be2353;
}

/* Navbar Scroll Effect */
nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

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

/* Print Styles */
@media print {
    nav,
    .animate-bounce,
    button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
