/* components.css — reusable UI components */

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--green);
  color: #0a0a0b;
  border-color: var(--green);
}

.btn-primary:hover {
  background: #6ee7a0;
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
}

/* ── Section header ── */
.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.section-label {
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Terminal block ── */
.terminal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 28px;
}

.terminal-bar {
  background: var(--bg3);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-r { background: var(--red); }
.dot-y { background: var(--amber); }
.dot-g { background: var(--green); }

.terminal-title {
  font-size: 11px;
  color: var(--muted);
  margin-left: 8px;
}

.terminal-body {
  padding: 20px 24px;
}

.terminal-body p {
  font-size: 12px;
  line-height: 2;
}

.t-prompt { color: var(--green); }
.t-cmd    { color: var(--text); }
.t-out    { color: var(--muted); }
.t-key    { color: var(--blue); }
.t-str    { color: var(--green); }

/* ── Skill tags ── */
.skill-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text);
  transition: all var(--transition);
  cursor: default;
}

.skill-tag:hover {
  border-color: var(--green);
  color: var(--green);
}

.skill-tag.highlight {
  border-color: rgba(74, 222, 128, 0.3);
  color: var(--green);
  background: var(--green-dim);
}

/* ── Stack tags ── */
.stack-tag {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 2px;
  background: var(--bg);
  color: var(--muted);
  border: 1px solid var(--border);
}

/* ── Link buttons ── */
.link-btn {
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition);
  white-space: nowrap;
}

.link-btn:hover {
  color: var(--green);
}

.link-btn svg {
  width: 12px;
  height: 12px;
}

/* ── Contact cards ── */
.contact-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}

.contact-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-value {
  font-size: 13px;
  color: var(--text);
}
