      
 



/* Banner轮播图（统一于 common.css） */


.banner-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
   
    animation: fadeInUp 1s ease-out;
}

.banner-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.banner-btn {
    background: #D2691E;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(210, 105, 30, 0.3);
}

/* 轮播图控制按钮（统一于 common.css） */

/* 指示点 */
/* 指示点（统一于 common.css） */


/* 主要内容区域 */
.main-content {
    background-image: url('../images/bg1.jpg');
    background-size: cover;
    background-position: center;
    padding-bottom: 30px;
}

/* 时间线介绍 */
.timeline-intro {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
    position: relative;
}

/* 唐朝艺术发展时间线 */
.timeline-section {
   
    padding: 0 20px;
    position: relative;
}


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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #D2691E, #CD853F);
    z-index: 0;
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    margin-bottom: 60px;
    position: relative;
    align-items: flex-start;
    justify-content: space-between;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    transform: none;
}

/* 左高右低：奇数组右卡片下移，偶数组右卡片（视觉上）下移 */
@media (min-width: 769px) {
    /* 奇数组：右侧是第二张卡片 */
    .timeline-item:nth-child(odd) .timeline-dot ~ .timeline-content {
        margin-top: 48px;
    }
    /* 偶数组：由于 row-reverse，右侧为第一张卡片 */
    .timeline-item:nth-child(even) .timeline-content:first-of-type {
        margin-top: 48px;
    }
    /* 偶数组的第二张卡片（在左侧）不下移 */
    .timeline-item:nth-child(even) .timeline-dot ~ .timeline-content {
        margin-top: 0;
    }
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    width: 45%;
    position: relative;
    transition: all 0.3s ease;
    z-index: 2;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #D2691E, #CD853F);
    border-radius: 50%;
    border: 6px solid rgba(245, 244, 240, 0.9);
    z-index: 2;
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.3);
}

.timeline-date {
    background:#D2691E;
    color: white;
    padding: 6px 12px;
    border-radius: 18px;
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    margin-left: 10px;
    box-shadow: 0 4px 12px rgba(210, 105, 30, 0.25);
    vertical-align: middle;
    white-space: nowrap;
}

.timeline-title-text {
    font-size: 18px;
    color: #8B4513;
    font-weight: bold;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
}

.timeline-description {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.timeline-bottom {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.timeline-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

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

.timeline-details {
    background: #F8F8F8;
    padding: 15px;
    border-radius: 8px;
    flex: 1;
}

.timeline-details h5 {
    color: #8B4513;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: bold;
}

.timeline-details ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.timeline-details li {
    font-size: 12px;
    color: #777;
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
}

.timeline-details li::before {
    content: '•';
    color: #D2691E;
    position: absolute;
    left: 0;
    font-weight: bold;
}


/* 历史人物卡片 */
.historical-figures {
    margin: 80px 0;
}

.figures-title {
    text-align: center;
    font-size: 28px;
    color: #8B4513;
    margin-bottom: 50px;
}

.figures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.figure-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.figure-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.figure-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.figure-card-content {
    padding: 25px;
}

.figure-name {
    font-size: 18px;
    color: #8B4513;
    font-weight: bold;
    margin-bottom: 10px;
}

.figure-title {
    font-size: 14px;
    color: #D2691E;
    margin-bottom: 15px;
}

.figure-description {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
}


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

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 平板设备响应式设计 */
@media (max-width: 1024px) and (min-width: 769px) {
    .timeline-content {
        width: 40%;
    }
    
    .timeline-item:nth-child(even) {
        transform: translateY(-20px);
    }
    
    .timeline-bottom {
        flex-direction: column;
        gap: 15px;
    }
    
    .timeline-image {
        width: 100px;
        height: 100px;
        align-self: center;
    }
}

/* 移动设备响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .banner-title {
        font-size: 32px;
    }
    
    .banner-subtitle {
        font-size: 16px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        margin-bottom: 40px;
        align-items: flex-start;
    }
    
    .timeline-item:nth-child(even) {
        transform: none;
    }
    
    .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px;
        margin-top: 20px;
    }
    
    .timeline::before {
        left: 20px;
        transform: translateX(-50%);
    }
    
    .timeline-dot {
        left: 20px;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    
    .timeline-section {
        padding: 60px 20px;
        margin: 0;
    }
    
    .figures-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-bottom {
        flex-direction: column;
        gap: 15px;
    }
    
    .timeline-image {
        width: 100px;
        height: 100px;
        align-self: center;
    }
}