/**
 * 主应用样式入口文件
 * 按正确顺序导入所有CSS模块
 * 基于原网站设计风格重新构建
 */

/* 1. 重置和基础样式 */
@import url('./reset.css');

/* 2. CSS变量定义 */
@import url('./variables.css');

/* 3. 图标字体 */
@import url('./icons.css');

/* 4. 布局系统 */
@import url('./layout.css');

/* 5. 组件样式 */
@import url('./components.css');

/* 6. 动画效果 */
@import url('./animations.css');

/* 7. 主样式 */
@import url('./main.css');

/* 8. 页面特定样式 */
@import url('./pages.css');

/* 9. 兼容性和增强样式 */
.pcduan{ display:block}
.wapduan{ display:none}
@media (max-width: 1000px) {
.pcduan{ display:none}
.wapduan{ display:block}
}
/* 无障碍访问增强 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .carousel-slide {
        transition: none !important;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0066cc;
        --text-primary: #000;
        --text-secondary: #333;
        --border-color: #000;
        --bg-secondary: #f0f0f0;
    }
    
    .btn {
        border-width: 3px;
    }
    
    .form-control:focus {
        border-width: 3px;
    }
}

/* 深色模式支持（预留） - 修改为不影响主要背景色 */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #e0e0e0;
        --text-secondary: #b0b0b0;
        --text-muted: #888;
        /* 保持主要背景为白色，避免影响页面布局 */
        --bg-primary: #ffffff;
        --bg-secondary: #f8f9fa;
        --bg-dark: #2c3e50;
        --border-color: #e1e8ed;
    }
    
    .product-card,
    .news-item,
    .contact-form,
    .sidebar {
        background: var(--bg-secondary);
        color: var(--text-primary);
        border-color: var(--border-color);
    }

}

/* 性能优化和全局字体设置 */
* {
    /* 优化字体渲染 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 确保Roboto字体应用到所有元素 */
body,
button,
input,
select,
textarea,
.nav-link,
.btn,
.product-title,
.section-title {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

/* 图片优化 */
img {
    /* 优化图片渲染 */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* 防止图片拖拽 */
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* 滚动优化 */
html {
    scroll-behavior: smooth;
}

/* 自定义滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

/* 选择文本样式 */
::selection {
    background: var(--primary-color);
    color: var(--text-white);
    text-shadow: none;
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--text-white);
    text-shadow: none;
}

/* 焦点样式 */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.form-control:focus {
    outline: none;
}

/* 跳过链接（无障碍访问） */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 8px 12px;
    text-decoration: none;
    border-radius: var(--border-radius);
    z-index: var(--z-tooltip);
    transition: var(--transition-fast);
    font-size: var(--font-size-sm);
}

.skip-link:focus {
    top: 6px;
}

/* 错误页面样式 */
.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: var(--spacing-3xl);
}

.error-code {
    font-size: 6rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.error-message {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

/* 加载状态样式 */
.loading-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-3xl);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-light);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    margin-left: var(--spacing-lg);
    color: var(--text-secondary);
    font-size: var(--font-size-base);
}

/* 空状态样式增强 */
.empty-state {
    text-align: center;
    padding: var(--spacing-4xl);
    color: var(--text-muted);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.5;
    color: var(--text-muted);
}

.empty-state-message {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
}

.empty-state-description {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

/* 调试样式（开发环境） */
[data-debug] {
    border: 2px dashed red !important;
    background: rgba(255, 0, 0, 0.1) !important;
    position: relative;
}

[data-debug]::before {
    content: attr(data-debug);
    position: absolute;
    top: 0;
    left: 0;
    background: red;
    color: white;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
    z-index: 9999;
    font-family: monospace;
}

/* 响应式图片容器 */
.responsive-image {
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
}

.responsive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

/* 视频响应式 */
.responsive-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.responsive-video iframe,
.responsive-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 移动端优化 */
@media (max-width: 768px) {
    /* 触摸友好的按钮尺寸 */
    .btn {
        min-height: 44px;
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    /* 更大的触摸区域 */
    .nav-link,
    .sidebar-nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* 移动端文本大小调整 */
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .banner-title {
        font-size: var(--font-size-3xl);
    }
}

/* 基础container样式 */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    max-width: 1600px;
}

/* 移动端container优化 - 占用98%宽度 */
@media (max-width: 768px) {
    .container {
        width: 98% !important;
        max-width: none !important;
        padding: 0 1% !important;
        margin: 0 auto !important;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .container {
        width: 98% !important;
        max-width: none !important;
        padding: 0 1% !important;
        margin: 0 auto !important;
    }
    
    .section {
        padding: var(--spacing-2xl) 0;
    }
    
    .section-title {
        font-size: var(--font-size-xl);
    }
}

/* === 移动端强制样式 - 解决About.asp文字宽度问题 === */
@media screen and (max-width: 768px) {
    /* 强制所有容器98%宽度 */
    .main-content .container,
    .main-content .content-layout,
    .main-content .main-content-area,
    .main-content .content-wrapper {
        width: 98% !important;
        max-width: none !important;
        margin: 0 auto !important;
        padding-left: 1% !important;
        padding-right: 1% !important;
        box-sizing: border-box !important;
    }
    
    /* 强制文字内容占满宽度，但排除表单区域 */
    .content-wrapper p:not(.contact-form-section p),
    .content-wrapper div:not(.contact-form-section):not(.contact-form-section *),
    .content-wrapper span:not(.contact-form-section span),
    .content-wrapper *:not(.contact-form-section):not(.contact-form-section *) {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* 专门保护表单样式 */
    .content-wrapper .contact-form-section,
    .content-wrapper .contact-form-section * {
        width: auto !important;
        max-width: none !important;
        margin: revert !important;
        padding: revert !important;
        box-sizing: border-box !important;
    }
    
    /* 确保表单完全使用组件样式 */
    .content-wrapper .contact-form-section .form-group {
        width: 100% !important;
        margin-bottom: var(--spacing-lg) !important;
    }
    
    .content-wrapper .contact-form-section .form-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: var(--spacing-lg) !important;
        width: 100% !important;
    }
    
    .content-wrapper .contact-form-section .verify-wrapper {
        display: flex !important;
        align-items: center !important;
        gap: var(--spacing-sm) !important;
        width: 100% !important;
    }
    
    .content-wrapper .contact-form-section .verify-wrapper .input-wrapper {
        flex: 1 !important;
    }
    
    .content-wrapper .contact-form-section .verify-wrapper .verify-image {
        flex-shrink: 0 !important;
    }
    
    /* 移除侧边栏在移动端的影响 */
    .content-layout {
        flex-direction: column !important;
        gap: var(--spacing-md) !important;
    }
    
    .sidebar {
        width: 98% !important;
        margin: 0 auto !important;
        order: 2 !important;
    }
    
    .main-content-area {
        width: 98% !important;
        margin: 0 auto !important;
        order: 1 !important;
        flex: none !important;
    }
}

@media screen and (max-width: 480px) {
    /* 超小屏幕进一步优化 */
    .main-content .container,
    .main-content .content-layout,
    .main-content .main-content-area,
    .main-content .content-wrapper {
        width: 98% !important;
        padding-left: 1% !important;
        padding-right: 1% !important;
    }
    
    /* 小屏幕表单行变为单列 */
    .content-wrapper .contact-form-section .form-row {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-md) !important;
    }
    
    /* 小屏幕验证码垂直排列 */
    .content-wrapper .contact-form-section .verify-wrapper {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: var(--spacing-sm) !important;
    }
    
    .content-wrapper .contact-form-section .verify-image {
        align-self: center !important;
    }
    
    .content-wrapper .contact-form-section .verify-image img {
        height: 40px !important;
        max-width: 120px !important;
    }
}

/* === 专门针对About.asp页面文字段落的强制样式 === */
@media screen and (max-width: 768px) {
    /* 直接针对页面中的文字段落 */
    body .main-content p,
    body .content-wrapper p,
    body main p {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 16px 0 !important;
        padding: 0 !important;
        text-align: left !important;
        line-height: 1.6 !important;
        font-size: 16px !important;
        color: #666 !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    /* 确保所有文本容器都是全宽 */
    body .main-content,
    body .main-content *:not(.sidebar):not(.sidebar *) {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* 强制重置任何可能的限制 */
    body .content-wrapper {
        min-width: 98% !important;
        display: block !important;
    }
}

/* ========== 现代化头部导航样式 ========== */

/* 顶部信息栏样式 */
.top-info-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(45, 183, 164, 0.3);
    transition: all 0.3s ease;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact-info {
    display: flex;
    gap: 25px;
    align-items: center;
}

.top-slogan {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding-left: 15px;
    border-left: 1px solid rgba(45, 183, 164, 0.4);
}

.desktop-only {
    display: inline-block;
}

.top-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.top-contact-item:hover {
    color: #2DB7A4;
    transform: translateY(-1px);
}

.top-contact-item svg {
    flex-shrink: 0;
}

.top-right-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #2DB7A4;
    color: #ffffff;
    transform: translateY(-2px) scale(1.1);
}

/* 主导航栏增强 */
.main-navbar.modern-navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.main-navbar.modern-navbar .navbar-content {
    min-height: 85px;
}

/* 导航链接增强悬停效果 */
.main-navbar.modern-navbar .nav-link {
    position: relative;
    font-weight: 500;
    font-size: 16px;
}

.main-navbar.modern-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #2DB7A4, #4bc4b3);
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 3px 3px 0 0;
}

.main-navbar.modern-navbar .nav-link:hover::after,
.main-navbar.modern-navbar .nav-item.active .nav-link::after {
    width: 80%;
}

/* Logo增强效果 */
.navbar-brand {
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.brand-logo {
    filter: drop-shadow(0 2px 8px rgba(45, 183, 164, 0.2));
    transition: all 0.3s ease;
}

/* 产品Mega Menu增强 */
.products-mega-menu {
    border-top: 3px solid #2DB7A4;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.product-categories-sidebar {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.product-category-item {
    border-left: 3px solid transparent;
    position: relative;
}

.product-category-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 3px solid #2DB7A4;
    transition: all 0.3s ease;
}

.product-category-item.active::before,
.product-category-item:hover::before {
    height: 100%;
    top: 0;
    transform: translateY(0);
}

.product-menu-item {
    border: 2px solid transparent;
}

.product-menu-item:hover {
    border-color: #2DB7A4;
    background: linear-gradient(135deg, #ffffff 0%, #f8fff8 100%);
}

/* 语言切换增强 */
.lang-toggle {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    border-color: #2DB7A4;
    background: linear-gradient(135deg, #ffffff 0%, #e8fff8 100%);
    box-shadow: 0 2px 8px rgba(45, 183, 164, 0.15);
}

/* 搜索框增强 */
.search-form {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.search-form:hover,
.search-form:focus-within {
    border-color: #2DB7A4;
    box-shadow: 0 0 0 3px rgba(45, 183, 164, 0.1);
}

.search-btn:hover {
    color: #2DB7A4;
}

/* 移动端菜单按钮样式 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: 15px;
    color: #333;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: #2DB7A4;
    transform: scale(1.1);
}

.menu-icon-svg {
    display: block;
    stroke: currentColor;
}

/* 移动端导航头部 */
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    background: #ffffff;
}

.mobile-nav-logo {
    flex: 1;
}

.mobile-logo {
    height: 40px;
    width: auto;
}

.mobile-nav-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #333;
    transition: all 0.3s ease;
}

.mobile-nav-close:hover {
    color: #2DB7A4;
    transform: rotate(90deg);
}

/* 移动端搜索样式 */
.mobile-search-section {
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.mobile-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    padding: 10px 15px;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mobile-search-icon {
    color: #999;
    flex-shrink: 0;
}

.mobile-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
    background: transparent;
}

.mobile-search-input::placeholder {
    color: #999;
}

.mobile-search-btn {
    background: #2DB7A4;
    color: #ffffff;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-search-btn:hover {
    background: #239a8a;
}

/* 移动端语言切换增强 */
.mobile-language-switcher {
    padding: 0 20px;
    margin: 15px 0;
}

.mobile-lang-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.mobile-lang-toggle:hover {
    border-color: #2DB7A4;
    box-shadow: 0 2px 8px rgba(45, 183, 164, 0.15);
}

.mobile-lang-toggle .lang-icon-svg {
    color: #2DB7A4;
}

.mobile-lang-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 10px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-language-switcher.active .mobile-lang-dropdown {
    max-height: 400px;
}

.mobile-lang-dropdown .lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-lang-dropdown .lang-option:last-child {
    border-bottom: none;
}

.mobile-lang-dropdown .lang-option:hover {
    background: #f8f9fa;
    padding-left: 20px;
}

.mobile-lang-dropdown .lang-option.active {
    background: #e8fff8;
    color: #2DB7A4;
    font-weight: 500;
}

/* 移动端导航菜单项增强 */
.mobile-nav-menu {
    padding: 10px 0;
}

.mobile-nav-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: linear-gradient(90deg, #f8fff8 0%, #ffffff 100%);
    color: #2DB7A4;
    padding-left: 25px;
}

.mobile-nav-item.has-submenu .mobile-nav-link::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.mobile-nav-item.has-submenu.active .mobile-nav-link::after {
    transform: rotate(-135deg);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8f9fa;
}

.mobile-nav-item.active .mobile-submenu {
    max-height: 1000px;
}

.mobile-submenu .mobile-nav-item {
    border-bottom: 1px solid #e9ecef;
}

.mobile-submenu .mobile-nav-link {
    padding-left: 40px;
    font-size: 14px;
    font-weight: 400;
}

/* 移动端顶部信息栏优化 */
@media (max-width: 768px) {
    .top-info-bar {
        display: none;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .main-navbar.modern-navbar .navbar-content {
        min-height: 70px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .navbar-search {
        display: none;
    }
}

/* 现代化导航增强效果 */

/* Sticky导航栏滚动效果 */
.main-navbar.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.95);
}

.main-navbar.navbar-scrolled .navbar-content {
    min-height: 75px;
}

/* 搜索框增强动画 */
.navbar-search .search-input {
    border: 2px solid transparent;
    padding: 10px 45px 10px 15px;
    border-radius: 25px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    font-size: 14px;
    width: 200px;
}

.navbar-search .search-input:focus {
    width: 280px;
    background: #ffffff;
    border-color: #2DB7A4;
    box-shadow: 0 0 0 3px rgba(45, 183, 164, 0.1);
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #999;
    transition: all 0.3s ease;
}

.search-btn:hover {
    color: #2DB7A4;
    transform: translateY(-50%) scale(1.1);
}

/* 语言切换下拉框增强 */
.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 180px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    overflow: hidden;
}

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

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: linear-gradient(90deg, #f8fff8 0%, #ffffff 100%);
    padding-left: 20px;
}

.lang-option.active {
    background: #e8fff8;
    color: #2DB7A4;
    font-weight: 500;
}

.lang-flag {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* 导航项Hover效果增强 */
.main-navigation .nav-item {
    position: relative;
}

.main-navigation .nav-link {
    display: block;
    padding: 15px 18px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.main-navigation .nav-link:hover {
    color: #2DB7A4;
}

/* 下拉菜单通用样式 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    margin-top: 0;
    overflow: hidden;
}

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

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, #f8fff8 0%, #ffffff 100%);
    color: #2DB7A4;
    padding-left: 25px;
}

/* 产品Mega Menu更多增强 */
.view-all-category {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #2DB7A4 0%, #4bc4b3 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(45, 183, 164, 0.3);
}

.view-all-category:hover {
    background: linear-gradient(135deg, #239a8a 0%, #2DB7A4 100%);
    box-shadow: 0 6px 20px rgba(45, 183, 164, 0.4);
    transform: translateY(-2px);
}

/* 产品菜单项图片容器 */
.product-menu-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f9fa;
    position: relative;
}

.product-menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.product-menu-item:hover .product-menu-image img {
    transform: scale(1.1);
}

/* 产品菜单标题样式 */
.product-menu-guige {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
    font-weight: 400;
}

.product-menu-title {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

.product-menu-item:hover .product-menu-title {
    color: #2DB7A4;
}

/* Logo增强效果动画 */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.navbar-brand:hover .brand-logo {
    animation: logoFloat 1s ease-in-out infinite;
}

/* 响应式优化 - 平板 */
@media (max-width: 1200px) {
    .main-navigation .nav-link {
        padding: 15px 12px;
        font-size: 15px;
    }
    
    .navbar-search .search-input {
        width: 150px;
    }
    
    .navbar-search .search-input:focus {
        width: 200px;
    }
}

@media (max-width: 992px) {
    .main-navigation,
    .language-switcher {
        display: none;
    }
}

/* 移动端导航动画 */
@media (max-width: 768px) {
    @keyframes slideInRight {
        from {
            transform: translateX(100%);
        }
        to {
            transform: translateX(0);
        }
    }
    
    .mobile-navigation.active {
        animation: slideInRight 0.3s ease;
    }
} 