* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding-top: 70px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
}

.logo span {
    color: #3498db;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #3498db;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: #3498db;
    left: 0;
    bottom: -8px;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 英雄区域 */
.hero {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 0 0 30px 30px;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 30px;
}

.scroll-down {
    display: inline-block;
    margin-top: 20px;
    color: #3498db;
    font-size: 1.2rem;
    animation: bounce 2s infinite;
    text-decoration: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* 主要内容区域 */
.content-section {
    background-color: #fff;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.content-section:hover {
    transform: translateY(-5px);
}

.section-title {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
    display: inline-block;
}

.section-title i {
    margin-right: 15px;
    color: #3498db;
}

.experience-item, .story-item, .knowledge-item {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.experience-item:last-child, .story-item:last-child, .knowledge-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.item-title {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.item-title-text {
    display: flex;
    align-items: center;
}

.item-title i {
    margin-right: 10px;
    color: #3498db;
}

.item-meta {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.item-meta i {
    margin-right: 8px;
}

.item-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.item-content p {
    margin-bottom: 15px;
}

.highlight {
    background-color: #f8f9fa;
    padding: 20px;
    border-left: 4px solid #3498db;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

/* 查看详情按钮 */
.view-detail-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
    text-decoration: none;
}

.view-detail-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(52, 152, 219, 0.2);
    color: white;
}

.view-detail-btn i {
    margin-right: 8px;
}

/* 详细页面样式 */
.detail-hero {
    text-align: center;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    margin-bottom: 40px;
}

.detail-hero h1 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.detail-meta {
    color: #7f8c8d;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.detail-meta span {
    display: flex;
    align-items: center;
}

.detail-meta i {
    margin-right: 8px;
}

.detail-content {
    background-color: #fff;
    border-radius: 15px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.detail-section {
    margin-bottom: 40px;
}

.detail-section h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.detail-section h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.detail-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.detail-section ul, .detail-section ol {
    padding-left: 25px;
    margin-bottom: 20px;
}

.detail-section li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.detail-highlight {
    background-color: #f8f9fa;
    padding: 25px;
    border-left: 5px solid #3498db;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.detail-highlight p {
    margin-bottom: 0;
    font-style: italic;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.detail-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.detail-image:hover {
    transform: scale(1.03);
}

.back-to-list {
    display: inline-block;
    background-color: #2c3e50;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
}

.back-to-list:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.back-to-list i {
    margin-right: 10px;
}

/* 页脚 */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.social-icons {
    margin: 20px 0;
}

.social-icons a {
    color: #ecf0f1;
    font-size: 1.5rem;
    margin: 0 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #3498db;
}

.back-to-home {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    display: inline-block;
}

.back-to-home:hover {
    text-decoration: underline;
}

.back-to-top {
    display: inline-block;
    background-color: #3498db;
    color: white;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    position: fixed;
    bottom: 30px;
    right: 30px;
    text-align: center;
    font-size: 1.3rem;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top:hover {
    background-color: #2980b9;
    transform: translateY(-5px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1, .detail-hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .content-section, .detail-content {
        padding: 25px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .item-title {
        font-size: 1.4rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .detail-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .images-grid {
        grid-template-columns: 1fr;
    }
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: #2c3e50;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active li {
        margin: 15px 0;
    }
}