/* ═══════════════════════════════════════════════════
   NEXT WEB — portfolio.css
═══════════════════════════════════════════════════ */

.portfolio-full { background: var(--bg); padding-bottom: 100px; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.port-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}
.port-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-brd);
  box-shadow: var(--shadow-lg);
}

.port-thumb {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.port-emoji { font-size: 54px; }
.port-result {
  position: absolute; top: 16px; right: 16px;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  border: 1px solid var(--gold-brd); color: var(--gold);
  font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 100px;
}
body[dir="rtl"] .port-result { right: auto; left: 16px; }

.port-body { padding: 22px; }
.port-type { font-size: 11px; color: var(--gold); font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.port-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.port-tag {
  font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 100px;
  background: var(--bg2); color: var(--muted);
  border: 1px solid var(--border);
}
.port-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.port-body p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.port-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--gold); font-weight: 700; font-size: 13px;
  transition: gap 0.2s;
}
.port-link:hover { gap: 10px; }

@media (max-width: 768px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}
