*{padding: 0; margin: 0;}
body{ overflow-x: hidden;}
img{ border:none; font-size: 0; }
.clear{clear: both;}
.fl{float: left;}
.fr{float: right;}
a{ text-decoration: none; color: black; }
a:hover{color:#ad8e3c;}
li{ list-style: none; }

.sea{float: right;
    width: 4%;}
.sea img{width: 1.3vw;
    margin-top: 1.8vw;}

.nav-container {
            width: auto;
    margin:0 0 0 3%;
    float: left;
        }

        .navbar {           
            position: relative;
        }

        /* 主菜单样式 */
        .nav-menu {
            display: flex;
            list-style: none;
            position: relative;
        }

        .nav-item {
            position: relative;
        }

        .nav-link {line-height: 5vw;font-size: 0.85vw;
            display: flex;
            align-items: center;
            color: #333;
            text-decoration: none;
            padding:0vw 1.5vw;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .nav-link:hover {text-decoration: none;
            color: #bb9c72 !important;font-weight: bold;}

        /* 上下箭头样式 */
        .arrow {
            margin-left: 8px;
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            font-size: 12px;
        }

        /* 二级子菜单样式 */
        .submenu {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: white;
            min-width: 200px;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
            border-radius: 0 0 8px 8px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 1000;
            display: flex;
            flex-wrap: wrap;
            padding: 10px;
        }

        .submenu-item {
            position: relative;
            flex: 1 0 200px;
        }

        .submenu-link {font-size: 0.85vw;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 15px;
            color: #2c3e50;
            text-decoration: none;
            transition: all 0.2s ease;
            border-radius: 4px;
        }

        .submenu-link:hover {text-decoration: none;
            color: #bb9c72 !important;font-weight: bold;
        }

        /* 三级子菜单样式 */
        .subsubmenu {
            position: absolute;
            top: 0;
            left: 105%;
            background-color: white;
            min-width: 180px;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
            border-radius: 0 8px 8px 8px;
            opacity: 0;
            visibility: hidden;
            transform: translateX(-10px);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 1001;
            padding: 10px 0;
        }

        .subsubmenu-item {
            width: 100%;
        }

        .subsubmenu-link {font-size: 0.85vw;
            display: block;
            padding: 10px 15px;
            color: #2c3e50;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .subsubmenu-link:hover {text-decoration: none;
            color: #bb9c72 !important;
    font-weight: bold;
        }

        /* 悬停效果 - 一级菜单 */
        .nav-item:hover .submenu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .nav-item:hover .arrow {
            transform: rotate(180deg);
        }

        /* 悬停效果 - 二级菜单项显示三级菜单 */
        .submenu-item:hover .subsubmenu {
            opacity: 1;
            visibility: visible;
            transform: translateX(0);
        }

        .submenu-item:hover .subsubmenu-arrow {
            transform: rotate(-90deg);
        }

        /* 三级菜单右箭头 */
        .subsubmenu-arrow {
            margin-left: 5px;
            font-size: 10px;
            transition: transform 0.3s ease;
        }

        /* 移动端样式 */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            padding: 15px;
            width: 100%;
            text-align: left;
        }

        /* 移动端适配 */
        @media screen and (max-width: 768px) {
            .nav-menu {
                flex-direction: column;
                display: none;
                width: 100%;
            }

            .nav-menu.active {
                display: flex;
            }

            .menu-toggle {
                display: block;
            }

            .nav-item {
                width: 100%;
            }

            .nav-link {
                padding: 15px 20px;
                width: 100%;
                justify-content: space-between;
            }

            .submenu {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                box-shadow: none;
                background-color: rgba(255, 255, 255, 0.1);
                display: none;
                margin-left: 0;
                width: 100%;
                padding: 0;
                border-radius: 0;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                            padding 0.4s ease;
                flex-direction: column;
            }

            .nav-item.active .submenu {
                display: flex;
                max-height: 1000px;
                padding: 10px 0;
            }

            .nav-item.active .arrow {
                transform: rotate(180deg);
            }

            .submenu-item {
                flex: none;
                width: 100%;
            }

            .submenu-link {
                color: #ecf0f1;
                padding: 12px 30px;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }

            .submenu-link:hover {
                background-color: rgba(255, 255, 255, 0.1);
                color: #ecf0f1;
            }

            /* 移动端三级菜单 */
            .subsubmenu {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                box-shadow: none;
                background-color: rgba(255, 255, 255, 0.05);
                display: none;
                margin-left: 0;
                width: 100%;
                padding: 0;
                border-radius: 0;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                            padding 0.4s ease;
            }

            .submenu-item.active .subsubmenu {
                display: block;
                max-height: 500px;
                padding: 10px 0;
            }

            .submenu-item.active .subsubmenu-arrow {
                transform: rotate(-90deg);
            }

            .subsubmenu-item {
                width: 100%;
            }

            .subsubmenu-link {
                color: #ecf0f1;
                padding: 10px 45px;
            }
        }