/* 首页主内容区域 */
.main-content {
    min-height: 60vh;
    background: white;
}

/* Banner区域 */
.banner-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    height: 840px;
    background-color: #8d0004;
}

.bannerSwiper {
    width: 100%;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background-color: #8d0004;
}

.bannerSwiper .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #8d0004;
    overflow: hidden;
}

.bannerSwiper .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background-color: #8d0004;
}

.banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background-color: #8d0004;
}

.banner-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 80px;
    z-index: 5;
}

.banner-title {
    margin-left: 10%;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    max-width: 600px;
}

.banner-subtitle {
    padding-left: 15%;
    font-size: 40px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    margin-left: 20px;
}

/* Banner文字动画 */
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 页面滚动动画 */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}


/* Swiper按钮样式 */
.bannerSwiper .swiper-button-next,
.bannerSwiper .swiper-button-prev {
    color: #8d0004;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: -25px;
    transition: all 0.3s ease;
}



.bannerSwiper .swiper-button-next {
    right: 20px;
}

.bannerSwiper .swiper-button-prev {
    left: 20px;
}

/* Swiper指示器样式 */
.bannerSwiper .swiper-pagination {
    bottom: 20px;
}

.bannerSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.bannerSwiper .swiper-pagination-bullet-active {
    background: #ffb503;
    transform: scale(1.2);
}

/* 产品展示区域 */
.product-section {
    padding: 20px 0;
    opacity: 0;
    transform: translateY(50px);
}

.product-section.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* 产品分类标签 */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 10%;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-item {
    padding: 4px 24px;
    color: #333;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-item:hover {
    background: #8d0004;
    color: white;
    transform: translateY(-2px);

}

.tab-item.active {
    background: #8d0004;
    color: white;

}

/* 产品网格容器 */
.product-grid-container {
    margin-bottom: 20px;
    position: relative;
    min-height: 500px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(20px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.product-grid.active {
    opacity: 1;
    position: relative;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* 产品列的独立上下切换按钮 */
.product-nav-prev,
.product-nav-next {
    background: rgba(139, 0, 0, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.product-nav-prev:hover,
.product-nav-next:hover {
    background: rgba(139, 0, 0, 1);
    transform: scale(1.1);
}

.product-nav-prev {
    margin-bottom: 10px;
}

.product-nav-next {
    margin-top: 10px;
}

/* 产品列包装器 */
.product-column-wrapper {
    width: 100%;
    height: 580px;
    overflow: hidden;
    position: relative;
}

.nav-title {
    border: 1px solid #ddd;
    padding: 6px 12px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-align: center;
    width: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-title:hover {
    color: #ffffff;
    background: #ffb503;
    border-color: #ffffff;
}

.nav-title.active {
    background: #8B0000;
    color: white;
    border-color: #8B0000;
}

.product-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    transition: transform 0.5s ease;
}

.product-item {
    background: #fcf8ef;
    border-radius: 4%;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0;
    transform: scale(0.8);
    cursor: pointer;
}

.product-item.animate {
    animation: scaleIn 0.3s ease-out forwards;
}

.product-item:hover {
    transform: translateY(-8px) scale(1.05);
}

.product-image {
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.product-item img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 延迟加载图片样式 */
.product-item img.lazy-image {
    opacity: 0;
    background-color: #f0f0f0;
    min-height: 200px;
}

.product-item img.lazy-image[src] {
    opacity: 1;
}

.product-item:hover img {
    transform: scale(1.1);
}


.discount-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.product-item h4 {
    color: #000;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.product-item:hover h4 {
    color: #8B0000;
}

.more-btn {
    text-align: center;
}


.about-section {
    padding: 5px 0px 70px 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url('/template/default/images/about/bg.webp');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: translateY(50px);
}

.about-section.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

.about-content {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: 60px;
}

.about-text {
    opacity: 0;
    transform: translateX(-50px);
}

.about-text.animate {
    animation: fadeInLeft 0.8s ease-out 0.3s forwards;
}

.about-image {
    opacity: 0;
    transform: translateX(50px);
}

.about-image.animate {
    animation: fadeInRight 0.8s ease-out 0.6s forwards;
}



.about-text h3 {
    color: #8B0000;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: -10px;
}

.about-text h4 {
    color: #8B0000;
    font-size: 26px;
    margin: 10% 0 10px;
    font-weight: 500;
}

.about-text span{
    font-size: 12px;
    color: #6f6f6f;
    letter-spacing: 0.43em;
    margin-bottom: 15px;
}
.about-text-line{
    width: 100%;
    height: 15px;

}
.about-text p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
    text-indent: 2em;
}

.about-btn{
    margin-top: 15%;
}

.about-image img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}


.advantage-section {
    padding: 40px 0;
    background-image: url('/template/default/images/about/bg2.webp');
    background-color: #252525;
    color: white;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;

}


.advantage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.advantage-image img {
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.advantage-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.advantage-icon.animate {
    animation: pulse 2s infinite;
}

.advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.advantage-text h4 {
    color: #FFD700;
    margin-bottom: 10px;
    font-size: 18px;
}

.advantage-text p {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    text-align: left;
    padding-left: 4.3em;
    text-indent: -4.3em;
}

.advantage-title {
    color: #ffb503;
    font-weight: bold;
}

/* 案例展示区域 */
.case-section {
    padding:20px 0 20px 0;
    background: white;
    opacity: 0;
    transform: translateY(50px);
}

.case-section.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

.case-swiper {
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
    width: 100%;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    transition: transform 0.5s ease;
    width: 100%;
}

/* 当案例数量超过可见数量时，启用滑动模式 */
.case-grid.multiple-slides {
    display: flex !important;
    flex-wrap: nowrap;
    grid-template-columns: none !important;
    gap: 20px; 
    width: 100%; 
}

.case-grid.multiple-slides .case-item {
    flex: 0 0 calc(20% - 16px);
    min-width: 0; 
}

/* 非滑动模式下确保使用grid布局 */
.case-grid:not(.multiple-slides) {
    display: grid;
}

.case-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.case-prev,
.case-next {
    background: rgba(139, 0, 0, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    z-index: 10;
}

.case-prev:hover,
.case-next:hover {
    background: rgba(139, 0, 0, 1);
    transform: scale(1.1);
}

.case-prev {
    left: 20px;
}

.case-next {
    right: 20px;
}

.case-item {
    background: #f7f4ed;
    border-radius: 5%;
    text-align: center;
    padding-bottom: 15px;
    transition: all 0.3s ease;
    color: #333;
    opacity: 0;
    transform: scale(0.8);
    cursor: pointer;
}

.case-item.animate {
    animation: scaleIn 0.6s ease-out forwards;
}

.case-item:hover {
    transform: translateY(-8px) scale(1.05);
    color:rgba(139, 0, 0, 1);
}

.case-image {
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 8px;
}

.case-item img {
    width: 100%;

    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.case-item:hover img {
    transform: scale(1.1);
}

.case-item h3 {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.case-item:hover h3 {
    color: #8B0000;
}

/* 新闻资讯区域 */
.news-section {
    padding:0 0 40px 0;
    opacity: 0;
    transform: translateY(50px);
}

.news-section.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

.news-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.news-main {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(-50px);
    height: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-main:hover {
    transform: translateX(-50px) scale(1.02);
}

.news-main.animate {
    animation: fadeInLeft 0.8s ease-out 0.3s forwards;
}

/* 特色新闻头部 */
.featured-news {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.news-header {
    background: #8B0000;
    color: white;
    padding: 15px 20px;
    margin-bottom: 0;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.news-header h3 {
    color: white;
    font-size: 22px;
    font-weight: bold;
    margin: 0;
    text-align: left;
    flex: 1;
}

.news-header-date {
    color: white;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0.9;
}

/* 新闻卡片 */
.news-card {
    margin-bottom: 10px;
    background: #f5f5f5;
    border-radius:0 0 15px 15px;

    padding:40px ;
    padding-top: 10px;
    padding-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: grid;
    flex: 1;
    grid-template-columns: 1fr;

    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.news-main:hover .news-card {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.news-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.news-text p {
    color: #333;
    line-height: 2;
    margin-bottom: 20px;
    font-weight: 600;
    text-indent: 2em;
    flex: 1;
}

/* 新闻日期 */
.news-date {
    position: absolute;
    right: 20px;
    bottom: 20px;

    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;

}

.news-date time {
    display: block;
}

.news-action {
    text-align: center;
    margin-top: 20px;
}

.news-image {
    width: 100%;
    height: 100%;
}

.news-image img {
    width: 100%;
    height: 250px;

    object-fit: cover;
    border-radius: 8px;
}

.news-sidebar {
    border-radius: 10px;
    padding:0 30px 30px 0px;
    height: 100%;
    opacity: 0;
    transform: translateX(50px);
    display: flex;
    flex-direction: column;
}

.news-sidebar.animate {
    animation: fadeInRight 0.8s ease-out 0.6s forwards;
}

.news-sidebar h4 {
    color: #8B0000;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffb503;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
    justify-content: space-between;
}

.news-list-item {
    margin-bottom: 10px;
    opacity: 0;
    transform: scale(0.8);
}

.news-list-item.animate {
    animation: scaleIn 0.6s ease-out forwards;
}

.news-list-item:last-child {
    margin-bottom: 0;
}

.news-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.news-link:hover {
    background: #e9e9e9;
    text-decoration: none;
    color: inherit;
}

.news-icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.news-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.news-info span {
    font-size: 18px;
    line-height: 1.4;
    color: #333;
    font-weight: 600;
    /*flex: 1;*/
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-info time {
    font-size: 14px;
    color: #999;
    flex-shrink: 0;
}

.news-desc {
    font-size: 12px;
    line-height: 1.6;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


.news-action-container{
    width: 75%;
    max-width: 100%;
    overflow: hidden;
}


.contact-about{
    width: 80%;
}


/* 首页响应式设计 */

@media (min-width: 2000px) {
    .tab-item{
        font-size: 26px !important;
    }
    .banner-section {
        height: auto !important;
    }
    .banner-title {
        font-size: 48px !important;
    }
    .banner-subtitle {
        font-size: 48px !important;
    }
    .product-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    .product-item img {
        height: auto !important;
    }
    .product-item h4{
        font-size: 22px !important;
    }
    .case-item h3{
        font-size: 18px !important;
    }
    .news-sidebar h4{
        font-size: 26px !important;
    }
    .news-info span{
        font-size: 18px !important;
    }
    .news-info time{
        font-size: 14px !important;
    }
    .news-desc{
        font-size: 16px !important;
    }
    .news-icon{
        width: 100px;
        height: 100px;
    }

    
    .about-text span{
        font-size: 15px !important;
    }
    .about-text h3{
        font-size: 38px !important;
    }
    .about-text h4{
        font-size: 28px !important;
    }
    .about-text p{
        font-size: 24px !important;
    }
    .advantage-text h4{
        font-size: 18px !important;
    }
    .advantage-text p{
        font-size: 24px !important;
    }
    .advantage-icon {
        width: 50px;
        height: 50px;
    }
    .section-title {
        font-size: 48px !important;
    }
    .section-title::after {
        width: 100px !important;
    }
    .case-item h3{
        font-size: 24px !important;
    }
    .btn-yellow{
        font-size: 24px !important;
    }
    .index-section-title{
        margin-top: 2% !important;
    }
    .section-title{
        margin-top: 2% !important;
    }
    .news-text p {
        font-size: 24px !important;
    }
    .news-header h3 {
        font-size: 24px !important;
    }
    .news-image img{
        height: 400px !important;
    }
    .news-header-date{
        font-size: 24px !important;
    }
    .news-info span{
        font-size: 24px !important;
    }
   
}


/* 超大屏幕优化 */
@media (max-width: 1400px) {
    .banner-section {
        height: 700px;
    }
    
    .banner-title {
        font-size: 38px;
        margin-left: 8%;
    }
    
    .banner-subtitle {
        font-size: 38px;
        padding-left: 12%;
    }
}


/* 大屏幕优化 (1600px-1200px) */
@media (max-width: 1600px) and (min-width: 1201px) {
    .banner-section {
        height: 650px;
    }
    
    .banner-title {
        font-size: 36px;
        margin-left: 5%;
        max-width: 92%;
    }
    
    .banner-subtitle {
        font-size: 36px;
        padding-left: 10%;
        margin-left: 18px;
    }
    
    .product-tabs {
        gap: 15px;
    }
    
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .product-item img {
        
    }
    
    .case-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
    
    .news-content {
        grid-template-columns: 1.2fr 1fr;
        gap: 50px;
    }
    
    .news-action-container {
        width: 85%;
    }
    
    .about-content,
    .advantage-content {
        gap: 50px;
    }
}

@media (max-width: 1200px) {
    .banner-section {
        height: 600px;
    }
    
    .banner-title {
        font-size: 32px;
        margin-left: 3%;
        max-width: 90%;
    }
    
    .banner-subtitle {
        font-size: 32px;
        padding-left: 8%;
        margin-left: 15px;
    }
    
    .product-tabs {
        gap: 20px;
    }
    
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .product-column-wrapper {
        height: 450px;
    }
    
    .product-item img {
       
    }
    
    .case-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .news-content {
        gap: 40px;
    }
    
    .advantage-content,
    .about-content {
        gap: 40px;
    }
}

/* 中等大屏幕优化 (1200px-1024px) */
@media (max-width: 1150px) and (min-width: 1025px) {
    .banner-section {
        height: 580px;
    }
    
    .banner-title {
        font-size: 30px;
        margin-left: 2%;
        max-width: 88%;
    }
    
    .banner-subtitle {
        font-size: 30px;
        padding-left: 7%;
        margin-left: 12px;
    }
    
    .product-tabs {
        gap: 18px;
    }
    
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .product-item img {
        
        
    }
    
    .case-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .news-content {
        grid-template-columns: 1.1fr 1fr;
        gap: 35px;
    }
    
    .news-action-container {
        width: 90%;
    }
    
    .about-content,
    .advantage-content {
        gap: 35px;
    }
}

/* 中等屏幕优化 (1024px-900px) */
@media (max-width: 1024px) and (min-width: 901px) {
    .banner-section {
        height: 520px;
    }
    
    .banner-title {
        font-size: 28px;
        margin-left: 1%;
        max-width: 86%;
    }
    
    .banner-subtitle {
        font-size: 28px;
        padding-left: 6%;
        margin-left: 10px;
    }
    
    .product-tabs {
        gap: 15px;
    }
    
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    
    .product-item img {
        
    }
    
    .case-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
    
    .news-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .news-action-container {
        width: 92%;
    }
    
    .about-content,
    .advantage-content {
        gap: 30px;
    }
}
@media (max-width: 1000px) {
    .main-content{
        margin-top: -20px;
    }
    .product-item{
        border-radius: 5%;
    }
    
}

/* 中等屏幕优化 */
@media (max-width: 900px) {
    .banner-section {
        height: 450px;
    }
    
    .banner-text-overlay {
        padding: 0 50px;
    }
    
    .banner-title {
        font-size: 26px;
        margin-left: 1%;
        max-width: 98%;
    }
    
    .banner-subtitle {
        font-size: 26px;
        padding-left: 4%;
        margin-left: 10px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .case-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 1024px) {
    .banner-section {
        height: 500px;
    }
    
    .banner-text-overlay {
        padding: 0 60px;
    }
    
    .banner-title {
        font-size: 28px;
        margin-left: 2%;
        max-width: 95%;
    }
    
    .banner-subtitle {
        font-size: 28px;
        padding-left: 6%;
        margin-left: 12px;
    }
    
    .product-tabs {
        gap: 15px;
    }
    
    .tab-item {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-column-wrapper {
        height: 400px;
    }
    
    .product-nav-prev,
    .product-nav-next {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .product-item img {
        
        
    }
    
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .news-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .news-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
        padding-bottom: 55px;
    }
    
    .news-date {
        right: 15px;
        bottom: 15px;
        padding: 6px 14px;
        font-size: 13px;
    }
    
    .about-content,
    .advantage-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .about-text span{
        font-size: 11px;
        letter-spacing: 0.12em;
        margin-bottom: 15px;

    }
    .case-swiper {
        margin-bottom: 30px;

    }
    /* Banner区域 */
    .banner-section {
        height: 350px;
    }
    .main-content{
        margin-top: -25px;
    }
    
    .banner-text-overlay {
        padding: 0 30px;
        align-items: center;
        text-align: center;
    }
    
    .banner-title {
        font-size: 24px;
        margin-bottom: 12px;
        max-width: 100%;
        margin-left: 0;
        line-height: 1.3;
    }
    
    .banner-subtitle {
        font-size: 24px;
        margin-left: 0;
        padding-left: 0;
        line-height: 1.3;
    }
    
    .bannerSwiper .swiper-button-next,
    .bannerSwiper .swiper-button-prev {
        display: none;
    }
    
    /* 产品区域 */
    .product-section {
        padding: 20px 0;
    }
    
    .product-tabs {
        gap: 8px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    
    .tab-item {
        padding: 8px 16px;
        font-size: 14px;
        margin: 2px;
        flex: 0 0 auto;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-column-wrapper {
        height: 380px;
    }
    
    .product-nav-prev,
    .product-nav-next {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .nav-title {
        padding: 10px 15px;
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .product-column {
        gap: 15px;
    }
    
    .product-item {
        padding: 12px;
    }
    
    .product-item img {
        
    }
    
    .product-item h4 {
        font-size: 14px;
    }
    
    /* 案例区域 */
    .case-section {
        padding: 30px 0;
    }
    
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    

    
    .case-item h3 {
        font-size: 14px;
    }
    
    /* 新闻区域 */
    .news-section {
        padding: 0 0 40px 0;
    }
    
    .featured-news h3 {
        font-size: 18px;
    }
    
    .news-header-date {
        font-size: 14px;
    }
    
    .news-text p {
        font-size: 14px;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-sidebar h4 {
        font-size: 18px;
    }
    
    .news-list-item {
        padding: 12px;
    }
    
    .news-icon {
        width: 50px;
        height: 50px;
    }
    
    .news-info span {
        font-size: 14px;
    }
    
    .news-desc {
        font-size: 12px;
    }
    
    /* 关于我们区域 */
    .about-section {
        padding: 40px 0 50px 0;
    }
    
    .about-text h3 {
        font-size: 20px;
    }
    
    .about-text h4 {
        font-size: 16px;
        margin: 15px 0 8px;
    }
    
    .about-text p {
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 12px;
    }
    
    .about-image img {
        height: 300px;
        border-radius: 8px;
    }
    
    /* 优势区域 */
    .advantage-section {
        padding: 40px 0;
    }
    
    .advantage-image img {
        height: 300px;
    }
    
    .advantage-item {
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .advantage-icon {
        width: 35px;
        height: 35px;
    }
    
    .advantage-text h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .advantage-text p {
        font-size: 14px;
        line-height: 1.6;
    }
    .product-item img{
        max-height: 500px;
    }
}

@media (max-width: 480px) {
    
    .about-text span{
        font-size: 11px;
        letter-spacing: 0.06em;
        margin-bottom: 15px;
    }
    /* Banner区域 */
    .banner-section {
        height: 280px;
    }
    
    .banner-text-overlay {
        padding: 0 20px;
    }
    
    .banner-title {
        font-size: 20px;
        margin-bottom: 8px;
        margin-left: 0;
        line-height: 1.2;
    }
    
    .banner-subtitle {
        font-size: 20px;
        margin-left: 0;
        padding-left: 0;
        line-height: 1.2;
    }
    
    /* 产品区域 */
    .product-section {
        padding: 10px 0;
    }
    
    .product-tabs {
        gap: 6px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    
    .tab-item {
        padding: 6px 12px;
        font-size: 12px;
        width: auto;
        min-width: 60px;
        text-align: center;
        margin: 2px;
    }
    
    .product-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
    
    .product-column-wrapper {
        height: 300px;
    }
    
    .product-nav-prev,
    .product-nav-next {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .nav-title {
        padding: 8px 12px;
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .product-column {
        gap: 12px;
    }
    
    .product-item {
        padding: 10px;
    }
    
    .product-item img {
       
    }
    
    .product-item h4 {
        font-size: 13px;
    }
    
    /* 案例区域 */
    .case-section {
        padding: 20px 0;
    }
    
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .case-item img {
        height: 100%;
    }
    
    .case-item h3 {
        font-size: 13px;
    }
    
    /* 新闻区域 */
    .news-section {
        padding: 0 0 30px 0;
    }
    
    .news-content {
        gap: 25px;
    }
    
    .featured-news h3 {
        font-size: 16px;
        padding: 8px 12px;
    }
    
    .news-header {
        padding: 12px 15px;
        gap: 15px;
    }
    
    .news-header-date {
        font-size: 13px;
    }
    
    .news-text p {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .news-image img {
        height: 180px;
    }
    
    .news-action {
        margin-top: 15px;
    }
    
    .news-sidebar {
        padding: 0 20px 20px 20px;
    }
    
    .news-sidebar h4 {
        font-size: 16px;
    }
    
    .news-list-item {
        padding: 0px;
        gap: 10px;
        margin-bottom: 0px;
    }
    
    .news-icon {
        width: 45px;
        height: 45px;
    }
    
    .news-info span {
        font-size: 13px;
    }
    
    .news-info time {
        font-size: 12px;
    }
    
    .news-desc {
        font-size: 11px;
    }
    
    /* 关于我们区域 */
    .about-section {
        padding: 10px 0 20px 0;
    }
    
    .about-text h3 {
        font-size: 18px;

    }
    
    .about-text h4 {
        font-size: 15px;
        margin: 12px 0 6px;
    }
    
    .about-text p {
        font-size: 13px;
        line-height: 1.8;
        margin-bottom: 10px;
    }
    
    .about-image img {
        height: 250px;
        border-radius: 6px;
    }
    
    /* 优势区域 */
    .advantage-section {
        padding: 30px 0;
    }
    
    .advantage-image img {
        height: 250px;
        border-radius: 6px;
    }
    
    .advantage-item {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .advantage-icon {
        width: 32px;
        height: 32px;
    }
    
    .advantage-text h4 {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .advantage-text p {
        font-size: 13px;
        line-height: 1.6;
    }
}

/* 案例区域中等屏幕优化 (900px-768px) */
@media (max-width: 900px) and (min-width: 769px) {
    .case-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

/* 案例区域小屏幕优化 (768px-600px) */
@media (max-width: 768px) and (min-width: 601px) {
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* 案例区域更小屏幕优化 (600px-480px) */
@media (max-width: 600px) and (min-width: 481px) {
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}



/* 小屏幕新闻区域优化 */
@media (max-width: 600px) {
    /* 新闻区域小屏幕优化 */
    .news-action-container {
        width: 95%;
        padding: 0 10px;
    }
    
    .news-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
        padding-bottom: 50px;
    }
    
    .news-date {
        right: 15px;
        bottom: 15px;
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .news-text p {
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .news-sidebar {
        padding: 0 15px 15px 15px;
    }
    
    .news-link {
        flex-direction: column;

        gap: 8px;
    }
    
    .news-info {
        text-align: center;
    }
}

@media (max-width: 420px) {
    .about-text span{
        font-size: 11px;
        letter-spacing: 0.02em;
        margin-bottom: 15px;
    }
    /* Banner区域 */
    .banner-section {
        height: 250px;
    }
    
    .banner-text-overlay {
        padding: 0 15px;
    }
    
    .banner-title {
        font-size: 18px;
        margin-bottom: 8px;
        margin-left: 0;
    }
    
    .banner-subtitle {
        font-size: 18px;
        margin-left: 0;
        padding-left: 0;
    }
    
    /* 产品区域 */
    .product-column-wrapper {
        height: 250px;
    }
    
    .product-nav-prev,
    .product-nav-next {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    
    .product-item img {
        
    }
    
    .product-item h4 {
        font-size: 12px;
    }
    
    /* 案例区域 */
    .case-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
    
    .case-item img {
        height: 100%;
    }
    
    .case-item h3 {
        font-size: 12px;
    }
    
    /* 新闻区域 */
    .news-action-container {
        width: 98%;
        padding: 0 5px;
    }
    
    .news-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .news-card {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
        padding-bottom: 45px;
    }
    
    .news-date {
        right: 10px;
        bottom: 10px;
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .featured-news h3 {
        font-size: 14px;
        padding: 6px 10px;
    }
    
    .news-header {
        padding: 10px 12px;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .news-header-date {
        font-size: 12px;
    }
    
    .news-text p {
        font-size: 12px;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .news-image {
        height: 150px;
    }
    
    .news-sidebar {
        padding: 0 10px 10px 10px;
    }
    
    .news-sidebar h4 {
        font-size: 15px;
    }
    

    
    .news-link {
        flex-direction: column;

        gap: 6px;
        padding: 8px;
    }
    
    .news-icon {
        width: 40px;
        height: 40px;
    }
    
    .news-info {
        text-align: center;
    }
    
    .news-info span {
        font-size: 12px;
    }
    
    .news-desc {
        font-size: 10px;
        line-height: 1.4;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    /* 关于我们区域 */
    .about-text h3 {
        font-size: 16px;
    }
    
    .about-text h4 {
        font-size: 14px;
    }
    
    .about-text p {
        font-size: 12px;
    }
    
    .about-image img {
        height: 200px;
    }
    
    /* 优势区域 */
    .advantage-image img {
        height: 200px;
    }
    
    .advantage-icon {
        width: 28px;
        height: 28px;
    }
    
    .advantage-text h4 {
        font-size: 14px;
    }
    
    .advantage-text p {
        font-size: 12px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 320px) {
    .product-item {

        border-radius: 2%;

    }
    .banner-section {
        height: 250px;
    }
    .main-content{
        margin-top: -35px;
    }
    
    .banner-text-overlay {
        padding: 0 15px;
    }
    
    .banner-title {
        font-size: 18px;
        line-height: 1.1;
    }
    
    .banner-subtitle {
        font-size: 18px;
        line-height: 1.1;
    }
    
    .product-tabs {
        gap: 4px;
    }
    
    .tab-item {
        padding: 4px 8px;
        font-size: 11px;
        min-width: 50px;
    }
    
    .product-item img {
        
    }
    

}
