/* ==== RHSahroni — Personal Profile Theme ==== */

:root {
  --navy: #0f172a;
  --slate: #334155;
  --slate-light: #94a3b8;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --accent: #2563eb;
  --accent-soft: #eff6ff;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.profile {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

/* ---- Header ---- */
.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.avatar-initials { display: block; }

.name-block { flex: 1; min-width: 0; }

.name {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.title {
  margin: 6px 0 4px;
  color: var(--slate);
  font-size: 16px;
}

.location {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ---- Sections ---- */
.section {
  margin-top: 28px;
}

.section h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  text-transform: none;
  letter-spacing: 0.01em;
}

.lead {
  font-size: 16px;
  color: var(--slate);
}

.section p {
  margin: 0 0 12px;
  color: var(--slate);
  font-size: 15px;
}

.section p:last-child { margin-bottom: 0; }

strong { color: var(--navy); }

/* ---- Jobs ---- */
.job {
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  background: var(--card);
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 16px;
}

.job.older { border-left-color: var(--slate-light); }
.job.older .job-desc { color: var(--muted); font-style: italic; }

.job-meta { margin-bottom: 6px; }

.job-company {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.job-role {
  margin: 2px 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}

.job-period {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.job-desc {
  margin: 8px 0;
  color: var(--slate);
  font-size: 14px;
}

.job-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-style: italic;
}

/* ---- Skills chips ---- */
.chip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-list li {
  background: var(--accent-soft);
  color: var(--navy);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #dbeafe;
}

/* ---- Contact ---- */
.contact {
  margin-top: 32px;
  text-align: center;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
}

.contact h2 {
  color: #fff;
  margin-bottom: 8px;
}

.contact .muted { color: #94a3b8; }
.contact .small { font-size: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  background: #fff;
  color: var(--navy);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.btn:hover { background: var(--accent-soft); }

.btn-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .profile-header { flex-wrap: wrap; }
  .avatar { width: 76px; height: 76px; font-size: 26px; }
  .name { font-size: 22px; }
}
