/* ==============================================
   PORTFOLIO.CSS — Filter + Project Cards
   TechMishra Theme v3.0
   ============================================== */

/* ── Filter Bar ── */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--white);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 4px 12px var(--accent-glow);
}
.filter-btn .filter-count {
  font-size: 11px;
  opacity: 0.75;
}

/* ── Project Grid ── */
#projectGrid { transition: all .3s ease; }

/* ── Project Card ── */
.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border-light);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(59,130,246,0.2);
}

/* Image Area */
.project-image {
  height: 210px;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.project-image img       { width: 100%; height: 100%; object-fit: cover; }
.project-featured-badge  {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Overlay */
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6,11,24,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay a {
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: white;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: all var(--transition);
  text-decoration: none;
}
.project-overlay a:hover { background: var(--accent); border-color: var(--accent); }

/* Body */
.project-body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.project-type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 7px;
}
.project-name { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); line-height: 1.35; }
.project-name a { color: var(--text-primary); text-decoration: none; }
.project-name a:hover { color: var(--accent); }
.project-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 14px; flex: 1; }
.project-tech { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.tech-tag {
  padding: 3px 10px;
  background: var(--accent-light);
  color: var(--accent-hover);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
}

/* No results */
.portfolio-no-results {
  text-align: center;
  padding: 80px 0;
  display: none;
}
.portfolio-no-results h3 { font-size: 20px; margin-bottom: 8px; }
.portfolio-no-results p  { color: var(--text-secondary); margin-bottom: 24px; }

/* Single project page */
.project-detail-meta {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 20px;
}
.project-meta-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.project-meta-item:last-child { border-bottom: none; }
.project-meta-label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
.project-meta-value { font-size: 14px; font-weight: 600; color: var(--text-primary); }
