/* ─── CV TEMPLATE STYLES ─────────────────────────────
   Her şablon kendi namespace'i altında stil alır.
   Renkler CSS variable ile override edilir.
════════════════════════════════════════════════════ */

.cv-root {
  font-family: 'Inter', sans-serif;
  color: #1a1a2e;
  background: #fff;
  width: 100%;
  min-height: 1123px;
  font-size: 11px;
  line-height: 1.5;
  --cv-accent: #3b82f6;
  --cv-accent-light: #dbeafe;
}

/* ══════════════════════════════════════════════════
   NOVA — Modern, iki kolon, mavi aksan
══════════════════════════════════════════════════ */
.template-nova {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 1123px;
}
.nova-sidebar {
  background: var(--cv-accent);
  color: #fff;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.nova-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.3);
  object-fit: cover;
  display: block;
  margin: 0 auto;
}
.nova-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 auto;
}
.nova-name { text-align: center; margin-bottom: 4px }
.nova-name h1 { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 2px }
.nova-name p { font-size: 10px; color: rgba(255,255,255,0.8) }
.nova-section { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 14px }
.nova-section-title {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}
.nova-contact-item { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 9px; color: rgba(255,255,255,0.9) }
.nova-contact-item i { width: 12px; text-align: center; font-size: 9px; opacity: 0.7 }
.nova-skill-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px }
.nova-skill-name { font-size: 9px; color: rgba(255,255,255,0.9) }
.nova-skill-bar { width: 60px; height: 4px; background: rgba(255,255,255,0.2); border-radius: 2px; overflow: hidden }
.nova-skill-fill { height: 100%; background: rgba(255,255,255,0.8); border-radius: 2px }
.nova-main { padding: 28px 24px }
.nova-main-name { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid var(--cv-accent) }
.nova-main-name h1 { font-size: 22px; font-weight: 900; color: #1a1a2e; margin-bottom: 2px }
.nova-main-name p { font-size: 12px; color: var(--cv-accent); font-weight: 500 }
.nova-section-block { margin-bottom: 20px }
.nova-section-heading {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cv-accent);
  margin-bottom: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--cv-accent-light);
}
.nova-exp-item { margin-bottom: 14px }
.nova-exp-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 3px }
.nova-exp-title { font-size: 11px; font-weight: 700; color: #1a1a2e }
.nova-exp-date { font-size: 9px; color: #64748b; white-space: nowrap }
.nova-exp-company { font-size: 10px; color: var(--cv-accent); margin-bottom: 5px }
.nova-exp-desc { font-size: 10px; color: #374151; line-height: 1.6 }
.nova-exp-desc ul { padding-left: 14px; margin: 0 }
.nova-exp-desc li { margin-bottom: 2px }
.nova-lang-row { display: flex; justify-content: space-between; padding: 3px 0; font-size: 10px }
.nova-lang-level { color: var(--cv-accent); font-weight: 500 }

/* ══════════════════════════════════════════════════
   ATLAS — Klasik, tek kolon, kurumsal
══════════════════════════════════════════════════ */
.template-atlas {
  padding: 40px 48px;
  min-height: 1123px;
}
.atlas-header { text-align: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--cv-accent) }
.atlas-name { font-size: 28px; font-weight: 900; color: #1a1a2e; letter-spacing: -0.5px }
.atlas-title { font-size: 14px; color: var(--cv-accent); margin-top: 4px; font-weight: 500 }
.atlas-contacts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}
.atlas-contact { font-size: 10px; color: #64748b; display: flex; align-items: center; gap: 4px }
.atlas-contact i { color: var(--cv-accent) }
.atlas-section { margin-bottom: 20px }
.atlas-section-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cv-accent);
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #e2e8f0;
}
.atlas-exp-item { display: grid; grid-template-columns: 100px 1fr; gap: 16px; margin-bottom: 14px }
.atlas-exp-date { font-size: 9px; color: #94a3b8; padding-top: 2px }
.atlas-exp-title { font-size: 11px; font-weight: 700; color: #1a1a2e; margin-bottom: 1px }
.atlas-exp-company { font-size: 10px; color: var(--cv-accent); margin-bottom: 5px }
.atlas-exp-desc { font-size: 10px; color: #374151; line-height: 1.6 }
.atlas-skills { display: flex; flex-wrap: wrap; gap: 6px }
.atlas-skill {
  background: var(--cv-accent-light);
  color: var(--cv-accent);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 500;
}
.atlas-summary { font-size: 11px; color: #374151; line-height: 1.7 }

/* ══════════════════════════════════════════════════
   PRISM — Yaratıcı, kenar çubuğu, renkli
══════════════════════════════════════════════════ */
.template-prism {
  display: grid;
  grid-template-columns: 1fr 240px;
  min-height: 1123px;
}
.prism-main { padding: 32px 28px }
.prism-sidebar { background: var(--cv-accent); padding: 32px 20px; color: #fff }
.prism-header { margin-bottom: 24px }
.prism-name { font-size: 26px; font-weight: 900; color: #1a1a2e; line-height: 1.1 }
.prism-title { font-size: 12px; color: var(--cv-accent); font-weight: 600; margin-top: 4px }
.prism-divider { width: 40px; height: 3px; background: var(--cv-accent); border-radius: 2px; margin: 12px 0 }
.prism-section { margin-bottom: 22px }
.prism-section-title {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #1a1a2e;
  margin-bottom: 10px;
}
.prism-exp-item { margin-bottom: 14px }
.prism-exp-title { font-size: 11px; font-weight: 700; color: #1a1a2e; margin-bottom: 2px }
.prism-exp-sub { font-size: 10px; color: #64748b; margin-bottom: 4px }
.prism-exp-desc { font-size: 10px; color: #374151; line-height: 1.6 }
.prism-sidebar-section { margin-bottom: 20px }
.prism-sidebar-title {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}
.prism-contact-item { display: flex; gap: 6px; align-items: flex-start; margin-bottom: 8px; font-size: 9px; color: rgba(255,255,255,0.9) }
.prism-skill-wrap { margin-bottom: 6px }
.prism-skill-name { font-size: 9px; color: rgba(255,255,255,0.9); margin-bottom: 3px }
.prism-skill-bar { height: 4px; background: rgba(255,255,255,0.2); border-radius: 2px; overflow: hidden }
.prism-skill-fill { height: 100%; background: rgba(255,255,255,0.8); border-radius: 2px }

/* ══════════════════════════════════════════════════
   SLATE — Minimal, çok beyaz alan
══════════════════════════════════════════════════ */
.template-slate { padding: 48px; min-height: 1123px }
.slate-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px }
.slate-name { font-size: 30px; font-weight: 900; color: #0f172a; letter-spacing: -1px }
.slate-title { font-size: 13px; color: #64748b; margin-top: 4px }
.slate-contacts { text-align: right }
.slate-contact { font-size: 10px; color: #94a3b8; margin-bottom: 3px }
.slate-divider { height: 1px; background: #e2e8f0; margin-bottom: 24px }
.slate-section { margin-bottom: 22px }
.slate-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #94a3b8;
  margin-bottom: 12px;
}
.slate-exp-row { display: flex; gap: 20px; margin-bottom: 16px }
.slate-exp-left { width: 80px; flex-shrink: 0; font-size: 9px; color: #94a3b8; padding-top: 1px }
.slate-exp-right { flex: 1 }
.slate-exp-title { font-size: 11px; font-weight: 700; color: #0f172a; margin-bottom: 2px }
.slate-exp-company { font-size: 10px; color: #64748b; margin-bottom: 6px }
.slate-exp-desc { font-size: 10px; color: #374151; line-height: 1.7 }
.slate-skills { display: flex; flex-wrap: wrap; gap: 4px }
.slate-skill { font-size: 10px; color: #64748b; border: 1px solid #e2e8f0; padding: 2px 8px; border-radius: 4px }

/* ══════════════════════════════════════════════════
   CARBON — Koyu arka plan, premium
══════════════════════════════════════════════════ */
.template-carbon {
  background: #0f172a;
  color: #e2e8f0;
  min-height: 1123px;
  display: grid;
  grid-template-columns: 220px 1fr;
}
.carbon-sidebar { background: #1e293b; padding: 32px 20px; border-right: 1px solid #334155 }
.carbon-main { padding: 32px 28px }
.carbon-avatar-wrap { text-align: center; margin-bottom: 20px }
.carbon-avatar, .carbon-avatar-placeholder {
  width: 80px; height: 80px; border-radius: 50%;
  margin: 0 auto; display: flex; align-items: center; justify-content: center;
}
.carbon-avatar-placeholder { background: linear-gradient(135deg,var(--cv-accent),#8b5cf6); font-size: 28px; font-weight: 700; color: #fff }
.carbon-name { text-align: center }
.carbon-name h1 { font-size: 14px; font-weight: 800; color: #f1f5f9 }
.carbon-name p { font-size: 10px; color: var(--cv-accent); margin-top: 2px }
.carbon-section { margin-bottom: 18px; border-top: 1px solid #334155; padding-top: 14px }
.carbon-section:first-child { border-top: none }
.carbon-section-title {
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #64748b;
  margin-bottom: 10px;
}
.carbon-contact-item { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; font-size: 9px; color: #94a3b8 }
.carbon-skill { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 9px }
.carbon-skill span:first-child { color: #e2e8f0 }
.carbon-skill span:last-child { color: var(--cv-accent) }
.carbon-header { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #334155 }
.carbon-header h1 { font-size: 24px; font-weight: 900; color: #f1f5f9 }
.carbon-header p { font-size: 12px; color: var(--cv-accent); margin-top: 4px }
.carbon-main-section { margin-bottom: 20px }
.carbon-main-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cv-accent);
  margin-bottom: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid #334155;
}
.carbon-exp-item { margin-bottom: 14px }
.carbon-exp-header { display: flex; justify-content: space-between; margin-bottom: 2px }
.carbon-exp-title { font-size: 11px; font-weight: 700; color: #f1f5f9 }
.carbon-exp-date { font-size: 9px; color: #64748b }
.carbon-exp-company { font-size: 10px; color: var(--cv-accent); margin-bottom: 4px }
.carbon-exp-desc { font-size: 10px; color: #94a3b8; line-height: 1.6 }
