/* Custom Styles for Elite Feed Store */

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

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

/* Geometric Shape Animations */
.geometric-shape {
    animation: float 6s ease-in-out infinite;
}

.geometric-shape:nth-child(2) {
    animation-delay: -2s;
    animation-duration: 8s;
}

.geometric-shape:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 7s;
}

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

::-webkit-scrollbar-track {
    background: #0a192f;
}

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

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

/* Product Card Hover Effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Button Ripple Effect */
button, a {
    position: relative;
    overflow: hidden;
}

button::after, a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:active::after, a:active::after {
    width: 300px;
    height: 300px;
}

/* Image Loading Placeholder */
img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

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

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(10, 25, 47, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
}

#mobile-menu:not(.hidden) {
    max-height: 400px;
    opacity: 1;
}

/* Responsive Typography */
@media (max-width: 640px) {
    .font-serif {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .font-serif {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .font-serif {
        font-size: 4.5rem;
    }
}

/* Focus Styles for Accessibility */
*:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
