/* ============================================================
   Projects Page Styles
   ============================================================ */

.projects-hero {
  padding: 160px 0 80px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.projects-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(201,168,76,0.05), transparent);
}
.projects-hero-content { position: relative; }

/* ─── Filter Bar ─────────────────────────────────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--card);
  transition: var(--transition);
  cursor: pointer;
}
.filter-btn:hover {
  border-color: var(--border-gold);
  color: var(--gold);
}
.filter-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-color: var(--gold);
  color: #000;
}

/* ─── Projects Grid ──────────────────────────────────────── */
.all-projects-section { padding: 60px 0 100px; }
.projects-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.proj-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.proj-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-5px);
}
.proj-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.proj-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  background: var(--surface);
}
.proj-card:hover .proj-card-img img { transform: scale(1.06); }
.proj-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,0.7) 0%, transparent 60%);
}
.proj-price-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(5,5,5,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
}
.proj-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.proj-card-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.proj-card-desc {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.proj-card-techs { display: flex; flex-wrap: wrap; gap: 6px; }

/* ─── No Results ─────────────────────────────────────────── */
.no-results {
  text-align: center;
  padding: 80px 24px;
  color: var(--muted);
  grid-column: 1/-1;
}
.no-results h3 { font-size: 1.4rem; color: var(--white); margin-bottom: 8px; }

@media (max-width: 900px) {
  .projects-full-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .projects-full-grid { grid-template-columns: 1fr; }
  .filter-bar { gap: 8px; }
}
