/* Custom styles for Let's Do It Again */

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

/* Prevent scroll on mobile when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #5fbf8e;
}

/* Selection color */
::selection {
    background: #c5ebd7;
    color: #0f2436;
}

/* Reduced motion preference */
@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;
    }
}

/* Focus visible styles */
:focus-visible {
    outline: 3px solid #5fbf8e;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Button press effect */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #e3f5ec 0%, #dce6f1 100%);
}

/* Subtle pattern overlay for sections */
.section-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(150, 216, 182, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(15, 36, 54, 0.03) 0%, transparent 50%);
}

/* Glass morphism for floating cards */
.glass {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #0f2436 0%, #264d6f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover lift effect for cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
}

/* Animated underline for links */
.link-underline {
    position: relative;
}

.link-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #5fbf8e;
    transition: width 0.3s ease;
}

.link-underline:hover::after {
    width: 100%;
}

/* Pulse animation for badges */
@keyframes soft-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.pulse-soft {
    animation: soft-pulse 3s ease-in-out infinite;
}

/* Shimmer effect for new arrivals badge */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}
