/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.logo-icon {
    margin-right: 10px;
    font-size: 24px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #d4af37;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.login-btn {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    padding: 5px 15px;
}

.register-btn {
    text-decoration: none;
    color: #fff;
    background-color: #d4af37;
    font-size: 14px;
    padding: 5px 15px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.register-btn:hover {
    background-color: #b8942a;
}

/* 首页英雄区样式 */
.hero {
    height: 100vh;
    background-image: url('背景图.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: #d4af37;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #b8942a;
}

/* 部门介绍页面样式 */
.about-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #666;
}

.story-section {
    padding: 80px 0;
    background-color: #fff;
}

.story-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.story-image {
    flex: 1;
}

.story-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.story-text {
    flex: 1;
}

.story-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.story-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

/* 核心价值观样式 */
.values-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.values-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.values-content h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

.values-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.value-item {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #d4af37;
}

.value-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* 部门活动页面样式 */
.activities-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.activities-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.activities-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
}

.activities-content p {
    font-size: 16px;
    margin-bottom: 40px;
    color: #666;
}

.activities-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.activity-item {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.activity-item:hover {
    transform: translateY(-5px);
}

.activity-image {
    flex: 0 0 200px;
    height: 200px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.activity-item:hover .activity-image img {
    transform: scale(1.1);
}

.activity-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.activity-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.activity-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

footer p {
    font-size: 14px;
}

/* 核心板块样式 */
.core-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.core-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.core-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
}

.core-content p {
    font-size: 16px;
    margin-bottom: 40px;
    color: #666;
}

.core-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.core-item {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border: 2px solid #d4af37;
}

.core-item:hover {
    transform: translateY(-5px);
}

.core-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.core-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.core-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* 学堂寄语样式 */
.quote-section {
    padding: 80px 0;
    background-color: #f0f0f0;
    color: #333;
    text-align: center;
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
}

.quote-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #333;
}

.quote-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.quote-author {
    font-size: 16px;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        width: 100%;
    }
    
    .header-content {
        flex-direction: column;
        padding: 10px 0;
    }
    
    nav ul {
        margin: 10px 0;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .story-content {
        flex-direction: column;
        text-align: center;
    }
    
    .values-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .value-item {
        width: 100%;
        max-width: 400px;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .activity-item {
        flex-direction: column;
    }
    
    .activity-image {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .core-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .core-item {
        width: 100%;
        max-width: 400px;
    }
    
    .quote-content p {
        font-size: 16px;
    }
}