/* ============================================================
   PROJECTS PAGE STYLES
   ============================================================ */

/* ── Filter Bar ── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  background: transparent;
  transition: all var(--transition);
  cursor: pointer;
}
.filter-btn:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  background: var(--accent-teal-dim);
}
.filter-btn.active {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
  border-color: transparent;
  color: #020817;
}

/* ── Projects Full Grid ── */
.projects-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.project-card-full {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--transition);
}
.project-card-full[data-hidden="true"] {
  display: none;
}
.project-card-full:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow-md);
}
.project-card-full .lang-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.lang-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Language colors */
.lang-dart     { background: #00B4AB; }
.lang-kotlin   { background: #7F52FF; }
.lang-c        { background: #555555; }
.lang-php      { background: #777BB4; }
.lang-python   { background: #3572A5; }
.lang-js       { background: #F1E05A; }
.lang-css      { background: #563D7C; }
.lang-cloud    { background: #00d4b4; }

/* ── GitHub Stats Section ── */
.github-stats {
  padding: 60px 0;
  text-align: center;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.github-stats h2 {
  margin-bottom: 8px;
}
.github-stats p {
  margin-bottom: 40px;
  color: var(--text-muted);
}
.stats-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.stats-cards img {
  border-radius: var(--radius-md);
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.stats-cards img:hover {
  box-shadow: var(--glow-sm);
}

/* ── Page Hero ── */
.page-hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,212,180,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  transition: color var(--transition);
}
.page-hero__back:hover { color: var(--accent-teal); }
.page-hero__back svg { transition: transform var(--transition); }
.page-hero__back:hover svg { transform: translateX(-4px); }

/* ── Work-in-progress card ── */
.wip-card {
  padding: 40px;
  text-align: center;
  border: 2px dashed var(--border-hover);
  border-radius: var(--radius-lg);
  background: var(--accent-teal-dim);
  margin-top: 24px;
}
.wip-card h3 {
  color: var(--accent-teal);
  margin-bottom: 8px;
}
.wip-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ── Project count badge ── */
.project-count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.project-count span { color: var(--accent-teal); }

@media (max-width: 640px) {
  .projects-full-grid { grid-template-columns: 1fr; }
  .stats-cards { flex-direction: column; align-items: center; }
}
