/* 产品容器 */
.product-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #000;
    box-sizing: border-box;
}
#wrap{
    background-color: #000;
}

/* 顶部产品类别 */
.product-category {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
}

.category-item {
    width: 140px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-image {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 4:3 比例 */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-item:hover .category-image img {
    transform: scale(1.05);
}

.category-item h3 {
    font-size: 20px;
    color: #fff;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.category-item.active h3,
.category-item:hover h3 {
    color: #FE8B00;
}

/* 子标签页 */
.sub-tabs {
    display: flex;
    /* justify-content: center; */
    gap: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 15px;
}

.tab-item {
    font-size: 18px;
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-item::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #FE8B00;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-item:hover {
    color: #FE8B00;
}

.tab-item.active {
    /* color: #FE8B00; */
}

.tab-item.active::after {
    transform: scaleX(1);
}

/* 内容区域 */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 产品网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

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

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

.product-image {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 比例 */
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0;
    transform: scale(1.1);
}

.product-image img.loaded {
    opacity: 1;
    transform: scale(1);
}

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

/* 悬停信息 */
.hover-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.hover-info h4 {
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 18%;
}

.hover-info p {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.detail-btn {
    display: inline-block;
    padding: 8px 20px;
    background: none;
    color: #fff;
    border: 1px solid #fff;
    text-decoration: none;
    transition: background 0.3s ease;
}

.detail-btn:hover {
    background: #FE8B00;
    color: #fff;
    border: 1px solid #FE8B00;
}

.product-info {
    padding: 20px;
}

.product-info h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
}

.product-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* 响应式布局 */
@media screen and (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-item {
        width: 140px;
    }
}

@media screen and (max-width: 768px) {
    .product-category {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .category-item {
        width: 100%;
        max-width: 200px;
    }

    .sub-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }

    .tab-item {
        font-size: 16px;
        padding: 8px 15px;
    }

    .product-grid {
        gap: 20px;
    }
}

@media screen and (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .sub-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        /* padding-bottom: 5px; */
        margin-bottom: 30px;
    }

    .tab-item {
        font-size: 14px;
        padding: 6px 12px;
        white-space: nowrap;
    }

    .hover-info h4 {
        font-size: 18px;
    }

    .hover-info p {
        font-size: 12px;
    }

    .detail-btn {
        padding: 6px 15px;
        font-size: 14px;
    }
    .news-image img {
        width: 100px !important;
    }
} 






.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    display: flex;
    gap: 30px;
    /* background-color: #fff; */
    background: rgba(26, 26, 26, 1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.news-image {
    flex: 0 0 500px;
    height: 500px;
    position: relative;
    overflow: hidden;
    display: flex;
        justify-content: center;
        align-items: center;
    background: linear-gradient(180.00deg, rgba(27, 30, 29, 1),rgba(69, 67, 61, 1) 100%);
}

.news-image img {
    width: 270px;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.view-more {
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 4px;
}

.news-content {
    flex: 1;
    padding: 80px 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-desc {
    font-size: 14px;
    color: #808080;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    /*display: -webkit-box;*/
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-date {
    color: #999;
    font-size: 14px;
}

.read-more {
    color: #FE8B00;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #e38d45;
}




@media screen and (max-width: 1024px) {
    .news-image {
        flex: 0 0 250px;
    }
}

@media screen and (max-width: 768px) {
    .news-container {
        padding: 20px;
    }

    .news-tabs {
        gap: 20px;
    }

    .tab-item {
        font-size: 16px;
    }

    .news-item {
        flex-direction: column;
        gap: 0;
    }

    .news-image {
        flex: 0 0 200px;
    }

    .news-content {
        padding: 20px;
    }

    .news-title {
        font-size: 18px;
    }

    .pagination {
        margin-top: 30px;
    }
}

@media screen and (max-width: 480px) {
    .news-tabs {
        gap: 15px;
    }

    .tab-item {
        font-size: 14px;
    }

    .news-image {
        flex: 0 0 150px;
    }

    .news-title {
        font-size: 16px;
    }

    .page-numbers {
        gap: 5px;
    }

    .page-number, .page-btn {
        min-width: 35px;
        height: 35px;
        font-size: 14px;
    }
} 



.hp-detail-btn {
    display: inline-block;
    padding: 8px 20px;
    background: transparent;
    color: #ff6634;
    text-decoration: none;
    border: 2px solid #ff6634;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hp-detail-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #ff6634;
    transition: width 0.3s ease;
    z-index: -1;
}

.hp-detail-btn:hover {
    color: #fff;
}

.hp-detail-btn:hover:before {
    width: 100%;
}

.news-item .detail-btn {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.news-item:hover .detail-btn {
    opacity: 1;
    transform: translateY(0);
}

/* .news-item .detail-btn:after {
    content: '→';
    transition: transform 0.3s ease;
} */

.news-item .detail-btn:hover:after {
    transform: translateX(5px);
}
.feature-item:hover .detail-btn {
    opacity: 1;
    /* transform: translateY(0); */
}