/* src/css/sections/tech.css */
.tech {
  background-color: var(--color-bg-dark);
  position: relative;
}

.tech-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

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

.tech-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

.tech-content p {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
}

.tech-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.tech-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.tech-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(236, 72, 153, 0.1); /* accent-2 */
  color: var(--color-accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-item h4 {
  margin-bottom: var(--space-xs);
  font-size: 1.125rem;
  color: var(--color-text-main);
}

.tech-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.tech-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* Simulated code editor visual */
.tech-code-window {
  width: 80%;
  background: #0d1117;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.code-header {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  gap: 6px;
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.code-dot:nth-child(1) { background: #ff5f56; }
.code-dot:nth-child(2) { background: #ffbd2e; }
.code-dot:nth-child(3) { background: #27c93f; }

.code-body {
  padding: 1rem;
  font-family: monospace;
  font-size: 0.875rem;
  color: #c9d1d9;
}

.keyword { color: #ff7b72; }
.func { color: #d2a8ff; }
.string { color: #a5d6ff; }
