/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    line-height: 1.6;
    color: #ffcc00; /* 主要文本颜色改为黄色 */
    background-color: #1a1a1a;
}

/* 头部样式 */
#main-header {
    background-color: #004aad;
    color: #ffcc00;
    padding: 30px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1 {
    color: #ffcc00;
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: bold;
}

.subtitle {
    color: #ffd700;
    font-size: 18px;
    margin-bottom: 0;
}

/* 导航样式 */
nav {
    background-color: #2a2a2a;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.nav-list li {
    margin: 0 10px;
}

.nav-list a {
    display: block;
    padding: 15px 20px;
    color: #ffcc00;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.nav-list a:hover {
    background-color: #404040;
    color: #ffff00;
    transform: translateY(-2px);
}

/* 主要内容样式 */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section {
    margin-bottom: 60px;
    background-color: #252525;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

h2 {
    color: #ffcc00;
    font-size: 28px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffcc00;
    text-align: center;
}

h3 {
    color: #ffd700;
    font-size: 22px;
    margin-bottom: 15px;
}

/* 关于我部分样式 */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.profile-image {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.profile-image img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    border: 3px solid #ffcc00;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
}

.about-text {
    flex: 2;
    min-width: 300px;
}

.intro-text {
    font-size: 18px;
    color: #ffcc00;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* 工作经验部分样式 */
.experience-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.job-experience {
    flex: 2;
    min-width: 300px;
}

.job-skills {
    flex: 1;
    min-width: 250px;
}

.job-period {
    color: #ffd700;
    font-style: italic;
    margin-bottom: 15px;
    font-size: 16px;
}

.job-responsibilities, .skills-list {
    padding-left: 20px;
    margin-bottom: 20px;
}

.job-responsibilities li, .skills-list li {
    margin-bottom: 10px;
    color: #ffcc00;
    list-style-type: square;
}

/* 性格特点部分样式 */
.personality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.personality-item {
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    border-left: 4px solid #ffcc00;
}

.personality-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.personality-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    max-height: 400px;
    object-fit: cover;
    border: 2px solid #ffcc00;
}

/* 兴趣爱好部分样式 */
.hobbies-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.hobby-item {
    background-color: #2a2a2a;
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hobby-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.hobby-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    border: 2px solid #ffcc00;
}

/* 联系方式部分样式 */
.contact-content {
    text-align: center;
}

.contact-list {
    list-style: none;
    margin-bottom: 25px;
    display: inline-block;
    text-align: left;
}

.contact-list li {
    margin-bottom: 15px;
    color: #ffcc00;
    font-size: 16px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 10px 20px;
    color: #ffcc00;
    text-decoration: none;
    background-color: #333;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid #ffcc00;
}

.social-link:hover {
    background-color: #ffcc00;
    color: #1a1a1a;
    transform: translateY(-3px);
}

/* 页脚样式 */
#main-footer {
    background-color: #1a1a1a;
    color: #ffcc00;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content p {
    margin-bottom: 10px;
    color: #ffcc00;
}

.footer-content p:last-child {
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-list li {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }
    
    .section {
        padding: 20px;
        margin-bottom: 40px;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .personality-grid, .hobbies-content {
        grid-template-columns: 1fr;
    }
}

/* 学院信息样式 */
.school-info {
    margin-top: 30px;
    text-align: center;
    padding: 20px;
    background-color: #2a2a2a;
    border-radius: 8px;
}

.school-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 2px solid #ffcc00;
    max-height: 400px;
    object-fit: cover;
}

/* 校园生活部分样式 */
.campus-content {
    text-align: center;
}

.campus-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 2px solid #ffcc00;
    max-height: 500px;
    object-fit: cover;
}

.campus-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #ffcc00;
    max-width: 800px;
    margin: 0 auto;
}

/* 响应式调整 */
@media (max-width: 480px) {
    main {
        padding: 20px 15px;
    }
    
    .intro-text {
        font-size: 16px;
    }
    
    .contact-list {
        text-align: center;
    }
    
    .school-image, .campus-image {
        max-height: 300px;
    }
}