/* ===== 슬라이더 ===== */

.slider {
    position: relative;
    width: 100%;
    height: 100vh;
}

.track {
    display: flex;
    width: 600%;
    height: 100%;
    transition: transform 0.6s ease;
}

.slide {
    width: 16.6667%;
    height: 100%;
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide img.loaded {
    opacity: 1;
}

.slide {
    background: #0f172a;
}

.slide-text-wrap {
    position: absolute;
    left: 280px;      /* 텍스트 좌우 위치 */
    right: 40px;
    bottom: 360px;    /* 텍스트 상하 위치 */
    z-index: 10;
    max-width: 600px;
}

.slide-text {
    position: absolute;
    left: 0;
    bottom: 0;
    opacity: 0;
    transform: translateX(-30px);
    pointer-events: none;
}

.slide-text.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-text h2 {
    color: #fff;
    font-size: 36px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.slide-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.6;
}

.arrow-wrap {
    position: absolute;
    left: 280px;       /* 버튼 좌우 위치 */
    bottom: 220px;      /* 버튼 상하 위치 */
    z-index: 10;
    display: flex;
    gap: 10px;
}

.arrow {
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 40px;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
}

.arrow:hover {
    background: #000;
    color: #00ff00;
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}



@media (max-width: 480px) {
    .menu_div .menu,
    .menu_div .login,
    .sub_menu_div {
        display: none;
    }

    .slide-text-wrap {
        left: 24px;
        right: 24px;
        bottom: 100px;
        max-width: none;
    }

    .slide-text h2 {
        font-size: 22px;
    }

    .slide-text p {
        font-size: 13px;
    }

    .arrow-wrap {
        left: 24px;
        bottom: 30px;
    }

    .arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
