/* ======================================================
   ANIMATIONS CSS
   ====================================================== */

/* AOS Enhancements */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Floating Animation */
.float-animate {
    animation: float-gentle 5s ease-in-out infinite;
}

@keyframes float-gentle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* Shimmer / Shine Effect */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.shimmer-text {
    background: linear-gradient(90deg, var(--primary) 0%, #e8c96a 30%, var(--primary) 60%, #e8c96a 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* Gradient Underline */
.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.animated-underline:hover::after {
    transform: scaleX(1);
}

/* Ripple Effect on Buttons */
.ripple-btn {
    position: relative;
    overflow: hidden;
}

.ripple-btn::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
    opacity: 0;
}

.ripple-btn:active::after {
    width: 300px;
    height: 300px;
    opacity: 0;
    opacity: 1;
    transition: 0s;
}

/* Pulse Glow */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(200, 155, 60, 0.4);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(200, 155, 60, 0);
    }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Image Hover Zoom */
.img-zoom-wrap {
    overflow: hidden;
    border-radius: inherit;
}

.img-zoom-wrap img {
    transition: transform 0.6s cubic-bezier(0.25, 0.74, 0.22, 0.99);
}

.img-zoom-wrap:hover img {
    transform: scale(1.07);
}

/* Fade In Up Custom */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.7s ease forwards;
}

.fade-in-up-1 {
    animation: fadeInUp 0.7s 0.1s ease both;
}

.fade-in-up-2 {
    animation: fadeInUp 0.7s 0.25s ease both;
}

.fade-in-up-3 {
    animation: fadeInUp 0.7s 0.4s ease both;
}

/* Zoom In Custom */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.88);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.zoom-in {
    animation: zoomIn 0.6s ease forwards;
}

/* Slide In Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.7s ease forwards;
}

/* Slide In Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.7s ease forwards;
}

/* Rotation */
@keyframes rotate-slow {
    to {
        transform: rotate(360deg);
    }
}

.rotate-slow {
    animation: rotate-slow 20s linear infinite;
}

/* Gold Line Divider */
.gold-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
}

.gold-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
}

.gold-divider-icon {
    color: var(--primary);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 3px;
}

.star-rating .fa-star {
    color: var(--primary);
    font-size: 0.85rem;
}

.star-rating .fa-star.empty {
    color: #ddd;
}

/* Badge Pulse (for New/Hot labels) */
@keyframes badge-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

.badge-pulse {
    animation: badge-pulse 2s ease-in-out infinite;
}

/* Page Transitions */
.page-enter {
    opacity: 0;
    transform: translateY(10px);
}

.page-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition);
}

/* Tilt Effect (applied via JS) */
.tilt-card {
    transform-style: preserve-3d;
}

/* Destination card hover glow */
.destination-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(45, 42, 38, 0.98) 0%, rgba(45, 42, 38, 0.4) 50%, transparent 100%);
}

/* Section decorative circles */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.deco-circle-gold {
    background: radial-gradient(circle, rgba(200, 155, 60, 0.08) 0%, transparent 70%);
}

/* Hover border animation on cards */
@keyframes border-spin {
    0% {
        clip-path: inset(0 100% 100% 0);
    }

    25% {
        clip-path: inset(0 0 100% 0);
    }

    50% {
        clip-path: inset(0 0 0 0);
    }

    75% {
        clip-path: inset(100% 0 0 0);
    }

    100% {
        clip-path: inset(100% 100% 0 100%);
    }
}

/* Spin loading */
.fa-spin-slow {
    animation: rotate-slow 3s linear infinite;
}

/* Vertical separator */
.v-sep {
    width: 1px;
    height: 40px;
    background: var(--border);
    margin: 0 20px;
}

/* Tags cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 5px 14px;
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 0.78rem;
    color: var(--text);
    transition: var(--transition-fast);
    cursor: pointer;
}

.tag:hover,
.tag.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
}

/* Number Input Stepper */
.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    width: 36px;
    height: 36px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--dark);
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.qty-btn:hover {
    background: var(--primary);
    color: var(--dark);
}

.qty-input {
    width: 50px;
    height: 36px;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: center;
    font-size: 0.9rem;
    background: var(--white);
    font-family: var(--font-body);
    color: var(--dark);
}

/* Destination filter tabs */
.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-tab {
    padding: 8px 22px;
    border: 1.5px solid var(--border);
    border-radius: 40px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition-fast);
    background: var(--white);
}

.filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-tab.active {
    background: var(--gold-gradient);
    border-color: transparent;
    color: var(--dark);
    font-weight: 600;
    box-shadow: var(--shadow-gold);
}

/* Breadcrumb page hero images */
.hero-bg-img {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}