/* 全局样式 */

@font-face {
    font-family: 'MyCustomFont';
    src: url('fonts/NotoSerifTC-SemiBold.otf') format('otf')     
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #AE986C;
    --light-color: #fff;
    --dark-gray: #181D27;
    --secondary-color: #1a1e25;
    --text-color: #191D27;
    --gray-color: #f5f5f5;
    --max-page-width: 120rem;
    --max-content-width: 75rem;
}

/* 隐藏滚动条但保留滚动功能 */
html,
body {
    background-color: rgb(222,222,222);
    font-family: MyCustomFont;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

/* Chrome, Safari and Opera */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

body {
    color: var(--text-color);
    background-color: rgb(222,222,222);
    overflow-x: hidden;
    max-width: var(--max-page-width);
    margin: 0 auto;
}

.container {
    height: 100%;
    width: 100%;
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
    cursor: default;
}

ul {
    list-style: none;
}

picture {
    display: flex;
    align-items: center;
    justify-content: center;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

/* 顶部导航栏 */
.header {
    max-width: var(--max-page-width);
    height: 6.25rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0 auto;
    z-index: 1000;
    background-color: var(--text-color);
    backdrop-filter: blur(.625rem);
}

header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-body {
    padding-left: 3.125rem;
    display: flex;
    align-items: center;
    height: 100%;
}

.header-body .logo {
    width: 12rem;
    /*height: 2.75rem;*/
    margin-right: 12.5rem;
}


.header-list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    height: 100%;
}

.header-list li{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-list li a {
    height: auto;
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 100%;
    letter-spacing: 0%;
    color: #fff;
}


.header-list li.active a {
    color: var(--primary-color);
}


.header-list .submenu {
    width: 120%;
    display: none;
    position: absolute;
    top: 100%;
    background: rgba(24, 29, 39, 0.9);
    z-index: 10;
    color: #A8ABB0;
    /*font-size: 0.8rem;*/
    text-align: center;
  }
  .header-list li.has-submenu {
    position: relative;
  }
  .header-list li.has-submenu:hover .submenu {
    display: block;
  }

  .header-list li.has-submenu:hover .submenu:hover {
    display: block;
  }

  .submenu li a{
    width: 100%;
    height: 40px;
    line-height: 40px;
    color: #A8ABB0;
    font-size: 1.25rem;
    text-align: center;
  }

  .submenu li a:hover{
    color: #AE986C;
  }

  .submenu li.active a{
    color: #AE986C;
  }


.fix-tip {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-page-width);
}

.top-notice {
    position: absolute;
    right: 0;
    top: -4.0625rem;
    height: 4.0625rem;
    width: 4.0625rem;
    display: none;
}

.top-notice.visible {
    display: block;
}

.alcohol-notice {
    height: 3.5rem;
    width: 100%;
    margin: 0 auto;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.alcohol-notice img{
    width: 60.25rem;
}

/* 移动端样式 */
.mobile-menu {
    display: none;
}

/* 页脚 */
footer {
    width: 100%;
    margin: 0 auto 3.5rem;
    max-width: var(--max-page-width);
}

.footer-body {
    width: 100%;
    background-color: var(--text-color);
    height: 11.625rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.875rem;
}

.footer-body-title {
    color: var(--primary-color);
    font-weight: 500;
    font-size: .875rem;
    line-height: 100%;
    letter-spacing: 10%;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.footer-info-item {
    width: 1.5rem;
    height: 1.5rem;
}

.footer-copyright {
    border-left: .0625rem solid #C9C9C9;
    padding-left: 3.125rem;
    font-weight: 400;
    font-size: .875rem;
    line-height: 100%;
    letter-spacing: 10%;
    color: #C9C9C9;
}

@media (max-width: 48rem) {
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #181b25;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        padding: 1.25rem;
        box-sizing: border-box;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }
    
    .mobile-menu.active {
        transform: translateY(0);
    }
    
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 4.25rem;
        margin-bottom: 1.25rem;
    }
    .mobile-close {
        width: 1.6875rem;
        height: 1.6875rem;
        cursor: default;
    }

    .mobile-logo{
        width: 8.625rem;
    }

    .mobile-menu-body {
        flex: 1;
    }

    .mobile-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-menu-list li {

    }

    .mobile-menu-list li.has-submenu{
       
    }

    .mobile-menu-list li a {
        color: #fff;
        text-decoration: none;
        font-weight: 500;
        font-size: 1.25rem;
        height: 40px;
        line-height: 40px;
    }

    .mobile-menu-list li.active a {
        color: var(--primary-color);
    }


    .mobile-menu-list .mobile-submenu {
        width: 100%;
        box-sizing: border-box;
        padding: 0 2.25rem;
      }

    .mobile-menu-list .mobile-submenu li{

    }

    .mobile-menu-list .mobile-submenu li a{
        width: 100%;
        /*height: 30px;*/
        line-height: 200%;
        color: #A8ABB0;
        font-size: 1.15rem;
        text-align: left;
    }

    .mobile-menu-list .mobile-submenu li.active a{
        color: #AE986C;
    }

    .mobile-menu-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: auto;
        padding-top: 2.5rem;
        border-top: .0625rem solid var(--primary-color);
    }

    .social-icons {
        display: flex;
        gap: 1.25rem;
    }

    .social-icon img {
        width: 1.625rem;
        height: 1.625rem;
    }


    .header {
        height: 5.5rem;
    }

    .header-body {
        width: 100%;
        padding: 0 1.25rem;
    }

    .logo {
        margin-right: auto !important;
        height: auto !important;
        width: 8.625rem !important;
    }

    .header-list {
        display: none;
    }

    .header-list li.active a{
        color: var(--primary-color);
    }

    .mobile-menu-btn {
        display: block;
        background: url(../images/mobile/menu.png) no-repeat center center;
        background-size: cover;
        width: 2.375rem;
        height: 1.875rem;
    }


    .footer-body {
        height: 18.625rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.1875rem;
    }

    .footer-body-title {
        color: var(--primary-color);
        font-weight: 500;
        font-size: .75rem;
        line-height: 100%;
        letter-spacing: 10%;
    }

    .footer-info {
        display: flex;
        align-items: center;
        gap: 1.25rem;
    }

    .footer-info-item {
        width: 1.625rem;
        height: 1.625rem;
    }

    .footer-copyright {
        padding-left: 0;
        border-left: none;
        font-weight: 400;
        font-size: .75rem;
        line-height: 100%;
        letter-spacing: 10%;
        color: #C9C9C9;
    }

    .alcohol-notice img{
        width: 20.9375rem;
    }
}