body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 头部样式 */
.header {
    background-color: #004a7c;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header .logo img {
    height: 50px;
}

.drawer-toggle {
    font-size: 30px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    z-index: 1001;
    display: none;
    margin-left: auto;
}

/* 抽屉导航样式 */
.drawer-nav {
    position: fixed;
    top: 80px;
    right: -100%;
    background-color: #003b64;
    transition: right 0.3s ease;
    z-index: 999;
    width: 280px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    padding-bottom: 20px;
    border-radius: 8px 0 0 8px;
}

.drawer-nav.open {
    right: 0;
}

.drawer-nav a {
    display: block;
    padding: 15px;
    margin: 8px 20px;
    text-decoration: none;
    font-size: 18px;
    color: white;
    background-color: #004a7c;
    border-radius: 5px;
    text-align: left;
    transition: background 0.3s, transform 0.2s ease;
}

.drawer-nav a:hover {
    background-color: #006bb3;
    transform: scale(1.05);
}

/* PC端导航栏样式 */
.pc-nav {
    display: flex;
    gap: 20px;
}

.pc-nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 15px;
    transition: background 0.3s;
}

.pc-nav a:hover {
    background-color: #003b64;
    border-radius: 5px;
}

/* 主内容区域 */
.main {
    text-align: center;
    color: white;
    margin: 0;
    flex: 1;
}

/* Hero 区域样式 */
.hero {
    background-size: cover; /* 背景图自适应容器大小 */
    background-position: center; /* 背景图居中显示 */
    background-repeat: no-repeat; /* 防止背景图重复 */
    padding: 150px 20px; /* 设置足够的内边距以展示内容 */
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Hero 区域占满整个屏幕高度 */
}

.hero-link {
    color: white; /* 设置文本颜色 */
    text-decoration: none; /* 移除下划线 */
    font-size: 3em; /* 字体大小 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* 文本阴影效果 */
}

/* 如果不需要任何额外的特效，可以直接移除其他样式 */
.hero-link:hover {
    text-decoration: none; /* 确保悬停时也没有下划线 */
}

/* 关于我们区域 */
.section {
    padding: 60px 20px;
    text-align: center;
}

.section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #004a7c;
}

.section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: black; /* 将字体颜色改为黑色 */
}

/* 产业板块区域 */
.industries {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.industry-item {
    background-color: #f4f4f4;
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    flex: 1 1 250px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.industry-item:hover {
    transform: translateY(-5px);
}

.industry-item .icon {
    width: 80px;
    height: 80px;
    background-color: #ddd;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #555;
}

.industry-item h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #004a7c;
}

.industry-item p {
    font-size: 1em;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.5;
}

/* 案例展示区域 */
.cases {
    background-color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.cases h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #004a7c;
}

.case-item {
    background-color: #f4f4f4;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.case-item h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-item img {
    max-width: 100%;
    border-radius: 5px;
    margin-top: 15px;
}

.case-item p {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    text-align: center;
}

/* 新闻区域 */
.news {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.news h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #004a7c;
}

.news-item {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.news-item p {
    font-size: 1em;
    margin-bottom: 15px;
    color: #555;
    line-height: 1.6;
}

.news-item .date {
    font-size: 0.9em;
    color: #999;
    margin-bottom: 10px;
}

/* 页脚样式 */
.footer {
    background-color: #004a7c;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    flex-shrink: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .drawer-toggle {
        display: block;
    }

    .pc-nav {
        display: none;
    }

    .header {
        padding: 0 10px;
        height: 70px;
    }

    .header .logo img {
        height: 40px;
    }

    .drawer-nav {
        padding-top: 70px;
        width: 100%;
    }

    .drawer-nav a {
        font-size: 16px;
        padding: 15px;
        margin: 8px 10px;
        text-align: center;
    }

    .hero {
        padding: 100px 20px;
        min-height: 50vh;
    }

    .hero-link {
        font-size: 2em;
    }

    .section h2 {
        font-size: 2em;
    }

    .industries {
        gap: 10px;
    }

    .industry-item {
        padding: 20px 15px;
        font-size: 14px;
    }

    .cases h2 {
        font-size: 2em;
    }

    .case-item {
        padding: 15px;
    }

    .news h2 {
        font-size: 2em;
    }
}
