.navbar0 {
    width: 100%;
    height: 70px;
    background-color: #ffffff;
}

.navbar {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    height: 70px;
    background-color: #ffffff;
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
    display: flex;
    align-items: center;
    /*justify-content: space-between;*/
    justify-content: center;
    padding: 0 50px;
    /*position: relative;*/
    /*position: fixed;*/
    /*top: 0;*/
    /*left: 0;*/
    /*width: 100%;*/
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    /*font-size: 26px;*/
    /*font-weight: bold;*/
    color: #0080ff;
    margin-right: 100px;
    margin-left: 100px;
}

.logo span {
    /*margin-left: 10px;*/
    font-size: 26px;
    color: #4a78f4;
    font-weight: bold;
    font-family: 'Microsoft YaHei', sans-serif;
}

/*.logo-div0 {*/
/*    color: #5e91a4;*/
/*    font-size: 32px;*/
/*    padding: 10px;*/
/*}*/


/*.logo-div1 {*/
/*    font-size: 12px;*/
/*    color: #666;*/
/*    margin-bottom: 5px;*/

/*}*/

/*.logo-div2 {*/
/*    font-size: 16px;*/
/*    color: #1e1e1e;*/
/*    !*font-family: '新宋体', sans-serif;*!*/
/*    !*font-family: 'Microsoft YaHei', sans-serif;*!*/
/*    font-family: "Helvetica Neue", Arial, "Microsoft YaHei", "PingFang SC", "Source Han Sans SC", sans-serif;*/
/*    font-weight: bold;*/
/*}*/

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.nav-item {
    position: relative;
    display: flex;
    padding: 0 20px;
    text-align: center;
    height: 100%;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.nav-item:hover {
    /*background-color: #0080ff; !* 悬停时的背景色， *!*/
    background-color: #5e91a4; /* 悬停时的背景色， */
}

.nav-link {
    display: block;
    color: #333;
    text-decoration: none;
    /*font-size: 14px;*/
    /*font-size: 16px;*/
    /*font-size: 16px;*/
    line-height: 1.5;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #0080ff;
}

.nav-link span {
    display: block;
    /*font-size: 16px;*/
    font-size: 16px;
    flex-flow: nowrap;
    /*font-weight: bold;*/
    letter-spacing: 3px;
    /*Helvetica Neue", Arial, "Microsoft YaHei", "PingFang SC", "Source Han Sans SC", sans-serif*/
    font-family: "Helvetica Neue", Arial, "Microsoft YaHei", "PingFang SC", "Source Han Sans SC", sans-serif;
    color: #0C0C0C;
}

.nav-link small {
    display: block;
    font-size: 12px;
    /*color: #666;*/
    font-weight: normal;
}

.nav-item.active .nav-link {
    color: #fff;
    background-color: #5e91a4!important;;
    height: 100%;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/*.search-icon {*/
/*    width: 30px;*/
/*    height: 30px;*/
/*    color: #5e91a4;*/
/*    cursor: pointer;*/
/*}*/
/* 搜索图标容器 */
.search-icon {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 30px;
    height: 30px;
}

/*!* 搜索框样式 *!*/
/*.search-box {*/
/*    display: none; !* 默认隐藏 *!*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    right: 20px;*/
/*    transform: translateY(-50%);*/
/*    background-color: white;*/
/*    border: 1px solid #ddd;*/
/*    border-radius: 4px;*/
/*    padding: 5px;*/
/*    box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
/*    z-index: 1000;*/
/*}*/

/* 搜索框容器：绝对定位，与图标同高 */
.search-box {
    display: none;
    position: absolute;
    top: 50%;
    right: 0; /* 紧贴图标右侧 */
    transform: translateY(-50%);
    background-color: white;
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: hidden;
    width: 0;
    /*display: flex;*/
    align-items: center;
    gap: 8px;
    min-width: 300px; /* 防止宽度过小 */
}

/*#search-input {*/
/*    width: 200px;*/
/*    padding: 8px;*/
/*    border: none;*/
/*    border-radius: 4px;*/
/*    outline: none;*/
/*}*/

/* 输入框样式 */
#search-input {
    width: 0;
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    outline: none;
    font-size: 14px;
    background-color: #f8f9fa;
    transition: width 0.4s ease, background-color 0.3s ease;
    color: #333;
}

#search-input:focus {
    background-color: white;
    width: 200px;
}

/*#search-btn {*/
/*    margin-left: 8px;*/
/*    padding: 8px 16px;*/
/*    background-color: #f1132d;*/
/*    color: white;*/
/*    border: none;*/
/*    border-radius: 4px;*/
/*    cursor: pointer;*/
/*}*/
/* 搜索按钮 */
#search-btn {
    margin-left: 8px;
    padding: 8px 16px;
    background-color: #f1132d;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

/*#search-btn:hover {*/
/*    background-color: #d30e1c;*/
/*}*/

#search-btn:hover {
    background-color: #d30e1c;
}


/* 返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: #c9a769;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #b08c4f;
    transform: translateY(-50%) scale(1.1);
}

.back-to-top img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.back-to-top:hover img {
    transform: translateY(-3px);
}

/*幻灯片样式*/


.slider-container0 {
    width: 100%;
    height: 500px; /* 设置固定高度，可根据需要调整 */
    overflow: hidden;
}

/* 幻灯片轮播样式 */
.slider-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-item.active {
    opacity: 1;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /*  */
    display: block;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
}

.slider-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active,
.indicator:hover {
    background-color: white;
}
/*语言切换*/
.language-switch {
    display: flex;
    gap: 10px;
    margin-left: auto;
    align-items: center;
}

.lang-item {
    cursor: pointer;
    font-size: 14px;
    padding: 5px 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.lang-item:hover {
    background-color: #eee;
}

.lang-item.active {
    background-color: #007bff;
    color: white;
}

/*二级*/
.submenu {
    /*display: none;*/
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    max-width: 1600px;
    /*margin: 0 auto;*/
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    /*border-radius: 4px;*/
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 15px 30px;
    z-index: 99999;
    display: flex;
    gap: 70px;
    flex-wrap: wrap;
    align-items: center;
    /*justify-content: space-between;*/
    /*justify-content: center;*/
    /*margin: 30px 0;*/
}

.submenu-item {
    display: flex;
    flex-direction: column; /* 图片与文字上下排列 */
    align-items: center;
    /*justify-content: center;*/
    padding: 20px 30px;
    text-align: center;
    transition: background-color 0.3s ease;
    cursor: pointer;
    min-width: 120px; /* 确保每个项有足够宽度 */
    background-color: #fff;
    border-radius: 50px;
}

/*.submenu-item:hover {*/
/*    background-color: #e0e0e0;*/
/*}*/

.submenu-item img {
    width: 100px;
    height:100px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.submenu-item span {
    font-size: 14px;
    color: #333;
}
/**/

/**/
/* 响应式设计 */
@media (max-width: 1600px) {


    .submenu-item img {
        width: 90px;
        height:90px;
    }

    .submenu {
        width: 1000px;
    }


    .logo {
        margin-right: 70px;
        margin-left: 70px;
    }

    .logo span {
        font-size: 24px;
    }

    .nav-link span {
        font-size: 14px;
    }

    .lang-item {
        font-size: 12px;
    }

}


/* 响应式设计 */
@media (max-width: 1400px) {

    .submenu {
        width: 800px;
    }


    .submenu-item img {
        width: 80px;
        height:80px;
    }

    .logo {
        margin-right: 70px;
        margin-left: 70px;
    }

    .logo span {
        font-size: 22px;
    }

    .nav-link span {
        font-size: 13px;
    }

    .lang-item {
        font-size: 11px;
    }

}

/* 响应式设计 */
@media (max-width: 1200px) {

    /*.submenu {*/
    /*    width: 900px;*/
    /*}*/

    .submenu-item img {
        width: 60px;
        height:60px;
    }


    .navbar {
        padding: 0 10px;
    }

    .nav-item {
        padding: 0 10px;
    }

    .logo {
        margin-right: 50px;
        margin-left: 50px;
    }

    .logo span {
        font-size: 19px;
    }

    .nav-link span {
        font-size: 11px;
    }

    .lang-item {
        font-size: 9px;
    }

}

@media (max-width: 1000px) {

    /*.submenu {*/
    /*    width: 800px;*/
    /*}*/

    .submenu-item img {
        width: 40px;
        height:40px;
    }

    .logo {
        margin-right: 30px;
        margin-left: 30px;
    }

    .logo span {
        font-size: 14px;
    }

    .nav-link span {
        font-size: 9px;
    }

    .lang-item {
        font-size: 7px;
    }


}
