/* 关于我们区域样式 */
.about-section {
    padding: 60px 0;
    background-color: #fff;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-content {
    flex: 1;
}

.about-title {
    font-size: 34px;
    color: #2c3e50;
    position: relative;
    text-align: right;
    font-weight: 600;
}

.about-sub-title {
    font-size: 22px;
    color: #7f8c8d;
    position: relative;
    padding-bottom: 20px;
    text-align: right;
    letter-spacing: 1px;
}

.about-sub-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: #3498db;
    border-radius: 2px;
}

.about-description {
    font-size: 16px;
    line-height: 1.8;
    color: #5d6d7e;
    margin-bottom: 30px;
    text-align: right;
    font-weight: 400;
}

.about-image {
    flex: 1;
    max-width: 500px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-title {
    font-size: 34px;
    color: rgba(255, 255, 255, 1);
    position: relative;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.product-sub-title {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding-bottom: 20px;
    text-align: center;
    letter-spacing: 1px;
}

.product-sub-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 48%;
    width: 50px;
    height: 3px;
    background-color:rgba(255, 255, 255, 0.6);
    border-radius: 2px;
}


/* 响应式布局 */
@media (max-width: 1199px) and (min-width: 769px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .about-title {
        font-size: 28px;
        text-align: center;
    }
    .about-sub-title {
        font-size: 20px;
        text-align: center;
    }

    .about-sub-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-image {
        display: none;
    }

    .products-content {
        display: flex;
        flex-direction: row;
        gap: 30px;
    }
    
    .product-categories {
        width: 180px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
        display: grid !important;
        flex: 1;
    }
    
    .product-card {
        width: 100%;
        margin: 0 auto 15px;
        transform: none;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.05);
        overflow: hidden;
        max-width: none;
        display: block;
        height: auto;
    }
    
    .product-image {
        height: 180px;
        width: 100%;
        overflow: hidden;
    }
    
    .product-info {
        padding: 0.8rem;
    }
    
    .product-info h3 {
        font-size: 0.95rem;
        margin: 0;
        text-align: center;
        color: rgba(255, 255, 255, 0.8);
    }
}

/* 我们的产品区域样式 */
.products-section {
    width: 100%;
    background-color: rgb(2, 34, 76);
    padding: 60px 0;
}

/* 新闻资讯区域样式 */
.news-section {
    width: 100vw;
    padding: 60px 0;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-title {
    font-size: 34px;
    color: #2c3e50;
    position: relative;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 24px;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    border-color: rgba(52, 152, 219, 0.1);
}

.news-info h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.5;
    font-weight: 600;
}

.news-date {
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 400;
}

.news-more-btn {
    background-color: #3498db;
    color: white;
    border: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.news-more-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.products-content {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.product-categories ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.product-categories li {
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0.5;
}

.product-categories li:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.product-categories li.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.product-list {
    flex: 1;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.product-categories {
    width: 200px;
}

.product-categories a {
    display: block;
    padding: 0.8rem 1rem;
    color: #cccccc;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.product-categories a:hover,
.product-categories li.active a {
    background-color: #007bff;
    color: white;
}

.product-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1rem;
}

.product-info h3 {
    margin: 0;
    text-align: center;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 5px 0;
}

.view-more {
    text-align: center;
    margin-top: 2rem;
}

.view-more-btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.25);
}

.view-more-btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(52, 152, 219, 0.4);
    color: white;
}

@media (max-width: 768px) {
    .products-content {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .product-categories {
        width: 100%;
    }

    .product-categories ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .product-categories li {
        margin: 0;
        width: 100%;
    }
    
    .product-categories a {
        padding: 0.6rem 1rem;
        font-size: 14px;
        background: rgba(255, 255, 255, 0.05);
    }

    .product-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        width: 100%;
    }
    
    .product-card {
        width: 100%;
        margin: 0;
        transform: none;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.08);
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-info h3 {
        font-size: 1rem;
        margin: 0;
        line-height: 1.4;
    }
    
    .view-more-btn {
        padding: 0.7rem 1.5rem;
        font-size: 14px;
    }

    .about-title {
        font-size: 28px;
        text-align: center;
    }
    .about-sub-title {
        font-size: 20px;
        text-align: center;
    }

    .about-sub-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .product-title {
        font-size: 28px;
        text-align: center;
    }
    .product-sub-title {
        font-size: 20px;
        text-align: center;
    }

    .product-sub-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-section {
        padding: 40px 0;
    }


    .about-description {
        font-size: 14px;
        text-align: right;
    }

    .about-image {
        display: none;
    }

    .about-container {
        gap: 20px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-title {
        font-size: 28px;
    }
    
    .news-sub-title {
        font-size: 18px;
    }
}