/* Custom Styles for Midway Swapmeet */

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #FDF8F5; /* sand-50 */
    color: #1A2620; /* forest-900 */
}

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

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

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

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

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

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

::-webkit-scrollbar-thumb {
    background: #C25A3E;
    border-radius: 6px;
    border: 3px solid #F7EFE8;
}

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

/* Form Styles */
input:focus, textarea:focus {
    outline: none;
    border-color: #C25A3E;
    box-shadow: 0 0 0 3px rgba(194, 90, 62, 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: 400px;
}
