/* Tech Stack Styles */
.tech-stack {
  margin-bottom: 35px;
}

.tech-title {
  margin-bottom: 25px;
}

.tech-categories {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.tech-category {
  background: var(--border-gradient-onyx);
  padding: 25px;
  border-radius: 16px;
  box-shadow: var(--shadow-2);
  position: relative;
  z-index: 1;
}

.tech-category::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
}

.tech-category-title {
  color: var(--orange-yellow-crayola);
  font-size: var(--fs-4);
  font-weight: var(--fw-600);
  margin-bottom: 20px;
  text-align: center;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 15px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.tech-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 215, 0, 0.05);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.tech-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.tech-item:hover .tech-icon {
  transform: scale(1.2) rotate(5deg);
  animation: techBounce 0.6s ease;
}

.tech-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.tech-name {
  color: var(--white-2);
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  text-align: center;
  transition: color 0.3s ease;
}

.tech-item:hover .tech-name {
  color: var(--orange-yellow-crayola);
}

@keyframes techBounce {
  0%, 100% { transform: scale(1.2) rotate(5deg); }
  50% { transform: scale(1.3) rotate(-5deg); }
}

/* Responsive */
@media (min-width: 580px) {
  .tech-categories {
    gap: 35px;
  }
  
  .tech-category {
    padding: 30px;
  }
  
  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 25px;
  }
  
  .tech-item {
    padding: 25px 20px;
  }
  
  .tech-icon {
    width: 60px;
    height: 60px;
  }
}

@media (min-width: 768px) {
  .tech-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}