* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #004080;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #004080;
}

.nav-links a.active {
    color: #004080;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #004080;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 首页横幅 */
.hero {
    position: relative;
    height: 100vh;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: left;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/main.jpg') no-repeat center center;
    background-size: cover;
    z-index: -2;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0;
    transition: opacity 1s ease;
    object-fit: cover;
}

.hero-video.loaded {
    opacity: 1;
}

.hero-image {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 1;
    transition: opacity 1s ease;
    object-fit: cover;
}

.hero-image.hide {
    opacity: 0;
    z-index: -2;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: #004080;
    color: #fff;
}

.btn-primary:hover {
    background-color: #00264d;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: #004080;
    border: 2px solid #004080;
}

.btn-outline:hover {
    background-color: #004080;
    color: #fff;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 20px 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #004080;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 产品中心页面 */
.products-page {
    padding: 120px 0 50px;
}

.products-page h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #004080;
}

.products-page .section-desc {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 核心产品系列 */
#products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #004080;
}

#products .section-desc {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.product-filter {
    margin: 30px 0;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.filter-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-group label {
    font-weight: bold;
    color: #004080;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    background: #f0f0f0;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: #004080;
    color: #fff;
}

/* 产品轮播 */
.product-carousel {
    position: relative;
    margin: 30px 0;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1000px;
    padding: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #004080;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    padding: 0 10px;
    box-sizing: border-box;
}

.carousel-prev,
.carousel-next {
    background-color: rgba(0, 64, 128, 0.7);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    pointer-events: auto;
    transition: background-color 0.3s;
    border-radius: 5px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: rgba(0, 64, 128, 0.9);
}

/* 产品卡片 */
.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 首页核心产品系列中的产品图片 */
#products .product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 20px;
    background: #f8f9fa;
    flex-shrink: 0;
}

#products .product-card h3 {
    margin: 0 20px 10px;
    color: #004080;
    font-size: 1.2rem;
}

#products .product-card p {
    padding: 0 20px 20px;
    color: #666;
    flex-grow: 1;
}

/* 产品列表页面的图片 */
.product-image {
    padding: 20px;
    background: #f8f9fa;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
}

.product-info {
    padding: 0 20px 20px;
}

.product-desc {
    color: #666;
    margin-bottom: 10px;
    min-height: 40px;
}

/* 产品类型标签 */
.product-card .product-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px !important; /* 使用 !important 确保样式不被覆盖 */
    background-color: rgba(0, 64, 128, 0.25);
    color: #004080;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    min-height: 0;
    height: auto;
    margin-top: 12px;
    /* 添加阴影效果提升层次感 */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    vertical-align: middle;
    min-width: 100px; /* 最小宽度 */
    width: auto; /* 自动宽度 */
    box-sizing: border-box;
}

/* 居中显示产品类型标签 */
.product-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* 产品详情页面 */
.product-detail {
    padding: 120px 0 50px;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.product-detail-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
}

.product-detail-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.product-detail-info h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #004080;
}

.product-detail-info p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.product-features {
    margin-bottom: 30px;
    list-style: none;
}

.product-features li {
    padding: 10px 0 10px 30px;
    position: relative;
}

.product-features li::before {
    content: '✓';
    color: #004080;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.product-actions {
    display: flex;
    gap: 15px;
}

.product-specs {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.product-specs h2 {
    margin-bottom: 20px;
    color: #004080;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table td:first-child {
    font-weight: bold;
    color: #004080;
    width: 20%;
}

/* 解决方案 */
.solutions {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.solutions h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #004080;
}

.section-desc {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.solution-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.solution-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.solution-card h3 {
    margin-bottom: 15px;
    color: #004080;
}

.solution-link {
    display: inline-block;
    margin-top: 15px;
    color: #004080;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.solution-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #004080;
    transition: width 0.3s ease;
}

.solution-link:hover::after {
    width: 100%;
}

/* 关于我们 */
.about {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #004080;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* 新闻资讯 */
.news {
    padding: 100px 0;
}

.news h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #004080;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 25px;
}

.news-date {
    color: #004080;
    font-weight: 500;
    font-size: 0.9rem;
}

.news-content h3 {
    margin: 10px 0;
    color: #333;
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
}

.news-link {
    color: #004080;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.news-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #004080;
    transition: width 0.3s ease;
}

.news-link:hover::after {
    width: 100%;
}

/* 新闻中心页面 */
.news-page {
    padding: 120px 0 50px;
}

.news-page h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #004080;
}

.news-page .section-desc {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 新闻详情页面 */
.news-detail {
    padding: 120px 0 50px;
}

.news-article h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #004080;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    color: #666;
}

.news-content {
    line-height: 1.8;
}

.news-content p {
    margin-bottom: 20px;
}

.news-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 20px 0;
}

.news-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.nav-link {
    color: #004080;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.nav-link:hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #004080;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-info {
    padding: 50px;
    background: linear-gradient(135deg, #004080 0%, #00264d 100%);
    color: #fff;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info > p {
    opacity: 0.9;
    margin-bottom: 30px;
}

.detail-item {
    margin-bottom: 30px;
}

.detail-item h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-form {
    padding: 50px;
}

.contact-form h3 {
    margin-bottom: 30px;
    color: #004080;
    font-size: 1.8rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #004080;
    box-shadow: 0 0 0 2px rgba(0, 64, 128, 0.1);
}

/* 页脚 */
.footer {
    background-color: #00264d;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copyright {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .about-content,
    .contact-wrapper,
    .product-detail-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .product-detail-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }
    
    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero {
        text-align: center;
        justify-content: center;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .solution-grid,
    .product-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-header {
        flex-direction: column;
    }
    
    .contact-info,
    .contact-form {
        padding: 30px;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
}