/* 导航栏基础样式 - 增加50%透明度 */
.fund-nav {
    background-color: #1a365d; /* 深蓝主色调 */
    color: white;
    padding: 0 5%; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    min-height: 100px;
    box-sizing: border-box;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0.5; /* 整体透明度（包括子元素） */
    transition: opacity 0.3s ease; /* 悬浮过渡动画 */
}

/* 鼠标悬浮导航栏恢复完全不透明 */
.fund-nav:hover {
    opacity: 1;
}

/* 避免页面内容被固定导航栏遮挡 */
body {
    padding-top: 100px; /* 与导航栏高度匹配 */
}

/* LOGO 样式 - 垂直居中 + 间距 */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
}
.logo img {
    height: 60px; /* 优化LOGO高度，避免过大 */
    width: auto;
    border-radius: 4px;
    max-height: 90px;
    max-width: 100%;
}

/* 导航菜单核心样式 */
.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none; /* 清除默认列表样式 */
    margin: 0; /* 清除默认外边距 */
    padding: 0; /* 清除默认内边距 */
}
.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease; /* 文字变色过渡 */
}

/* 导航链接 hover 下划线效果 */
.nav-menu a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4299e1; /* 高亮蓝 */
}

/* 激活态链接样式 */
.nav-menu a.active {
    color: #4299e1;
}

/* 鼠标悬浮链接变色 */
.nav-menu a:hover {
    color: #4299e1;
}


/* 登录按钮样式 */
.nav-login a {
    color: white;
    text-decoration: none;
    padding: 8px 18px;
    border: 1px solid #4299e1;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-login a:hover {
    background-color: #4299e1;
    color: white;
}



/* 页脚 */
.footer {
    background-color: #1a365d;
    color: white;
    padding: 30px 2%;
    margin: 10px 0px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}
.footer-section {
    flex: 1;
    min-width: 200px;
}
.footer-section h3 {
    margin-bottom: 20px;
    font-size: 18px;
}
.footer-section p, .footer-section a {
    color: #ccc;
    line-height: 1.8;
    text-decoration: none;
}
/* 二维码专属样式 */
.qr-code-section {
    text-align: center;
}

.footer-qr {
    width: 120px;
    height: 120px;
    border: 1px solid #eee;
    padding: 5px;
    margin: 10px 0;
}

.qr-desc {
    font-size: 12px;
    color: #666;
}
.footer-bottom {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid #333;
    color: #ccc;
}
.footer-bottom p, .footer-bottom a {
    color: #ccc;
    line-height: 1.8;
    text-decoration: none;
}

/* 响应式适配：小屏幕下调整 */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 5%;
        min-height: 70px;
        opacity: 0.5; /* 移动端同步50%透明度 */
    }
    body {
        padding-top: 70px;
    }
    .logo-img {
        height: 40px;
        max-height: 50px;
    }
    .logo-text {
        font-size: 16px;
    }
    .nav-links {
        gap: 15px;
    }
    .nav-links a {
        font-size: 14px;
    }
}