/* Custom styles for Sneaúx Corner */

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

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

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

::-webkit-scrollbar-thumb {
    background: #9bbfa3;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #749d7d;
}

/* Selection color */
::selection {
    background: #c5d9c8;
    color: #111a13;
}

/* Subtle hover lift for cards */
.group:hover .group-hover\:-translate-y-1 {
    transform: translateY(-0.25rem);
}

/* Animation for mobile menu */
#mobile-menu {
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image loading placeholder */
img {
    background: linear-gradient(90deg, #e3ece5 25%, #f2f7f4 50%, #e3ece5 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

img[src] {
    animation: none;
    background: none;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Reduce motion for accessibility */
@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;
    }
}
