/* 全局样式 */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background: #ffffff;
    line-height: 1.6;
}

* {
    box-sizing: border-box;
}

/* 头部样式 */
header {
    background: #333;
    color: #ffffff;
    padding: 10px 0;
    text-align: center;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    padding: 0 15px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #e6a4ff;
}

/* 首页样式 */
#home {
    background: url('../img/Image_1723258093391.jpg') no-repeat center center/cover;
    padding: 100px 20px;
    text-align: center;
}

#home h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#home p {
    font-size: 24px;
    color: #ffffff;
    opacity: 0.8;
}

/* 关于我们和服务样式 */
section {
    padding: 60px 20px;
    background: #f4f4f4;
}

section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

section p {
    line-height: 1.6;
}

.service {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.service img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service h3 {
    font-size: 24px;
    margin: 0;
}

/* 联系我们样式 */
#contact {
    background: #ffffff;
}

#contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: auto;
}

form input, form textarea {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

form button {
    padding: 10px 20px;
    background: #e6a4ff;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

form button:hover {
    background: #9d2bff;
}

/* 页脚样式 */
footer {
    background: #333;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        padding: 10px 0;
    }

    .service {
        flex-direction: column;
        align-items: center;
    }

    .service img {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
