* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* 中医馆实景底图 */
        .background-base {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('/images/back.png');
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
            z-index: 0;
            animation: backgroundZoom 20s ease-in-out infinite alternate;
        }

        /* 背景缩放动画 - 模拟动态景深 */
        @keyframes backgroundZoom {
            0% {
                transform: scale(1);
            }
            100% {
                transform: scale(1.05);
            }
        }
.element::after {
  content: "f078"; /* 注意：Unicode 编码必须加  前缀，且小写/大写要匹配 */
  font-family: "Font Awesome 6 Free"; /* 字体库名称（根据版本调整） */
  font-weight: 900; /* 免费版 solid 样式需要 900 权重，regular 是 400 */
  /* 基础显示属性（之前提到的必选项） */
  display: inline-block;
  margin-left: 5px; /* 可选：调整位置 */
}

        /* 轻微叠加层 - 仅用于增强文字可读性 */
        .background-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(60, 40, 20, 0.2); /* 非常轻微的叠加层 */
            z-index: 1;
        }

        body {
            font-family: 'Noto Serif SC', serif; /* 书法风格字体 */
            /*overflow: hidden;*/
            position: relative;
            color: #f4e4bc; /* 金色文字 */
padding-top: 1px;
        }

        /* 漂浮中医元素容器 */
        .floating-elements {
            position: relative;
            width: 100%;
            height: 100vh;
            z-index: 3;
        }

        /* 中医元素基础样式 */
        .element {
            position: absolute;
            font-size: 4rem;
            color: #d4af37; /* 金色 */
            animation: float 8s ease-in-out infinite, rotate 15s linear infinite;
            text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
        }

        /* 脉搏图标 */
        .pulse {
            top: 20%;
            left: 20%;
            animation-delay: 0s;
        }

        /* 针灸图标 */
        .acupuncture {
            top: 50%;
            right: 25%;
            animation-delay: 2s;
        }

        /* 草药图标 */
        .herb {
            bottom: 25%;
            left: 35%;
            animation-delay: 4s;
        }

        /* 药罐图标 */
        .medicine-pot {
            top: 35%;
            right: 35%;
            animation-delay: 6s;
        }

        /* 留言板图标 */
        .message-board {
            bottom: 35%;
            right: 25%;
            animation-delay: 8s;
        }

        /* 浮动动画 - 优化幅度，更显自然 */
        @keyframes float {
            0%, 100% {
                transform: translateY(0px) rotate(0deg);
            }
            50% {
                transform: translateY(-20px) rotate(180deg);
            }
        }

       

        /* 标题容器样式 */
        .title {
            position: absolute;
            top: 115px;
            left: 5%;
            z-index: 4;
        }
        
        /* 标题图片样式 */
        .title-image {
            max-width: 60%;
            height: auto;
            max-height: 120px;
            object-fit: contain;
        }

        /* 导航栏样式 */
        .navbar {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
            background: #347AD0;
            border: 2px solid #347AD0;
            border-radius: 0 0 50px 50px;
            padding: 1rem 2rem;
            backdrop-filter: blur(15px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            width: 90%;
            text-align: center;
        }

        .nav-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }

        .nav-list {
            display: flex;
            list-style: none;
            gap: 1.5rem;
            margin: 0;
            padding: 0;
            flex: 1;
            justify-content: center;
        }

        .nav-item {
            position: relative;
        }

        .nav-link {
            color: white;
            text-decoration: none;
            font-size: 1.1rem;
            font-weight: bold;
            padding: 0.5rem 1rem;
            border-radius: 25px;
            transition: all 0.4s ease;
            display: inline-block;
        }

        /* 搜索框样式 */
        .search-container {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid white;
            border-radius: 25px;
            padding: 0.3rem 0.8rem;
            backdrop-filter: blur(10px);
            transition: all 0.4s ease;
        }

        .search-container:hover {
            background: rgba(255, 255, 255, 0.15);
            box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
        }

        .search-input {
            background: transparent;
            border: none;
            outline: none;
            color: white;
            font-size: 1rem;
            font-family: 'Noto Serif SC', serif;
            padding: 0.5rem;
            width: 200px;
        }

        .search-input::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }

        .search-btn {
            background: transparent;
            border: none;
            outline: none;
            color: white;
            font-size: 1.1rem;
            cursor: pointer;
            padding: 0.3rem;
            border-radius: 50%;
            transition: all 0.4s ease;
        }

        .search-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
        }

        .nav-link:hover {
            background: rgba(255, 255, 255, 0.3);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 255, 255, 0.5);
        }

        /* 下拉菜单样式 */
        .dropdown {
            position: relative;
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background: #347AD0;
            border: 2px solid #347AD0;
            border-radius: 0 0 15px 15px;
            padding: 0.5rem 0;
            margin-top: 0.5rem;
            min-width: 200px;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.4s ease;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            backdrop-filter: blur(15px);
        }

        .dropdown:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-item {
            display: block;
            padding: 0.8rem 1.5rem;
            color: white;
            text-decoration: none;
            font-size: 1rem;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .dropdown-item:hover {
            background: rgba(255, 255, 255, 0.3);
            color: white;
            padding-left: 2rem;
        }

       /* .dropdown-toggle::after {
            content: ' f078';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            margin-left: 0.5rem;
            font-size: 0.8rem;
        }*/

        /* 三条杠菜单按钮样式 */
        .menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 20px;
            cursor: pointer;
            z-index: 1000;
        }
        
        .menu-toggle span {
            display: block;
            width: 100%;
            height: 3px;
            background-color: #fff;
            border-radius: 3px;
            transition: all 0.3s ease;
        }
        
        /* 移动端导航菜单样式 */
        .mobile-menu {
            position: fixed;
            top: 0;
            left: -100%;
            width: 80%;
            max-width: 300px;
            height: 100vh;
            background: #347AD0;
            border-right: 2px solid #347AD0;
            backdrop-filter: blur(15px);
            z-index: 999;
            transition: left 0.3s ease;
            overflow-y: auto;
        }
        
        .mobile-menu.active {
            left: 0;
        }
        
        .mobile-nav-list {
            list-style: none;
            padding: 2rem 0;
        }
        
        .mobile-nav-item {
            position: relative;
        }
        
        .mobile-nav-link {
            display: block;
            padding: 1rem 2rem;
            color: white;
            text-decoration: none;
            font-size: 1.1rem;
            font-weight: bold;
            transition: all 0.3s ease;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .mobile-nav-link:hover {
            background: rgba(255, 255, 255, 0.3);
            color: white;
            padding-left: 2.5rem;
        }
        
        /* 移动端下拉菜单样式 */
        .mobile-dropdown-menu {
            display: none;
            list-style: none;
            background: rgba(255, 255, 255, 0.1);
        }

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

        .mobile-dropdown-item {
            display: block;
            padding: 0.8rem 2.5rem;
            color: white;
            text-decoration: none;
            font-size: 1rem;
            transition: all 0.3s ease;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .mobile-dropdown-item:hover {
            background: rgba(255, 255, 255, 0.3);
            color: white;
            padding-left: 3rem;
        }

        /* 导航栏响应式设计 */

        /* 平板设备优化 (768px - 1024px) */
        @media (min-width: 769px) and (max-width: 1024px) {
            .navbar {
                top: 0;
                padding: 0.7rem 1.2rem;
                width: 95%;
            }
            
            .nav-list {
                gap: 0.8rem;
            }
            
            .nav-link {
                font-size: 0.9rem;
                padding: 0.4rem 0.7rem;
            }
            
            .search-container {
                padding: 0.25rem 0.7rem;
            }
            
            .search-input {
                width: 140px;
                font-size: 0.9rem;
                padding: 0.4rem;
            }
            
            .title {
                top: 90px;
            }
            
            .title-image {
                max-width: 65%;
            }
            
            .dropdown-menu {
                min-width: 170px;
            }
            
            .dropdown-item {
                font-size: 0.85rem;
                padding: 0.5rem 1rem;
            }
        }

        @media (max-width: 1200px) {
            .navbar {
                top: 0;
                padding: 0.8rem 1.5rem;
                width: 95%;
            }
            
            .nav-list {
                gap: 1rem;
            }
            
            .nav-link {
                font-size: 1rem;
                padding: 0.4rem 0.8rem;
            }
            
            .search-input {
                width: 150px;
                font-size: 0.9rem;
            }
            
            .title {
                top: 90px;
            }
            
            .about-content {
                top: 55%;
            }
            
            .dropdown-menu {
                min-width: 180px;
            }
            
            .dropdown-item {
                font-size: 0.9rem;
                padding: 0.6rem 1.2rem;
            }
        }

        @media (max-width: 992px) {
            .navbar {
                top: 0;
                padding: 0.6rem 1rem;
                width: 95%;
            }
            
            .nav-list {
                gap: 0.6rem;
            }
            
            .nav-link {
                font-size: 0.85rem;
                padding: 0.4rem 0.8rem;
            }
            
            .search-container {
                padding: 0.2rem 0.6rem;
            }
            
            .search-input {
                width: 130px;
                font-size: 0.85rem;
                padding: 0.4rem;
            }
            
            .search-btn {
                font-size: 1rem;
            }
            
            .title {
                top: 80px;
            }
            
            .dropdown-menu {
                min-width: 160px;
            }
            
            .dropdown-item {
                font-size: 0.85rem;
                padding: 0.5rem 1rem;
            }
        }

        @media (max-width: 768px) {
            .navbar {
                top: 0;
                left: 50%;
                transform: translateX(-50%);
                width: 100%;
                padding: 0.5rem 0.5rem;
                border-radius: 0;
            }
            
            .nav-content {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
                gap: 0.5rem;
            }
            
            /* 隐藏标准导航菜单 */
            .nav-list {
                display: none;
            }
            
            /* 显示三条杠菜单按钮 */
            .menu-toggle {
                display: flex;
                order: 1;
            }
            
            .search-container {
                width: auto;
                order: 3;
            }
            
            .search-input {
                width: 120px;
                font-size: 0.8rem;
            }
            
            .title {
                top: 80px; /* 修改：从18%改为50px，确保显示在导航下方 */
            }
            
            .title-image {
                max-width: 70%;
            }
            
            .about-content {
                top: 65%;
                padding: 1rem;
            }
            
            .dropdown-menu {
                min-width: 140px;
                left: 50%;
                transform: translateX(-50%);
            }
            
            .dropdown-item {
                font-size: 0.7rem;
                padding: 0.4rem 0.8rem;
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .navbar {
                top: 0;
                padding: 0.4rem 0.2rem;
            }
            
            .nav-content {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
                gap: 0.3rem;
            }
            
            /* 隐藏标准导航菜单 */
            .nav-list {
                display: none;
            }
            
            /* 显示三条杠菜单按钮 */
            .menu-toggle {
                display: flex;
                order: 1;
            }
            
            .search-container {
                width: auto;
                padding: 0.2rem 0.5rem;
                order: 3;
            }
            
            .search-input {
                width: 80px;
                font-size: 0.7rem;
                padding: 0.3rem;
            }
            
            .search-btn {
                font-size: 0.9rem;
            }
            
            .title {
                top: 65px; /* 修改：从15%改为45px，确保显示在导航下方 */
            }
            
            .title-image {
                max-width: 80%;
            }
            
            .about-content {
                top: 70%;
                padding: 0.8rem;
            }
            
            .dropdown-menu {
                min-width: 120px;
            }
            
            .dropdown-item {
                font-size: 0.6rem;
                padding: 0.3rem 0.6rem;
            }
        }

        /* 关于我们内容容器 */
        .about-content {
            position: absolute;
            top: 55%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 4;
            background: rgba(60, 40, 20, 0.8);
            border: 3px solid #d4af37;
            border-radius: 10px;
            padding: 2rem;
            max-width: 80%;
            max-height: 60%;
            overflow-y: auto;
            backdrop-filter: blur(10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
        }

        /* 调整响应式下的内容位置 */
        @media (max-width: 1200px) {
            .about-content {
                max-height: 60%;
            }
        }

        @media (max-width: 992px) {
            .about-content {
                max-height: 55%;
            }
        }

        @media (max-width: 768px) {
            .about-content {
                top: 45%;
                max-height: 65%;
                padding: 1rem;
            }
        }

        @media (max-width: 480px) {
            .about-content {
                top: 45%;
                max-height: 60%;
                padding: 0.8rem;
            }
        }

        /* 关于我们标题 */
        .about-content h2 {
            font-size: 2.5rem;
            color: #d4af37;
            text-align: center;
            margin-bottom: 2rem;
            text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
            letter-spacing: 0.5rem;
        }

        /* 关于我们段落 */
        .about-content p {
            font-size: 1.2rem;
            line-height: 2;
            color: #f4e4bc;
            margin-bottom: 1.5rem;
            text-align: justify;
        }

        /* 关于我们列表 */
        .about-content ul {
            list-style: none;
            margin-bottom: 1.5rem;
        }

        .about-content ul li {
            font-size: 1.2rem;
            line-height: 2;
            color: #f4e4bc;
            margin-bottom: 1rem;
            padding-left: 1.5rem;
            position: relative;
        }

        .about-content ul li::before {
            content: 'f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            color: #d4af37;
            position: absolute;
            left: 0;
            top: 0;
        }

        

       

        /* 回到顶部按钮 */
        .back-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            z-index: 5;
            background: #347AD0;
            border: 2px solid #fff;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.2rem;
            text-decoration: none;
            transition: all 0.4s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        }

        .back-to-top:hover {
            transform: translateY(-5px) scale(1.1);
            background: rgba(90, 65, 40, 0.95);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.7);
            border-color: #f4e4bc;
            color: #f4e4bc;
        }