/* Custom Styles for Omni Footcare Associates */

/* Smooth scrolling is handled by Tailwind's scroll-smooth */

/* Custom Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

/* Scroll Reveal Animations (Progressive Enhancement) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translateX(0);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #3c673d;
}

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 132, 78, 0.2);
}

/* Button Hover Effects */
button,
a {
    transition: all 0.2s ease-in-out;
}

/* Image Loading Placeholder */
img {
    background-color: #e5e7eb;
}

/* Reduce Motion Preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .animate-float {
        animation: none;
    }
    
    * {
        transition: none !important;
    }
}
