/* experience.css — Experience section (matches site tokens & effects)
   ------------------------------------------------------------------ */


 /* --- Append to app/static/css/experience.css --- */

/* Bullets inside experience cards */
.exp-highlights {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.35rem;
  padding-left: 0;       /* remove default ul padding */
}

.exp-highlights li {
  list-style: none;
  font-size: var(--font-base);
  color: var(--text-secondary);
  line-height: 1.55;
  position: relative;
  padding-left: 1.15rem;
}

.exp-highlights li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-weight: 700;
}

/* Keep your existing background + glow intact (no edits to ::before) */


.experience {
  /* same section background gradient used elsewhere */
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden; /* contain the glow */
  padding: var(--spacing-xl) 0; /* keep section rhythm */
}

/* Animated radial glow (uses the shared tokens you set in main.css) */
.experience::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 150%;
  height: 200%;
  background: var(--animation-circle);
  animation: var(--animation-time);
  z-index: 0;
}

/* Keep real content above the glow */
.experience .container {
  position: relative;
  z-index: 1;
}

/* grid of experience cards */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

/* individual card */
.exp-card {
  display: block;
  text-decoration: none;
  background: var(--box-background);        /* token (light/dark aware) */
  color: var(--text-primary);
  border-radius: 12px;                       /* feel free to switch to var(--radius-md) if you added one */
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  padding: 3rem;
  position: relative;
  transition: var(--transition-base);
}

.exp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(69,139,165,0.12);
}

/* title / role / dates */
.exp-title {
  font-size: clamp(1.1rem, 1.2vw + 0.9rem, 1.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 .35rem 0;
}

.exp-role {
  font-size: var(--font-lg);
  color: var(--primary-color);
  font-weight: 600;
  margin: 0 0 .35rem 0;
}

.exp-dates {
  font-size: var(--font-sm);
  color: var(--text-secondary);
}

/* optional badge (e.g., “Current”) */
.exp-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary-color);
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .3px;
}

/* responsive */
@media (max-width: 768px) {
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .experience::before { animation: none; }
  .exp-card { transition: none; }
}
