/* 整体容器样式 */
.intro-container {
    display: flex;
    max-width: 1200px;
    margin: 30px auto;
    gap: 30px;
}

/* 左侧目录样式 */
.menu {
    width: 200px;
    position: sticky;
    top: 80px;
    align-self: flex-start;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.menu ul {
    list-style: none;
    padding: 0;
}

.menu li {
    margin-bottom: 15px;
}

.menu a {
    color: #333;
    text-decoration: none;
    padding: 10px;
    display: block;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.menu a:hover {
    background: #4a90e2;
    color: white;
}

/* 右侧内容样式 */
.content {
    flex: 1;
}

/* 章节通用样式 */
.section {
    background: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    color: #4a90e2;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    font-size: 1.1em;
}

/* 城市概览样式 */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.overview-card {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-5px);
}

.overview-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* 历史沿革样式 */
.history-timeline {
    position: relative;
    padding-left: 30px;
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
    padding-left: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4a90e2;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 0;
    width: 2px;
    background: #4a90e2;
}

.time {
    font-weight: bold;
    color: #4a90e2;
    margin-bottom: 10px;
}

/* 地理环境样式 */
.geo-content {
    display: flex;
    gap: 30px;
}

.geo-map {
    flex: 1;
}

.geo-map img {
    width: 100%;
    border-radius: 8px;
}

.geo-info {
    flex: 1;
}

.info-item {
    margin-bottom: 20px;
}

.info-item h3 {
    color: #4a90e2;
    margin-bottom: 10px;
}

/* 文化特色样式 */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.culture-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.culture-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.culture-card:hover img {
    transform: scale(1.05);
}

.culture-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

/* 经济发展样式 */
.economy-content {
    display: flex;
    gap: 30px;
}

.economy-stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-number {
    font-size: 1.8em;
    color: #4a90e2;
    font-weight: bold;
    margin: 10px 0;
}

.economy-highlights {
    flex: 1;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.economy-highlights ul {
    padding-left: 20px;
}

.economy-highlights li {
    margin-bottom: 10px;
    color: #666;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .intro-container {
        flex-direction: column;
    }
    
    .menu {
        position: static;
        width: auto;
    }
    
    .overview-grid,
    .culture-grid {
        grid-template-columns: 1fr;
    }
    
    .geo-content,
    .economy-content {
        flex-direction: column;
    }
    
    .economy-stats {
        grid-template-columns: 1fr;
    }
} 

.image-gallery {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    gap: 15px;
}

.image-gallery img {
    width: 32%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
    cursor: pointer;
} 