 /* 重置样式与基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #f9f9f9;
    --dark-color: #333;
    --gray-color: #9da2a3;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #f5f7fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航样式 */
header {
    background-color: var(--primary-color);
    color: blue;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* 轮播图样式 */
.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 0 0 10px 10px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide .slide-content {
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
    max-width: 80%;
}

.carousel-slide h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.carousel-slide p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: white;
    transform: scale(1.2);
}

/* 搜索框样式 */
.search-section {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.search-container {
    width: 100%;
    /*max-width: 600px;*/
    background-color: white;
    border-radius: 50px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    padding: 5px;
}

.search-input {
    flex-grow: 1;
    border: none;
    padding: 15px 25px;
    font-size: 1.1rem;
    outline: none;
}

.search-button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-button:hover {
    background-color: #2980b9;
}

/* 内容资讯区域样式 */
.content-section {
    margin: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.content-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 200px;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.card-content p {
    color: #666;
    margin-bottom: 20px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--accent-color);
    gap: 8px;
}

.card-link i {
    transition: var(--transition);
}

.card-link:hover i {
    transform: translateX(5px);
}

/* 地图图表区域样式 */
.map-section {
    margin: 60px 0;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
    background-color: var(--primary-color);
    color: white;
}

.map-title {
    font-size: 1.8rem;
    font-weight: 600;
}

.map-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.map-container {
    display: flex;
    flex-wrap: wrap;
}

.map-chart {
    width: 70%;
    height: 550px;
    padding: 15px;
}

.map-stats {
    width: 30%;
    padding: 30px;
    background-color: #f9f9f9;
    border-left: 1px solid #eee;
}

.stats-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.stats-item {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #ddd;
}

.stats-item:last-child {
    border-bottom: none;
}

.stats-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.stats-label span:first-child {
    color: #666;
}

.stats-label span:last-child {
    font-weight: 600;
    color: var(--primary-color);
}

.stats-bar {
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.stats-bar-fill {
    height: 100%;
    background: linear-gradient(to right, var(--secondary-color), #2ecc71);
    border-radius: 4px;
}

.stats-total {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 10px;
    text-align: center;
}

.stats-total h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.stats-total .total-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

/* 列表表格区域样式 */
.tables-section {
    margin: 60px 0;
}

.tables-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.table-container {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.table-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.table-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.table-header i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.table-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.table-content {
    padding: 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table tr {
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.data-table tr:hover {
    background-color: #f9f9f9;
}

.data-table tr:last-child {
    border-bottom: none;
}

.data-table td {
    padding: 18px 25px;
}

.table-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.item-index {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background-color: #f0f7ff;
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50%;
}

.item-title {
    flex-grow: 1;
    font-weight: 500;
    color: #444;
}

.item-date {
    font-size: 0.9rem;
    color: #888;
    white-space: nowrap;
}

.table-footer {
    padding: 20px 25px;
    text-align: center;
    border-top: 1px solid #eee;
}

.table-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.table-link:hover {
    color: var(--accent-color);
    gap: 12px;
}

/* 页脚样式 */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .map-container {
        flex-direction: column;
    }

    .map-chart, .map-stats {
        width: 100%;
    }

    .map-chart {
        height: 500px;
    }

    .map-stats {
        border-left: none;
        border-top: 1px solid #eee;
    }
}

@media (max-width: 992px) {
    .carousel-container {
        height: 400px;
    }

    .carousel-slide h2 {
        font-size: 2rem;
    }

    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tables-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tables-grid .table-container:last-child {
        grid-column: span 2;
        max-width: 80%;
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .map-chart {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a::after {
        display: none;
    }

    .carousel-container {
        height: 300px;
    }

    .carousel-slide h2 {
        font-size: 1.5rem;
    }

    .carousel-slide p {
        font-size: 1rem;
    }

    .search-container {
        flex-direction: column;
        border-radius: 10px;
    }

    .search-input {
        padding: 15px;
        border-bottom: 1px solid #eee;
    }

    .search-button {
        border-radius: 0 0 10px 10px;
        padding: 15px;
        justify-content: center;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .tables-grid {
        grid-template-columns: 1fr;
    }

    .tables-grid .table-container:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .map-chart {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .carousel-container {
        height: 250px;
    }

    .carousel-slide .slide-content {
        padding: 15px;
    }

    .carousel-slide h2 {
        font-size: 1.2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .map-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .map-chart {
        height: 350px;
    }
}