/* #region 初始化 */
html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* overflow-x: hidden;    */
}

/* 继承 box-sizing */
*,
*::before,
*::after {
    box-sizing: inherit;
}

/* #endregion */
/* #region 通用样式star */
/* h2、h3｜h4、h5 文本大小统一调整*/
h2,
h3,
h4,
h5 {
    color: aliceblue;
}

h2 {
    font-size: 2.8vw;
    font-weight: 600;
}

h3 {
    font-size: 1.2vw;
}

h4 {
    font-size: 1.2vw;
    padding-bottom: 1vw;

}

h5 {
    font-size: 0.8vw;
}

/* 锚点定位平滑滚动效果 */
html {
    scroll-behavior: smooth;
}


/* #endregion 通用样式end */
/* #region background背景start */
body,
html {
    margin: 0;
    padding: 0;
    /* 禁止水平滚动 */
    /* overflow-x: hidden;  */
}

.background {
    position: fixed;
    width: 100%;
    height: 100%;
    background: url('../upload/pic01.png') no-repeat center center;
    /* 背景图设置 */
    background-size: cover;
    z-index: -1;
}

/* #endregion boday背景end*/
/* #region 导航栏star*/
.nav {
    width: 100%;
    height: 4.3vw;
    position: fixed;
    z-index: 9999;
    background-color: #fff;
    display: flex;
    border-bottom: 2px solid #666362;
}

.nav-items {
    height: 100%;
    display: flex;
    margin: auto;
}

.nav .nav-items .item {
    margin: auto;
    font-size: 1.2vw;
}

.nav .nav-items .item a {
    color: #666362;
    padding: 0 4vw;
}

.nav .nav-items .item a:hover {
    color: rgb(0, 255, 72);
}

/* #endregion */

/* #region 首页区域start */
.content {
    /* padding: 0 8.33vw 0 8.33vw; */
    padding: 0;
    margin: 0;
    background-color: rgba(3, 3, 3, 0.5);
    width: 100%;
    background-size: auto;
    overflow: hidden;
}

.home {
    width: 85vw;
    height: 100vh;
    margin: 0 auto;
    display: flex;

}

.home img {
    width: 40%;
    margin: auto;
}

/* #endregion 首页区域end */

/* #region 关于我们start */
.aboutus {
    width: 100%;
    padding: 4vw 4vw;
    margin: 0 auto;
    overflow: hidden;
    background: rgba(18, 28, 48, 0.45);
}

.title-au {
    text-align: right;
    line-height: 1;
}

.title-au p {
    width: 35vw;
    height: 2px;
    background-color: #888;
    display: inline-block;
    margin-top: 1vw;
}

.title-au .intro {
    width: 100%;
    overflow: hidden;

}

.aboutus .intro div:nth-child(1) {
    width: 55%;
    float: right;
    text-align: right;
    margin: 5% auto;
}

.aboutus .intro div:nth-child(2) {
    width: 55%;
    float: left;
    margin: 5% auto;
}

.aboutus .intro div:nth-child(3) {
    width: 55%;
    float: right;
    text-align: right;
    margin: 5% auto;
}

/* #endregion 关于我们end */

/* #region 我们纯净的山泉水star */
.springwater {
    width: 100%;
    padding: 4vw 4vw;
    margin: 0 auto;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    /* 雾化玻璃效果 */
    backdrop-filter: blur(10px) saturate(130%);
    -webkit-backdrop-filter: blur(10px) saturate(130%);



}

.water-title p {
    width: 35vw;
    height: 2px;
    background-color: #888;
    display: inline-block;
    margin-top: 1vw;
}

.water-intro {
    overflow: hidden;
}

.water-intro div:nth-child(1) {
    width: 55%;
    float: left;
    text-align: left;
    margin: 5% auto;
}

.water-intro div:nth-child(2) {
    width: 55%;
    float: right;
    text-align: right;
    margin: 5% auto;
}

.water-intro div:nth-child(3) {
    width: 55%;
    float: left;
    text-align: left;
    margin: 5% auto;
}

.water-intro div:nth-child(4) {
    width: 55%;
    float: right;
    text-align: right;
    margin: 5% auto;
}

/* #endregion 我们纯净的山泉水end */

/* #region 我们的使命start */
.mission {
    width: 100%;
    padding: 4vw 4vw;
    margin: 0 auto;
    overflow: hidden;
    background: rgba(18, 28, 48, 0.45);
}

.mission p {
    width: 35vw;
    height: 2px;
    background-color: #888;
    display: inline-block;
    margin-top: 1vw;
}

.mission-intro div:nth-child(1) {
    width: 55%;
    text-align: left;
    margin: 5% auto;
}

/* #endregion 我们的使命eng */

/* #region 产品系列star */
.product {
    width: 100%;
    padding: 4vw 4vw;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.12);
    /* 雾化玻璃效果 */
    backdrop-filter: blur(10px) saturate(130%);
    -webkit-backdrop-filter: blur(10px) saturate(130%);
}

.product-title {
    text-align: right;
}

.product p {
    width: 35vw;
    height: 2px;
    background-color: #606d77;
    margin-top: 1vw;
    display: inline-block;
}

.product-imgs {
    width: 90%;
    height: 50vw;
    /* border: 1px solid #f20505; */
    margin: 0 auto;
    padding: 8% 0%;
    display: flex;
    justify-content: center;
}

/* product产品图片 */
.swiper-wrapper {
    display: flex;
    /* 使内容可横向滚动 */
    /* overflow-x: auto;   */
    /* gap: 1%; */
    justify-content: space-evenly;
}

/* 每个产品图片 */
.swiper-slide {
    width: 25%;
    /* 控制每个商品的宽度 */
    height: 100%;
    border: 1px solid #ccc;
    /* 默认边框 */
    border-radius: 8px;
    /* 圆角 */
    overflow: hidden;
    /* 防止图片溢出 */
    position: relative;
    transition: transform 0.3s ease;
    /* 鼠标悬停时的过渡效果 */
    background-color: rgb(255, 255, 255);
}

/* 每个小容器中的内容 */
.slide-box-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5%;
    height: 100%;
    justify-content: space-between;
}
/* 图片部分 */
.goods-img {
    width: 100%;
    height: 100%;
    /* overflow: hidden; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.goods-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* 保持图片比例，裁切溢出部分 */
    transition: transform 0.3s ease;
    /* 图片放大的过渡效果 */
}

/* 鼠标悬停时，图片放大 */
.swiper-slide:hover .goods-img img {
    transform: scale(1.1);
    /* 放大图片 */
}

/* 产品名称样式 */
.product-name {
    font-size: 1.5vw;
    color: #000000;
    text-align: center;
    margin-top: 1%;
}

/* #endregion 产品系列end */

/* #region 品质start */
.quality {
    width: 100%;
    padding: 4vw 4vw;
    background-color: rgba(53, 77, 77, 0.183);
    margin: 0 auto;
    overflow: hidden;
    background: rgba(18, 28, 48, 0.45); 
}

.quality-title {
    text-align: left;
    overflow: hidden;
}

.quality-title p {
    width: 35vw;
    height: 2px;
    background-color: #606d77;
    margin-top: 1vw;
    display: inline-block;
}

.quality-intro div:nth-child(1) {
    width: 55%;
    float: left;
    text-align: left;
    margin: 5% auto;
}

.quality-intro div:nth-child(2) {
    width: 55%;
    float: right;
    text-align: right;
    margin: 5% auto;
}

.quality-intro div:nth-child(3) {
    width: 55%;
    float: left;
    text-align: left;
    margin: 5% auto;
}

.quality-intro div:nth-child(4) {
    width: 55%;
    float: right;
    text-align: left;
    margin: 5% auto;

}

/* #endregion 品质end */

/* #region 经销商start */
.distributor {
    width: 100%;
    padding: 4vw 4vw;
    height: 50vw;
    margin: 0 auto;
    background-color: rgba(4, 235, 235);
    background: url('../upload/pic03.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    text-align: right;
}

.distributor-title {
    margin-left: auto;
}

.distributor p {
    width: 35vw;
    height: 2px;
    background-color: #606d77;
    margin-top: 1vw;
    display: inline-block;
}

/* #endregion 经销商end */
/* #region 联系我们start */
.contact {
    width: 100%;
    padding: 4vw 4vw;
    background: rgba(18, 28, 48, 0.45); 
    margin: 0 auto;
    display: flex;
    justify-content: space-evenly;
}

.contact-left {
    width: 50%;
    height: 30%;
    margin-top: 4vw;
    margin-bottom: 5vw;
}

.contact-right {
    width: 40%;
    height: 30%;
    margin-top: 22vw;
}

.contact-right ul p {
    width: 90%;
    height: 2px;
    background-color: #606d77;
    margin-top: 1%;
    margin-bottom: 1%;
    /* display: inline-block; */
}

.contact-right ul li {
    color: #fff;
    font-size: 1vw;
    font-weight: 400;
    letter-spacing: 0.1vw;

}

/* form表单样式 */
.form-wrapper {
    width: 100%;
    /* height: 40%;           */
    max-width: 480px;
    /* 避免超宽导致难看 */
    padding: 3% 5%;
    margin: 0 auto;
    background: #3a3a3a62;
    border-radius: 1vw;
    box-shadow: 0 0 1vw rgba(0, 0, 0, 0.3);
    color: #fff;
}

/* 标题 */
.form-title {
    text-align: center;
    margin-bottom: 0.5vw;
    font-size: 2vw;
    font-weight: bold;
    letter-spacing: 0.5vw;

}

/* 表单布局 */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.8vw;
}

/* 标签文字 */
.contact-form label {
    font-size: 1vw;
    margin-bottom: -0.5vw;
    letter-spacing: 0.5vw;
}

/* 输入框 */
.contact-form input {
    width: 100%;
    padding: 0.5vw 1vw;
    border-radius: 3vw;
    border: 0.1vw solid #999;
    background: #3a3a3a62;
    color: #fff;
    font-size: 0.8vw;
    outline: none;
}

.contact-form .other {
    padding: 0.5vw 1vw;
    border-radius: 1vw;
    font-size: 1vw;
    border: 0.1vw solid #999;
    color: #fff;
    background: #3a3a3a62;
    resize: none;
}

.contact-form input:focus {
    border-color: #56a4c8;
}

.contact-form textarea:focus {
    border-color: #56a4c8;
    outline: none;
}

/* 按钮 */
.submit-btn {
    width: 100%;
    padding: 0.5vw 2vw;
    margin-top: 1.5vw;
    margin-bottom: 2vw;
    background: #2f79a1;
    border: none;
    color: #fff;
    font-size: 1vw;
    border-radius: 3vw;
    cursor: pointer;
    letter-spacing: 0.5vw;
}

.submit-btn:hover {
    background: #2c6e90;
}

/* #endregion 联系我们end */
/* #region foot start */
.foot {
    width: 100%;
    /* margin-top: 5%; */
    background-color: #363333;
}

.foot p {
    font-size: 1vw;
    padding-top: 1vw;
    padding-bottom: 1vw;
    text-align: center;
    color: #a0a0a0;
}

/* #endregion */