/* Tech Stack Page Styles */

.tech-header {
  text-align: center;
  padding: 60px 0 40px;
}

.tech-header h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.tech-header p {
  font-size: 24px;
  font-weight: 400;
  color: var(--text-gray);
}

/* Tech Section */
.tech-section {
  padding-bottom: 60px;
}

/* Tech Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

/* Tech Item - Enhanced */
.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 15px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border-radius: 12px;
}

.tech-item:hover {
  transform: translateY(-5px);
  background-color: var(--card-bg);
}

.tech-item img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.tech-item:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(234, 88, 12, 0.3));
}

.tech-item span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  text-align: center;
  transition: color 0.3s ease;
}

.tech-item:hover span {
  color: var(--accent-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .tech-header {
    padding: 40px 0 30px;
  }

  .tech-header h1 {
    font-size: 32px;
  }

  .tech-header p {
    font-size: 20px;
  }

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