/* html {
    font-size: calc(100vw / 19.2);
} */

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    /* background-color: #333; */
    color: white;
    padding: 0rem .05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    height: 1rem;
    /* 设置固定高度 */
}

.logo img {
    width: 2.1rem;
    vertical-align: middle;
    margin-left: .8rem;
    /* 确保图片垂直居中 */
}

.navbar ul {
    display: flex;
    list-style: none;
    align-items: center;
    /* 确保列表项垂直居中 */
    margin: 0;
    padding: 0;
}

.navbar ul li {
    margin-left: .2rem;
    line-height: .8rem;
    display: flex;
    align-items: center;
    /* 与导航栏高度一致，确保文字垂直居中 */
}

.navbar ul li img {
    width: 1.9rem;
    vertical-align: middle;
    margin: 0 .4rem;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-size: .18rem;
    transition: color 0.3s;
    width: .8rem;
    text-align: right;
}

.navbar ul li a:hover {
    /* color: #4CAF50; */
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    /* background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url('../img/banner.jpg'); */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 5%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #45a049;
}

/* 通用部分样式 */
.section {
    /* padding: 5rem 5%; */
    height: 100vh;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.left {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

#aboutUs {
    position: relative;
    overflow: hidden;
    background: #dcdcdc;
}

#aboutUs .left {
    width: 5.2rem;
    position: relative;
    overflow: hidden;
}

.center {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* 特性部分样式 */
.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

/* 页脚联系我们样式 */
footer {
    height: .9rem;
    line-height: .9rem;
    color: #fcfcfa;
    background: #7D181B;
    text-align: center;
    font-size: .20rem;
}

.contact-container {
    max-width: 8rem;
    margin: 0 auto;
    text-align: center;
}

.contact-container h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #4CAF50;
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #555;
    font-size: 0.9rem;
    color: #aaa;
}





/* 滑动动画效果 */
#aboutUs .slide-in {
    opacity: 0;
    transform: translateX(-850px);
    transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
    filter: blur(5px);
}

#aboutUs .slide-in.active {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

#aboutUs .right {
    position: absolute;
    right: 2rem;
    top: 2rem;
    opacity: 0;
    transform: translateX(850px);
    transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
    filter: blur(5px);
    z-index: 1;
}

#aboutUs .right img {
    width: 2.95rem;
    margin-top: 1.6rem;
}

#aboutUs .right.active {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

#aboutUs .left {
    margin-left: 1.45rem;
    width: 7.75rem;
}

#aboutUs .left img {
    width: 2.16rem;
    margin-top: 1.25rem;
}

#aboutUs .left h4 {
    color: #a41f24;
    margin: .55rem 0 .40rem 0;
    font-size: .3rem;
}

#aboutUs .left p {
    line-height: .40rem;
    letter-spacing: 3px;
    font-size: .24rem;
}


#aboutUs .center {
    position: absolute;
    right: 2rem;
    top: 2rem;
    opacity: 0;
    transform: translateY(850px);
    transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
    filter: blur(5px);
}

#aboutUs .right.active {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

#aboutUs .left .img1 {
    width: 2.22rem;
    margin-top: .4rem;
}

#aboutUs .left .title {
    font-size: .36rem;
    margin-top: 1.2rem;
    font-weight: 500;
}

#aboutUs .left .etitle {
    font-size: .24rem;
    margin-top: .1rem;
}


/* 滑动动画效果 */
#specs {
    position: relative;
    background-size: 90%;
    background-position: .8rem -.4rem;
}

#specs .slide-in {
    opacity: 0;
    transform: translateX(-8.5rem);
    transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
    filter: blur(5px);
}

#specs .slide-in.active {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

#specs .left img {
    width: 7.28rem;
    margin-top: 3.58rem;
    margin-left: 1.9rem;
}

#specs .right {
    width: 8.16rem;
    position: absolute;
    top: 1.25rem;
    right: 1.45rem;
    opacity: 0;
    transform: translateX(8.5rem);
    transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
    filter: blur(5px);
    z-index: 1;
}

#specs .right h4 {
    color: #a41f24;
    margin: .55rem 0 .4rem 0;
    font-size: .3rem;
}

#specs .right .serise {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

#specs .right .Stove {
    cursor: pointer;
    width: 25%;
    margin: 0 0px .3rem 0;
    padding-top: 5px;
    background: url('../img/b.png') no-repeat;
    background-size: 70%;
}

#specs .right .hover {
    color: #a41f24;
    background: url('../img/ba.png') no-repeat;
    background-size: 70%;
}

#specs .right .serise p {
    font-size: .3rem;
}

#specs .right .serise .p1 {
    font-size: .16rem;
}

#specs .right .img1 {
    width: 8.18rem;
    margin-top: 0.8rem;
}

#specs .right .title {
    font-size: .36rem;
    margin-top: 0rem;
    font-weight: 500;
}

#specs .right .etitle {
    font-size: .24rem;
    margin-top: .1rem;
}

#testimonials .testimonials-container {
    width: 100%;
    height: 100%;
    /* background: url(../img/us.png) no-repeat; */
    background-size: 100%;
    position: relative;
}

#testimonials .testimonials-container .left {
    position: absolute;
    left: 1.52rem;
    top: 0rem;
    margin: 0;
}

#testimonials .testimonials-container .review {
    position: absolute;
    left: 1.52rem;
    top: 5.6rem;
    width: 8rem;
    height: 3rem;
    display: flex;
    align-items: flex-end;
}

#testimonials .testimonials-container .review-text {
    width: 1rem;
    height: 1rem;
    background: rgba(255, 0, 0, 0.3);
    margin-right: .25rem;
    border-radius: .2rem;
    overflow: hidden;
    transition: width 0.5s ease, height 0.5s ease;
    color: #fff;
    /* 过渡效果 */
}

#testimonials .testimonials-container .review-text img {
    width: .58rem;
    height: .58rem;
    margin: .2rem auto;
    display: block;
}

#testimonials .testimonials-container .hover {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 0, 0, 0.3);
    overflow: hidden;
    border-radius: .2rem;
    margin: .2rem .3rem 0px .3rem;
}

#testimonials .testimonials-container .hover img {
    display: block;
    margin: .2rem .3rem .3rem;
}

#testimonials .testimonials-container .hover h4 {
    font-size: .3rem;
    color: #fff;
    margin-left: .2rem;
    width: 1.5rem;
    margin-bottom: .2rem;
}

#testimonials .testimonials-container .hover p {
    font-size: .16rem;
    color: #fff;
    margin-left: .2rem;
    line-height: .4rem;
}

#testimonials .left .title {
    font-size: .36rem;
    margin-top: 1.2rem;
    font-weight: 500;
    color: #fff;
}

#testimonials .left {
    margin-left: 1.45rem;
    margin-top: 1.25rem;

}

#testimonials .left p {
    font-size: 30px;
    color: #fff;
}

#testimonials .left .etitle {
    font-size: .24rem;
    margin-top: .1rem;
    color: #fff;
    margin-bottom: 1rem;

}

#demo .testimonials-container {
    width: 100%;
    height: 100%;
    /* background: url(../img/Case.png) no-repeat left/cover; */
    position: relative;
    display: flex;
    flex-wrap: wrap;
    background-size: 80%;
    background-position: .8rem;
}


#demo .review {
    width: 100%;
    display: flex;
    padding: 0 .5rem;
}

#demo .left {
    margin-left: 1.45rem;
}

#demo .left img {
    width: 2.25rem;
    margin-top: 1.25rem;
}

#demo .left h4 {
    color: #a41f24;
    margin: .55rem 0 .4rem 0;
    font-size: .3rem;
}

#demo .review .bg {
    position: relative;
    width: 5rem;
    height: 3.5rem;
    margin: 1.25rem .3rem 0px .6rem;
    overflow: hidden;
}

#demo .review .bg img {
    width: 5rem;
    height: 3.5rem;
}

/* 应用动画 */
#demo .review .mask {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(255, 0, 0, .4);
    /* 初始透明度为0.4 */
    transition: background-color 0.6s ease;
    /* 平滑过渡效果 */
}

#demo .testimonials-container .mask:hover {
    background-color: rgba(0, 0, 0, 0);
    /* 鼠标悬停时透明度为0 */
}

#demo .testimonials-container .review p {
    color: white;
    font-size: 16px;
    z-index: 1;
    display: block;
    width: 100%;
}

#demo .testimonials-container .review h4 {
    color: white;
    font-size: .3rem;
    position: absolute;
    top: 1.3rem;
    left: 0;
    z-index: 1;
    text-align: center;
    display: block;
    width: 100%;
}

#demo .testimonials-container .left h4 {
    position: static;
    color: #a41f24;
}

.img-pro {
    display: block;
}

.hideen {
    display: none;
    /* 鼠标悬停时透明度为0 */
    /* visibility: hidden; */
}

.show {
    display: block;
    /* 鼠标悬停时透明度为0 */
}

.testimonials-img {
    width: 100%;
}

#demo .review .qy {
    position: relative;
    width: 7.9rem;
    height: 3.5rem;
    margin-top: 1.25rem;
    overflow: hidden;
}

#demo .review img {
    width: 100%;
    height: 100%;
}

#demo .left .img1 {
    width: 2.39rem;
    height: auto;
}

#demo .review .yx {
    position: relative;
    width: 5rem;
    height: 3.5rem;
    overflow: hidden;
    margin-left: 1.4rem;
}

#demo .review .jl {
    position: relative;
    width: 7.5rem;
    height: 3.5rem;
    overflow: hidden;
    margin: 0 .3rem;
}

#demo .review .jg {
    position: relative;
    width: 3.5rem;
    height: 3.5rem;
    overflow: hidden;

}

#demo .testimonials-container .review .left .title {
    font-size: .36rem;
    margin-top: 1.2rem;
    font-weight: 500;
    color: #000;
}

#demo .testimonials-container .review .left .etitle {
    font-size: .24rem;
    margin-top: .1rem;
    color: #000;
}

#new {
    position: relative;
    background-color: #dcdcdc;


}

.news-img {
    position: absolute;
    top: 1.45rem;
    right: 2.35rem;
}

/* 滑动动画效果 */
#new .slide-in {
    opacity: 0;
    transform: translateX(-8.5rem);
    transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
    filter: blur(5px);
}

#new .slide-in.active {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

#new .right {
    position: absolute;
    right: 2rem;
    top: 4.1rem;
    opacity: 0;
    transform: translateX(8.5rem);
    transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
    filter: blur(5px);
    z-index: 1;
}

#new .right.active {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

#new .left {
    margin-left: 1.45rem;
    width: 40%;
}

#new .left img {
    width: 2.97rem;
    margin-top: 1.25rem;
}

#new .left h4 {
    color: #a41f24;
    margin: .55rem 0 1rem 0;
    font-size: .3rem;
}

#new .left .list {
    display: flex;
    padding: .2rem .2rem;
}

#new .left .list:nth-child(2) {
    border-top: 1px solid #2b2929;
    border-bottom: 1px solid #2b2929;
}

#new .right .list:nth-child(2) {
    border-top: 1px solid #2b2929;
    border-bottom: 1px solid #2b2929;
}

#new .left p {
    line-height: .4rem;
    letter-spacing: 3px;
    font-size: .24rem;
}

#new .right.active {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

#new .left .img1 {
    width: 2.22rem;
    margin-top: .4rem;
}

#new .left {
    margin-right: .7rem;
}

#new .left .li-left {
    margin-right: .2rem;
}

#new .left .li-left .p1 {
    font-size: .52rem;
}

#new .left .li-left .p2 {
    font-size: .18rem;
}

#new .left .li-right .p1 {
    font-size: .2rem;
}

#new .left .li-right .p2 {
    font-size: .16rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#new .right {
    width: 40%;
}

#new .right .list {
    display: flex;
    padding: .2rem .2rem;
    cursor: pointer;
}

#new .right p {
    line-height: .4rem;
    letter-spacing: 3px;
    font-size: .24rem;
}

#new .right.active {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

#new .right .img1 {
    width: 2.22rem;
    margin-top: .4rem;
}

#new .right .li-left {
    margin-right: .2rem;
}

#new .right .li-left .p1 {
    font-size: .52rem;
}

#new .right .li-left .p2 {
    font-size: .18rem;
}

#new .right .li-right .p1 {
    font-size: .20rem;
}

#new .right .li-right .p2 {
    font-size: .16rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}





#new .left .hover .li-left .p1 {
    font-size: .54rem;
}

#new .left .hover .li-left .p2 {
    font-size: .2rem;
}

#new .left .hover .li-right .p1 {
    font-size: .22rem;
}

#new .left .hover .li-right .p2 {
    font-size: .18rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#new .right .hover .li-left .p1 {
    font-size: .54rem;
}

#new .right .hover .li-left .p2 {
    font-size: .2rem;
}

#new .right .hover .li-right .p1 {
    font-size: .22rem;
}

#new .right .hover .li-right .p2 {
    font-size: .18rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#new .left .title {
    font-size: .36rem;
    margin-top: 1.2rem;
    font-weight: 500;
}

#new .left .etitle {
    font-size: .24rem;
    margin-top: .1rem;
}

/* #new .right .news {
    position: absolute;
    top: 0;
    right: 0;
} */
#contact {
    position: relative;
    background-color: #a41f24;
    color: #FFF;
}

/* 滑动动画效果 */
#contact .slide-in {
    opacity: 0;
    transform: translateX(-850px);
    transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
    filter: blur(5px);
}

#contact .slide-in.active {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

#contact .right {
    position: absolute;
    right: 2rem;
    top: 2.66rem;
    opacity: 0;
    transform: translateX(850px);
    transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
    filter: blur(5px);
    z-index: 1;
}

#contact .right.active {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

#contact .left {
    margin-left: 1.45rem;
    width: 40%;
}

#contact .left .title {
    font-size: .36rem;
    margin-top: 1.2rem;
    font-weight: 500;
}

#contact .left .etitle {
    font-size: .24rem;
    margin-top: .1rem;
}

#contact .left {
    margin-left: 1.45rem;
    width: 40%;
}

#contact .left .item {
    margin-top: .6rem;
    margin-bottom: .8rem;
}

#contact .left .item p {
    font-size: .24rem;
    margin-bottom: .2rem;
}

#contact .left .item1 p {
    font-size: .3rem;
    margin-bottom: .2rem;
}

#contact .left .item1 {
    position: relative;
}

#contact .left .item1 .code {
    position: absolute;
    right: 1rem;
    top: .4rem;
    width: 1.92rem;
}

#contact .left .item1 .number {
    width: 5rem;
}

#contact .left .item1 .p1 {
    font-size: .3rem;
    margin-top: .3rem;
}

#contact .right.active {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

#contact .left {
    margin-right: .7rem;
}

#contact .right {
    width: 40%;
}

#contact .right.active {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

#contact .right input {
    height: .5rem;
    line-height: .5rem;
    font-size: .18rem;
    padding: 0 .1rem;
    width: 4rem;
    margin-bottom: .4rem;
    border: none;
}

#contact .right input:nth-child(1) {
    margin-right: .25rem;
}

#contact .right textarea {
    height: 2.7rem;
    line-height: .3rem;
    font-size: .18rem;
    padding: .1rem;
    width: 100%;
    margin-bottom: .4rem;
    border: none;
}

#contact .right .widthauto {
    width: 100%;
}

#contact .right .heightauto {
    height: 2.7rem;
}

#contact .right {
    padding-bottom: .5rem;
}

#contact .right button {
    height: .5rem;
    width: 2.17rem;
    text-align: center;
    border-radius: .25rem 0 0px .25rem;
    background: #000;
    color: #FFF;
    font-size: .24rem;
    position: absolute;
    right: 0;
    bottom: 0;
    border: none;
}

#contact .right .input-con {
    display: flex;
}

#contact .right input {
    float: left;
}

/* 从下向上滑动动画 */
.slide-up-bg {
    opacity: 0;
    transform: translateY(.5rem);
    /* 初始状态向下偏移50px */
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-up-bg.active {
    opacity: 1;
    transform: translateY(0);
    /* 激活状态回到正常位置 */
}