.text-primary {
    color: #8f71d0 !important;
}

/* 移除顶部空白 */
.main-content {
    padding-top: 0 !important;
}

/* 顶部banner样式 */
.hero-banner {
    width: 100%;
    height: 260px;
    background-image: url("../img/japan/private-tour.c8c0c28bf931.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.hero-title {
    position: absolute;
    left: 10%;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    z-index: 2;
}


/* 文字介绍区域样式 */
.intro-section {
    max-width: 850px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.intro-text {
    font-size: 1rem;
    color: #333;
    margin-bottom: 30px;
    white-space: pre-line; /* 保留文本中的换行符 */
}

.card-text {
    white-space: pre-line; /* 保留文本中的换行符 */
}

.intro-section :first-child:first-letter {
    font-size: 180%;
    font-weight: 700;
    color: #bb18be;
}

/* 景点展示样式 */
.tour-section {
    margin-bottom: 50px;
}

.tour-category {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.tour-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-5px);
}

.tour-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 0;
}

.tour-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.tour-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.tour-card-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* 相关景点样式 */
.related-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.related-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1;
}

.related-footer {
    margin-top: auto;
}

/* 媒体查询 - 响应式布局 */
@media (max-width: 992px) {
    .tour-grid,
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: 200px;
    }
    
    .hero-title {
        font-size: 2rem;
        left: 5%;
    }
    
    .intro-section {
        margin-bottom: 30px;
    }
    
    .intro-text {
        font-size: 0.95rem;
    }
    
    .intro-section :first-child:first-letter {
        font-size: 150%;
    }
    
    .tour-section {
        margin-bottom: 30px;
    }
    
    .tour-category {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .tour-grid,
    .related-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tour-image,
    .related-image {
        height: 180px;
    }
    
    .tour-title,
    .related-title {
        font-size: 1.1rem;
    }
    
    .tour-description,
    .related-description {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        width: 80%;
        text-align: left;
    }
    
    .tour-card-content,
    .related-content {
        padding: 12px;
    }
    
    .related-title {
        margin-bottom: 15px;
    }
} 