/* 全局样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #333;
}

/* 导航栏样式 */
header {
    background-color: #e0f0fc;
    padding: 15px 0;
    text-align: center;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 20px;
}

nav ul li a {
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #007BFF;
}

/* 首页英雄区域样式 */
.hero {
    background-image: url(../img/hero.png);
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
}

/* 通用内容区域样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

/* 关于我们页面样式 */
.about-content {
    display: flex;
    align-items: center;
}

.about-content img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    margin-right: 40px;
    border-radius: 50%;
}

/* 产品展示页面样式 */
.product {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.product img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin-right: 20px;
}

.product-info h3 {
    margin-top: 0;
}

/* 联系我们页面样式 */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form label {
    display: block;
    margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.contact-form button {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

/* 页脚样式 */
footer {
    background-color: #f4f4f4;
    text-align: center;
    padding: 15px 0;
    margin-top: 40px;
}