:root {
    --primary: #1a3c6e;
    --secondary: #e67e22;
    --accent: #3498db;
    --light: #e9ecef;
    --dark: #2c3e50;
    --gray: #7f8c8d;
    --shadow: 0 5px 15px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--light);
    overflow-x: hidden;
}

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

/* 头部样式 */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--primary);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact span {
    margin-right: 20px;
}

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

.header-social a {
    color: white;
    margin-left: 10px;
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 语言选择器样式 */
.language-selector-container {
    display: flex;
    align-items: center;
}

.language-selector {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    font-family: 'Noto Sans SC', sans-serif;
}

.language-selector:hover {
    border-color: var(--primary);
    background-color: var(--light);
}

.language-selector:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 60, 110, 0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    color: var(--primary);
    font-weight: 700;
}

.logo span {
    color: var(--secondary);
}

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

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a.active {
    color: var(--primary);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* 轮播图样式 */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-1 {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('image/shouye/lbt.webp');
}

.hero-slide-2 {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('image/shouye/lbt3.webp');
}

.hero-slide-3 {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('image/shouye/lbt1.webp');
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 80%;
}

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-primary {
    background-color: var(--primary);
}

.btn-primary:hover {
    background-color: #0f2a4d;
}

/* 产品分类样式 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

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

.category-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.category-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.category-content {
    padding: 20px;
}

.category-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary);
}

.category-content p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 14px;
}

/* 关于我们样式 */
.about {
    background-color: #e9ecef;
}

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

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: flex-start;
}

.feature i {
    color: var(--secondary);
    font-size: 24px;
    margin-right: 15px;
    margin-top: 5px;
}

.about-img {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-img img {
    width: 100%;
    height: 350px;
    display: block;
}

/* 产品展示样式 */
.products {
    background-color: var(--light);
}

.product-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* 产品展示区域样式 - 调整为350px高度 */
.product-showcase {
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
    height: 364px; /* 新增固定高度 */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 100%; /* 改为100%以填充父容器 */
}

.showcase-img {
    position: relative;
    overflow: hidden;
    background-color: var(--light);
    height: 100%; /* 确保图片区域填满高度 */
}

.showcase-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.showcase-img:hover img {
    transform: none; box-shadow: none;
    /*transform: scale(1.05);*/
}

.showcase-text {
    padding: 30px; /* 减小内边距以适应较小高度 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, #2c5282 100%);
    color: white;
    height: 100%; /* 确保文本区域填满高度 */
}

.showcase-text h3 {
    font-size: 26px; /* 减小标题字体大小 */
    margin-bottom: 15px; /* 减小底部边距 */
    color: white;
    font-weight: 700;
}

.showcase-text p {
    font-size: 15px; /* 减小正文字体大小 */
    line-height: 1.6; /* 调整行高 */
    margin-bottom: 15px; /* 减小底部边距 */
    opacity: 0.9;
    overflow: hidden; /* 防止文本溢出 */
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 限制显示行数 */
    -webkit-box-orient: vertical;
}

.showcase-features {
    margin-top: 15px; /* 减小顶部边距 */
}

.showcase-features li {
    display: flex;
    align-items: center;
    margin-bottom: 8px; /* 减小底部边距 */
    font-size: 14px; /* 减小字体大小 */
}

.showcase-features i {
    color: var(--secondary);
    margin-right: 10px; /* 减小右侧边距 */
    font-size: 14px; /* 减小图标大小 */
}

/* 产品配件网格布局 */
.parts-grid-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.part-card-full {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    padding: 2px;
}

.part-card-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.part-img-full {
    height: 200px;
    width: 255px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light);
}

.part-img-full i {
    font-size: 48px;
    color: var(--primary);
    opacity: 0.7;
}

.part-card-full h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.3;
}

.part-card-full p {
    color: var(--gray);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.no-products {
    text-align: center;
    color: var(--gray);
    font-size: 16px;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

/* 分类标题样式 */
.category-title {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light);
}

.category-title h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}

.category-title p {
    color: var(--gray);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* 产品详情居中显示样式 */
.product-detail-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
}

.product-detail-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-modal {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close-detail {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-detail:hover {
    color: var(--primary);
    background-color: var(--light);
}

/* 调整产品详情头部样式 */
.product-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-right: 40px; /* 为关闭按钮留出空间 */
}

.product-detail-header h2 {
    color: var(--primary);
    font-size: 28px;
}

.product-detail-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.product-detail-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.product-tabs {
    margin-top: 20px;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray);
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.tab-pane p {
    margin-bottom: 20px;
    color: var(--gray);
}

.tab-pane ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.tab-pane li {
    margin-bottom: 8px;
    color: var(--gray);
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.part-card {
    background-color: var(--light);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: var(--transition);
}

.part-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.part-img {
    height: 120px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    margin-bottom: 10px;
}

.part-card h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--primary);
}

.part-card p {
    font-size: 14px;
    color: var(--gray);
}


/* 联系我们页面新样式 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.contact-info h3, .contact-map h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.contact-info h3::after, .contact-map h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
    padding: 20px;
    background-color: var(--light);
    border-radius: 8px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.contact-item i {
    color: var(--secondary);
    font-size: 22px;
    margin-right: 20px;
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary);
}

.contact-details p {
    color: var(--gray);
    margin-bottom: 4px;
}

.contact-note, .map-note {
    font-size: 12px;
    color: #999;
    font-style: italic;
}

/* 地图容器样式 */
.map-container {
    background-color: var(--light);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ddd;
}

.map-placeholder {
    text-align: center;
    color: var(--gray);
}

.map-placeholder i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 15px;
}

.map-placeholder p {
    margin-bottom: 8px;
}

/* 联系按钮样式 */
.contact-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-actions .btn {
    flex: 1;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
}

/* 服务承诺样式 */
.service-commitment {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.service-commitment h3 {
    font-size: 28px;
    color: var(--primary);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.service-commitment h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.commitment-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--light);
    border-radius: 8px;
    transition: var(--transition);
}

.commitment-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.commitment-item i {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.commitment-item h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 15px;
}

.commitment-item p {
    color: var(--gray);
    line-height: 1.6;
}

/* 页脚样式 */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary);
}

.footer-col p {
    color: #bbb;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
}

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

/* 页面切换动画 */
.page {
    display: none;
    animation: fadeIn 0.5s ease;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 响应式设计 */
/* 大屏幕 (1200px以上) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* 中等屏幕 (992px - 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }

    .about-content {
        gap: 40px;
    }

    .categories {
        grid-template-columns: repeat(3, 1fr);
    }

    .parts-grid-full {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

/* 平板 (768px - 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-img {
        width: 100%;
        margin-top: 30px;
    }

    .hero {
        height: 400px;
    }

    .hero-content h2 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section {
        padding: 60px 0;
    }

    .categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .parts-grid-full {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .product-detail-body {
        grid-template-columns: 1fr;
    }

    .product-detail-modal {
        padding: 20px;
        width: 95%;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-container {
        height: 250px;
    }

    .commitment-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .part-img-full {
        height: 120px;
    }

    .showcase-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .showcase-img {
        height: 250px; /* 在平板上设置固定高度 */
    }

    .showcase-text {
        padding: 25px 20px; /* 调整内边距 */
    }

    .showcase-text h3 {
        font-size: 24px;
    }
}

/* 大手机 (576px - 767px) */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 20px 0;
        z-index: 999;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 0;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 10px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-top .container {
        flex-direction: column;
        gap: 5px;
    }

    .header-contact span {
        margin-right: 15px;
    }

    .hero {
        height: 350px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .categories, .parts-grid-full {
        grid-template-columns: 1fr;
    }

    .product-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .filter-btn {
        white-space: nowrap;
    }

    .product-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding-right: 0;
    }

    .parts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail-overlay {
        padding: 10px;
    }

    .product-detail-modal {
        padding: 15px;
        max-height: 95vh;
    }

    .close-detail {
        top: 10px;
        right: 15px;
    }

    .contact-content {
        gap: 30px;
    }

    .contact-item {
        padding: 15px;
        margin-bottom: 20px;
    }

    .contact-item i {
        font-size: 20px;
        margin-right: 15px;
    }

    .map-container {
        height: 200px;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-actions .btn {
        width: 100%;
    }

    .service-commitment {
        padding: 30px 20px;
    }

    .commitment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .commitment-item {
        padding: 25px 15px;
    }

    .category-title h3 {
        font-size: 24px;
    }

    .part-img-full {
        height: 140px;
    }

    /* 产品展示区域响应式 */
    .showcase-text {
        padding: 20px 15px;
    }

    .showcase-text h3 {
        font-size: 22px;
    }

    .showcase-text p {
        font-size: 14px;
    }

    .showcase-img {
        height: 200px;
    }
}

/* 小手机 (575px及以下) */
@media (max-width: 575px) {
    .container {
        padding: 0 10px;
    }

    .header-main .container {
        padding: 10px 0;
    }

    .logo h1 {
        font-size: 20px;
    }

    .hero {
        height: 300px;
    }

    .hero-content {
        width: 90%;
    }

    .hero-content h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .section-title p {
        font-size: 14px;
    }

    .category-card, .product-card, .part-card-full {
        border-radius: 6px;
    }

    .category-content, .product-content {
        padding: 15px;
    }

    .contact-content {
        gap: 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .parts-grid {
        grid-template-columns: 1fr;
    }

    .parts-grid-full {
        gap: 15px;
    }


    .part-img-full {
        height: 120px;
    }

    .part-card-full h4 {
        font-size: 15px;
    }

    .part-card-full p {
        font-size: 12px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .map-container {
        height: 180px;
    }

    .service-commitment {
        padding: 25px 15px;
    }

    .commitment-item {
        padding: 20px 15px;
    }

    /* 产品展示区域响应式 */
    .product-showcase {
        margin-bottom: 30px;
        border-radius: 8px;
    }

    .showcase-text {
        padding: 15px;
    }

    .showcase-text h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .showcase-text p {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .showcase-features li {
        font-size: 13px;
        margin-bottom: 6px;
    }
}

/* 超小屏幕 (360px及以下) */
@media (max-width: 360px) {
    .hero {
        height: 250px;
    }

    .hero-content h2 {
        font-size: 20px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .header-contact span {
        display: block;
        margin-right: 0;
        margin-bottom: 5px;
    }

    .header-contact span:last-child {
        margin-bottom: 0;
    }
}

/* 高分辨率屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-slide-1 {
        background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('image/shouye/lbt1.webp');
    }
    .hero-slide-2 {
        background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('image/shouye/lbt3.webp');
    }
    .hero-slide-3 {
        background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('image/shouye/lbt.webp');
    }
}

/* 打印样式 */
@media print {
    header, footer, .hero, .btn {
        display: none;
    }

    body {
        background: white;
        color: black;
        font-size: 12pt;
    }

    .container {
        max-width: 100%;
    }

    .section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
}

:root {
    --primary: #1a3c6e;
    --secondary: #e67e22;
    --accent: #3498db;
    --light: #e9ecef;
    --dark: #2c3e50;
    --gray: #7f8c8d;
    --shadow: 0 5px 15px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--light);
    overflow-x: hidden;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-primary {
    background-color: var(--primary);
}

.btn-primary:hover {
    background-color: #0f2a4d;
}

/* 公司宗旨模块样式 */
.company-principles-section {
    background: linear-gradient(rgba(26, 60, 110, 0.3), rgba(26, 60, 110, 0.3)),
    url('image/shouye/gszz.jpg') center/cover no-repeat;
    padding: 80px 0;
    color: white;
    position: relative;
}

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

.principles-content h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.principles-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
}

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

.principle-item {
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.principle-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.principle-icon {
    width: 70px;
    height: 70px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.principle-icon i {
    font-size: 30px;
    color: white;
}

.principle-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: white;
}

.principle-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* 全球服务模块样式 */
.global-service-section {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url('image/shouye/fwqq.jpg') center/cover no-repeat;
    padding: 80px 0;
    color: white;
    position: relative;
}

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

.global-content h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.global-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
}

.global-subtitle {
    text-align: center;
    font-size: 20px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.global-description {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.global-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    padding: 25px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.stat-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.global-action {
    text-align: center;
}

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

    .global-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .company-principles-section,
    .global-service-section {
        padding: 60px 0;
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }

    .global-stats {
        grid-template-columns: 1fr;
    }

    .principles-content h2,
    .global-content h2 {
        font-size: 30px;
    }
}

@media (max-width: 575px) {
    .company-principles-section,
    .global-service-section {
        padding: 40px 0;
    }

    .principle-item {
        padding: 20px 15px;
    }

    .stat-item {
        padding: 20px 10px;
    }

    .stat-number {
        font-size: 28px;
    }

    .principles-content h2,
    .global-content h2 {
        font-size: 26px;
    }
}
