/* ===========================================
   둘러보기 페이지 스타일
   =========================================== */


/* ===========================================
   콘텐츠 섹션
   =========================================== */

.tour-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 180px 20px 100px;
}


/* ===========================================
   타이틀 영역
   =========================================== */

.tour-header {
    text-align: start;
    margin-bottom: 64px;
}

.tour-subtitle {
    color: #18522F;
    font-size: 20px;
    font-family: 'MaruBuriOTF', 'MaruBuri', 'Pretendard', sans-serif;
    font-weight: 400;
    line-height: 32px;
    margin: 0 0 12px 0;
}

.tour-title {
    color: #111111;
    font-size: 36px;
    font-family: 'MaruBuriOTF', 'MaruBuri', 'Pretendard', sans-serif;
    font-weight: 400;
    line-height: 57.6px;
    margin: 0 0 24px 0;
}

.tour-description {
    color: #555555;
    font-size: 18px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 300;
    line-height: 28.8px;
    margin: 0;
}


/* ===========================================
   메인 이미지 슬라이더
   =========================================== */

.tour-main-slider {
    width: 100%;
    height: 650px;
    position: relative;
    margin-bottom: 24px;
    overflow: hidden;
}

.tour-swiper {
    width: 100%;
    height: 100%;
}

.tour-slide-image {
    width: 100%;
    height: 100%;
    background: #A8A8A8;
    overflow: hidden;
}

.tour-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 네비게이션 버튼 */

.tour-nav-prev,
.tour-nav-next {
    width: 56px;
    height: 56px;
    margin-top: -28px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 0;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.tour-nav-prev:hover,
.tour-nav-next:hover {
    opacity: 1;
}

.tour-nav-prev {
    left: 0;
}

.tour-nav-next {
    right: 0;
}

.tour-nav-prev::after,
.tour-nav-next::after {
    font-size: 20px;
    font-weight: bold;
    color: white;
}


/* ===========================================
   탭 갤러리
   =========================================== */

.tour-gallery {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.gallery-item {
    flex: 1;
    height: 159px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}


/* 활성 탭 표시 */

.gallery-item.active {
    /* box-shadow: 0 0 0 3px #18522F; */
}

.gallery-item.active img {
    opacity: 1;
}

.gallery-item:not(.active) img {
    opacity: 0.7;
}


/* ===========================================
   반응형 - 태블릿 (1024px 이하)
   =========================================== */

@media (max-width: 1024px) {
    .tour-content {
        padding: 80px 16px 80px;
    }
    .tour-header {
        text-align: center;
        margin-bottom: 30px;
    }
    .tour-subtitle {
        font-size: 16px;
        font-weight: 600;
        line-height: 25.6px;
    }
    .tour-title {
        font-size: 21px;
        font-family: 'Noto Serif KR', serif;
        font-weight: 400;
        line-height: 33.6px;
    }
    .tour-description {
        font-size: 14px;
        font-weight: 300;
        line-height: 22.4px;
    }
    .tour-main-slider {
        height: 400px;
        margin-bottom: 8px;
    }
    .gallery-item {
        height: 120px;
    }
    .tour-nav-prev,
    .tour-nav-next {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }
    .tour-nav-prev::after,
    .tour-nav-next::after {
        font-size: 16px;
    }
}


/* ===========================================
   반응형 - 작은 모바일 (480px 이하)
   =========================================== */

@media (max-width: 480px) {
    .tour-main-slider {
        height: 300px;
    }
    .tour-gallery {
        gap: 4px;
    }
    .gallery-item {
        height: 80px;
    }
}


/* ===========================================
   Swiper 커스텀 스타일
   =========================================== */

.tour-swiper .swiper-button-disabled {
    opacity: 0.3;
}

.tour-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}