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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header 样式 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: #fff;
    padding: 10px 0;
}

.header .logo {
    font-size: 24px;
    font-weight: bold;
}

.nav-menu ul {
    list-style: none;
    display: flex;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.nav-menu a:hover {
    text-decoration: underline;
}

/* Banner 样式 */
.banner {
    position: relative;
    text-align: center;
    overflow: hidden;
}

/* 业务介绍区样式 */
.services {
    padding: 50px 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* 服务项样式 */
.service-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}

.service-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 10px;
    flex: 1 1 calc(33% - 40px);
    max-width: calc(33% - 40px);
    min-height: 150px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-item h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.service-item p {
    font-size: 16px;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .service-item {
        width: 100%;
        margin: 10px 0;
    }
}

/* 关于我们样式 */
.about {
    padding: 50px 0;
    color: #666;
    text-align: center;
}

/* Footer 样式 */
.footer {
    background: #333;
    color: #fff;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.footer-section h3,
.footer-section h5 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.footer-section p {
    margin: 5px 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-section:not(:last-child) {
    text-align: left;
}

.footer-section:last-child {
    text-align: center;
}

.footer-section img {
    width: 96px;
    margin-top: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 图片展示区样式 */
.image-showcase {
    width: 100%;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

.image-item {
    flex: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-item:hover {
    transform: translateY(-5px);
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

/* 模态框中的图片样式 */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* 关闭按钮样式，使其更明显 */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #ff0000; /* 改为红色，更醒目 */
    font-size: 60px; /* 增大字体大小 */
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

