
/* 全局变量 - 商务专业风格 */
:root {
    --primary-color: #0056b3; /* 商务蓝 */
    --secondary-color: #004494; /* 深蓝 */
    --accent-color: #ffc107; /* 警示黄/高亮 */
    --bg-color: #f8f9fa;
    --surface-color: #ffffff;
    --text-main: #333333;
    --text-light: #666666;
    --border-radius: 4px;
    --shadow: 0 2px 8px rgba(0, 86, 179, 0.1);
    --font-family: 'Arial', 'Helvetica', 'PingFang SC', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* 顶部导航 */
.bid-header {
    background: var(--surface-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links a {
    margin: 0 15px;
    font-weight: 500;
    color: var(--text-main);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.btn-login {
    background: transparent;
    color: var(--primary-color);
    padding: 8px 20px;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: bold;
}

.btn-login:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* 英雄区域 */
.hero-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    line-height: 1.2;
    color: var(--secondary-color);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.search-box input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.btn-search {
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-search:hover {
    background: var(--secondary-color);
}

.stats-row {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.hero-img-box {
    flex: 1;
}

.hero-img-box img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 5px solid var(--white);
}

/* 通用区块 */
.section-area {
    padding: 80px 0;
}

.bg-white {
    background: #ffffff;
}

.bg-gray {
    background: #f1f2f6;
}

.bg-blue {
    background: var(--primary-color);
    color: var(--white);
}

.section-head {
    text-align: center;
    margin-bottom: 50px;
}

.section-head h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.section-head.light h2 {
    color: var(--white);
}

.section-head p {
    color: var(--text-light);
}

.section-head.light p {
    color: #e3f2fd;
}

/* 项目列表卡片 */
.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 20px;
}

.project-card {
    background: var(--surface-color);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.tag-government { background: #e3f2fd; color: #1565c0; padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; }
.tag-construction { background: #e8f5e9; color: #2e7d32; padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; }
.tag-service { background: #fff3e0; color: #ef6c00; padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; }
.tag-material { background: #f3e5f5; color: #7b1fa2; padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; }

.date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.project-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.location {
    color: var(--text-light);
    font-size: 0.9rem;
}

.btn-detail {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
}

.btn-detail:hover {
    color: var(--secondary-color);
}

.load-more {
    text-align: center;
    margin-top: 40px;
}

.btn-load {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 20px;
    transition: all 0.3s;
}

.btn-load:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* 结果表格 */
.result-table-wrapper {
    overflow-x: auto;
    background: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.result-table {
    width: 100%;
    border-collapse: collapse;
}

.result-table th, .result-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.result-table th {
    background: #f8f9fa;
    color: var(--secondary-color);
    font-weight: bold;
}

.result-table tr:hover {
    background: #f1f8ff;
}

.link-view {
    color: var(--primary-color);
    text-decoration: underline;
}

/* 指南步骤 */
.guide-steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.step-card {
    background: rgba(255,255,255,0.1);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    flex: 1;
    border: 1px solid rgba(255,255,255,0.2);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.step-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 页脚 */
.site-footer {
    background: #003366;
    color: #d6eaf8;
    padding: 60px 0 20px;
}

.footer-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--white);
    text-decoration: underline;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #004494;
    font-size: 0.85rem;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 15px;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .stats-row {
        justify-content: center;
    }

    .project-list {
        grid-template-columns: 1fr;
    }

    .guide-steps {
        flex-direction: column;
    }

    .footer-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
