/* ============================================================
   导航条质感优化（覆盖 style_orange.css 的 .strip / .dropdown-menu）
   2026-10-11
   ============================================================ */

/* ---------- 导航条本体：暖橙渐变 + 内嵌金色细线 + 柔和投影 ---------- */
.strip {
    background: #ef8f1e; /* 不支持渐变时的回退色 */
    background: linear-gradient(180deg, #f7a83f 0%, #ee8d1c 100%);
    border-top: 1px solid rgba(255, 255, 255, .40);
    padding: 0;
    position: relative;
    z-index: 30;
    box-shadow: inset 0 -2px 0 rgba(160, 108, 34, .55),
                0 3px 14px rgba(150, 95, 20, .16);
}
.strip nav { margin-bottom: 0; }
.strip .container { position: relative; }
/* .container 已有 15px 内边距，去掉 bootstrap 给折叠层再加的一层，菜单与正文左边缘对齐 */
@media (min-width: 768px) {
    .strip .navbar-collapse { padding-left: 0; padding-right: 0; }
}

/* ---------- 一级菜单文字 ---------- */
.strip .nav > li > a,
.strip .navbar-brand {
    position: relative;
    padding: 18px 13px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1.5px;
    line-height: 20px;
    white-space: nowrap;
    color: #fff8ec !important;
    background: transparent !important;
    border: 0 !important;
    text-shadow: 0 1px 1px rgba(140, 80, 10, .18);
    transition: color .22s ease;
}
.strip .navbar-brand { float: left; margin-left: -8px; }
.strip .nav { margin-left: -4px; }
.strip .nav > li { display: block; float: left; }

/* 悬停/展开时的金色下划线，替代原来的整块变色 */
.strip .nav > li > a::after,
.strip .navbar-brand::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 12px;
    height: 2px;
    border-radius: 2px;
    background: #ffe9b8;
    transform: scaleX(0);
    transition: transform .28s ease;
}
.strip .nav > li > a:hover,
.strip .nav > li > a:focus,
.strip .navbar-brand:hover,
.strip .navbar-brand:focus,
.strip .nav > li.open > a {
    color: #ffffff !important;
    background: transparent !important;
    text-decoration: none;
}
.strip .nav > li > a:hover::after,
.strip .nav > li > a:focus::after,
.strip .navbar-brand:hover::after,
.strip .navbar-brand:focus::after,
.strip .nav > li.open > a::after {
    transform: scaleX(1);
}

/* 图标与下拉小箭头收一档，让文字做主角 */
.strip .glyphicon {
    font-size: 12px;
    opacity: .8;
    margin-right: 5px;
    vertical-align: 1px;
}
.strip .caret {
    margin-left: 5px;
    opacity: .75;
    border-top-color: #ffeed4;
    border-bottom-color: #ffeed4;
}

/* ---------- 二级下拉面板：米白 + 描金 ---------- */
.strip .dropdown-menu {
    min-width: 246px;
    margin: 0;
    padding: 10px 0 12px;
    background: #fdf9f0;
    border: 1px solid #e6d3ab;
    border-top: 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 18px 34px rgba(120, 84, 30, .20);
    animation: hjNavDrop .22s ease both;
}
@keyframes hjNavDrop {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}
.strip .dropdown-menu > li > a {
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.5px;
    line-height: 1.6;
    color: #6b4a24 !important;
    background: transparent !important;
    text-shadow: none;
    transition: background .18s ease, color .18s ease, padding .18s ease;
}
.strip .dropdown-menu > li > a::after { content: none; }
.strip .dropdown-menu > li > a:hover,
.strip .dropdown-menu > li > a:focus {
    padding-left: 27px;
    background: #f7ebd5 !important;
    color: #a4610f !important;
    box-shadow: inset 3px 0 0 #d9a441;
}
.strip .dropdown-menu .divider {
    height: 1px;
    margin: 6px 16px;
    background: #ecdcbf;
}
/* 下拉项里的金色小标签（如"青酌奖"） */
.strip .dropdown-menu .nav-tag {
    display: inline-block;
    margin-left: 9px;
    padding: 1px 8px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.6;
    vertical-align: 1px;
    color: #a4610f;
    background: #f7ebd5;
    border: 1px solid #e3c99a;
    border-radius: 11px;
    transition: background .18s ease, border-color .18s ease;
}
.strip .dropdown-menu > li > a:hover .nav-tag,
.strip .dropdown-menu > li > a:focus .nav-tag {
    background: #fffdf7;
    border-color: #d9a441;
}

/* ---------- 平板/小屏：收紧字距与留白，保证菜单仍是一行 ---------- */
@media (min-width: 992px) and (max-width: 1199px) {
    .strip .nav > li > a,
    .strip .navbar-brand { padding: 17px 8px; font-size: 14px; letter-spacing: 1px; }
    .strip .nav > li > a::after,
    .strip .navbar-brand::after { left: 8px; right: 8px; bottom: 11px; }
    .strip .nav { margin-left: 0; }
    .strip .navbar-brand { margin-left: -4px; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .strip .nav > li > a,
    .strip .navbar-brand { padding: 17px 3px; font-size: 14px; letter-spacing: .5px; }
    .strip .nav > li > a::after,
    .strip .navbar-brand::after { left: 3px; right: 3px; bottom: 11px; }
    .strip .nav { margin-left: 0; }
    .strip .navbar-brand { margin-left: 0; }
    .strip .glyphicon { margin-right: 2px; font-size: 11px; }
    .strip .caret { margin-left: 3px; }
}

/* ---------- 手机端 ---------- */
@media (max-width: 767px) {
    .strip { padding: 0; box-shadow: inset 0 -2px 0 rgba(160, 108, 34, .55); }
    .strip .navbar-toggle {
        margin: 11px 0;
        padding: 8px 10px;
        border: 1px solid rgba(255, 240, 214, .55);
        background: transparent !important;
    }
    .strip .navbar-toggle:hover,
    .strip .navbar-toggle:focus { background: rgba(255, 255, 255, .12) !important; }
    .strip .navbar-toggle .icon-bar { background-color: #fff8ec; }
    .strip .nav > li > a,
    .strip .navbar-brand { padding: 13px 10px; letter-spacing: 2px; }
    .strip .nav > li > a::after { left: 10px; right: 10px; bottom: 7px; }
    /* 折叠面板仍在橙底上，二级项保持白字，用左侧金条区分层级 */
    .strip .dropdown-menu {
        min-width: 0;
        padding: 0 0 8px;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        animation: none;
    }
    .strip .dropdown-menu > li > a {
        padding: 10px 12px 10px 22px;
        font-size: 15px;
        letter-spacing: 2px;
        color: #fff8ec !important;
        text-shadow: 0 1px 1px rgba(140, 80, 10, .18);
    }
    .strip .dropdown-menu > li > a:hover,
    .strip .dropdown-menu > li > a:focus {
        padding-left: 27px;
        background: rgba(255, 255, 255, .10) !important;
        color: #ffffff !important;
        box-shadow: inset 3px 0 0 #ffe9b8;
    }
    .strip .dropdown-menu .divider { background: rgba(255, 240, 214, .30); margin: 4px 12px; }
}
