/* Custom styles for Resonance Vineyard */

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

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

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

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

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

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

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

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 30px rgba(88, 28, 135, 0.1);
}

.nav-scrolled .nav-link {
    color: rgb(107, 33, 168) !important;
}

.nav-scrolled .font-serif {
    color: rgb(107, 33, 168) !important;
}

/* Product card hover glow */
.product-card:hover {
    box-shadow: 0 20px 60px rgba(251, 191, 36, 0.15);
}

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

::-webkit-scrollbar-track {
    background: rgb(250, 245, 255);
}

::-webkit-scrollbar-thumb {
    background: rgb(168, 85, 247);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(147, 51, 234);
}

/* Selection color */
::selection {
    background: rgb(251, 191, 36);
    color: rgb(88, 28, 135);
}
