/* ============================================
   칸코드 - 기업개요 페이지 스타일
   style.css 공통 스타일 위에 추가되는 페이지 전용 스타일
   ============================================ */

/* ============================================
   GNB 투명 변형 (Hero 위에 겹침)
   ============================================ */
.gnb-wrapper.gnb-transparent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    transition: height 0.22s ease, margin-bottom 0.22s ease, box-shadow 0.22s ease;
    z-index: 100;
}

/* 기본 상태: 흰색 로고 보임, 검정 로고 숨김 */
.gnb-wrapper.gnb-transparent .logo-white {
    display: block;
}

.gnb-wrapper.gnb-transparent .logo-black {
    display: none;
}

.gnb-wrapper.gnb-transparent .gnb-menu-item {
    color: var(--white);
    transition: color 0.3s ease;
}

.gnb-wrapper.gnb-transparent .cta-btn {
    background-color: var(--primary-500);
}

/* 호버 상태: 흰색 배경, 검정 로고, 검은 메뉴 */
.gnb-wrapper.gnb-transparent:hover,
.gnb-wrapper.gnb-transparent:focus-within,
.gnb-wrapper.gnb-transparent.gnb-hovered,
.gnb-wrapper.gnb-transparent.gnb-open {
    background-color: var(--white);
}

.gnb-wrapper.gnb-transparent:hover .logo-white,
.gnb-wrapper.gnb-transparent:focus-within .logo-white,
.gnb-wrapper.gnb-transparent.gnb-hovered .logo-white,
.gnb-wrapper.gnb-transparent.gnb-open .logo-white {
    display: none;
}

.gnb-wrapper.gnb-transparent:hover .logo-black,
.gnb-wrapper.gnb-transparent:focus-within .logo-black,
.gnb-wrapper.gnb-transparent.gnb-hovered .logo-black,
.gnb-wrapper.gnb-transparent.gnb-open .logo-black {
    display: block;
}

.gnb-wrapper.gnb-transparent:hover .gnb-menu-item,
.gnb-wrapper.gnb-transparent:focus-within .gnb-menu-item,
.gnb-wrapper.gnb-transparent.gnb-hovered .gnb-menu-item,
.gnb-wrapper.gnb-transparent.gnb-open .gnb-menu-item {
    color: var(--gray-800);
}

/* ============================================
   Hero 섹션
   ============================================ */
.about-hero {
    width: 100%;
    height: 880px;
    /* GNB 80px + Hero 800px */
    position: relative;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 880px;
    object-fit: cover;
    opacity: 1;
    pointer-events: none;
}

.about-hero-text {
    position: absolute;
    top: calc(50% + 14px);
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -1.04px;
    color: var(--white);
    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.25);
    text-align: center;
    white-space: nowrap;
}

/* ============================================
   Section 1 - Mission / Vision
   ============================================ */
.about-section1 {
    background-color: var(--white);
    width: 100%;
}

.about-section1-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 140px 201px 140px 170px;
    display: flex;
    gap: 81px;
}

.about-mv-block {
    flex-shrink: 0;
}

.about-mv-block:first-child {
    width: 559px;
}

.about-mv-block:last-child {
    width: 429px;
}

.about-mv-block:first-child .about-mv-title {
    max-width: none;
    white-space: nowrap;
}

.about-mv-block:last-child .about-mv-title {
    max-width: 429px;
    white-space: nowrap;
}

.about-mv-label {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.4px;
    color: var(--primary-500);
    margin-bottom: 24px;
}

.about-mv-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.72px;
    color: var(--gray-900);
    margin-bottom: 40px;
}

.about-mv-desc {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.56px;
    color: var(--gray-900);
}

/* ============================================
   Section 2 - History
   ============================================ */
.about-section2 {
    width: 100%;
    background: linear-gradient(235deg, #F3F6FF 16.84%, #F3F2FF 66.49%);
}

.about-section2-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 120px var(--side-padding) 0;
}

.history-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.72px;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 80px;
}

.history-timeline {
    position: relative;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding-bottom: 260px;
}

/* 세로선 */
.history-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 11px;
    transform: translateX(-50%);
    width: 4px;
    height: calc(100% - 11px);
    background-color: var(--primary-500);
    border-radius: 2px;
}

.history-year-block {
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-bottom: 171px;
}

.history-year-block:last-child {
    margin-bottom: 0;
}

.history-year {
    flex-shrink: 0;
    width: 50%;
    padding-right: 107px;
    text-align: right;
    font-size: 36px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.72px;
    color: var(--gray-900);
}

/* 원형 도트 */
.history-dot {
    position: absolute;
    left: 50%;
    top: 4px;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background-color: var(--primary-500);
    border-radius: 50%;
    z-index: 1;
}

.history-items {
    width: auto;
    flex-shrink: 0;
    padding-left: 87px;
    padding-top: 4px;
    list-style: disc;
}

.history-items li {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.4px;
    color: var(--gray-900);
    margin-bottom: 8px;
    margin-left: 16px;
}

.history-items li:last-child {
    margin-bottom: 0;
}

.history-items li.highlight {
    font-weight: 700;
    color: var(--primary-500);
}

/* ============================================
   스크롤 등장 애니메이션
   ============================================ */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* 딜레이 유틸리티 */
.scroll-delay-1 {
    transition-delay: 0.2s;
}

.scroll-delay-2 {
    transition-delay: 0.4s;
}

.scroll-delay-3 {
    transition-delay: 0.6s;
}
