/* 导航样式 - daohang.css */

.navbar-clean {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.92) 50%, rgba(241,243,245,0.95) 100%) !important;
    border: none;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    border-bottom: 3px solid #3498db;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    border-radius: 0;
    min-height: 64px;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    z-index: 1000;
}

.navbar-clean::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(52,152,219,0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(46,125,50,0.03) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 64"><defs><pattern id="nav-parking" width="50" height="32" patternUnits="userSpaceOnUse"><rect x="5" y="10" width="15" height="8" fill="none" stroke="rgba(52,152,219,0.04)" stroke-width="0.5" rx="1"/><text x="12.5" y="16" text-anchor="middle" font-family="Arial" font-size="4" fill="rgba(52,152,219,0.05)">P</text><circle cx="8" cy="22" r="1" fill="none" stroke="rgba(46,125,50,0.03)" stroke-width="0.2"/><circle cx="17" cy="22" r="1" fill="none" stroke="rgba(46,125,50,0.03)" stroke-width="0.2"/></pattern></defs><rect width="200" height="64" fill="url(%23nav-parking)"/></svg>');
    pointer-events: none;
    z-index: -1;
}

.navbar-clean > * {
    position: relative;
    z-index: 10;
}

.navbar-clean .navbar-brand img {
    background: transparent;
    border-radius: 8px;
    height: 64px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.2));
}

.navbar-clean .nav-link.nav-clean-ani {
    color: #2c3e50 !important;
    font-weight: 600;
    font-size: 1.18rem;
    border-radius: 8px;
    background: transparent;
    margin: 0 4px;
    letter-spacing: 0.5px;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;
    transition: all 0.3s ease;
    overflow: visible;
    text-shadow: none;
}

.navbar-clean .nav-link.nav-clean-ani::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #27ae60);
    border-radius: 2px;
    transition: width 0.3s ease;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    box-shadow: 0 2px 4px rgba(52,152,219,0.4);
}

.navbar-clean .nav-link.nav-clean-ani.active::after,
.navbar-clean .nav-link.nav-clean-ani:hover::after {
    width: 80%;
}

.navbar-clean .nav-link.nav-clean-ani.active,
.navbar-clean .nav-link.nav-clean-ani:hover {
    color: #3498db !important;
    font-weight: 700;
    background: rgba(52,152,219,0.08);
    transform: translateY(-1px);
    text-shadow: none;
}

@media (max-width: 991.98px) {
    .navbar-clean {
        border-radius: 0;
        min-height: 56px;
    }
    .navbar-clean .navbar-brand img {
        height: 48px;
    }
    .navbar-clean .navbar-collapse {
        background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(248,249,250,0.95) 100%) !important;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        z-index: 1050;
        box-shadow: none;
        padding: 3.2rem 1.2rem 1.2rem 1.2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
    }
    .navbar-clean .navbar-nav {
        flex-direction: column;
        align-items: center;
        gap: 2.2rem !important;
    }
    .navbar-clean .nav-link.nav-clean-ani {
        font-size: 1.35rem;
        padding: 1.1rem 2.5rem;
        margin-bottom: 0.5rem;
    }
} 