/* 基础样式 */
body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 图片统一样式 */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.feature-item img {
    width: 100%;
    max-width: 300px;
    max-height: 200px;
    margin-bottom: 20px;
}

.product-item img {
    width: 100%;
    max-height: 250px;
    margin-bottom: 20px;
}

.solution-item img {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
}

/* 头部样式 */
header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 50px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #007bff;
}

/* Banner样式 */
.banner,
.about-banner,
.contact-banner {
    background: url('../images/banner.jpg') center/cover no-repeat;
    height: 400px;
    display: flex;
    align-items: center;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.banner h1,
.about-banner h1,
.contact-banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.banner p,
.about-banner p,
.contact-banner p {
    font-size: 24px;
    margin-bottom: 30px;
}

/* 产品特性 */
.features {
    padding: 60px 0;
    background: #f8f9fa;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* 产品展示 */
.products {
    padding: 60px 0;
}

.products h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.category-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.category-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 15px;
}

.btn {
    display: inline-block;
    padding: 8px 20px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn:hover {
    background: #0056b3;
}

/* 关于我们页面 */
.company-profile {
    padding: 60px 0;
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.profile-image img {
    width: 100%;
    border-radius: 8px;
}

.development-history {
    padding: 60px 0;
    background: #f8f9fa;
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: #007bff;
}

.timeline-item {
    width: 50%;
    padding: 20px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    margin-left: 50%;
}

.timeline-year {
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 10px;
}

.timeline-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 联系我们页面 */
.contact-info {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.contact-item img {
    width: 60px;
    margin-bottom: 20px;
}

.contact-form {
    padding: 60px 0;
    background: #f8f9fa;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contact-map {
    padding: 60px 0;
}

/* 页脚样式 */
footer {
    background: #2c3e50;
    color: #fff;
    padding: 40px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info h4,
.quick-links h4 {
    margin-bottom: 20px;
    font-size: 20px;
}

.quick-links ul {
    list-style: none;
    padding: 0;
}

.quick-links ul li {
    margin-bottom: 10px;
}

.quick-links ul li a {
    color: #fff;
    text-decoration: none;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
}
