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

:root {
    --primary-blue: #0f4c81;
    --accent-gold: #d4af37;
    --dark-text: #1a1a1a;
    --light-text: #666666;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--bg-white);
}

/* 顶部导航 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 76, 129, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.site-logo {
    font-size: 26px;
    font-weight: bold;
    color: var(--accent-gold);
    text-decoration: none;
    letter-spacing: 1px;
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-link {
    color: var(--bg-white);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

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

.mobile-menu-toggle {
    display: none;
}

.mobile-menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-icon span {
    width: 25px;
    height: 3px;
    background: var(--bg-white);
    transition: all 0.3s ease;
}

/* 主视觉横幅 */
.hero-banner {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    overflow: hidden;
}

.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.88), rgba(15, 76, 129, 0.75));
    z-index: -1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--bg-white);
    padding: 0 20px;
    max-width: 900px;
}

.hero-title {
    font-size: 72px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 32px;
    color: var(--accent-gold);
    margin-bottom: 30px;
    font-weight: 500;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 50px;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.cta-button.primary {
    background: var(--accent-gold);
    color: var(--dark-text);
}

.cta-button.primary:hover {
    background: #c19a2e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-button.secondary {
    background: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.cta-button.secondary:hover {
    background: var(--bg-white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* 通用内容容器 */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-heading {
    font-size: 42px;
    font-weight: bold;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 15px;
}

.section-intro {
    font-size: 18px;
    color: var(--light-text);
    text-align: center;
    margin-bottom: 60px;
}

/* 核心优势 */
.advantages-section {
    padding: 120px 0;
    background: var(--bg-white);
}

.advantages-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.advantage-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-light);
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-title {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.card-text {
    font-size: 16px;
    color: var(--light-text);
    line-height: 1.8;
}

/* 业务服务预览 */
.services-preview {
    padding: 120px 0;
    background: var(--bg-light);
}

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

.service-preview-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.service-preview-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-thumbnail {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.service-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-preview-card:hover .service-thumbnail img {
    transform: scale(1.1);
}

.service-details {
    padding: 30px;
}

.service-name {
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.service-summary {
    font-size: 15px;
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.service-more:hover {
    color: var(--accent-gold);
}

/* 精选作品 */
.featured-works {
    padding: 120px 0;
    background: var(--bg-white);
}

.works-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-bottom: 50px;
}

.work-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.work-image-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.work-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-card:hover .work-image-container img {
    transform: scale(1.1);
}

.work-hover-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 76, 129, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-card:hover .work-hover-layer {
    opacity: 1;
}

.work-view-link {
    padding: 14px 35px;
    background: var(--accent-gold);
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.work-view-link:hover {
    background: #c19a2e;
    transform: scale(1.05);
}

.work-meta {
    padding: 30px;
}

.work-category {
    display: inline-block;
    padding: 6px 18px;
    background: var(--primary-blue);
    color: var(--bg-white);
    border-radius: 25px;
    font-size: 13px;
    margin-bottom: 15px;
}

.work-title {
    font-size: 22px;
    color: var(--dark-text);
    margin-bottom: 12px;
    line-height: 1.4;
}

.work-description {
    font-size: 15px;
    color: var(--light-text);
    line-height: 1.7;
}

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

.view-all-button {
    padding: 16px 45px;
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.view-all-button:hover {
    background: var(--primary-blue);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* 数据展示 */
.statistics-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue), #1a5a9e);
    color: var(--bg-white);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
}

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

.stat-figure {
    font-size: 56px;
    font-weight: bold;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
}

/* 页脚 */
.site-footer {
    background: var(--dark-text);
    color: var(--bg-white);
    padding: 70px 0 25px;
}

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

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-title {
    font-size: 24px;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.footer-heading {
    font-size: 18px;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.footer-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--accent-gold);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-icon {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(15, 76, 129, 0.98);
        width: 100%;
        transition: left 0.3s ease;
        padding: 20px 0;
    }

    .mobile-menu-toggle:checked ~ .main-navigation {
        left: 0;
    }

    .mobile-menu-toggle:checked ~ .mobile-menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle:checked ~ .mobile-menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle:checked ~ .mobile-menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-list li {
        width: 100%;
        padding: 15px 0;
        text-align: center;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-heading {
        font-size: 32px;
    }

    .advantages-list,
    .services-grid,
    .works-showcase {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-figure {
        font-size: 42px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .cta-button {
        padding: 14px 35px;
        font-size: 16px;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }
}

