/* 产品中心页面样式 */

/* 页面横幅 */
.page-banner {
    height: 300px;
    background: linear-gradient(rgba(26, 58, 92, 0.4), rgba(26, 58, 92, 0.4)),
                url('../IMG/186221861b6459ef51bb89126bcb4f45.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: #fff;
    margin-top: 70px;
    padding-left: 10%;
}

.page-banner-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-banner-content p {
    font-size: 18px;
    opacity: 0.8;
}

/* 产品筛选 */
.filter-buttons {
    padding: 80px 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #666;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: #4a9eff;
    color: #4a9eff;
}

.filter-btn.active {
    background: linear-gradient(135deg, #4a9eff 0%, #2d7dd2 100%);
    border-color: transparent;
    color: #fff;
}

/* 产品列表 */
.products-list {
    padding: 60px 0 80px;
    background-color: #f8f9fa;
}

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

.product-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.product-card.hidden {
    display: none;
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #4a9eff 0%, #2d7dd2 100%);
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
}

.category-tag.dip {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a3a5c;
    margin-bottom: 10px;
}

.product-info p {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 40px;
}

.btn-inquiry {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, #4a9eff 0%, #2d7dd2 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-inquiry:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 125, 210, 0.3);
}

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

@media (max-width: 576px) {
    .page-banner-content h1 {
        font-size: 32px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-tabs {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}
