/* ============================================================
   DQ VISA & EVENTS — PREMIUM MOTION & EFFECTS
   ============================================================ */

/* ─── PAGE LOADER ─────────────────────────────────────────── */

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--c-charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 32px;
}

.page-loader-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.8);
}

.page-loader-bar {
    width: 160px;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
}

.page-loader-progress {
    width: 0%;
    height: 100%;
    background: var(--c-gold);
    border-radius: 2px;
}

/* ─── SCROLL PROGRESS ─────────────────────────────────────── */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--c-gold);
    z-index: 9998;
    transition: none;
    opacity: 0.8;
}

/* ─── KEYFRAMES ───────────────────────────────────────────── */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(14px); opacity: 0.2; }
}

/* ─── ANIMATION CLASSES ───────────────────────────────────── */

.anim-float {
    animation: floatAnim 4s ease-in-out infinite;
}

/* ─── TEXT GOLD SHINE ─────────────────────────────────────── */

.text-gold-shine {
    background: linear-gradient(
        90deg,
        var(--c-gold) 0%,
        var(--c-gold-light) 30%,
        #fff 50%,
        var(--c-gold-light) 70%,
        var(--c-gold) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShine 5s linear infinite;
}

/* ─── MAGNETIC BUTTON ─────────────────────────────────────── */

.btn-magnetic {
    position: relative;
    overflow: hidden;
}

.btn-magnetic::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255,255,255,0.15) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.btn-magnetic:hover::after { opacity: 1; }

/* ─── REVEAL CLASSES ──────────────────────────────────────── */

.reveal, .reveal-left, .reveal-right, .reveal-scale {
    visibility: hidden;
}

/* ─── CUSTOM CURSOR ───────────────────────────────────────── */

.custom-cursor {
    position: fixed;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(201, 162, 39, 0.4);
    pointer-events: none;
    z-index: 99999;
    transition: width 0.4s cubic-bezier(0.25, 0.1, 0.25, 1),
                height 0.4s cubic-bezier(0.25, 0.1, 0.25, 1),
                border-color 0.3s ease,
                background 0.3s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.custom-cursor.cursor-hover {
    width: 60px;
    height: 60px;
    background: rgba(201, 162, 39, 0.06);
    border-color: rgba(201, 162, 39, 0.6);
}

.custom-cursor-dot {
    position: fixed;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--c-gold);
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
}

@media (max-width: 1024px) {
    .custom-cursor, .custom-cursor-dot { display: none; }
}

/* ─── FLOATING SHAPES ─────────────────────────────────────── */

.floating-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
    background: var(--c-gold);
}

.floating-shape:nth-child(1) {
    width: 400px;
    height: 400px;
    top: 5%;
    right: -10%;
    animation: floatAnim 8s ease-in-out infinite;
}

.floating-shape:nth-child(2) {
    width: 250px;
    height: 250px;
    bottom: 15%;
    left: -5%;
    animation: floatAnim 10s ease-in-out infinite reverse;
}

.floating-shape:nth-child(3) {
    width: 180px;
    height: 180px;
    top: 55%;
    right: 15%;
    animation: floatAnim 9s ease-in-out infinite 2s;
}

/* ─── HERO PARTICLES ──────────────────────────────────────── */

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.3;
}

/* ─── CTA BAND ANIMATION ─────────────────────────────────── */

.cta-band {
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
}

/* ─── GALLERY HOVER ───────────────────────────────────────── */

.gallery-item {
    transform: translateZ(0);
}

/* ─── HOVER GLOW ──────────────────────────────────────────── */

.hover-glow {
    position: relative;
}

.hover-glow::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--c-gold), var(--c-primary), var(--c-gold));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
    filter: blur(16px);
}

.hover-glow:hover::after { opacity: 0.4; }

/* ─── SMOOTH SCROLL STATE ─────────────────────────────────── */

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

/* ─── SECTION REVEAL CLIP ─────────────────────────────────── */

.section-clip {
    clip-path: inset(0 0 0 0);
    transition: clip-path 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ─── REDUCED MOTION ──────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .custom-cursor, .custom-cursor-dot,
    .hero-particles, .floating-shapes {
        display: none !important;
    }
}
