/* about.css */

/* ========================
   Section 1 — 소개 텍스트
   ======================== */
.about-content1 {
  position: relative;
  overflow: hidden;
}

.about-bg-parallax {
    position: absolute;
    top: -10vh;
    left: 0;
    width: 100%;
    height: 200%;
    background-image: url(../img/line-pin-red.svg);
    background-repeat: no-repeat;
    background-size: auto 100vh;
    background-position: 70vw 0vh;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.about-overview-desc {
  position: relative;
  z-index: 1;
  font-size: var(--type-content-heading-size);
  text-align: center;
  line-height: 1.8;
  font-weight: 100;
  padding-top: var(--space-10) !important;
  padding-bottom: var(--space-10);
}

/* ========================
   Section 2 — 주최/공동개최
   ======================== */
.about-content2 {
  background-color: var(--color-primary);
  padding: var(--space-8) 0;
}
.about-content2 .container{padding-top:0;}

.about-overview-list {
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
}

.about-overview-list dl {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    flex-direction: column;
    justify-content: center;
}
.about-overview-list .btn-secondary{
  border-color:#fff;
  color:#fff;
  transition: 0.3s;
}
.about-overview-list .btn-secondary:hover{
  background-color:rgba(255,255,255,0.15);
  transition: 0.3s;
}
/* .about-overview-list dt {
  font-family: var(--font-secondary);
  font-size: var(--type-section-heading-size);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 300;
}

.about-overview-list dd {
  font-family: var(--font-secondary);
  font-size: var(--type-section-heading-size);
  font-weight: 500;
  color: #ffffff;
  letter-spacing: var(--tracking-tight);
} */

/* ========================
   Section — 연혁 (History)
   ======================== */
.about-history {
  position: relative;
  overflow: hidden;
  padding: var(--space-10) 0;
}

/* 패럴랙스 배경 — 핀업 마크 아이콘 (아래→위 전체 이동) */
.history-bg-parallax {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url(../img/mark-r.svg);
  background-repeat: no-repeat;
  background-size: 60vh;
  background-position: 75vw center;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  opacity: 0.9;
}

/* History 콘텐츠가 배경 위에 표시되도록 */
.about-history > .container {
  position: relative;
  z-index: 1;
}



/* 타임라인 — CSS Grid 3-column 레이아웃
   [연도]  [라인+도트]  [설명]
   auto     32px        1fr
   ========================================= */
.timeline {
  display: grid;
  grid-template-columns: auto 32px 1fr;
  row-gap: 0;
  margin-top: var(--space-8);
}

/* 세로 라인 — Grid 2열 전체를 관통 */
.timeline::before {
  content: '';
  grid-column: 2;
  grid-row: 1 / -1;
  justify-self: center;
  width: 1px;
  background: var(--color-border);
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 1.8s var(--easing-default) 1s;
}

.timeline:has(.timeline-item.is-visible)::before,
.timeline.timeline-active::before {
  transform: scaleY(1);
}

/* 각 항목 — grid 3열에 걸쳐 subgrid 구성 */
.timeline-item {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: start;
  padding-bottom: var(--space-8);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

/* 연도 — 1열 */
.timeline-year {
  grid-column: 1;
  text-align: right;
  padding-right: var(--space-5);
  padding-top: 2px;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* 도트 제거 — 항목 레벨 */
.timeline-item::before {
  content: none;
}

/* 설명 — 3열 */
.timeline-desc {
  grid-column: 3;
  padding-left: var(--space-5);
  /* padding-top: 6px; */
  font-size: var(--type-content-subheading-size);
  color: var(--color-text-secondary);
  line-height: 1.8;
  height: 100%;
      display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-desc li {
  position: relative;
  padding-left: var(--space-4);
  margin-bottom: var(--space-2);
}

/* 도트 불릿: li 태그 앞에 표시 */
.timeline-desc li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px; /* 라인 높이 보정 */
  width: 4px;
  height: 4px;
  background-color: var(--color-primary);
  border-radius: 50%;
  opacity: 0.5;
}

.timeline-desc li:last-child {
  margin-bottom: 0;
}

.timeline-sub {
  font-size: var(--type-body-size);
  color: var(--color-text-tertiary);
  display: inline;
}

/* ========================
   Reveal — 스크롤 등장 효과
   ======================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s var(--easing-default),
    transform 0.8s var(--easing-default);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}



/* ========================
   Responsive
   ======================== */
@media (max-width: 767px) {
  .about-bg-parallax {
    background-position: 40vw 0vh;
  }

  /* 배경 아이콘 모바일 위치 조정 */
  .history-bg-parallax {
    background-size: 40vh;
    background-position: 55vw center;
  }

  .about-overview-desc {
    text-align: left;
  }

  .about-overview-desc br {
    display: none;
  }

  .about-overview-list {
    flex-direction: column;
    gap: var(--space-5);
    align-items: center;
  }

  .about-overview-list dl {
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    text-align: center;
  }

  /* 타임라인 모바일 — 단일 컬럼 */
  .timeline {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 24px;
  }

  .timeline::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 4px;
    grid-column: unset;
    grid-row: unset;
    justify-self: unset;
  }

  .timeline-item {
    display: block;
    grid-column: unset;
    position: relative;
    padding-left: var(--space-2);
    padding-bottom: var(--space-7);
  }



  .timeline-year {
    text-align: left;
    margin-bottom: var(--space-2);
  }

  .timeline-desc {
    grid-column: unset;
    padding-left: 0;
    padding-top: 0;
  }

}