﻿@charset "utf-8";
/* header */
header {
    z-index: 99;
    position: fixed;
    top:0;
    left:0;
    width: 100%;
}

#headerInnerWrap {
    transition: all ease-out 0.4s;
}

.header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 80px;
    padding-right: 160px;
    background: rgba(255, 255, 255, 0);
    max-width: 1920px;
    height: 100px;
    margin: 0 auto;
    z-index: 9999;
}
.headerColor2 .header{
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.10);
}

.head_left {
    display: flex;
    align-items: center;
}
.logo {
    max-width: 212px;
}

.menu {
    position: relative;
    margin-left: auto;

}

.menu > ul > li {
    position: relative;
    float: left;
    padding: 0 25px;
}

.menu > ul > li > a {
    display: flex;
    align-items: center;
    position: relative;
    padding: 25px 0 25px 0;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
}


.head_right {
    display: flex;
    align-items: center;
    margin-left: 25px;
    position: relative;
}


/* language */
.language_box {
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
}

.header_language {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 8px;
    -webkit-transition: all .6s ease;
    transition: all .6s ease;
    pointer-events: none;
    z-index: 999;
}

.language_current {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin-right: 6px;
    transition: all .6s ease;
    position: relative;
}

.language_current .language_icon img {
    width: 24px;
    border-radius: 63px;
}

.language_current .language_icon img:nth-child(2) {
    display: none;
}

.language_txt{
    color: #fff;
    font-family: "Pontano Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
}

.language_content {
    position: relative;
    z-index: 2;
    padding: 20px;
    opacity: 0;
    width: max-content;
    border-radius: 20px;
    background: #FFF;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.language_content .language_item_box {
    padding-bottom: 12px;
}

.language_content .language_item_box:last-child {
    padding-bottom: 0;
}

.language_content a {
    position: relative;
    padding-bottom: 12px;
    color: #666;
    font-size: 20px;
    font-style: normal;
    line-height: 28px;
    display: block;
    -webkit-transition: all .6s ease;
    transition: all .6s ease;
}

.language_content a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.10);
}

.language_content a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--yellow-color);
    transition: width .4s;
}

.language_content a:hover {
    color: var(--yellow-color);
}

.language_content a:hover:after {
    width: 100%;
}

.search{
    margin-left: 21px;
}
.search img{
    width: 24px;
    height: 24px;
}
.search img:nth-child(2) {
    display: none;
}


.language_box:hover .header_language {
    pointer-events: auto;
}

.language_box:hover .language_content {
    opacity: 1;
    pointer-events: auto;
    -webkit-transition: all .6s ease;
    transition: all .6s ease;
    -webkit-transition-delay: .3s;
    transition-delay: .3s;
}

.language_box:hover .header_language:after {
    height: 100%;
    opacity: 1;
}



.active .menu {
    -webkit-clip-path: inherit;
    clip-path: inherit;
}
.headerColor2{
    background: #fff;
}
.headerColor2 .menu > ul > li > a {
    color: var(--dark-color);
}
.headerColor2 .language_txt{
    color: var(--dark-color);
}

.grey_head .menu>ul>li.active>a,
.grey_head .menu>ul>li:hover>a,
.headerColor2 .menu>ul>li.active>a,
.headerColor2 .menu>ul>li:hover>a,
.headerColor3 .menu>ul>li.active>a,
.headerColor3 .menu>ul>li:hover>a {
    color: var(--main-color);
}

.grey_head .menu>ul>li.active>a::before,
.headerColor2 .menu>ul>li.active>a::before,
.headerColor2 .menu>ul>li.current>a::before,
.headerColor3 .menu>ul>li.active>a::before,
.headerColor3 .menu>ul>li.current>a::before {
    background: var(--main-color);
    width: 100%;
}

.headerColor2 .language_current .language_icon img:nth-child(1) {
    display: none;
}
.headerColor2 .language_current .language_icon img:nth-child(2) {
    display: block;
}

.headerColor2 .search img:nth-child(1) {
    display: none;
}
.headerColor2 .search img:nth-child(2) {
    display: block;
}
/*右侧悬浮菜单*/
.header-right{
    position: relative;
    z-index: 9999;
}
.header-right-menu{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    background: rgba(244, 185, 21, 0.8);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    padding-top: 30px;
}
.header-right-menu img{
    width: 42px;
    height: 42px;
}
.header-right-menu .open{
    display: none;
}

.header-right-menu .open{
    display: none;
}

.header-right.active .header-right-menu .close{
    display: none;
}
.header-right.active .header-right-menu .open{
    display: block;
}


.header-right-menu-text{
    transform: rotate(90deg);
    color: #333;
    font-family: "Pontano Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    margin-top: 21px;
}
.header-right.active .header-right-menu-text{
    color: #fff;
}

.header-right-menu-bottom{
    margin-top: auto;
}
.header-right-menu-bottom img{
    width: 100px;
    height: 100px;
}

.header-menu-content{
    position: fixed;
    top: 0;
    right: -100vw;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
}

.header-right-content{
    height: 100%;
    width: 70%;
    background: #fff;
    z-index: 99998;
    display: flex;
    justify-content: space-between;
}
.header-right-content-left{
    padding-left: 12%;
    flex: 1;
    padding-top: 5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 8%;
}
.header-right-content-menu > ul > li > a {
    display: flex;
    align-items: center;
    position: relative;
    padding: 30px 0 30px 0;
    color: #333;
    font-weight: 400;
    text-transform: uppercase;
    overflow: hidden;

}
.header-right-content-menu > ul > li:hover > a {
    color: var(--main-color);
}
.header-right-content-menu > ul > li > a::after{
    content: '';
    line-height: 0;
    padding-left: 70px;
    visibility: hidden;
    transition: all 0.4s ease;
    width: 100px;
    height: 100px;
    transform:translateX(-100px) translateY(100px);
    background: url('../images/menu-right.svg') no-repeat center;
    background-size: 100% 100%;
}
.header-right-content-menu > ul > li:hover > a::after{
    visibility: visible;
    transform: translateX(0) translateY(0);
}

.header-right-content-menu  .head_right{
    display: flex;
    justify-content: flex-end;
}

.header-right-content-info{
    display: flex;
    color: #666;
    font-family: "Pontano Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px; /* 162.5% */
    text-transform: uppercase;
    justify-content: space-between;
}
.header-right-content-info div{
    max-width: 511px;
}


.header-right-content-right{
    margin: 15px 72px 43px;
}
.header-right-content-right img{
    height: 100%;
}

.header-right.active .header-menu-content{
    right: 0;
}

.menu_icon{
    display: none;
    position: relative;
    z-index: 99999;
    margin-left: 10px;
    contain: paint
}

.menu_icon .open{
    display: none;
}

.menu_icon.active  .close{
    display: none;
}
.menu_icon.active  .open{
    display: block;
}


.scroll-arrow {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.scroll-arrow.arrow-up {
    transform: rotate(180deg);
}

@media (max-width:1580px) {
    .header-right-content-info{
        flex-direction: column;
    }
    .header-right-content-info div:nth-child(2){
        margin-top: 20px;
    }
}


@media screen and (max-width: 1365px) {
    .menu{
        display: none;
    }

}
@media screen and (max-width: 767px) {
    .header{
        padding: 0 20px ;
        height: 70px;
    }
    .logo{
        width: 120px;
    }
    .language_txt{
        font-size: 14px;
    }
    .header-right-menu{
        display: none;
    }
    .menu_icon{
        display: flex;
    }
    .header-right-content-left{
        padding-right:8% !important;
        padding-left: 8% !important;
    }
    .header-right-content-right{
        display: none;
    }

    .header-right-content-menu > ul > li > a {
        padding: 10px 0;
    }
    .header-right-content-info{
        flex-direction: column;
    }
    .header-right-content-info div{
        max-width: none;
    }

    .header-right-content-info div:nth-child(2){
        margin-top: 10px;
    }

    .header-right-content-menu > ul > li > a::after{
        width: 50px;
        height: 50px;
        transform:translateX(-50px) translateY(50px);
        padding-left: 40px;
    }

}

@media (max-width:414px) {
    .header-right-content-menu > ul > li > a::after{
        padding-left: 0;
    }
}


/* 搜索弹窗样式 */
.search-popup {
    position: absolute;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    z-index: 999;
}

.search-popup.active {
    height: 100vh;
}

.search-container {
    background: white;
    padding: 59px 0 46px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.search-popup.active .search-container {
    transform: translateY(0);
}

.search-box {
    width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    border: 1px solid #CCCCCC;
    padding: 10px 10px 10px 30px;
    margin-bottom: 39px;
}

.search-input {
    flex: 1;
    border: none !important;
    font-family: 'Pontano Sans', sans-serif;
    color: #999999;
    text-transform: capitalize;
    outline: none ;
}

.search-button {
    width: 74px;
    height: 74px;
    background: var(--main-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-button img {
    width: 30px;
    height: 30px;
}

.search-hint {
    text-align: center;
    color: #999999;
    font-size: 20px;
    font-family: 'Pontano Sans', sans-serif;
    font-weight: 700;
    text-transform: capitalize;
}


@media screen and (max-width: 1580px) {
    .search-box {
        width: 80%;
    }
}
@media (max-width:1279px) {
    .search-box {
        width: 70%;
    }
}

@media screen and (max-width: 767px) {
    .search-popup.active {
        height: calc(100vh - 70px); /* 移动端导航栏高度为70px */
    }

    .search-container {
        padding: 30px 0;
    }

    .search-box {
        padding: 5px 15px;
    }

    .search-button {
        width: 50px;
        height: 50px;
    }

    .search-input {
        font-size: 16px;
    }

    .search-hint {
        font-size: 16px;
    }
}



