/* ==========================================================================
   Inner Design - Luxury Animation Suite
   ========================================================================== */

/* 1. Page Entrance Transition */
body {
    opacity: 0;
    animation: luxuryPageFadeIn 0.4s ease-out forwards;
}

@keyframes luxuryPageFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* 2. Top Scroll Progress Indicator Bar */
#luxury-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3.5px;
    width: 0%;
    z-index: 99999;
    background: linear-gradient(90deg, #EB5976 0%, #E11D48 50%, #C5A880 100%);
    box-shadow: 0 0 14px rgba(235, 89, 118, 0.75), 0 0 4px rgba(197, 168, 128, 0.6);
    pointer-events: none;
    transition: width 0.1s cubic-bezier(0.1, 0.9, 0.2, 1);
}

/* 3. Floating Keyframes */
@keyframes floatBob {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes floatBobSlow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(1deg);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.08);
    }
}

@keyframes radarPing {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.6);
        opacity: 0;
    }
    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

@keyframes luxuryShimmer {
    0% {
        transform: translateX(-150%) skewX(-20deg);
    }
    100% {
        transform: translateX(250%) skewX(-20deg);
    }
}

@keyframes ambientDrift {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -40px) scale(1.1);
    }
    66% {
        transform: translate(-25px, 20px) scale(0.95);
    }
}

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

/* 4. Utility Animation Classes */
.animate-float-bob {
    animation: floatBob 3.5s ease-in-out infinite;
}

.animate-float-slow {
    animation: floatBobSlow 6s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulseGlow 4s ease-in-out infinite;
}

.animate-radar {
    animation: radarPing 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.animated-gradient-text {
    background: linear-gradient(135deg, #EB5976, #C5A880, #EB5976, #E11D48);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 6s ease infinite;
}

/* 5. Button Shimmer / Ripple Wave */
.btn-shine, 
button.bg-\[\#EB5976\], 
button.bg-\[\#E65872\],
a.bg-\[\#EB5976\], 
a.bg-\[\#E65872\],
.btn-luxury {
    position: relative;
    overflow: hidden;
}

.btn-shine::after,
button.bg-\[\#EB5976\]::after,
button.bg-\[\#E65872\]::after,
a.bg-\[\#EB5976\]::after,
a.bg-\[\#E65872\]::after,
.btn-luxury::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-150%) skewX(-20deg);
    pointer-events: none;
    transition: none;
}

.btn-shine:hover::after,
button.bg-\[\#EB5976\]:hover::after,
button.bg-\[\#E65872\]:hover::after,
a.bg-\[\#EB5976\]:hover::after,
a.bg-\[\#E65872\]:hover::after,
.btn-luxury:hover::after {
    animation: luxuryShimmer 1.1s ease-in-out;
}

/* 6. Card Hover & Lift Dynamics */
.card-hover-lift,
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease;
    will-change: transform, box-shadow;
}

.card-hover-lift:hover,
.hover-lift:hover {
    transform: translateY(-6px) scale(1.008);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.12), 
                0 0 25px -5px rgba(235, 89, 118, 0.12) !important;
}

/* 7. Image Hover Zoom Engine */
.zoom-effect,
.group:hover .group-hover\:scale-105,
.group:hover .group-hover\:scale-110 {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* 8. Circular Back-to-Top Button */
#luxury-back-to-top {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 0 0 15px rgba(235, 89, 118, 0.15);
    border: 2px solid #FFFFFF;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

#luxury-back-to-top.visible {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    animation: backToTopPop 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes backToTopPop {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(0.75);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#luxury-back-to-top:hover {
    transform: translateY(-3px) scale(1.08);
    background: #EB5976;
    border-color: #EB5976;
    box-shadow: 0 15px 35px rgba(235, 89, 118, 0.4);
}

#luxury-back-to-top:hover svg.arrow-icon {
    color: #FFFFFF;
    transform: translateY(-2px);
}

#luxury-back-to-top svg.arrow-icon {
    transition: all 0.25s ease;
    color: #EB5976;
}

#luxury-back-to-top .progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    transform: rotate(-90deg);
    pointer-events: none;
}

#luxury-back-to-top .progress-ring__circle {
    transition: stroke-dashoffset 0.15s ease-out;
}

/* 9. Ambient Background Floating Glow Mesh */
.ambient-glow-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    opacity: 0.45;
}

.ambient-glow-orb-1 {
    position: absolute;
    top: 10%;
    left: -5%;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(235, 89, 118, 0.12) 0%, rgba(235, 89, 118, 0) 70%);
    filter: blur(50px);
    animation: ambientDrift 14s ease-in-out infinite;
}

.ambient-glow-orb-2 {
    position: absolute;
    bottom: 15%;
    right: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.15) 0%, rgba(197, 168, 128, 0) 70%);
    filter: blur(60px);
    animation: ambientDrift 18s ease-in-out infinite reverse;
}

/* 10. AOS Custom Refinements */
[data-aos] {
    pointer-events: auto;
}

/* Smooth out AOS transitions with luxury cubic-bezier */
body[data-aos-easing="luxury-ease"] [data-aos],
[data-aos][data-aos][data-aos-easing="luxury-ease"] {
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 11. Continuous Seamless Logo Marquee */
@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-client-marquee {
    display: flex;
    width: max-content;
    animation: marqueeScroll 28s linear infinite;
}

.animate-client-marquee:hover {
    animation-play-state: paused;
}

.animate-media-marquee {
    display: flex;
    width: max-content;
    animation: marqueeScroll 36s linear infinite;
}

.animate-media-marquee:hover {
    animation-play-state: paused;
}

