/* ── Skills / Tools Logos Section ───────────────────────────────────────── */

.component-skills {
  width: 100%;
}

.skills-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

/* Section eyebrow label */
.skills-label {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45); /* matches .tracto-sub-eyebrow */
}

/* Logo strip — single horizontal row that wraps gracefully */
.skills-logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 1.8vw, 1.25rem);
  width: 100%;
}

/* Individual logo item */
.skill-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  cursor: default;
}

/* State when animated in via GSAP */
.skill-logo-item.animated {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Parent handles slide-up and scale on hover to keep it decoupled from child's bounce */
.skill-logo-item.animated:hover {
  opacity: 1;
  transform: translateY(-6px) scale(1.08);
}

/* Logo image — 2x assets, halved for display.
   No filter applied so every logo (light, dark, colored)
   renders at its natural appearance against the dark background. */
.skill-logo-img {
  width: auto;
  height: clamp(32px, 4vw, 52px);
  max-width: clamp(32px, 4vw, 52px);
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
  
  /* Apply continuous smooth keyframe bounce */
  animation-name: skillBounce;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-duration: var(--bounce-duration, 4s);
  animation-delay: var(--bounce-delay, 0s);
}

/* Smooth keyframe bounce animation */
@keyframes skillBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px); /* Smooth 8px floating bounce */
  }
}

/* Divider line removed per design decision */
.skills-divider {
  display: none;
}
