/* 页面banner样式 */
.page-banner {
    margin-top: 80px;
    position: relative;
    height: 400px;
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

/* 历史时间轴样式 */
.history-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e60012;
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 60px;
    position: relative;
}

.time-point {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #e60012;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
}

.timeline-item .content {
    width: 45%;
    margin-left: auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.timeline-item:nth-child(even) .content {
    margin-left: 0;
    margin-right: auto;
}

.timeline-item .content img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* 民族特色样式 */
.ethnic-section {
    background: #f5f5f5;
    padding: 60px 0;
}

.ethnic-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.ethnic-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ethnic-image {
    height: 300px;
    overflow: hidden;
}

.ethnic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.ethnic-image:hover img {
    transform: scale(1.05);
}

.ethnic-info {
    padding: 30px;
}

.ethnic-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.features, .customs {
    margin-top: 20px;
}

.features h4, .customs h4 {
    color: #e60012;
    margin-bottom: 10px;
}

.features ul {
    list-style: none;
    padding-left: 20px;
}

.features ul li {
    margin-bottom: 5px;
    color: #666;
}

/* 饮食习俗样式 */
.custom-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.custom-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.video-area {
    flex: 1;
}

.video-area video {
    width: 100%;
    border-radius: 10px;
}

.custom-text {
    flex: 1;
}

.custom-text h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.custom-item {
    margin-top: 20px;
}

.custom-item h4 {
    color: #e60012;
    margin-bottom: 10px;
}

/* 美食典故样式 */
.story-section {
    background: #f5f5f5;
    padding: 60px 0;
}

.story-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.story-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.story-card:hover {
    transform: translateY(-5px);
}

.story-image {
    height: 200px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.story-image:hover img {
    transform: scale(1.05);
}

.story-content {
    padding: 20px;
}

.story-content h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    padding: 8px 20px;
    background: #e60012;
    color: #fff;
    border: none;
    border-radius: 5px;
    margin-top: 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.read-more:hover {
    background: #cc0000;
}

/* 动画效果 */
.timeline-item,
.ethnic-card,
.story-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 