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

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

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

/* 顶部导航 - 与 Banner 共享黑色底色 */
.navbar {
    background: #000;
    padding: 18px 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    border-bottom: 2px solid #ff0000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 2px;
}

.navbar .nav-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.navbar .nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 0;
    transition: all 0.3s;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid transparent;
}

.navbar .nav-links a:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.navbar .complaint-btn {
    background: #ff0000;
    padding: 10px 25px;
    border-radius: 0;
    font-weight: 700;
    border: 2px solid #ff0000;
}

.navbar .complaint-btn:hover {
    background: #fff !important;
    color: #ff0000 !important;
    border-color: #fff;
}

/* Banner - 占满首屏，为图片预留位置 */
.banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Banner 背景图片容器 */
.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Banner 背景色蒙版 */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(20,20,20,0.85) 100%);
    z-index: 2;
}

/* Banner 内容 */
.banner .container {
    position: relative;
    z-index: 3;
    text-align: center;
    padding-top: 60px;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.banner .subtitle {
    font-size: 20px;
    opacity: 0.9;
    letter-spacing: 2px;
}

.banner h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 900;
    letter-spacing: 5px;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(255, 0, 0, 0.5);
}

/* 响应式 */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }
    
    .navbar .logo {
        font-size: 20px;
    }
    
    .navbar .nav-links {
        gap: 10px;
    }
    
    .navbar .nav-links a {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .banner {
        min-height: 500px;
        height: auto;
        padding: 100px 0 60px;
    }
    
    .banner h1 {
        font-size: 32px;
        letter-spacing: 2px;
    }
    
    .banner .subtitle {
        font-size: 16px;
    }
}

/* 导语部分 */
.intro {
    background: #f8f9fa;
    padding: 60px 0;
}

.intro h2 {
    color: #1e3c72;
    margin-bottom: 30px;
    font-size: 32px;
    text-align: center;
}

.intro .data-source {
    background: #fff;
    padding: 20px;
    border-left: 4px solid #1e3c72;
    margin-bottom: 30px;
    border-radius: 4px;
}

.intro .content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.intro .content p {
    margin-bottom: 15px;
    text-align: justify;
    font-size: 16px;
    line-height: 1.8;
}

.intro .highlight {
    color: #ff6b6b;
    font-weight: bold;
}

/* 数据看板 */
.dashboard {
    padding: 60px 0;
    background: #fff;
}

.dashboard h2 {
    color: #1e3c72;
    margin-bottom: 40px;
    font-size: 32px;
    text-align: center;
}

.dashboard .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.dashboard .stat-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #667eea;
    transition: transform 0.3s, box-shadow 0.3s;
}

.dashboard .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.dashboard .stat-card h3 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 20px;
}

.dashboard .stat-card .stat-number {
    font-size: 36px;
    color: #ff6b6b;
    font-weight: bold;
    margin-bottom: 10px;
}

.dashboard .stat-card .stat-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.dashboard .stat-card.warning {
    border-left-color: #ff6b6b;
}

.dashboard .stat-card.success {
    border-left-color: #51cf66;
}

.dashboard .stat-card.info {
    border-left-color: #339af0;
}

/* 问题分类 */
.issues {
    padding: 60px 0;
    background: #f8f9fa;
}

.issues h2 {
    color: #1e3c72;
    margin-bottom: 40px;
    font-size: 32px;
    text-align: center;
}

.issues .issue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.issues .issue-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.issues .issue-card:hover {
    transform: translateY(-3px);
}

.issues .issue-card .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.issues .issue-card h3 {
    color: #1e3c72;
    margin-bottom: 10px;
    font-size: 18px;
}

.issues .issue-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 底部 */
.footer {
    background: #1e3c72;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
}

.footer a {
    color: #fff;
    text-decoration: underline;
}

.footer .quick-links {
    margin: 20px 0;
}

.footer .quick-links a {
    margin: 0 15px;
    display: inline-block;
}

/* 响应式 */
@media (max-width: 768px) {
    .banner h1 {
        font-size: 32px;
    }

    .navbar .nav-links {
        gap: 10px;
    }

    .navbar .nav-links a {
        padding: 5px 8px;
        font-size: 12px;
    }
}
