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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    font-size: 1.8rem;
    color: #4A90E2;
    font-weight: 700;
}

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

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #4A90E2;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 页脚样式 */
.footer {
    background-color: #4A90E2;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links h3,
.footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* 图片放大弹窗样式 */
.image-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.image-zoom-modal.active {
    opacity: 1;
    visibility: visible;
}

.image-zoom-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    overflow: hidden;
    border-radius: 8px;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    display: inline-block;
}

.image-zoom-modal.active .image-zoom-content {
    transform: scale(1);
}

.zoomed-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.image-zoom-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, visibility 0.3s ease 0.1s;
    z-index: 10000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
}

.image-zoom-content:hover .image-zoom-close,
.image-zoom-close:hover {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s ease 0s;
}

.image-zoom-close:hover {
    background-color: rgba(255, 0, 0, 0.8);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .image-zoom-close {
        top: 10px;
        right: 10px;
        background-color: rgba(0, 0, 0, 0.8);
        width: 35px;
        height: 35px;
        font-size: 24px;
        opacity: 1;
        visibility: visible;
        transition: opacity 0.3s ease, visibility 0s ease;
    }

    .image-zoom-content:hover .image-zoom-close,
    .image-zoom-close:hover {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.3s ease, visibility 0s ease 0s;
    }
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    background-color: #4A90E2;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #4A90E2;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #4A90E2;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #4A90E2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
}

/* 标题样式 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #4A90E2;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #4A90E2;
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* 页首横幅 */
.banner {
    color: white;
    text-align: center;
    padding: 0;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #4A90E2 0%, #5FADFF 100%);
    min-height: 400px;
}

/* 为每个轮播项设置不同背景色 */
.banner-slide:nth-child(1) {
    background: linear-gradient(135deg, #4A90E2 0%, #5FADFF 100%);
}

.banner-slide:nth-child(2) {
    background: linear-gradient(135deg, #50E3C2 0%, #93F9B9 100%);
}

.banner-slide:nth-child(3) {
    background: linear-gradient(135deg, #FF8008 0%, #FFC837 100%);
}

/* 轮播图按钮颜色协调 */
.banner-slide:nth-child(1) .btn-primary {
    background-color: rgba(255, 255, 255, 0.9);
    color: #4A90E2;
}

.banner-slide:nth-child(1) .btn-primary:hover {
    background-color: white;
    color: #357ABD;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
}

.banner-slide:nth-child(2) .btn-primary {
    background-color: rgba(255, 255, 255, 0.9);
    color: #28C79A;
}

.banner-slide:nth-child(2) .btn-primary:hover {
    background-color: white;
    color: #22A682;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
}

.banner-slide:nth-child(3) .btn-primary {
    background-color: rgba(255, 255, 255, 0.9);
    color: #FF9100;
}

.banner-slide:nth-child(3) .btn-primary:hover {
    background-color: white;
    color: #FF6F00;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    min-height: 400px;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    transform: translateX(100%);
    transition: transform 0.5s ease;
    opacity: 0;
    padding: 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.banner-slide.active {
    transform: translateX(0);
    opacity: 1;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.banner-slide.prev {
    transform: translateX(-100%);
    opacity: 1;
    transition: transform 0.5s ease, opacity 0.3s ease 0.2s;
}

.banner-slide h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.banner-slide p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.banner-dot.active {
    background-color: white;
    transform: scale(1.3);
    border-color: white;
}

/* 页面标题部分 */
.page-title {
    background-color: #4A90E2;
    color: white;
    text-align: center;
    padding: 8rem 2rem 6rem;
    margin-top: 70px;
}

.page-title h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-title p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 服务部分 */
.services {
    padding: 6rem 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-item {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 128px;
    height: 128px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 隐私政策内容 */
.privacy-content {
    padding: 4rem 0;
    background-color: white;
}

.privacy-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.privacy-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #4A90E2;
    border-bottom: 2px solid #4A90E2;
    padding-bottom: 0.5rem;
}

.privacy-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #333;
}

.privacy-section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.privacy-section li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0.8rem;
    color: #333;
    list-style-type: disc;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4A90E2;
}

/* 产品预览部分 */
.products-preview {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

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

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: auto;
    min-height: 200px;
    display: block;
    background-color: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.product-content {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
}

.product-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: #333;
}

.product-item p {
    margin-bottom: 1rem;
    color: #666;
}



/* 关于预览部分 */
.about-preview {
    padding: 6rem 0;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.intro-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.intro-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.intro-slide {
    display: none;
    position: relative;
}

.intro-slide.active {
    display: block;
}

.intro-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.intro-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.intro-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.intro-dot.active {
    background-color: #4A90E2;
    transform: scale(1.2);
}

.intro-prev,
.intro-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.intro-prev:hover,
.intro-next:hover {
    background-color: #4A90E2;
    color: white;
}

.intro-prev {
    left: 10px;
}

.intro-next {
    right: 10px;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #4A90E2;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .about-preview {
        padding: 4rem 0;
    }

    .about-content {
        gap: 2rem;
    }

    .about-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.7;
    }
}

/* 联系信息部分 */
.contact-info {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #4A90E2;
}

.contact-text p {
    color: #666;
}

/* 产品分类导航 */
.product-categories {
    padding: 2rem 0;
    background-color: white;
    border-bottom: 1px solid #eee;
}

.categories-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-item {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    margin: 0.5rem;
    text-decoration: none;
    color: #333;
    background-color: #f5f5f5;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-item:hover {
    background-color: #e0e0e0;
    color: #4A90E2;
    transform: translateY(-2px);
}

.category-item.active {
    background-color: #4A90E2;
    color: white;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

/* 产品页面样式 */
.products {
    padding: 2rem 0;
    background-color: #f9f9f9;
}

.products .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    justify-content: flex-start;
}

.products .product-item {
    display: flex;
    flex-direction: column;
}

.products .product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
}

.product-category {
    color: #4A90E2;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.product-description {
    margin-bottom: 0.8rem;
    flex: 1;
    font-size: 0.9rem;
}

.product-features {
    margin-bottom: 1rem;
}

.product-features h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: #333;
}

.product-features ul {
    list-style-position: inside;
    color: #666;
    font-size: 0.9rem;
}

.product-features li {
    margin-bottom: 0.2rem;
}

.product-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: auto;
    justify-content: center;
}

/* 关于页面样式 */
.company-intro {
    padding: 4rem 0;
    background-color: white;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #4A90E2;
}

.intro-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #666;
}

.intro-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 发展历程 */
.timeline {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.timeline-list {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-list::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #4A90E2;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid #4A90E2;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4A90E2;
    margin-bottom: 0.5rem;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 团队介绍 */
.team {
    padding: 4rem 0;
    background-color: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.member-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.member-position {
    color: #4A90E2;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.member-bio {
    color: #666;
    font-size: 0.9rem;
}

/* 企业文化 */
.culture {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.culture-white {
    padding: 4rem 0;
    background-color: white;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.culture-item {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.culture-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.culture-icon {
    margin-bottom: 1rem;
}

.culture-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

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

/* ESG 模块样式 */
.esg-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.esg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.esg-item {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.esg-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.esg-icon {
    margin-bottom: 1rem;
}

.esg-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

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

/* 联系页面样式 */
.contact {
    padding: 4rem 0;
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form h3,
.contact-details h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #4A90E2;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

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

.contact-info-list {
    margin-bottom: 3rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-info-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-size: 24px;
    color: #4A90E2;
}

.contact-info-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-info-text p {
    color: #666;
    margin-bottom: 0.3rem;
}

.social-media h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.social-media .social-icons {
    gap: 1.5rem;
}

/* 辅助类 */
.text-center {
    text-align: center;
    margin-top: 2rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .banner-slide h2 {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-text h2::after {
        margin-left: auto;
    }
}

@media (max-width: 768px) {


    .about-text h2::after {
        margin: 0.5rem auto 0;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }



    .about-image {
        border-radius: 6px;
    }

    /* 移动端导航 */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: white;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transition: 0.3s;
        z-index: 999;
    }

    /* 关于页面 */
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-grid,
    .culture-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }

    .team-member,
    .culture-item {
        padding: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 2rem;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .banner {
        padding: 0;
        min-height: 300px;
    }

    .banner-slide h2 {
        font-size: 2rem;
    }

    .banner-slide p {
        font-size: 1.2rem;
    }

    .page-title {
        padding: 6rem 2rem 4rem;
    }

    .page-title h2 {
        font-size: 2rem;
    }

    /* 发展历程 */
    .timeline-list::before {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after,
    .timeline-item:nth-child(even)::after {
        left: 21px;
    }

    /* 产品页面 */
    .products .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-content: center;
    }

    /* 确保产品图片在手机端充满容器 */
    .products .product-image {
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
        display: block !important;
    }

    .products .product-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    .products .product-actions {
        flex-direction: column;
        justify-content: center;
    }

    .products .product-actions .btn-primary,
    .products .product-actions .btn-secondary {
        text-align: center;
    }

    /* 联系页面 */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .banner-slide h2 {
        font-size: 1.8rem;
    }

    .banner-slide p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .services-grid,
    .products-grid,
    .contact-grid,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-item,
    .product-item,
    .contact-item {
        padding: 1.5rem;
    }

    /* 确保产品图片在手机端充满容器 */
    .product-image {
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
        display: block !important;
    }

    .product-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    /* 产品页面特定样式 */
    .products .product-image {
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
        display: block !important;
    }

    .products .product-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    .footer-content {
        gap: 1.5rem;
    }

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

    /* 调整移动端logo大小 */
    .logo h1 {
        font-size: 1.4rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 滚动动画 */
@media (prefers-reduced-motion: no-preference) {

    .service-item,
    .product-item,
    .about-text,
    .about-image,
    .contact-item,
    .team-member,
    .culture-item {
        animation: fadeInUp 0.6s ease forwards;
        opacity: 0;
    }

    .service-item:nth-child(1),
    .product-item:nth-child(1),
    .team-member:nth-child(1),
    .culture-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .service-item:nth-child(2),
    .product-item:nth-child(2),
    .team-member:nth-child(2),
    .culture-item:nth-child(2) {
        animation-delay: 0.2s;
    }

    .service-item:nth-child(3),
    .product-item:nth-child(3),
    .team-member:nth-child(3),
    .culture-item:nth-child(3) {
        animation-delay: 0.3s;
    }

    .service-item:nth-child(4),
    .product-item:nth-child(4),
    .team-member:nth-child(4),
    .culture-item:nth-child(4) {
        animation-delay: 0.4s;
    }
}

/* 产品详情页面样式 */
.product-detail {
    padding: 4rem 0;
    background-color: white;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.product-detail-image {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 主图容器 */
.product-main-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 2rem;
}

/* 主图样式 */
.main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 确保主图容器充满整个图片区域 */
.product-main-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 2rem;
}

/* 活动主图样式 */
.main-image.active {
    opacity: 1;
}

/* 缩略图容器 */
.product-thumbnail-images {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    position: relative;
    z-index: 10;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* 自定义滚动条样式 */
.product-thumbnail-images::-webkit-scrollbar {
    height: 6px;
}

.product-thumbnail-images::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.product-thumbnail-images::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.product-thumbnail-images::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* 缩略图样式 */
.thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* 活动缩略图样式 */
.thumbnail.active {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* 缩略图悬停效果 */
.thumbnail:hover {
    border-color: #0056b3;
    transform: scale(1.05);
}

/* 视频缩略图容器样式 */
.video-thumbnail {
    position: relative;
    width: 100px;
    height: 100px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-block;
    flex-shrink: 0;
}

/* 视频缩略图内部图片样式 */
.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 视频播放图标样式 */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 123, 255, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    padding-left: 3px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* 视频缩略图活动状态 */
.video-thumbnail.active {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* 视频缩略图悬停效果 */
.video-thumbnail:hover {
    border-color: #0056b3;
    transform: scale(1.05);
}

/* 确保所有缩略图都有一致的尺寸和显示效果 */
.product-thumbnail-images .thumbnail {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
}

.product-thumbnail-images .video-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.product-detail-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 2px solid #4A90E2;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.product-detail-info p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.product-features-list {
    margin-bottom: 1.5rem;
    color: #666;
}

.product-features-list li {
    margin-bottom: 0.8rem;
    padding-left: 0;
    position: relative;
    word-wrap: break-word;
}

.product-features-list li::before {
    display: none;
}

.product-specs {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    margin-left: 0;
    padding-left: 0;
}

.product-specs tr {
    border-bottom: 1px solid #eee;
}

.product-specs td {
    padding: 0.8rem 0;
    color: #666;
    vertical-align: top;
}

.product-specs td:first-child {
    font-weight: bold;
    color: #333;
    width: 45%;
    padding-right: 1rem;
}

.product-detail-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.product-detail-description {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-detail-description h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.product-detail-description p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-detail {
        padding: 2rem 0;
    }

    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-detail-image {
        padding: 0;
    }

    /* 修复产品信息区域内边距 */
    .product-detail-info {
        padding: 0 1.5rem;
    }

    /* 修复主图容器高度固定问题 */
    .product-main-image {
        height: auto;
        min-height: 250px;
    }

    .product-main-image img,
    .product-main-image video {
        position: static;
        width: 100%;
        height: auto;
        opacity: 0;
        display: none;
    }

    .product-main-image img.active,
    .product-main-image video.active {
        opacity: 1;
        display: block;
    }

    /* 修复缩略图显示问题 */
    .product-thumbnail-images {
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 1rem;
    }

    .thumbnail,
    .video-thumbnail {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }

    .product-detail-image svg {
        width: 100%;
        height: auto;
    }

    /* 修复表格样式问题 */
    .product-specs {
        font-size: 0.9rem;
    }

    .product-specs td {
        padding: 0.6rem 0;
    }

    .product-specs td:first-child {
        width: 40%;
    }

    /* 调整字体大小 */
    .product-detail-info h3 {
        font-size: 1.3rem;
    }

    .product-detail-info p,
    .product-features-list li,
    .product-detail-description p {
        font-size: 0.9rem;
    }

    /* 修复操作按钮样式 */
    .product-detail-actions {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    .product-detail-actions .btn-primary,
    .product-detail-actions .btn-secondary {
        width: 100%;
        text-align: center;
    }

    /* 调整详情描述区域 */
    .product-detail-description {
        padding: 1.5rem;
    }

    .product-detail-description h3 {
        font-size: 1.3rem;
    }
}