/* =========================================================================
   TravelKit SR — Animations & motion
   ========================================================================= */

/* --- Scroll reveal (JS toggles .is-visible) ---------------------------- */
[data-tk-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--tk-ease-out), transform 0.6s var(--tk-ease-out);
    will-change: opacity, transform;
}
[data-tk-reveal].is-visible { opacity: 1; transform: none; }
[data-tk-reveal][data-tk-delay="1"] { transition-delay: 80ms;  }
[data-tk-reveal][data-tk-delay="2"] { transition-delay: 160ms; }
[data-tk-reveal][data-tk-delay="3"] { transition-delay: 240ms; }
[data-tk-reveal][data-tk-delay="4"] { transition-delay: 320ms; }

/* --- Floating WhatsApp halo pulse -------------------------------------- */
@keyframes tk-whatsapp-halo {
    0%   { box-shadow: 0 0 0 0    rgba(37,211,102,.55), 0 12px 32px rgba(37,211,102,.35), 0 2px 6px rgba(0,0,0,.15); }
    70%  { box-shadow: 0 0 0 24px rgba(37,211,102,0),   0 12px 32px rgba(37,211,102,.35), 0 2px 6px rgba(0,0,0,.15); }
    100% { box-shadow: 0 0 0 0    rgba(37,211,102,0),   0 12px 32px rgba(37,211,102,.35), 0 2px 6px rgba(0,0,0,.15); }
}

/* --- Cookie banner fade-in --------------------------------------------- */
@keyframes tk-fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}
.tk-cookie:not([hidden]) { animation: tk-fade-up 0.35s var(--tk-ease-out) both; }

/* --- Reduced motion support ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    [data-tk-reveal] { opacity: 1; transform: none; transition: none; }
    .tk-whatsapp-float { animation: none; }
    .tk-cookie:not([hidden]) { animation: none; }
}
