/* Advanced Animations & Micro-interactions for Luxury Design */

/* Luxury Entrance Animations */
@keyframes luxuryFadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes luxuryFadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes luxuryFadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes luxuryScaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Luxury Hover Animations */
@keyframes luxuryFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes luxuryPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(212, 175, 55, 0);
    }
}

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

@keyframes luxuryGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

/* Animation Classes */
.luxury-animate-fadeInUp {
    animation: luxuryFadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.luxury-animate-fadeInLeft {
    animation: luxuryFadeInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.luxury-animate-fadeInRight {
    animation: luxuryFadeInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.luxury-animate-scaleIn {
    animation: luxuryScaleIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.luxury-animate-float {
    animation: luxuryFloat 3s ease-in-out infinite;
}

.luxury-animate-pulse {
    animation: luxuryPulse 2s infinite;
}

.luxury-animate-glow {
    animation: luxuryGlow 2s ease-in-out infinite;
}

/* Shimmer Effect */
.luxury-shimmer {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212, 175, 55, 0.2),
        transparent
    );
    background-size: 200% 100%;
    animation: luxuryShimmer 2s infinite;
}

/* Scroll-triggered Animations */
.luxury-scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.luxury-scroll-animate.luxury-scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.luxury-scroll-animate-delay-1 {
    transition-delay: 0.1s;
}

.luxury-scroll-animate-delay-2 {
    transition-delay: 0.2s;
}

.luxury-scroll-animate-delay-3 {
    transition-delay: 0.3s;
}

/* Hover Micro-interactions */
.luxury-hover-lift {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.luxury-hover-scale {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.luxury-hover-scale:hover {
    transform: scale(1.05);
}

/* Particle System */
.luxury-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.luxury-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--luxury-gold);
    border-radius: 50%;
    animation: luxuryParticleFloat 4s ease-in-out infinite;
}

@keyframes luxuryParticleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Staggered Animations */
.luxury-stagger-container > * {
    opacity: 0;
    transform: translateY(30px);
    animation: luxuryFadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.luxury-stagger-container > *:nth-child(1) {
    animation-delay: 0.1s;
}

.luxury-stagger-container > *:nth-child(2) {
    animation-delay: 0.2s;
}

.luxury-stagger-container > *:nth-child(3) {
    animation-delay: 0.3s;
}

.luxury-stagger-container > *:nth-child(4) {
    animation-delay: 0.4s;
}

.luxury-stagger-container > *:nth-child(5) {
    animation-delay: 0.5s;
}

/* Responsive Animations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}