/* ==========================================================================
   ANIMATIONS — Minimal & Clean
   ========================================================================== */

@keyframes beacon-pulse {
  0% { transform: scale(0.9); opacity: 1; }
  70% { transform: scale(2); opacity: 0; }
  100% { transform: scale(2); opacity: 0; }
}

@keyframes blink-cursor {
  from, to { border-color: transparent; }
  50% { border-color: #dc2626; }
}

/* Profile Picture — fade in + scale up */
@keyframes dp-reveal {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Disable shimmer — solid colors only */
.shimmer-text {
  animation: none !important;
}

.animate-float {
  animation: none;
}

/* Reveal on Scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Filter items transition */
.project-card-wrapper {
  transition: all 0.3s ease;
}

.project-card-wrapper.hide {
  opacity: 0;
  transform: scale(0.97);
  display: none;
}

.project-card-wrapper.show {
  opacity: 1;
  transform: scale(1);
  display: block;
}

/* Accessibility: 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;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
