/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: #0066cc;
    transition: color 0.3s ease;
}

a:hover {
    color: #004499;
}

.container {
    width: 1200px;
    max-width: 90%;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 32px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0066cc;
}

/* 顶部联系信息栏 */
.top-bar {
    background-color: #0066cc;
    color: white;
    padding: 8px 0;
    font-size: 14px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.top-contact {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.top-contact span {
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.top-contact i {
    margin-right: 5px;
}

.top-contact a {
    color: white;
    text-decoration: underline;
}

.top-contact a:hover {
    color: #f0f0f0;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #004499;
    color: white;
}

.btn-secondary {
    display: inline-block;
    padding: 8px 20px;
    background-color: transparent;
    color: #0066cc;
    border: 1px solid #0066cc;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #0066cc;
    color: white;
}

/* 页头样式 */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 35px;
    z-index: 1000;
    transition: top 0.3s ease, padding 0.3s ease, background-color 0.3s ease;
}

header.scrolled {
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.logo h1 {
    color: #0066cc;
    font-size: 28px;
    margin-bottom: 5px;
}

.logo p {
    font-size: 14px;
    color: #666;
}

.language-switch a {
    color: #666;
    padding: 5px;
    font-size: 14px;
}

.language-switch a.active {
    color: #0066cc;
    font-weight: 500;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
}

nav li {
    margin: 0 15px;
}

nav a {
    color: #333;
    font-weight: 500;
    padding: 10px 5px;
    position: relative;
}

nav a.active, nav a:hover {
    color: #0066cc;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0066cc;
    transition: width 0.3s ease;
}

nav a.active::after, nav a:hover::after {
    width: 100%;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 210px 0 100px;
    margin-bottom: 60px;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* 关于我们部分 */
.about {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 产品中心部分 */
.products {
    padding: 80px 0;
    background-color: #f5f8fa;
}

.product-categories {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 60px;
}

.category {
    flex: 1;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
}

.category:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.category img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category h3 {
    margin: 20px 0 10px;
    color: #333;
}

.category p {
    margin-bottom: 20px;
    padding: 0 15px;
    color: #666;
}

.product-showcase {
    margin-top: 60px;
}

.product-showcase h3 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-item h4 {
    padding: 15px 15px 5px;
    font-size: 18px;
}

.product-item p {
    padding: 0 15px 15px;
    color: #666;
    font-size: 14px;
}

/* 我们的优势部分 */
.advantages {
    padding: 80px 0;
    background-color: white;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-item i {
    font-size: 40px;
    color: #0066cc;
    margin-bottom: 20px;
}

.advantage-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.advantage-item p {
    color: #666;
}

/* 联系我们部分 */
.contact {
    padding: 80px 0;
    background-color: #f5f8fa;
}

.contact-wrapper {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 25px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 10px;
    color: #0066cc;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.contact-form {
    flex: 1;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0066cc;
    outline: none;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* 页脚部分 */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #bbb;
}

.footer-links h4,
.footer-products h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ddd;
}

.footer-links ul,
.footer-products ul {
    list-style: none;
}

.footer-links li,
.footer-products li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-products a {
    color: #bbb;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-products a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 14px;
}

/* 产品详情页样式 */
.product-detail {
    padding: 170px 0 80px;
    background-color: white;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    color: #0066cc;
}

.breadcrumb span {
    color: #0066cc;
}

.product-title {
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.product-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0066cc;
}

.product-intro {
    display: flex;
    gap: 50px;
    margin-bottom: 60px;
}

.product-intro-image {
    flex: 1;
    text-align: center;
}

.product-intro-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-intro-info {
    flex: 1;
}

.product-intro-info h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.product-intro-info h3 {
    font-size: 20px;
    margin: 30px 0 15px;
    color: #0066cc;
}

.product-intro-info p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.product-intro-info ul {
    padding-left: 20px;
}

.product-intro-info ul li {
    margin-bottom: 10px;
}

.product-models {
    margin-bottom: 60px;
}

.product-models h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.model-item {
    display: flex;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.model-item img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.model-info {
    padding: 20px;
    flex: 1;
}

.model-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #0066cc;
}

.model-info p {
    margin-bottom: 15px;
    color: #666;
}

.model-info ul {
    padding-left: 20px;
}

.model-info ul li {
    margin-bottom: 5px;
    font-size: 14px;
}

.additional-products {
    margin-bottom: 60px;
}

.additional-products h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.additional-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.additional-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #0066cc;
}

.additional-item p {
    color: #666;
}

.contact-section {
    background-color: #f5f8fa;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.contact-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-section p {
    margin-bottom: 15px;
}

.contact-section i {
    color: #0066cc;
    margin-right: 10px;
}

.contact-section .btn-primary {
    margin-top: 20px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .about-content,
    .contact-wrapper,
    .product-intro {
        flex-direction: column;
    }
    
    .advantage-grid,
    .model-grid,
    .additional-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-categories {
        flex-wrap: wrap;
    }
    
    .category {
        flex: 0 0 calc(50% - 15px);
        margin-bottom: 30px;
    }
    
    .model-item {
        flex-direction: column;
    }
    
    .model-item img {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav li {
        margin: 5px 10px;
    }
    
    .hero-content h2 {
        font-size: 36px;
    }
    
    .product-grid,
    .model-grid,
    .additional-grid,
    .advantage-grid {
        grid-template-columns: 1fr;
    }
    
    .category {
        flex: 0 0 100%;
    }
} 