/* ═══════════════════════════════════════════════════════════════
   MIAN ABDULLAH ART PRESS — ANIMATIONS
   $50K Premium Storytelling Website — animations.css
   ═══════════════════════════════════════════════════════════════ */

/* ─── PRELOADER SVG ANIMATIONS ─── */
.svg-border {
  opacity: 0;
  animation: fadeIn 0.6s ease-out 0.05s forwards;
}

.svg-block {
  opacity: 0;
  transform-origin: center;
  animation: svgBlockIn 0.65s var(--ease-out-expo) forwards;
}

.svg-block-1 {
  animation-delay: 0.1s;
}

.svg-block-2 {
  animation-delay: 0.25s;
}

.svg-block-3 {
  animation-delay: 0.4s;
}

.svg-block-4 {
  animation-delay: 0.55s;
}

.svg-letter {
  opacity: 0;
  animation: svgLetterIn 0.7s var(--ease-out-expo) forwards;
}

.svg-letter-m {
  animation-delay: 0.7s;
}

.svg-letter-a1 {
  animation-delay: 0.85s;
}

.svg-letter-a2 {
  animation-delay: 1.0s;
}

.svg-letter-p {
  animation-delay: 1.15s;
}

@keyframes svgBlockIn {
  0% {
    opacity: 0;
    transform: scale(0.88) translateY(25px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes svgLetterIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes preloaderLetterIn {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes preloaderLineExpand {
  0% {
    width: 0;
  }

  100% {
    width: 80px;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* ─── SCROLL INDICATOR ─── */
@keyframes scrollIndicator {
  0% {
    top: -50%;
  }

  100% {
    top: 110%;
  }
}

/* ─── GOLD LINE ANIMATION ─── */
@keyframes goldLineIn {
  0% {
    width: 0;
    opacity: 0;
  }

  100% {
    width: 60px;
    opacity: 1;
  }
}

/* ─── CLIP REVEAL (Section Titles) ─── */
@keyframes clipReveal {
  0% {
    clip-path: inset(0 100% 0 0);
  }

  100% {
    clip-path: inset(0 0 0 0);
  }
}

/* ─── SCALE IN ─── */
@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ─── SLIDE IN ANIMATIONS ─── */
@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ─── PULSE GLOW (Gold accents) ─── */
@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(201, 168, 76, 0);
  }

  50% {
    box-shadow: 0 0 20px 5px rgba(201, 168, 76, 0.1);
  }
}

/* ─── FLOAT (subtle movement) ─── */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

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

  100% {
    background-position: 200% center;
  }
}

/* ─── ROTATE SUBTLE ─── */
@keyframes rotateSlow {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ─── STAGGER CHILDREN ─── */
.stagger-children>*:nth-child(1) {
  transition-delay: 0ms;
}

.stagger-children>*:nth-child(2) {
  transition-delay: 100ms;
}

.stagger-children>*:nth-child(3) {
  transition-delay: 200ms;
}

.stagger-children>*:nth-child(4) {
  transition-delay: 300ms;
}

.stagger-children>*:nth-child(5) {
  transition-delay: 400ms;
}

.stagger-children>*:nth-child(6) {
  transition-delay: 500ms;
}

.stagger-children>*:nth-child(7) {
  transition-delay: 600ms;
}

.stagger-children>*:nth-child(8) {
  transition-delay: 700ms;
}

/* ─── MOBILE MENU LINK STAGGER ─── */
.mobile-menu.active .mobile-menu__link:nth-child(1) {
  transition-delay: 80ms;
}

.mobile-menu.active .mobile-menu__link:nth-child(2) {
  transition-delay: 130ms;
}

.mobile-menu.active .mobile-menu__link:nth-child(3) {
  transition-delay: 180ms;
}

.mobile-menu.active .mobile-menu__link:nth-child(4) {
  transition-delay: 230ms;
}

.mobile-menu.active .mobile-menu__link:nth-child(5) {
  transition-delay: 280ms;
}

.mobile-menu.active .mobile-menu__link:nth-child(6) {
  transition-delay: 330ms;
}

.mobile-menu.active .mobile-menu__cta {
  transition-delay: 400ms;
}

/* ─── COUNTER ANIMATION (visual pulse after counting) ─── */
.stat-item__number.counting {
  animation: pulseGlow 0.5s ease-out;
}

/* ─── BRAND LOGO ANIMATIONS ─── */
@keyframes logoPulseGlow {

  0%,
  100% {
    filter: drop-shadow(0 2px 8px rgba(201, 168, 76, 0.2));
    transform: scale(1);
  }

  50% {
    filter: drop-shadow(0 6px 18px rgba(166, 43, 56, 0.45)) drop-shadow(0 0 12px rgba(201, 168, 76, 0.35));
    transform: scale(1.03);
  }
}

@keyframes logoEntranceFloat {
  0% {
    opacity: 0;
    transform: translateY(-12px) scale(0.92);
    filter: blur(4px);
  }

  60% {
    opacity: 1;
    transform: translateY(2px) scale(1.02);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.header.is-visible .header__logo {
  animation: logoEntranceFloat 0.9s var(--ease-out-expo) 0.2s forwards;
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  .hero-anim {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__title .word-inner {
    transform: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .preloader {
    display: none !important;
  }

  .header {
    opacity: 1 !important;
    transform: none !important;
  }

  .gold-line {
    width: 60px !important;
  }

  .hero__scroll-widget-line::after {
    animation: none !important;
  }

  .cursor {
    display: none !important;
  }
}