/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
.header {
    background: #8B0000;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #FFD700;
    font-size: 24px;
    font-weight: bold;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav ul li a {
    color: #FFD700;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav ul li a:hover {
    color: #FFF;
    background: rgba(255,255,255,0.1);
}

/* 响应式导航 */
@media screen and (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav ul {
        gap: 15px;
    }
}

/* Banner样式 */
.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.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: 36px;
    margin-bottom: 20px;
}

/* 内容区域样式 */
.main {
    padding: 60px 0;
}

.culture-intro {
    text-align: center;
}

.culture-intro h2 {
    font-size: 32px;
    color: #8B0000;
    margin-bottom: 40px;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 15px;
}

.culture-item {
    background: #FFF;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.culture-item:hover {
    transform: translateY(-5px);
}

.culture-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.culture-item h3 {
    color: #8B0000;
    font-size: 20px;
    margin-bottom: 10px;
}

/* 页脚样式 */
.footer {
    background: #8B0000;
    color: #FFD700;
    padding: 20px 0;
    text-align: center;
} 

/* 简介区域样式 */
.intro {
    background: #F8F8F8;
    padding: 60px 0;
    text-align: center;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
}

.intro-text h2 {
    color: #8B0000;
    font-size: 32px;
    margin-bottom: 20px;
}

.intro-text p {
    color: #666;
    line-height: 1.8;
    font-size: 18px;
}

/* 最新动态样式 */
.news {
    padding: 60px 0;
    background: #FFF;
}

.news h2 {
    color: #8B0000;
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-item {
    background: #FFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    color: #8B0000;
    font-size: 20px;
    margin-bottom: 10px;
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: #8B0000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.read-more:hover {
    color: #A52A2A;
}

/* 文化名人样式 */
.masters {
    padding: 60px 0;
    background: #F8F8F8;
}

.masters h2 {
    color: #8B0000;
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
}

.masters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.master-item {
    text-align: center;
    background: #FFF;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.master-item:hover {
    transform: translateY(-5px);
}

.master-item img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.master-item h3 {
    color: #8B0000;
    font-size: 20px;
    margin-bottom: 5px;
}

.master-item p {
    color: #666;
}

/* 页脚样式更新 */
.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255,215,0,0.2);
}

.footer-section h3 {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #FFF;
}

.footer-section p {
    margin-bottom: 10px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

/* 响应式布局补充 */
@media screen and (max-width: 768px) {
    .news-grid,
    .masters-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
} 