/* ==========================================================================
   JHon - Premium Scroll & Hover Animations
   ========================================================================== */

/* --- Custom Keyframes --- */

/* Immersive cinematic reveal for images */
@keyframes luxuryReveal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Subtle glow pulse for gold borders or accents */
@keyframes goldPulse {
    0%, 100% {
        box-shadow: 0 0 5px var(--color-gold-glow), 0 0 10px rgba(0, 0, 0, 0.05);
    }
    50% {
        box-shadow: 0 0 20px var(--color-gold-glow), 0 0 30px var(--color-gold-glow);
    }
}

/* Float animation for decorative items */
@keyframes softFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* --- Reveal classes --- */
.luxury-reveal {
    animation: luxuryReveal 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.float-item {
    animation: softFloat 6s ease-in-out infinite;
}

.gold-glow-hover {
    transition: var(--transition-smooth);
}

.gold-glow-hover:hover {
    animation: goldPulse 2.5s infinite ease-in-out;
    border-color: var(--color-gold) !important;
}

/* --- Parallax Scroll & Background Zoom Elements --- */
.zoom-bg-hover {
    overflow: hidden;
    position: relative;
}

.zoom-bg-hover img {
    transition: transform 1.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.zoom-bg-hover:hover img {
    transform: scale(1.08);
}

/* --- Scroll Indicator Animation --- */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #FBFBFA;
    font-size: 0.65rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.8;
    z-index: 10;
}

.scroll-indicator .mouse-wheel {
    width: 22px;
    height: 38px;
    border: 1px solid rgba(251, 251, 250, 0.6);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator .mouse-wheel::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background-color: var(--color-gold);
    border-radius: 2px;
    animation: wheelScroll 1.6s infinite ease-in-out;
}

@keyframes wheelScroll {
    0% {
        top: 8px;
        opacity: 1;
        height: 6px;
    }
    50% {
        top: 18px;
        opacity: 0.4;
        height: 8px;
    }
    100% {
        top: 8px;
        opacity: 1;
        height: 6px;
    }
}

/* --- Slide-in Reveals --- */
.slide-up-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide-up-reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}
