/*
 * 人文历史页面样式 - 湘中明珠·魅力邵阳旅游网站
 * 作者：[刘稳]
 * 日期：[2025-06-10]
 * 描述：人文历史页面的专用样式
 */

/* 人文历史页面顶部横幅 */
.page-banner {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/syyszx.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-bottom: 0;
}

/* 历史简介区块样式 */
.history-intro {
    padding: 80px 50px;
    background-color: var(--light-color);
}

.history-content {
    max-width: 1200px;
    margin: 0 auto;
}

.history-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 历史时间线区域样式 */
.timeline {
    padding: 80px 50px;
    background-color: white;
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* 垂直线 */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

/* 时间线条目 */
.timeline-item {
    padding: 20px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 40px;
}

/* 时间点圆圈 */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    top: 30px;
    z-index: 1;
}

/* 左侧条目 */
.timeline-left {
    left: 0;
    text-align: right;
}

/* 右侧条目 */
.timeline-right {
    left: 50%;
    text-align: left;
}

/* 时间点位置 */
.timeline-left::after {
    right: -12px;
}

.timeline-right::after {
    left: -12px;
}

/* 时间线内容盒子 */
.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: var(--box-shadow);
}

/* 时间线年份 */
.timeline-year {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 20px;
}

/* 时间线文本 */
.timeline-text {
    line-height: 1.6;
}

/* 文化遗产区块样式 */
.heritage {
    padding: 80px 50px;
    background-color: var(--light-color);
}

/* 文化遗产网格布局 */
.heritage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 遗产条目样式 */
.heritage-item {
    display: flex;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.heritage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* 遗产图片 */
.heritage-img {
    flex: 1;
    min-width: 180px;
}

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

/* 遗产内容 */
.heritage-content {
    flex: 2;
    padding: 20px;
}

.heritage-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.heritage-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}

/* 名人风采区块样式 */
.famous-people {
    padding: 80px 50px;
    background-color: white;
}

/* 名人卡片网格布局 */
.people-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 名人卡片样式 */
.people-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.people-card:hover {
    transform: translateY(-10px);
}

/* 名人图片 */
.people-img {
    height: 250px;
    overflow: hidden;
}

.people-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

/* 名人信息 */
.people-info {
    padding: 20px;
    text-align: center;
}

.people-info h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.people-info .period {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.people-info p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
}

/* 响应式布局调整 */
@media (max-width: 992px) {
    .heritage-grid {
        grid-template-columns: 1fr;
    }
    
    .people-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* 小屏幕时间线调整为单列 */
    .timeline-container::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        text-align: left;
    }
    
    .timeline-item::after {
        left: 20px;
    }
    
    .timeline-left::after,
    .timeline-right::after {
        left: 20px;
    }
    
    .timeline-right {
        left: 0;
    }
    
    .people-cards {
        grid-template-columns: 1fr;
    }
} 