/* ============================================================
   COMPONENT: Experience / Carousel Section
   ============================================================ */

#experience {
  background: var(--cream-light);
}

.carousel-wrapper {
  position: relative;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.65s var(--ease-soft);
  will-change: transform;
}

.exp-card {
  flex-shrink: 0;
  width: calc((100% - 48px) / 3);
  padding: 2rem;
  background: var(--cream-base);
  border-radius: var(--radius-md);
  box-shadow: var(--neo-shadow-out);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: box-shadow 0.45s var(--ease-soft), transform 0.45s var(--ease-soft);
}

.exp-card-media {
  aspect-ratio: 4 / 3;
  margin: -0.65rem -0.65rem 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--cream-dark);
  box-shadow: var(--neo-shadow-in);
}

.exp-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.75s var(--ease-soft), filter 0.75s var(--ease-soft);
}

.exp-card:hover {
  box-shadow: var(--neo-shadow-hover);
  transform: translateY(-6px);
}

.exp-card:hover .exp-card-media img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.08);
}

.exp-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  width: fit-content;
}

.exp-card-org {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.exp-card h3 {
  font-size: 1.05rem;
  line-height: 1.3;
}

.exp-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  flex: 1;
}

.exp-card-duration {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: auto;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: var(--space-md);
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-base);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  box-shadow: var(--neo-shadow-sm);
  transform: translateY(-50%);
  transition: color var(--transition), box-shadow 0.4s var(--ease-soft), transform 0.4s var(--ease-soft);
}

.carousel-prev {
  left: -22px;
}

.carousel-next {
  right: -22px;
}

.carousel-prev:hover:not(:disabled),
.carousel-next:hover:not(:disabled) {
  box-shadow: var(--neo-shadow-out);
  color: var(--accent);
  transform: translateY(-50%) scale(1.05);
}

.carousel-prev:disabled,
.carousel-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cream-deeper);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.carousel-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--accent);
}

@media (max-width: 767px) {
  .exp-card { width: 100%; }
}
