/* 왼쪽 서브 네비게이션 - Figma 디자인 기반 */

.left-sub-nav {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 347px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding-left: 0;
    z-index: 1;
    transition: background 0.3s ease;
}

/* hover 시 왼쪽 영역 전체에 검은색 반투명 배경 */
.left-sub-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.left-sub-nav:hover::before {
    opacity: 1;
}

.left-sub-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 60px;
    z-index: 1;
}

/* solid 선 - 선택된 아이템에만 표시 + 애니메이션 */
.left-sub-nav-item .dash-line {
    position: absolute;
    left: 0;
    width: 0;
    height: 4px;
    background: #1db2ff;
    transition: width 300ms ease-out;
}

.left-sub-nav-item.active .dash-line {
    width: 60px;
}

/* 링크 스타일 - default */
.left-sub-nav-item a {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.001;
    letter-spacing: 0.32px;
    text-align: right;
    color: #FFFFFF;
    text-shadow: 0px 0px 4px rgba(28, 28, 30, 0.3);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 300ms ease-out, font-size 300ms ease-out, font-weight 300ms ease-out, color 300ms ease-out, letter-spacing 300ms ease-out;
}

/* hover 상태 */
.left-sub-nav-item a:hover {
    font-size: 24px;
    font-weight: 700;
    color: #1db2ff;
    letter-spacing: 0.384px;
}

/* 선택된 상태 - 글자 오른쪽으로 20px 슬라이딩 */
.left-sub-nav-item.active a {
    font-size: 24px;
    font-weight: 700;
    color: #1db2ff;
    letter-spacing: 0.384px;
    transform: translateX(20px);
}

/* 반응형 디자인 */
@media screen and (max-width: 1199px) {
    .left-sub-nav {
        display: none;
    }
}
