/* 自定义导航栏样式 */
.yuehe-nav {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 0;
    border-bottom: 1px solid #e5e5e5;
}

.yuehe-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

.yuehe-nav-menu {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.yuehe-nav-item {
    position: relative;
    margin: 0 15px;
}

.yuehe-nav-link {
    display: block;
    padding: 15px 10px;
    color: #333;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

/* 鼠标悬停效果 */
.yuehe-nav-link:hover {
    color: #e60012;
}

/* 点击效果 */
.yuehe-nav-link:active {
    transform: translateY(2px);
    color: #c30010;
}

/* 激活状态样式 */
.yuehe-nav-item.active .yuehe-nav-link {
    color: #e60012;
}

/* 激活状态下的底部红线 */
.yuehe-nav-item.active .yuehe-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #e60012;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .yuehe-nav .container {
        flex-direction: column;
    }
    
    .yuehe-nav-menu {
        flex-direction: column;
        width: 100%;
    }
    
    .yuehe-nav-item {
        margin: 5px 0;
    }
} 