/* css/styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f9;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

header {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #595959 3px solid;
}

header h1 {
    float: left;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 0;
}

header nav {
    float: right;
    margin-top: 15px;
}

header nav ul {
    list-style: none;
}

header nav ul li {
    display: inline;
    margin-left: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
}

.hero {
    /* 添加背景图 */
    background: url('../images/bj.jpg') no-repeat center/cover;
    height: 400px;
    color: #fff;
    text-align: center;
    padding-top: 100px;
}

.hero h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.service-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}

.service-item {
    background-color: #fff;
    padding: 20px;
    margin: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 30%;
}

.service-item h3 {
    margin-bottom: 10px;
}

#contact form {
    max-width: 600px;
    margin: 0 auto;
}

#contact label {
    display: block;
    margin-bottom: 5px;
}

#contact input,
#contact textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#contact button {
    background-color: #3498db;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#contact button:hover {
    background-color: #2980b9;
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        padding-top: 50px;
    }

    .hero h2 {
        font-size: 30px;
    }

    .service-list {
        flex-direction: column;
        align-items: center;
    }

    .service-item {
        width: 80%;
    }
}