/* ================================================================
   Sole_f1t Personal Blog — experience.css
   Styles for experience.html (3-tab design)
   ================================================================ */

/* Page heading */
.exp-page-head {
  text-align: center;
  padding: 40px 0 36px;
}

.exp-page-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.exp-page-sub {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.exp-underline {
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 auto;
}

/* ── Tab selector ── */
.exp-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.exp-tab {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 20px 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}
.exp-tab:hover {
  border-color: rgba(250,168,26,0.3);
  background: rgba(250,168,26,0.04);
}
.exp-tab.active {
  border-color: var(--accent);
  background: rgba(250,168,26,0.06);
}
.exp-tab-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(250,168,26,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.6rem;
  color: var(--accent);
  transition: background var(--transition);
}
.exp-tab.active .exp-tab-icon { background: rgba(250,168,26,0.25); }
.exp-tab-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 5px;
}
.exp-tab.active .exp-tab-name { color: var(--accent); }
.exp-tab-sub {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── Panels ── */
.exp-panel {
  display: none;
  animation: expPanelIn 0.3s ease;
}
.exp-panel.active { display: block; }
@keyframes expPanelIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Work Experience timeline ── */
.exp-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 28px;
  border-left: 2px solid rgba(250,168,26,0.25);
}
.exp-tl-item {
  position: relative;
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}
.exp-tl-item:last-child { margin-bottom: 0; }

.exp-tl-line-wrap {
  position: absolute;
  left: -37px;
  top: 20px;
}
.exp-tl-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}

.exp-tl-content {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.exp-tl-content:hover { border-color: rgba(250,168,26,0.3); }

.exp-tl-header { padding: 18px 22px 14px; }
.exp-tl-role {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 6px;
}
.exp-tl-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.exp-tl-org {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text);
}
.exp-tl-badge {
  display: inline-block;
  background: var(--accent-dim);
  border: 1px solid rgba(250,168,26,0.3);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.exp-tl-divider {
  height: 1px;
  background: rgba(250,168,26,0.15);
  margin: 0 22px;
}

.exp-tl-body { padding: 16px 22px 20px; }
.exp-tl-lead {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.exp-tl-bullets {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
  padding-left: 4px;
}
.exp-tl-bullets li {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}
.exp-tl-bullets li::before {
  content: '❧';
  position: absolute;
  left: -4px;
  color: var(--accent);
  font-size: 0.75rem;
  top: 2px;
}
.exp-tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.exp-tl-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  transition: all var(--transition);
}
.exp-tl-content:hover .exp-tl-tag {
  border-color: rgba(250,168,26,0.25);
  color: var(--text);
}

/* ── Learning Timeline panel ── */
.learn-head {
  text-align: center;
  margin-bottom: 40px;
}
.learn-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 12px;
}
.learn-sub {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  max-width: 600px;
  margin: 14px auto 0;
  line-height: 1.65;
}
.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.learn-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 22px 20px;
  transition: all var(--transition);
}
.learn-card:hover {
  border-color: rgba(250,168,26,0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}
.learn-year {
  display: inline-block;
  background: var(--accent);
  color: #1a1a1a;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.learn-card-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
}
.learn-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.learn-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.55;
}
.learn-list li i { color: var(--accent); font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.learn-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.learn-tag {
  font-size: 0.73rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--accent-dim);
  border: 1px solid rgba(250,168,26,0.2);
  color: var(--accent);
}

/* ── Technical Skills panel ── */
.skill-section {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 26px;
  margin-bottom: 20px;
  transition: border-color var(--transition);
}
.skill-section:hover { border-color: rgba(250,168,26,0.2); }
.skill-section:last-child { margin-bottom: 0; }
.skill-section-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.skill-section-title i { color: var(--accent); font-size: 1.2rem; }
.skill-bars { display: flex; flex-direction: column; gap: 14px; }
.skill-bar-item { display: flex; flex-direction: column; gap: 5px; }
.skill-bar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}
.skill-pct { color: var(--accent); font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; }
.skill-track {
  height: 7px;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent) 0%, #ffcc5c 100%);
  border-radius: 10px;
  transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Animate bars when panel becomes active */
.exp-panel.active .skill-fill { width: var(--w); }

/* Responsive */
@media (max-width: 900px) {
  .exp-tabs { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .exp-tab { padding: 20px 12px 18px; }
  .exp-tab-icon { width: 46px; height: 46px; font-size: 1.3rem; }
  .exp-tab-name { font-size: 0.88rem; }
}
@media (max-width: 640px) {
  .exp-tabs { grid-template-columns: 1fr; }
  .exp-timeline { padding-left: 20px; }
  .exp-tl-line-wrap { left: -28px; }
  .learn-grid { grid-template-columns: 1fr; }
}
