/* ═══════════════════════════════════════════════════════════════
   SMR EVEREST — Architectural Micro-Interactions & Animations
   Burnished Copper & Charcoal Design System
═══════════════════════════════════════════════════════════════ */

/* ─── Hero Entrance ─── */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Pulse Glow — Copper tone ─── */
@keyframes pulseGlowCopper {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 125, 85, 0.35); }
  50% { box-shadow: 0 0 0 12px rgba(200, 125, 85, 0); }
}

/* ─── Float Card Animation ─── */
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ─── Shimmer ─── */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ─── Fade In ─── */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ─── Fade In Up ─── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Modal Slide In ─── */
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(15px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ─── Spinner (Loader) ─── */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ─── Applied Micro-Interactions ─── */
.about-float-card {
  animation: floatCard 4s ease-in-out infinite;
}

.visit-btn {
  animation: pulseGlowCopper 2.8s ease-in-out infinite;
}

.modal-card,
.mp-modal-card {
  animation: modalSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox {
  animation: fadeIn 0.25s ease;
}

/* Shimmer on locked images */
.fp-img.locked {
  background: linear-gradient(90deg, #F3F1EC 25%, #E8E4DD 50%, #F3F1EC 75%);
  background-size: 400% auto;
  animation: shimmer 2.5s ease infinite;
}

.navbar {
  will-change: background, box-shadow;
}

.gallery-item,
.about-image-frame,
.highlight-card,
.amenity-card,
.fp-card,
.contact-card {
  will-change: transform, box-shadow;
}

.back-to-top {
  will-change: opacity, transform;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
