/* ─── Custom styles for Walking J Rustic Furniture ─── */

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

/* Navbar shadow on scroll */
#navbar.scrolled {
    box-shadow: 0 1px 20px rgba(45, 90, 61, 0.08);
}

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

.animate-float-slow {
    animation: float-slow 5s ease-in-out infinite;
}
.animate-float-medium {
    animation: float-medium 4s ease-in-out infinite;
}
.animate-float-fast {
    animation: float-fast 3.5s ease-in-out infinite;
}

/* Selection color */
::selection {
    background-color: #aed0ad;
    color: #142a1c;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf6f0;
}
::-webkit-scrollbar-thumb {
    background: #aed0ad;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7bb57d;
}

/* Mobile menu transition */
#mobile-menu {
    animation: slideDown 0.25s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #2D5A3D;
    outline-offset: 2px;
}

/* Ensure all interactive elements are clickable */
a, button {
    touch-action: manipulation;
}

/* Select dropdown styling */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232D5A3D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
