/* Existing Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Luxury Shine Sweep */
@keyframes shineSweep {
    0% {
        left: -100%;
        opacity: 0;
    }

    20% {
        opacity: 0.15;
    }

    80% {
        opacity: 0.15;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

/* Standard Reveal - Optimized for Luxury */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    /* Deeper movement */
    transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

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

/* Nectar Split Text Heading - More Fluid */
.nectar-split-heading .inner {
    position: relative;
    display: inline-block;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.nectar-split-heading.visible .inner {
    transform: translateY(0);
    opacity: 1;
}

/* Cinematic Zoom Out */
.hero-bg-wrap[data-bg-animation="zoom-out"] img {
    animation: zoomOutScale 12s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    /* Much slower */
    transform-origin: center center;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes zoomOutScale {
    from {
        transform: scale(1.15);
    }

    to {
        transform: scale(1);
    }
}

/* Stagger Delays - Refined */
.delay-100 {
    transition-delay: 0.15s;
}

.delay-200 {
    transition-delay: 0.30s;
}

.delay-300 {
    transition-delay: 0.45s;
}

.delay-400 {
    transition-delay: 0.60s;
}

.delay-500 {
    transition-delay: 0.75s;
}

/* Custom Luxury Cursor */
.custom-cursor {
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s ease-out, border-color 0.3s ease, border-width 0.3s ease, width 0.3s ease, height 0.3s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    display: none;
}

.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    transition: transform 0.05s linear, background-color 0.3s ease;
    display: none;
}

/* Cursor Hover States */
body.cursor-hover .custom-cursor {
    width: 80px;
    height: 80px;
    background: rgba(212, 181, 111, 0.1);
    border-color: var(--gold);
    border-width: 0.5px;
}

body.cursor-hover .custom-cursor-dot {
    background: var(--gold);
    transform: translate(-50%, -50%) scale(0.5);
}

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 10001;
    pointer-events: none;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--accent-gradient);
    width: 0%;
    box-shadow: 0 0 10px rgba(212, 181, 111, 0.5);
    transition: width 0.1s ease-out;
}

/* Magnetic Interaction Utility */
[data-magnetic] {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-block;
}

@keyframes floatPerspective {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(0.5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.float-perspective {
    animation: floatPerspective 8s ease-in-out infinite;
}

@media (hover: none) and (pointer: coarse) {

    .custom-cursor,
    .custom-cursor-dot {
        display: none !important;
    }

    body {
        cursor: auto !important;
    }
}