/* Custom Styles for Juice Paradise #7 */

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #040a14;
}
::-webkit-scrollbar-thumb {
    background: #1c3a5e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c9a227;
}

/* Hero Orb Animations */
.hero-orb {
    will-change: transform;
}

/* Accent Line Animations */
.accent-line {
    will-change: opacity;
}

/* Menu Card Hover */
.menu-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(201, 162, 39, 0.08);
}

/* Process Card Hover */
.process-card {
    transition: all 0.4s ease;
}
.process-card:hover {
    transform: translateY(-8px);
}

/* Feature Item Hover */
.feature-item {
    transition: all 0.3s ease;
}
.feature-item:hover {
    transform: translateY(-4px);
}

/* Mobile Menu */
#mobileMenu.open {
    max-height: 400px;
}

/* Mobile Link */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    font-size: 1rem;
}

/* Navbar Active State */
.nav-scrolled {
    background: rgba(4, 10, 20, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
}

/* Scroll Reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s 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; }
}

/* Gallery Scroll Animation */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.animate-scroll {
    animation: scroll 30s linear infinite;
}
.animate-scroll:hover {
    animation-play-state: paused;
}

/* Gold Shimmer */
@keyframes shimmer {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

/* Pulse Gold */
@keyframes pulseGold {
    0%, 100% { box-shadow: 0 0 20px rgba(201, 162, 39, 0.3); }
    50% { box-shadow: 0 0 40px rgba(201, 162, 39, 0.6); }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero-orb {
        opacity: 0.5;
    }
}

/* Selection Color */
::selection {
    background: rgba(201, 162, 39, 0.3);
    color: #fff;
}
