/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 导航栏样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo h1 {
    font-size: 24px;
    color: #1a73e8;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
}

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 {
    color: #1a73e8;
}

.language-switch {
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 5px 15px;
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}

.lang-btn.active {
    background-color: #1a73e8;
    color: #fff;
    border-color: #1a73e8;
}

/* 英雄区域 */
.hero {
    background-color: #1a73e8;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #fff;
    color: #1a73e8;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* 核心优势 */
.features {
    padding: 80px 0;
    background-color: #fff;
}

.features h3 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 50px;
    color: #333;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a73e8;
}

/* 产品预览 */
.products-preview {
    padding: 80px 0;
    background-color: #f5f5f5;
    text-align: center;
}

.products-preview h3 {
    font-size: 30px;
    margin-bottom: 50px;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-item h4 {
    padding: 20px;
    font-size: 18px;
    color: #333;
}

/* 联系信息 */
.contact-info {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.contact-info h3 {
    font-size: 30px;
    margin-bottom: 30px;
    color: #333;
}

.contact-details p {
    margin-bottom: 10px;
    font-size: 16px;
}

/* 页脚 */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        margin: 20px 0;
        flex-wrap: wrap;
    }

    nav ul li {
        margin: 5px 15px 5px 0;
    }

    .language-switch {
        align-self: flex-end;
        margin-top: -40px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .features h3,
    .products-preview h3,
    .contact-info h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero h2 {
        font-size: 24px;
    }

    .features,
    .products-preview,
    .contact-info {
        padding: 60px 0;
    }
}

/* 内页样式 */
.page-header {
    background-color: #1a73e8;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-header h2 {
    font-size: 30px;
}

.page-content {
    padding: 60px 0;
    background-color: #fff;
}

/* 产品页面 */
.product-category {
    margin-bottom: 50px;
}

.product-category h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a73e8;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* 联系页面 */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #1557b0;
}

/* 新闻页面 */
.news-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.news-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1a73e8;
}

.news-item .date {
    color: #999;
    margin-bottom: 15px;
    font-size: 14px;
}

.news-item p {
    margin-bottom: 15px;
}

.news-item a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

.news-item a:hover {
    text-decoration: underline;
}

/* 关于我们页面 */
.company-intro,
.company-history,
.company-culture,
.team-intro {
    margin-bottom: 60px;
}

.company-intro h3,
.company-history h3,
.company-culture h3,
.team-intro h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a73e8;
}

.company-intro p,
.company-history ul,
.company-culture p,
.team-intro p {
    margin-bottom: 15px;
}

.company-history ul {
    list-style: disc;
    padding-left: 20px;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.culture-item {
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.culture-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.culture-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a73e8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-item {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s;
}

.team-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.team-item img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.team-item p {
    color: #666;
    font-size: 14px;
}

/* 服务项目页面 */
.service-intro,
.service-list,
.service-process {
    margin-bottom: 60px;
}

.service-intro h3,
.service-process h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a73e8;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a73e8;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #1a73e8;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.process-step p {
    color: #666;
    font-size: 14px;
}

/* 联系我们页面 */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a73e8;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 16px;
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a73e8;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}