.projects-section {
  padding: 6rem 4rem;
  width: 100%;
}

.projects-header {
  margin-bottom: 3rem;
}

.projects-header h2 {
  font-size: 2rem;
  color: var(--fg-primary);
}

.projects-header .subtitle {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

.terminal-line {
  font-family: monospace;
  color: var(--fg-primary);
  margin-bottom: 0.5rem;
}

/* GRID */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

/* CARD */
.project-card {
  background: rgba(10, 15, 12, 0.85);
  border: 1px solid rgba(80, 255, 160, 0.15);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 18px rgba(80, 255, 160, 0.25);
}

/* TERMINAL HEADER */
.project-header {
  background: rgba(0, 0, 0, 0.6);
  padding: 8px 12px;
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f56;
}

.project-header span:nth-child(2) { background: #ffbd2e; }
.project-header span:nth-child(3) { background: #27c93f; }

/* IMAGE */
.project-image {
  position: relative;
  height: 160px;
  background-size: cover;
  background-position: center;
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  transition: background 0.3s ease;
}

.project-card:hover .project-image::after {
  background: rgba(0, 0, 0, 0.4);
}

/* CONTENT */
.project-content {
  padding: 16px;
}

.project-title {
  font-size: 1.1rem;
  color: var(--fg-primary);
  margin-bottom: 6px;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.4;
}

.project-link {
  margin-top: 12px;
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--fg-primary);
}