
/* ======================================== */
/* PC端桌面导航样式 */
/* ======================================== */

/* 导航栏基础样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Logo样式 */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo img {
    height: 50px;
    transition: all 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* PC端主导航菜单 */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-item {
    position: relative;
}

/* PC端导航链接样式 */
.nav-link {
    color: #2c3e50;
    font-weight: 500;
    padding: 10px 0;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    display: block;
    min-height: 40px;
    line-height: 20px;
    margin: 0;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    box-sizing: border-box;
}

.nav-link-anchor {
    text-decoration: none;
}

.nav-link:hover {
    color: #4a6ee0;
}

/* PC端下拉菜单容器 */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 160px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

/* PC端下拉菜单项 */
.dropdown-item {
    padding: 12px 20px;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s ease;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f8f9ff;
}

.dropdown-link {
    color: #555;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.dropdown-link:hover {
    color: #4a6ee0;
}

.dropdown-link i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
    font-size: 14px;
    color: #4a6ee0;
    font-weight: normal;
}

/* 统一iconfont图标样式 */
.dropdown-link .iconfont {
    font-size: 14px;
    color: #4a6ee0;
    font-weight: normal;
    display: inline-block;
    width: 16px;
    text-align: center;
}

/* 一级导航下拉箭头样式 */
.nav-link.has-dropdown .iconfont {
    font-size: 12px;
    color: #666666;
    margin-left: 6px;
    width: auto;
}

.nav-link.has-dropdown:hover .iconfont {
    color: #4a6ee0;
}

/* ======================================== */
/* 移动端导航样式 */
/* ======================================== */

/* 移动端下拉框容器 */
.mobile-dropdown {
    display: none; /* PC端隐藏 */
    position: relative;
}

.mobile-dropdown-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 2px solid #e74c3c;
    border-radius: 25px;
    padding: 8px 16px;
    min-width: 120px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-dropdown-selected:hover {
    border-color: #c0392b;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.selected-text {
    font-weight: 600;
    color: #e74c3c;
    font-size: 14px;
}

.dropdown-arrow {
    color: #e74c3c;
    font-size: 12px;
    transition: transform 0.3s ease;
    margin-left: 8px;
}

.mobile-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* 移动端导航菜单 */
.mobile-nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border: 2px solid #e74c3c;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    margin-top: 5px;
    overflow: hidden;
}

.mobile-nav-menu.active {
    display: block;
}

.mobile-nav-menu .nav-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-menu .nav-item:last-child {
    border-bottom: none;
}

.mobile-nav-menu .nav-link {
    display: block;
    padding: 12px 20px;
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    background: none;
    border: none;
    min-height: auto;
    line-height: 1.4;
    margin: 0;
}

.mobile-nav-menu .nav-link:hover {
    background: #e74c3c;
    color: #ffffff;
}

.mobile-nav-menu .has-dropdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

/* 移动端二级下拉菜单 */
.mobile-nav-menu .dropdown {
    display: none;
    background: #f8f9fa;
    border-top: 1px solid #e74c3c;
    position: relative;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
}

.mobile-nav-menu .dropdown.active {
    display: block;
}

.mobile-nav-menu .dropdown .nav-link {
    padding-left: 35px;
    font-size: 13px;
    color: #666666;
}

.mobile-nav-menu .dropdown .nav-link:hover {
    background: #e74c3c;
    color: #ffffff;
}

/* ======================================== */
/* 响应式设计 - 移动端适配 */
/* ======================================== */
@media (max-width: 992px) {
    /* 隐藏PC端导航 */
    .nav-menu {
        display: none;
    }
    
    /* 显示移动端下拉框 */
    .mobile-dropdown {
        display: block;
    }
    
    /* 调整导航容器 */
    .nav-container {
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0;
    }
    
    .logo img {
        height: 40px !important;
        width: auto !important;
        max-height: 100%;
        max-width: 100%;
    }
    
    .nav-container {
        height: 50px;
        align-items: center;
    }
    
    .mobile-dropdown-selected {
        min-width: 100px;
        padding: 6px 12px;
    }
    
    .selected-text {
        font-size: 13px;
    }
    
    .dropdown-arrow {
        font-size: 11px;
    }
}

/* 内容区域样式 */
.content {

    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: white;
    text-align: center;
}

.content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.content p {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}