/* ============================================
   BM EXPORTS — ANIMATIONS
   ============================================ */

@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}
@keyframes slideInRight { from { transform: translateX(30px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideInLeft { from { transform: translateX(-30px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes drawLine { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
@keyframes countUp { from { opacity: 0; } to { opacity: 1; } }

/* Stagger utility */
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

/* Number counter */
.counter-num { display: inline-block; }

/* Parallax */
.parallax-bg { background-attachment: fixed; background-size: cover; background-position: center; }

/* Card 3D tilt */
.tilt-card { transform-style: preserve-3d; transition: transform 0.15s ease; }
.tilt-card-inner { transform: translateZ(20px); }

/* Hero image 3D */
.hero-img-frame { transform-style: preserve-3d; }

/* Bike animation */
@keyframes bikeRide {
  from { left: -120px; }
  to { left: calc(100% + 20px); }
}
.bike-animate { animation: bikeRide linear; }

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  z-index: 9998;
  transition: width 0.1s linear;
}

/* Reveal boxes */
.reveal-box {
  position: relative;
  overflow: hidden;
}
.reveal-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.77,0,0.18,1);
}
.reveal-box.revealed::after { transform: scaleX(0); }

/* Hover underline */
.hover-underline {
  position: relative;
  display: inline-block;
}
.hover-underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.hover-underline:hover::after { transform: scaleX(1); }

/* Magnetic button effect placeholder */
.btn-magnetic { transition: transform 0.2s ease; }

/* Page transition */
.page-transition {
  position: fixed; inset: 0;
  background: var(--primary);
  z-index: 9998;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.5s cubic-bezier(0.77,0,0.18,1);
}
.page-transition.active { clip-path: inset(0 0 0 0); }
