/* ================================================================
   HAMAN IT — project-page.css
   Shared styles for all /projects/*.html pages
   ================================================================ */

/* ── Page base ───────────────────────────────────────────────── */
body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* ── Section wrapper ─────────────────────────────────────────── */
.section {
  padding: 140px 0 80px;
}

/* ── Section header ──────────────────────────────────────────── */
.section-header {
  margin-bottom: 48px;
}

/* ── Fix SVG inside section-label ───────────────────────────── */
.section-label svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Section subtitle (used on project pages) ────────────────── */
.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.7;
  margin-top: 12px;
}

/* ── Card ────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 18px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.card:hover {
  border-color: var(--border2);
  box-shadow: 0 4px 24px var(--accent-glow);
}

.card-title {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  color: var(--text);
}

.card-text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Skill category title inside card ───────────────────────── */
.skill-category-title {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Dot accent ──────────────────────────────────────────────── */
.skill-category-title .dot,
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── Skill list ──────────────────────────────────────────────── */
.skill-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skill-item {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}
.skill-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

/* ── Btn SVG icons ───────────────────────────────────────────── */
.btn-primary svg,
.btn-ghost svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Scroll reveal ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .section { padding: 100px 0 60px; }
  .card { padding: 20px 20px; }
}
