/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

a:hover {
    color: #1a73e8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 标题样式 */
.section-title, .page-title {
    text-align: left;
    margin: 40px 0;
    font-size: 28px;
    color: #333;
    position: relative;
}

.section-title::after, .page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #1a73e8;
    margin: 15px 0 0;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    display: inline-block;
}

.logo img {
    height: 20px;
    width: auto;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1a73e8;
    transition: width 0.3s ease;
}

nav ul li a:hover::after, nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    color: #1a73e8;
}

/* 底部样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info p {
    margin-bottom: 10px;
}

.copyright {
    margin-top: 20px;
    text-align: center;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* 轮播图样式 */
.banner {
    margin-bottom: 60px;
}

.swiper {
    width: 100%;
    height: 500px;
}

.swiper-slide {
    text-align: center;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet-active {
    background-color: #1a73e8;
}

.swiper-button-next, .swiper-button-prev {
    color: #1a73e8;
}

/* 产品卡片样式 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.products-grid.small {
    grid-template-columns: repeat(3, 1fr);
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-img {
    height: 250px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-info h3, .product-info h4 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

.product-info p {
    color: #666;
    font-size: 14px;
}

/* 新闻列表样式 */
.news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.news-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.news-item h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

.news-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.news-date {
    color: #999;
    font-size: 12px;
}

/* 合作品牌样式 */
.partners-logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4%;
}

.partner {
    width: 200%;
    padding: 10px;
    background-color: #F8F9FA;
    border-radius: 10px;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.01);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.partner:hover {
    transform: translateY(-5px);
}

.partner img {
    max-width: 200%;
    max-height: 700px;
}

/* 搜索栏样式 */
.search-bar {
    max-width: 600px;
    margin: 0 auto 40px;
}

.search-bar form {
    display: flex;
}

.search-bar input[type="text"] {
    flex: 1;
    padding: 12px 20px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 5px 0 0 5px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-bar input[type="text"]:focus {
    border-color: #1a73e8;
}

.search-bar button {
    padding: 12px 30px;
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-bar button:hover {
    background-color: #0d62c9;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.pagination a.active {
    background-color: #1a73e8;
    color: #fff;
}

.pagination a:hover:not(.active) {
    background-color: #f0f0f0;
}

/* 新闻详情页样式 */
.breadcrumb {
    margin: 20px 0;
    font-size: 14px;
    color: #666;
}

.news-list-full {
    margin-bottom: 60px;
}

.news-item-full {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.news-header {
    margin-bottom: 15px;
}

.news-item-full h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.news-summary p {
    color: #666;
    margin-bottom: 10px;
}

.news-article {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.news-header-detail {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.news-title {
    font-size: 28px;
    margin-bottom: 15px;
}

.news-meta {
    color: #999;
    font-size: 14px;
}

.news-meta span {
    margin-right: 20px;
}

.news-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.news-image {
    margin: 30px 0;
}

.image-caption {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

.other-news {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.other-news h3 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.other-news-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.other-news-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.other-news-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.other-news-list .news-title {
    font-size: 16px;
    margin-bottom: 0;
}

.other-news-list .news-date {
    color: #999;
}

/* 产品详情页样式 */
.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.product-gallery {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.main-image {
    margin-bottom: 20px;
    height: 400px;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    overflow: hidden;
}

.thumbnail.active {
    border-color: #1a73e8;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-detail {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-title {
    font-size: 28px;
    margin-bottom: 20px;
}

.product-brief {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.product-features, .product-parameters {
    margin-bottom: 30px;
}

.product-features h3, .product-parameters h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.product-features ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.product-features ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #1a73e8;
}

.product-parameters table {
    width: 100%;
    border-collapse: collapse;
}

.product-parameters th, .product-parameters td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.product-parameters th {
    width: 30%;
    color: #666;
}

.product-description {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.product-description h3 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.description-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.description-image {
    margin: 30px 0;
    text-align: center;
}

.related-products h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

/* 关于我们页面样式 */
.company-intro {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

.company-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.company-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.company-description {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.company-description h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #333;
}

.company-description p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 16px;
    color: #666;
}

.company-values {
    margin-bottom: 60px;
}

.company-values h3 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: left;
}

/* 价值观纯文本样式 */
.values-text {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.value-item-text {
    text-align: left;
    padding: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
}

.value-item-text h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1a73e8;
    font-weight: 600;
}

.value-item-text p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.contact-us h3 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: left;
}

/* 联系我们纯文本样式 */
.contact-info-text {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item-text {
    text-align: left;
    padding: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
}

.contact-item-text h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #1a73e8;
    font-weight: 600;
}

.contact-item-text p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.company-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .values-text,
    .contact-info-text {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .value-item-text,
    .contact-item-text {
        text-align: center;
    }
}

@media (max-width: 992px) {
    header .container {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    nav ul {
        width: 100%;
        justify-content: space-between;
    }
    
    nav ul li {
        margin-left: 0;
    }
    
    .swiper {
        height: 300px;
    }
    
    .products-grid, .news-list, .values-grid, .contact-info-detailed {
        grid-template-columns: 1fr;
    }
    
    .partners-logo {
        flex-direction: column;
        gap: 20px;
    }
    
    .partner {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .section-title, .page-title {
        font-size: 24px;
    }
    
    .swiper {
        height: 200px;
    }
    
    .product-title, .news-title {
        font-size: 24px;
    }
    
    .thumbnail-images {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .pagination a {
        padding: 6px 12px;
        font-size: 14px;
    }
}

/* 简介展示样式 */
.intro-section {
    padding: 60px 0;
    background-color: #fff;
}

.intro-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.intro-text img {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.intro-text .text-container {
    width: 100%;
    text-align: left;
}

.intro-text .main-text {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 500;
    text-align: left;
    color: #010101;
}

.intro-text .sub-text {
    font-size: 24px;
    text-align: left;
    color: #1a73e8;
}

/* 在文件末尾添加以下样式 */

/* 产品轮播图样式 */
.product-slider {
    margin-bottom: 40px;
}

.product-swiper {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

.product-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 产品信息容器样式 */
.product-info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
    min-height: 500px;
}

/* 单列布局样式 */
.product-info-container.single-column {
    grid-template-columns: 1fr;
    min-height:200px;
}

.product-name-section, .product-params-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 全宽样式 */
.product-name-section.full-width {
    width: 100%;
    min-height: 200px;
}

.product-title {
    font-size: 28px;
    margin-bottom: 20px;
}

.product-brief {
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.8;
}

.product-brief p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

.product-params-section h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.product-params-section table {
    width: 100%;
    border-collapse: collapse;
    flex-grow: 1;
}

.product-params-section th, .product-params-section td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.product-params-section th {
    width: 30%;
    color: #666;
    background-color: #f8f9fa;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .product-info-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .product-info-container.single-column {
        min-height: auto;
    }
    
    .product-name-section.full-width {
        min-height: 300px;
    }
    
    .product-swiper {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .product-swiper {
        height: 300px;
    }
    
    .product-name-section, .product-params-section {
        padding: 20px;
    }
    
    .product-name-section.full-width {
        min-height: 250px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .product-brief p {
        font-size: 14px;
    }
}

/* 响应式设计更新 */
@media (max-width: 992px) {
    .company-intro {
        gap: 25px;
    }
    
    .company-image {
        max-width: 100%;
    }
    
    .company-description h3 {
        font-size: 24px;
    }
    
    .company-description p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .company-intro {
        gap: 20px;
    }
    
    .company-description h3 {
        font-size: 22px;
    }
    
    .company-description p {
        font-size: 14px;
    }
}