/* Custom Styles for Natural Way Healthcare Center */

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

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll Reveal Animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 {
        transition-delay: 0.1s;
    }
    
    .reveal-delay-2 {
        transition-delay: 0.2s;
    }
    
    .reveal-delay-3 {
        transition-delay: 0.3s;
    }
}

/* Navbar Scroll Effect */
.nav-fixed {
    transition: all 0.3s ease;
}

.nav-fixed.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Button Hover Effects */
button:hover,
a:hover {
    transform: translateY(-2px);
}

button:active,
a:active {
    transform: translateY(0);
}

/* Form Focus States */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.2);
}

/* Card Hover Effects */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Gold Gradient Text (if needed) */
.text-gold-gradient {
    background: linear-gradient(135deg, #d4a017 0%, #e6b422 50%, #f0c94d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

::-webkit-scrollbar-track {
    background: #0a1628;
}

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

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

/* Mobile Menu Transitions */
#mobileMenu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#mobileMenu.hidden {
    max-height: 0;
    opacity: 0;
}

#mobileMenu:not(.hidden) {
    max-height: 400px;
    opacity: 1;
}

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

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

/* High Contrast Mode Support */
@media (forced-colors: active) {
    .bg-gold-500 {
        background-color: ButtonText;
    }
    
    .text-gold-400 {
        color: ButtonText;
    }
}

/* Reduced Motion Support */
@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;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .group:hover .group-hover\\:scale-110 {
        transform: none;
    }
    
    button:hover,
    a:hover {
        transform: none;
    }
}

/* Ultra Wide Screens */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}

/* Very Small Screens */
@media (max-width: 360px) {
    .text-4xl {
        font-size: 1.75rem;
    }
    
    .text-3xl {
        font-size: 1.5rem;
    }
}
