/* Customize Tour Page Styles */

/* Body */
.customize-tour-body {
    background-color: #f5f0e0;
    font-family: 'Pretendard', sans-serif;
    overflow-x: hidden;
}

/* Main Container */
.customize-tour-page {
    padding-top: 161px;
    /* header height 90px + spacing 71px */
    padding-bottom: 0;
}

/* Breadcrumb Section */
.breadcrumb {
    padding: 0 64px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 88px;
}

.breadcrumb-item {
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    color: #000000;
}

.breadcrumb-separator {
    width: 40px;
    height: 1px;
    background-color: #000000;
}

.second-breadcrumb {
    margin-top: 162px;
    margin-bottom: 88px;
}

/* Hero Section */
.hero-section {
    padding: 0 64px;
    margin-bottom: 115px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-title-line {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-title {
    font-size: 70px;
    font-weight: 600;
    line-height: 80px;
    color: #000000;
    margin: 0;
}

.hero-icon {
    width: 66px;
    height: 66px;
    flex-shrink: 0;
}

.hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-subtitle-line {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-image {
    width: 146px;
    height: 74px;
    flex-shrink: 0;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-subtitle {
    font-size: 70px;
    font-weight: 600;
    line-height: 80px;
    color: #000000;
    margin: 0;
}

.hero-description {
    font-size: 70px;
    font-weight: 600;
    line-height: 80px;
    color: #000000;
    margin: 0;
}

/* Banner Section */
.banner-section {
    width: 100%;
    height: 83px;
    overflow: hidden;
    background-color: #ff7632;
    margin-bottom: 0;
}

.banner-scroll {
    width: 100%;
    height: 100%;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 9px 20px;
    animation: scroll-banner 20s linear infinite;
    white-space: nowrap;
}

@keyframes scroll-banner {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.33%);
    }
}

.banner-item {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.banner-text {
    font-size: 50px;
    font-weight: 600;
    line-height: 65px;
    color: #ffffff;
}

.banner-separator {
    width: 3px;
    height: 25px;
    background-color: #ffffff;
    flex-shrink: 0;
}

.banner-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

.banner-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Large Image Section */
.large-image-section {
    width: 100%;
    height: 798px;
    margin-bottom: 0;
}

.large-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.large-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Family Website Section */
.family-website-section {
    padding: 0 64px;
    margin-bottom: 230px;
}

.family-website-title {
    font-size: 50px;
    font-weight: 600;
    line-height: 65px;
    color: #000000;
    margin: 0;
}

/* Tour Cards Section */
.tour-cards-section {
    padding: 0 64px;
    display: grid;
    grid-template-columns: 906px 755px;
    grid-template-rows: auto auto;
    gap: 0;
    margin-bottom: 0;
    position: relative;
}

/* Card Layout */
.tour-card-1 {
    grid-column: 1;
    grid-row: 1;
}

.tour-card-2 {
    grid-column: 2;
    grid-row: 1;
    margin-left: 59px;
}

.tour-card-3 {
    grid-column: 1 / 3;
    grid-row: 2;
    margin-left: 256px;
    margin-top: 0;
}

/* Tour Card */
.tour-card {
    position: relative;
}

.card-link {
    display: block;
    text-decoration: none;
    position: relative;
}

.card-image {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.tour-card-1 .card-image {
    height: 560px;
}

.tour-card-2 .card-image {
    height: 480px;
}

.tour-card-3 .card-image {
    height: 563px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-link:hover .card-image img {
    transform: scale(1.05);
}

.card-footer {
    background-color: #000000;
    height: 50px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.card-label {
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    color: #ffffff;
}

.card-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    color: #ffffff;
    flex: 1;
}

.card-title img {
    width: 30px;
    height: 30px;
    margin-left: 10px;
    vertical-align: bottom;
}

.card-arrow {
    width: 20px;
    height: 20px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.card-arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Responsive Design */
@media screen and (max-width: 1440px) {

    .hero-title,
    .hero-subtitle,
    .hero-description {
        font-size: 60px;
        line-height: 70px;
    }

    .hero-icon {
        width: 56px;
        height: 56px;
    }

    .family-website-title {
        font-size: 42px;
        line-height: 56px;
    }

    .tour-cards-section {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .tour-card-2 {
        margin-left: 0;
    }

    .tour-card-3 {
        margin-left: 0;
        grid-column: 1 / 3;
    }
}

@media screen and (max-width: 1200px) {
    .customize-tour-page {
        padding-top: 120px;
    }

    .breadcrumb {
        padding: 0 32px;
        margin-bottom: 60px;
    }

    .hero-section {
        padding: 0 32px;
        margin-bottom: 80px;
    }

    .hero-title,
    .hero-subtitle,
    .hero-description {
        font-size: 48px;
        line-height: 58px;
    }

    .hero-icon {
        width: 48px;
        height: 48px;
    }

    .hero-image {
        width: 120px;
        height: 60px;
    }

    .family-website-section {
        padding: 0 32px;
        margin-bottom: 160px;
    }

    .family-website-title {
        font-size: 36px;
        line-height: 48px;
    }

    .tour-cards-section {
        padding: 0 32px;
    }
}

@media screen and (max-width: 768px) {
    .breadcrumb {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .breadcrumb-separator {
        width: 30px;
    }

    .hero-title-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .hero-subtitle-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .hero-title,
    .hero-subtitle,
    .hero-description {
        font-size: 32px;
        line-height: 42px;
    }

    .hero-icon {
        width: 40px;
        height: 40px;
    }

    .banner-text {
        font-size: 32px;
        line-height: 42px;
    }

    .family-website-title {
        font-size: 28px;
        line-height: 38px;
    }

    .tour-cards-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tour-card-1,
    .tour-card-2,
    .tour-card-3 {
        grid-column: 1;
        margin-left: 0;
    }

    .tour-card-1 .card-image,
    .tour-card-2 .card-image,
    .tour-card-3 .card-image {
        height: 400px;
    }
}