/* Custom styles for Florida Arthritis & Osteoporosis Center */

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

/* Navbar transition */
#navbar.scrolled {
    background: rgba(253, 251, 247, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

#navbar.scrolled .nav-logo-text {
    color: #1E3049;
}

#navbar.scrolled .nav-logo-sub {
    color: #4A7AB0;
}

/* Nav link hover effect */
.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #C4704B;
    transition: width 0.3s ease;
    margin-top: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

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

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

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

/* Button hover effects */
a:hover {
    transition: all 0.3s ease;
}

/* Image hover zoom */
.group:hover img {
    transition: transform 0.5s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .animate-bounce {
        animation: none;
    }
}

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

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

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

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

/* Print styles */
@media print {
    #navbar,
    .animate-bounce,
    #mobileMenuBtn {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
