/* Custom styles for Nicholas County Urgent Treatment */

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

/* Floating animation for hero cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Service card hover lift */
.service-card {
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Navbar scroll state */
header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(142, 63, 116, 0.08);
}

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

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

/* Scroll reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-float,
    .animate-float-delayed {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal.hidden-reveal {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

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

/* Mobile menu link active state */
.mobile-link:hover {
    background: #f5e8f0;
}

/* Ensure all text is readable */
.text-plum-950 { color: #2b1023; }
.text-plum-900 { color: #502242; }
.text-plum-800 { color: #5e284d; }
.text-plum-700 { color: #72305d; }
.text-plum-600 { color: #8e3f74; }
.text-plum-500 { color: #a8558e; }
