/* ========================================
   ELEGANT PAGE ANIMATIONS
   Simple, classy animations without scroll triggers
   ======================================== */

/* Fade In - Smooth opacity transition */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Slide Up - Subtle upward movement */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide In From Left - Elegant horizontal entrance */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In From Right - Elegant horizontal entrance */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale In - Subtle zoom effect */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Gentle Bounce - Refined bounce effect */
@keyframes gentleBounce {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    60% {
        opacity: 1;
        transform: translateY(5px);
    }

    100% {
        transform: translateY(0);
    }
}

/* ========================================
   ANIMATION CLASSES
   Apply these classes to your elements
   ======================================== */

/* Base animation class - always include this */
.elegant-animate {
    /* Hidden by default until scroll trigger */
    opacity: 0;
    visibility: hidden;
}

/* When element becomes visible via scroll */
.elegant-animate.elegant-visible {
    opacity: 1;
    visibility: visible;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fade In */
.elegant-animate.elegant-visible.anim-fade-in {
    animation-name: fadeIn;
    animation-duration: 0.8s;
}

/* Slide Up */
.elegant-animate.elegant-visible.anim-slide-up {
    animation-name: slideUp;
    animation-duration: 0.9s;
}

/* Slide In Left */
.elegant-animate.elegant-visible.anim-slide-left {
    animation-name: slideInLeft;
    animation-duration: 1s;
}

/* Slide In Right */
.elegant-animate.elegant-visible.anim-slide-right {
    animation-name: slideInRight;
    animation-duration: 1s;
}

/* Scale In */
.elegant-animate.elegant-visible.anim-scale-in {
    animation-name: scaleIn;
    animation-duration: 0.7s;
}

/* Gentle Bounce */
.elegant-animate.elegant-visible.anim-bounce {
    animation-name: gentleBounce;
    animation-duration: 1s;
}

/* ========================================
   STAGGERED DELAYS
   Use these to create sequential animations
   ======================================== */

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

.delay-6 {
    animation-delay: 0.6s;
}

.delay-7 {
    animation-delay: 0.7s;
}

.delay-8 {
    animation-delay: 0.8s;
}

/* ========================================
   HOVER EFFECTS
   Optional classy hover enhancements
   ======================================== */

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(255, 106, 0, 0.3);
}

.hover-scale {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-scale:hover {
    transform: scale(1.03);
}

/* ========================================
   SUBTLE CONTINUOUS ANIMATIONS
   For elements that need gentle movement
   ======================================== */

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float-effect {
    animation: float 3s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.pulse-effect {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* ========================================
   PREMIUM CLASSY ANIMATIONS
   ======================================== */

/* Blur In - Very elegant text entrance */
@keyframes blurIn {
    from {
        opacity: 0;
        filter: blur(10px);
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}

.elegant-animate.elegant-visible.anim-blur-in {
    animation-name: blurIn;
    animation-duration: 1.2s;
}

/* Shimmer - Subtle light sweeping across */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.shimmer-text {
    background: linear-gradient(90deg, #d4af37 0%, #fff 50%, #d4af37 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 3s infinite linear;
}

/* Glint - Subtle flash of light */
@keyframes glint {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.glint-effect {
    position: relative;
    overflow: hidden;
}

.glint-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: glint 5s infinite;
}

/* Golden Glow - Elegant pulse */
@keyframes goldPulse {
    0% {
        box-shadow: 0 0 0px rgba(212, 175, 55, 0.4);
    }

    50% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
    }

    100% {
        box-shadow: 0 0 0px rgba(212, 175, 55, 0.4);
    }
}

.gold-glow {
    animation: goldPulse 3s infinite;
}

/* Scroll Down Indicator */
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transition: opacity 1s ease 1.5s;
    z-index: 100;
}

.scroll-hint.show {
    opacity: 0.7;
}

.scroll-hint i {
    font-size: 24px;
    margin-top: 10px;
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}