/* 设定字体 */
@font-face {
    font-family:"LXGWWenKai";
    src:url("fonts/LXGWWenKai-Regular.ttf")format("truetype");
    font-weight:normal;
    font-style:normal;
    font-display:swap;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: #141313;
    color: white;
    font-family: "LXGWWenKai", sans-serif;
}

/* 导航栏 */
#navbar {
    position: fixed;
    top: 15px;
    height: 60px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: 
        transform .35s cubic-bezier(.4,0,.2,1),
        opacity .35s;
    z-index: 100;
}

/* 隐藏后样式 */
#navbar.hidden {
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
}

/* Logo样式 */
.logo {
    display: flex;
    position: relative;
    height: 70px;
    margin-left: 40px;
    margin-right: 15px;
    border: 1px solid #ddd;
    background-color: rgb(255, 255, 255, 0.9);
    border-radius: 50px;
    padding: 12px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.logo img {
    max-width: 150px;
    filter: drop-shadow(1px 1px 5px rgb(0, 0, 0, 0.15));
}

.logo:hover {
    transform: scale(1.1);
}

@media (max-width:768px) {
    .logo {
        position: relative;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        padding: 12px 25px;
        transition: none;
    }
}

.guide {
    display: flex;
    position: relative;
    flex-direction: row;
    width: auto;
    height: auto;
}

.guide a {
    display: flex;
    flex-direction: row;
    width: 100px;
    height: 70px;
    margin: 15px;
    color: #000;
    justify-content: center;
    text-align: center;
    align-items: center;
    font-size: 20px;
    text-decoration: none;
    border: 1px solid #ddd;
    background-color: rgb(255, 255, 255, 0.9);
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.guide a:hover {
    transform: scale(1.1);
}

@media (max-width:888px) {
    .guide {
        display: none;
    }
    
    .guide a {
        display: none;
    }
}

.language {
    position: fixed;
    right: 40px;
}

/* 顶部按钮 */
.language-button {
    display: flex;
    align-items: center;
    height: 70px;
    width: 70px;
    gap: 6px;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

/* 下拉菜单 */
.language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s;
}

/* 打开状态 */
.language-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 菜单里的语言 */
.language-menu button {
    width: 100%;

    padding: 9px 12px;

    border: none;
    border-radius: 9px;

    background: transparent;

    text-align: left;

    cursor: pointer;
}

/* 语言选单 */
.language-menu button:hover {
    background: #f2f2f2;
}

/* 语言选单 */
.language-menu button.active {
    background: #e6effc;
    color: #2c66c5;
    font-weight: 600;
}

@media (max-width: 768px) {
    .language {
        right: 15px;
    }
}

/* 背景 */
.hero {
    height: 100vh;
    background:url("https://imgheybox1.max-c.com/web/bbs/2026/08/31/6123c4bce0aac40863eae3837f3f48cd.jpeg");
    background-size: cover;
    background-position: 65% center;
    position: sticky;
    top:0;
    display: flex;
    justify-content: left;
    align-items: center;
    z-index: 0;
}
/* 背景图片及文字 */
.hero-content {
    width: 500px;
    text-align: center;
    align-items: center;
    position: absolute;
    top: calc(65vh - 200px);
    margin-left: 5%;
}

.hero-content img {
    width: 80%;
    height: auto;
    filter: drop-shadow(0 0 3px rgb(30, 86, 59));
}

.hero-content p {
    margin-top: 30px;
    opacity: 0.8;
    text-shadow: 0 0 10px rgb(0, 0, 0, 0.5);
}

@media (max-width: 1300px) {
    .hero-content {
        width: 500px;
        text-align: center;
        justify-content: center;
        position: relative;
    }

    .hero-content img {
        position: relative;
        bottom: 26vh;
        width: 75%;
        height: auto;
    }

    .hero-content p {
        position: relative;
        bottom: 26vh;
        text-shadow: 0 0 10px rgb(0, 0, 0, 0.5);
    }
}

/* 内容页背景 */
.content {
    position: relative;
    min-height: 150vh;
    padding: 10px 100px;
    background: rgb(255, 255, 255, 0.5);
    z-index: 1;
}

.content::before {
    content: "";
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgb(255, 255, 255, 0.15) 30%,
        rgb(255, 255, 255, 0.3) 50%,
        rgb(255, 255, 255, 0.5) 70%,
        rgb(255, 255, 255, 0.5) 100%
    );
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .content {
        padding: 10px;
    }
}

/* 内容 */
.read {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    overflow-wrap: anywhere;
    background: rgb(255, 255, 255);
    color:#242020;
    border-radius: 16px;
    border: 1px solid rgb(0, 0, 0, 0.15);
    box-shadow: 0 8px 30px rgb(0, 0, 0, 0.15);
}

.read h1 {
    font-size: 32px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgb(0, 0, 0, 0.15);
}

.read h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.read img {
    width:100%;
    max-width: 1000px;
    height: auto;
}

.read h2 {
    font-size:42px;
    margin-bottom: 40px;
}

.read p {
    max-width: 1000px;
    font-size: 18px;
    line-height: 2;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .read {
        padding: 25px;
    }
}

.pv {
    display: block;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
}

/* 人物展示 */
.image-row {
    display:flex;
    gap:20px;
}

.image-box {
    flex:1;
    overflow:hidden;
    border-radius: 12px;
}

.image-box img {
    width:100%;
    height:auto;
    display:block;
}

@media (max-width:768px) {
    .image-row {
        flex-direction: column;
    }
}

/* 画廊 */
.gallery {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
}

.gallery-item {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.gallery-item.start {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width:768px) {
    .gallery {
        border-radius: 8px;
    }
}

/* 链接区 */
.find-us {
    padding: 80px 10px;
    text-align: center;
    display: none;
}

.find-us h4 {
    font-size: 25px;
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    flex-direction: column;
}

.social-item {
    display:flex;
    gap:10px;
    margin: 5px;
    border-radius: 16px;
    transition:
    transform 0.3s ease;
}

.social-item svg {
    width: 25px;
    height: 25px;
}

.social-item:hover {
    transform: translateY(-5px);
}

@media (max-width:768px) {
    .social-links {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.footer-bg {
    width: 100%;
    position: relative;
    padding: 10px 100px;
    background: rgb(255, 255, 255, 0.5);
    z-index: 1;
}
.footer {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    gap: 10px;
    overflow-wrap: anywhere;
    background: rgb(255, 255, 255);
    color:#242020;
    border-radius: 16px;
    border: 1px solid rgb(0, 0, 0, 0.15);
    box-shadow: 0 8px 30px rgb(0, 0, 0, 0.15);
    z-index: 1;
}

.footer a { 
    color: gray;
    text-decoration: none;
}

.footer-l {
    position: relative;
    margin: 15px;
    min-width: 250px;
}

.footer-r {
    min-width: 150px;
    display: flex;
    flex-direction: column;
    margin: 15px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin: 15px;
}

.footer-logo img{
    display: flex;
    position: relative;
    max-width: 180px;
    min-width: none;
    padding: 15px;
}

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

    .footer {
        padding: 10px;
        margin: 0 10px;
    }

    .footer-logo {
        margin: 5px;
        flex-direction: row;
    }

    .footer-logo img{
        max-width: 150px;
        padding: 5px;
        margin: 5px 0;
    }
}

/* 回顶按钮 */
#backtop {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
    color: black;
    cursor: pointer;
    box-shadow: 3px 3px rgb(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    z-index: 2;
}

#backtop.show {
    opacity: 1;
    visibility: visible;
}

body svg {
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}
