/* ==========================================
   通用样式 - Common Styles
   ========================================== */

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

a:hover {
    color: #0066cc;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
}

/* 容器 */
.site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   头部导航 - Header Navigation
   ========================================== */

.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: #003d82;
    color: #fff;
    padding: 10px 0;
}

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

.header-info {
    display: flex;
    gap: 30px;
    font-size: 14px;
}

.header-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-info-item i {
    color: #ff9900;
}

.header-social {
    display: flex;
    gap: 15px;
}

.header-social a {
    color: #fff;
    font-size: 16px;
    transition: color 0.3s ease;
}

.header-social a:hover {
    color: #ff9900;
}

.header-main {
    padding: 20px 0;
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo-img {
    height: 60px;
    width: auto;
}

.site-logo-text h1 {
    font-size: 24px;
    color: #003d82;
    font-weight: 700;
    margin-bottom: 5px;
}

.site-logo-text p {
    font-size: 12px;
    color: #666;
    letter-spacing: 2px;
}

/* 导航菜单 */
.site-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #0066cc;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #0066cc;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* 移动端菜单按钮 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle-bar {
    width: 25px;
    height: 3px;
    background-color: #003d82;
    transition: all 0.3s ease;
}

/* ==========================================
   页面标题 - Page Banner
   ========================================== */

.page-banner {
    background: linear-gradient(135deg, #003d82 0%, #0066cc 100%);
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M0 0L100 100M100 0L0 100" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
    opacity: 0.3;
}

.page-banner-content {
    position: relative;
    z-index: 1;
}

.page-banner-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-banner-subtitle {
    font-size: 18px;
    opacity: 0.9;
    font-weight: 300;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 14px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item a:hover {
    color: #fff;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================
   区块标题 - Section Title
   ========================================== */

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

.section-title-main {
    font-size: 36px;
    color: #003d82;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title-main::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #ff9900);
    border-radius: 2px;
}

.section-title-sub {
    font-size: 16px;
    color: #666;
    margin-top: 20px;
    font-weight: 300;
    letter-spacing: 1px;
}

/* ==========================================
   按钮样式 - Buttons
   ========================================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #0066cc;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    background-color: #ff9900;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #e68a00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #0066cc;
    color: #0066cc;
}

.btn-outline:hover {
    background-color: #0066cc;
    color: #fff;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

/* ==========================================
   卡片样式 - Cards
   ========================================== */

.card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #003d82;
    margin-bottom: 10px;
}

.card-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.card-meta {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    font-size: 13px;
    color: #999;
}

.card-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================
   页脚 - Footer
   ========================================== */

.site-footer {
    background-color: #1a1a1a;
    color: #bbb;
    padding-top: 60px;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-section-title {
    font-size: 18px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #0066cc;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #0066cc;
    padding-left: 5px;
}

.footer-links i {
    font-size: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-contact-icon {
    color: #0066cc;
    font-size: 18px;
    margin-top: 3px;
}

.footer-contact-text strong {
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 14px;
}

.footer-links-bottom {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links-bottom a {
    font-size: 14px;
    color: #bbb;
}

.footer-links-bottom a:hover {
    color: #0066cc;
}

/* ==========================================
   响应式设计 - Responsive
   ========================================== */

@media (max-width: 992px) {
    .header-main-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .site-logo-text h1 {
        font-size: 18px;
    }

    .site-logo-text p {
        font-size: 10px;
    }

    .site-logo-img {
        height: 45px;
    }

    .site-nav {
        position: relative;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        position: absolute;
        top: calc(100% + 20px);
        right: 0;
        left: auto;
        min-width: 200px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        overflow: hidden;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 15px 20px;
        width: 100%;
    }

    .nav-link::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .page-banner-title {
        font-size: 32px;
    }

    .section-title-main {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .header-main {
        padding: 15px 0;
    }

    .site-logo {
        gap: 10px;
    }

    .site-logo-img {
        height: 40px;
    }

    .site-logo-text h1 {
        font-size: 16px;
        margin-bottom: 2px;
    }

    .site-logo-text p {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .nav-toggle {
        padding: 8px;
    }

    .nav-toggle-bar {
        width: 22px;
        height: 2.5px;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .page-banner {
        padding: 60px 0 40px;
    }

    .page-banner-title {
        font-size: 28px;
    }

    .section-title-main {
        font-size: 24px;
    }
}

/* ==========================================
   工具类 - Utility Classes
   ========================================== */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-50 {
    margin-top: 50px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-50 {
    margin-bottom: 50px;
}

.pt-60 {
    padding-top: 60px;
}

.pt-80 {
    padding-top: 80px;
}

.pb-60 {
    padding-bottom: 60px;
}

.pb-80 {
    padding-bottom: 80px;
}

.section-padding {
    padding: 80px 0;
}

.bg-white {
    background-color: #fff;
}

.bg-gray {
    background-color: #f8f9fa;
}

