/* Custom Styles for Brockway Family Chiropractic */

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

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

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

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

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

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

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

/* Selection Color */
::selection {
    background: #34d399;
    color: #020617;
}

/* Focus Styles */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: 2px solid #34d399;
    outline-offset: 2px;
}

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

/* Image Hover */
img {
    transition: transform 0.3s ease;
}

/* Navigation Active State */
.nav-link.active {
    color: #6ee7b7;
}

/* Card Hover Glow */
.group:hover .group-hover\\:bg-mint-500\\/20 {
    background-color: rgba(52, 211, 153, 0.2);
}

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

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

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

/* Print Styles */
@media print {
    nav,
    #contact-form,
    .animate-bounce {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .bg-midnight-900,
    .bg-midnight-800 {
        background: white !important;
    }
    
    .text-white,
    .text-gray-100,
    .text-gray-200,
    .text-gray-300,
    .text-gray-400 {
        color: black !important;
    }
}
