/* 导航栏基础样式 */
#nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: white;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.nav-left .logo img {
    height: 50px;
}

/* 汉堡菜单样式 - 默认隐藏 */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
}

/* 导航链接样式 */
.nav-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    width: auto;
}

/* 响应式设计：移动端 */
@media screen and (max-width: 820px) {
    /* 显示汉堡菜单 */
    .hamburger-menu {
        display: flex;
    }
    
    .nav-right {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        right: 0;
        z-index: 1000;
        padding: 10px 0;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(0, 255, 255, 0.3);
        box-shadow: 0 10px 40px rgba(0, 255, 255, 0.2);
    }

    .nav-right.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-right a {
        text-align: left;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(0, 255, 255, 0.1);
        width: 100%;
        transition: all 0.3s ease;
        color: white;
        text-decoration: none;
        font-weight: 500;
    }

    .nav-right a:hover {
        background: rgba(0, 255, 255, 0.1);
        color: #00ffff;
        padding-left: 30px;
    }

    .nav-right .language-switch {
        display: flex;
        padding: 15px 20px;
        gap: 10px;
        width: 100%;
        justify-content: flex-start;
    }
}

/* 小屏幕：汉堡菜单展开后 */
@media screen and (max-width: 480px) {
    .nav-right a {
        font-size: 16px;
    }
}

/* 底部定位的图片容器样式 - 不再使用 */
.image-container {
    display: none;
}
  
/* 固定定位的图片样式 - 不再使用 */
.main-image {
    display: none;
}
