/* 引入自定义字体 */
@font-face {
    font-family: 'GlowSansSC';
    src: url('../font/GlowSansSC-Normal-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GlowSansSC';
    src: url('../font/GlowSansSC-Normal-Book.otf') format('opentype');
    font-weight: 500; /* 当 CSS 中设置 font-weight: 300 时，浏览器会自动选择对应字重的字体文件，实现字体粗细的变化 */
    font-style: normal;
}

@font-face {
    font-family: 'GlowSansSC';
    src: url('../font/GlowSansSC-Normal-Medium.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'RedditSans';
    src: url('../font/RedditSans-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'RedditSans';
    src: url('../font/RedditSans-Regular.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'RedditSans';
    src: url('../font/RedditSans-Medium.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'NeutraTextBoldSC';
    src: url('../font/NEUTRATEXT-BOLDSC.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'RedditSans', 'GlowSansSC', 'Arial', sans-serif;
}

:root {
    --navbar-offset: 98px;
    --viewport-minus-navbar: calc(100vh - var(--navbar-offset));
}

/* 英文文字使用RedditSans字体 */
.english-title{
    font-family: 'RedditSans', sans-serif;
    font-weight: bold !important;
}

.english-text,
.slider-text > div:first-child {
    font-family: 'RedditSans', sans-serif;
    font-weight: 500 !important;
}

/* 轮播图使用NeutraTextBoldSC字体 */
/* .slider-text h2 {
    font-family: 'NeutraTextBoldSC', 'RedditSans', sans-serif;
} */

/* 中文文字使用GlowSansSC字体 */
.chinese-text,
.chinese-title,
.slider-text > div:last-child {
    font-family: 'GlowSansSC', sans-serif;
}

body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Initial state - only show video */
body.preload .navbar,
body.preload #imageSlider,
body.preload #brandVideo,
body.preload #cityView,
body.preload #seriesSection,
body.preload #brandIntro,
body.preload #groupIntro,
body.preload #brandNews,
body.preload #footer {
    display: none;
}

/* 文字从下往上动画 */
.animate-slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-slide-up.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-slide-up.delay-1 { transition-delay: 0.1s; }
.animate-slide-up.delay-2 { transition-delay: 0.2s; }
.animate-slide-up.delay-3 { transition-delay: 0.3s; }
.animate-slide-up.delay-4 { transition-delay: 0.4s; }
.animate-slide-up.delay-5 { transition-delay: 0.5s; }

/* 导航栏样式 */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    padding: 25px 60px !important;
    transition: all 0.3s ease !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
}

.navbar.scrolled, .navbar:hover {
    background-color: white !important;
    padding: 25px 60px !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    width: 100%;
}

.navbar-logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-logo img {
    height: 50px;
    width: auto;
    display: none;
}

.navbar-logo .logo-white {
    display: block;
}

.navbar.scrolled .navbar-logo .logo-white,
.navbar:hover .navbar-logo .logo-white {
    display: none;
}

.navbar.scrolled .navbar-logo .logo-black,
.navbar:hover .navbar-logo .logo-black {
    display: block;
}

.navbar.scrolled .navbar-logo,
.navbar:hover .navbar-logo {
    color: #333;
}

.navbar-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar-item {
    margin: 0 22px;
}

.navbar-item:first-child {
    margin-left: 0;
}

.navbar-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    padding: 12px 0;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.navbar.scrolled .navbar-link,
.navbar:hover .navbar-link {
    color: #000;
    font-weight: 500;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #333;
    transition: width 0.3s ease;
}

.navbar-link:hover::after {
    width: 100%;
}

/* 二级导航样式 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    list-style: none;
    padding: 25px 60px;
    margin: 0;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 60px;
    right: 60px;
    height: 1px;
    background-color: #000;
}

.navbar-item.dropdown:hover .dropdown-menu,
.navbar-item.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
}

.dropdown-item {
    display: inline-block;
    padding: 5px 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
}

.dropdown-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #333;
    transition: width 0.3s ease;
}

.dropdown-item:hover::after {
    width: 100%;
}

/* 导航栏滚动/悬停时的二级导航样式 */
.navbar.scrolled .dropdown-menu,
.navbar:hover .dropdown-menu {
    background-color: white;
}

.navbar.scrolled .dropdown-item,
.navbar:hover .dropdown-item {
    color: #333;
}

/* 汉堡菜单样式 */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1002;
}

.navbar-toggle-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-toggle-icon::before,
.navbar-toggle-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
    left: 0;
}

.navbar-toggle-icon::before {
    top: -8px;
}

.navbar-toggle-icon::after {
    top: 8px;
}

/* 导航栏滚动/悬停时的汉堡菜单样式 */
.navbar.scrolled .navbar-toggle-icon,
.navbar:hover .navbar-toggle-icon,
.navbar.scrolled .navbar-toggle-icon::before,
.navbar:hover .navbar-toggle-icon::before,
.navbar.scrolled .navbar-toggle-icon::after,
.navbar:hover .navbar-toggle-icon::after {
    background-color: #333;
}

/* 平板端响应式设计 */
@media (min-width: 769px) and (max-width: 1024px) {
    :root {
        --navbar-offset: 90px;
    }

    .navbar {
        padding: 20px 40px !important;
    }

    .navbar.scrolled,
    .navbar:hover {
        padding: 15px 40px !important;
    }

    .navbar-item {
        margin: 0 15px;
    }

    .dropdown-menu {
        padding: 15px 40px;
    }
}

/* 移动端响应式设计 */
@media (max-width: 768px) {
    :root {
        --navbar-offset: 60px;
    }

    .navbar {
        padding: 20px 30px !important;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        padding: 100px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }

    .navbar-menu.open {
        right: 0;
    }

    .navbar-item {
        margin: 15px 0;
    }

    .navbar-link {
        color: #333 !important;
        font-size: 18px;
        font-weight: bold;
    }

    /* 移动端二级导航样式 */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        background-color: transparent;
        box-shadow: none;
        padding: 10px 20px;
        display: none;
        border-top: none;
    }

    .navbar-item.dropdown:hover .dropdown-menu,
    .navbar-item.dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        color: #666 !important;
        font-size: 16px;
    }
}

/* 滚动指示器样式 */
.scroll-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    cursor: default;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 10;
}

.scroll-indicator:hover {
    cursor: pointer;
}

.section-with-pulldown {
    position: relative;
}

.section-with-pulldown .scroll-indicator {
    opacity: 1;
}

.section-with-pulldown .scroll-indicator .pulldown-icon {
    width: 80px !important;
    height: 80px !important;
    transition: transform 0.3s ease;
}

.section-with-pulldown .scroll-indicator:hover .pulldown-icon {
    transform: scale(1.15);
}

/* 页脚样式 */
.footer {
    background-color: #000;
    color: #fff;
    padding: 0 60px 0;
}

.footer-content {
    margin: 0 auto;
}

.footer-social {
    text-align: center;
    padding-bottom: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    padding-top: 30px;
}

.footer-social h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    letter-spacing: 2px;
    color: #fff;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    position: relative;
}

.social-icon {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease, opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.social-icon img {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    color: #fff;
    opacity: 0.8;
}

.footer .social-icon img,
.footer .info-icon,
.footer .yuan-icon,
.footer .xiangx-icon {
    filter: brightness(0) invert(1);
}

.social-icon:hover img {
    transform: scale(1.1);
}

/* 微信二维码样式 */
.wechat-qrcode {
    position: absolute;
    top: -220px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    width: 190px;
    min-height: 200px;
    box-sizing: border-box;
}

.wechat-qrcode img {
    width: 150px;
    height: 150px;
    display: block;
    margin-bottom: 10px;
}

.wechat-qrcode .qrcode-label {
    display: block;
    text-align: center;
    font-size: 14px;
    color: #333;
}

.footer .wechat-qrcode img {
    filter: none;
}

.wechat-qrcode::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.footer-info {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.info-icon {
    width: 50px;
    height: 50px;
    opacity: 0.7;
}

.info-label {
    font-size: 18px;
    color: #fff;
}

.info-value {
    font-size: 18px;
    color: #fff;
}

.footer-copyright {
    text-align: center;
    font-size: 15px;
    color: #fff;
}

.footer a,
.footer-copyright a {
    color: #fff;
}

.footer .scroll-indicator {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    padding: 20px 0 0;
    opacity: 1;
}

.footer .scroll-indicator .pulldown-icon {
    width: 80px !important;
    height: 80px !important;
}

/* 页脚响应式设计 */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer {
        padding: 30px 40px 20px;
    }

    .footer-social h3 {
        font-size: 16px;
    }

    .social-icons {
        gap: 25px;
    }

    .social-icon {
        font-size: 13px;
    }

    .footer-info {
        gap: 40px;
        padding: 20px 0;
    }

    .info-label,
    .info-value {
        font-size: 13px;
    }

    .footer-copyright {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 0 20px 0;
    }

    .footer-social {
        padding-bottom: 20px;
        /* margin-bottom: 20px; */
    }

    .footer-social h3 {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .info-icon{
        width: 36px;
        height: 36px;
    }

    .social-icons {
        gap: 0px;
    }

    .social-icon {
        font-size: 12px;
    }

    .footer-info {
        gap: 0px;
        padding: 20px 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .info-label,
    .info-value {
        font-size: 12px;
    }

    .footer-copyright {
        font-size: 12px;
    }
}

/* 产品联系样式 */
.product-contact {
    padding: 100px 60px;
    text-align: center;
    margin-top: 15px;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-line-1 {
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: #333;
}

.contact-line-2 {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

/* 响应式设计 - 移动端 */
@media (max-width: 768px) {
    .product-contact {
        padding: 30px 20px;
    }

    .contact-line-1 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .contact-line-2 {
        font-size: 14px;
    }
}

/* 圆形容器样式 */
.yuan-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin-bottom: 40px;
}

/* 圆形背景图标 */
.yuan-icon {
    width: 36px;
    object-fit: contain;
}

/* 向下滚动图标 */
.xiangx-icon {
    position: absolute;
    width: 20px;
    object-fit: contain;
    /* opacity: 0; */
    transform: translateY(-10px);
}

/* 灰色竖线 */
.vertical-line {
    position: absolute;
    bottom: -40px;
    width: 2px;
    height: 40px;
    background-color: #999;
}

/* 从上往下的动画 */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-down {
    animation: slideDown 1s ease-in-out infinite alternate;
}
