/* tech.css */

.tech {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tech__item {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 700;
  color: var(--muted);
  transition: 0.2s;
}

.tech__item:hover {
  background: var(--chipHover);
  color: var(--text);
}

/* Scroll animations for tech section */
#tech {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

#tech.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animate tech items with stagger */
.tech__item {
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

#tech.is-visible .tech__item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger delays for tech items */
#tech.is-visible .tech__item:nth-child(1) {
  transition-delay: 0.05s;
}
#tech.is-visible .tech__item:nth-child(2) {
  transition-delay: 0.1s;
}
#tech.is-visible .tech__item:nth-child(3) {
  transition-delay: 0.15s;
}
#tech.is-visible .tech__item:nth-child(4) {
  transition-delay: 0.2s;
}
#tech.is-visible .tech__item:nth-child(5) {
  transition-delay: 0.25s;
}
#tech.is-visible .tech__item:nth-child(6) {
  transition-delay: 0.3s;
}
#tech.is-visible .tech__item:nth-child(7) {
  transition-delay: 0.35s;
}
#tech.is-visible .tech__item:nth-child(8) {
  transition-delay: 0.4s;
}
#tech.is-visible .tech__item:nth-child(9) {
  transition-delay: 0.45s;
}
#tech.is-visible .tech__item:nth-child(10) {
  transition-delay: 0.5s;
}
#tech.is-visible .tech__item:nth-child(11) {
  transition-delay: 0.55s;
}
