/* High-End Minimalist Animations */

/* Smooth Reveal for Images */
.reveal-img {
    animation: revealImage 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    opacity: 0;
    transform: scale(1.05);
}

@keyframes revealImage {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Indicator Animation */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    z-index: 10;
    opacity: 0.8;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
    margin-bottom: 8px;
}

.wheel {
    width: 2px;
    height: 6px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
}

@keyframes scrollWheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 24px; opacity: 0; }
}

/* Elegant Loading Shimmer Effect */
.skeleton {
    background: #f6f7f8;
    background-image: linear-gradient(
        90deg,
        #f6f7f8 0px,
        #edeef1 40px,
        #f6f7f8 80px
    );
    background-size: 600px;
    animation: placeholderShimmer 2s infinite linear;
    border-radius: var(--radius-md);
}

@keyframes placeholderShimmer {
    0% { background-position: -600px 0; }
    100% { background-position: 600px 0; }
}

/* Page Transitions */
.page-transition {
    animation: fadeUpIn 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Slow Pan for Hero Videos/Images */
.slow-pan {
    animation: slowPan 30s linear infinite alternate;
}

@keyframes slowPan {
    from { transform: scale(1.05) translate(0, 0); }
    to { transform: scale(1.1) translate(-2%, -1%); }
}

/* AOS overrides for smoother easing */
[data-aos] {
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}
