/* Custom styles for Central Plains Liquidation & Pallet Sales */

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

/* Floating animation for hero cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

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

.animate-float-delayed {
    animation: float-delayed 4.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

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

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .animate-float,
    .animate-float-delayed {
        animation: none;
    }
    
    .reveal {
        transition: none;
    }
}

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

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

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

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

/* Navbar glass effect */
.navbar-scrolled {
    background: rgba(253, 248, 240, 0.9) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

/* Mobile menu transitions */
#mobile-menu {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.open {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.closed {
    opacity: 0;
    transform: translateY(-10px);
}

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

/* Selection color */
::selection {
    background-color: #e06b50;
    color: white;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #e06b50;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Loading animation for images */
img {
    background: linear-gradient(135deg, #fce8e3 0%, #faf0cd 100%);
}
