/* --- PARALLAX 2-ROW GLOSSY MARQUEE --- */

.tech-marquee-outer {
  overflow: hidden;
  position: relative;
  padding: 1.5rem 0;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.tech-row {
  display: flex;
  width: max-content;
  gap: 2rem;
  /* alap: legyen simán kicsit „lebegő” */
}

.tech-row-top {
  --depth: 0px;         /* közelebb */
}

.tech-row-bottom {
  --depth: -80px;       /* távolabb */
}

.tech-row img {
  width: 52px;   /* nagyobb ikon */
  height: 52px;
}

/* glossy cards */
.tech-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  border-radius: 1rem;
  background: radial-gradient(circle at 0% 0%, rgba(255,255,255,0.16), rgba(17,17,17,0.85));
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 16px 40px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(147, 51, 234, 0.18);
  transition: all .3s ease;
}

.tech-item:hover {
  border-color: rgba(147, 51, 234, 0.7);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 18px 45px rgba(0, 0, 0, 0.75),
    0 0 26px rgba(147, 51, 234, 0.32);
  transform: translateY(-3px) scale(1.02);
}

/* FELSŐ SOR – balra */
.tech-scroll-left {
  animation: tech-scroll-left 34s linear infinite;
}
.tech-scroll-left:hover {
  animation-play-state: paused;
}

/* ALSÓ SOR – jobbra */
.tech-scroll-right {
  animation: tech-scroll-right 42s linear infinite;
}
.tech-scroll-right:hover {
  animation-play-state: paused;
}

/* keyframes: X + depth egyszerre (CSS változóval) */
@keyframes tech-scroll-left {
  0% {
    transform: translateX(0) translateZ(var(--depth));
  }
  100% {
    transform: translateX(-50%) translateZ(var(--depth));
  }
}

@keyframes tech-scroll-right {
  0% {
    transform: translateX(-50%) translateZ(var(--depth));
  }
  100% {
    transform: translateX(0) translateZ(var(--depth));
  }
}

/* mobilon egy picit lassabb, hogy ne legyen zavaró */
@media (max-width: 640px) {
  .tech-scroll-left {
    animation-duration: 40s;
  }
  .tech-scroll-right {
    animation-duration: 48s;
  }
}


/* --- SCROLL REVEAL ANIMATIONS --- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
  will-change: opacity, transform;
}

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

/* kicsi különböző delay utility-k, ha akarsz lépcsőzetes belibbenést */
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}
