/* 全站图片保护：禁止右键、拖拽、选择与指针事件下载 */
img, picture, video, canvas, svg {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none; /* 禁止通过点击触发保存/新窗口 */
}

/* 允许明确需要交互的元素恢复点击（如轮播箭头、播放控件等）
   可为特定类名恢复 pointer-events */
.allow-pointer-events { pointer-events: auto !important; }

/* 允许导航下拉的产品展示区图片可点击（不影响全站图片保护策略） */
.dropdown-product-showcase img,
.product-showcase-section img,
.showcase-main img,
.sidebar-item img {
  pointer-events: auto !important;
}
/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 确保页面初始加载时从顶部开始 */
html {
    scroll-behavior: smooth;
}

body {
    /* 防止浏览器记住滚动位置 */
    overflow-anchor: none;
}

/* 图片处理样式 */
img {
    transition: opacity 0.3s ease;
}

.image-loading {
    opacity: 0.3;
    position: relative;
}

.image-loaded {
    opacity: 1;
}

.image-error {
    opacity: 0.8;
}

.placeholder-image {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 14px;
}

/* 图片加载动画 */
.image-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #00897B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

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

/* 非中文语言的字体调整 */
body[data-lang]:not([data-lang="zh"]) {
    font-size: 14px;
    line-height: 1.5;
}

body[data-lang]:not([data-lang="zh"]) h1,
body[data-lang]:not([data-lang="zh"]) h2,
body[data-lang]:not([data-lang="zh"]) h3,
body[data-lang]:not([data-lang="zh"]) h4,
body[data-lang]:not([data-lang="zh"]) h5,
body[data-lang]:not([data-lang="zh"]) h6 {
    font-size: 0.9em;
}

body[data-lang]:not([data-lang="zh"]) .btn {
    font-size: 13px;
    padding: 10px 20px;
}

/* 德语导航栏特殊处理 */
body[data-lang="de"] .nav-menu a {
    font-size: 12px;
    padding: 8px 12px;
    white-space: nowrap;
}

body[data-lang="de"] .nav-menu {
    flex-wrap: wrap;
    gap: 5px;
}

body[data-lang="de"] .language-switcher {
    margin-left: 10px;
}

/* 俄语导航栏特殊处理 */
body[data-lang="ru"] .nav-menu a {
    font-size: 13px;
    padding: 8px 10px;
}

/* 英语导航栏处理 */
body[data-lang="en"] .nav-menu a {
    font-size: 14px;
}

body {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* 取消强制全屏最小高度，恢复自然内容高度（保留基础布局可按需单独设置） */
/* 自适应各板块占比：随窗口高度伸缩，但不强制满屏 */
.section.certificates,
.section.about,
.section.cases,
.section.news,
.section.contact {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* 板块内部留白随视口缩放，避免拥挤或空旷 */
.section.certificates .container,
.section.about .container,
.section.cases .container,
.section.news .container,
.section.contact .container {
    width: 100%;
    padding-top: 6vh;
    padding-bottom: 6vh;
}

/* 进入视口时的轻微过渡（可选） */
.section.certificates .container,
.section.about .container,
.section.cases .container,
.section.news .container,
.section.contact .container {
    width: 100%;
}

/* 视频背景样式 */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -2;
}

.bg-video.video-loaded {
    opacity: 1;
    visibility: visible;
}

/* 响应式视频适配 */
@media (max-width: 768px) {
    .bg-video {
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 480px) {
    .bg-video {
        object-fit: cover;
        object-position: center;
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* 导航栏样式 */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 12px 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    transform: translateY(0);
}

/* 导航栏隐藏状态 */
.main-nav.nav-hidden {
    transform: translateY(-100%);
}

/* 导航栏滚动状态 - 移除绿色背景，保持透明 */
.main-nav.nav-scrolled {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: none;
}

/* 上拉时的有色导航栏（绿） */
.main-nav.nav-colored {
    background: linear-gradient(135deg, rgba(0, 137, 123, 0.95), rgba(0, 105, 92, 0.9)) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 25px rgba(0, 137, 123, 0.5) !important;
    border-bottom: 2px solid rgba(0, 137, 123, 1) !important;
    transition: all 0.3s ease;
}

.main-nav.nav-colored .nav-menu a:hover,
.main-nav.nav-colored .nav-menu a.active {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #fff !important;
    border-radius: 6px;
}

.main-nav.nav-colored .nav-menu a {
    color: #fff !important;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===================== */
/* 整屏吸附滚动（方案A） */
/* ===================== */
:root { --snap-offset: 72px; }
html, body {
    height: 100%;
    /* 取消整屏吸附 */
    scroll-snap-type: none;
    scroll-behavior: smooth;
}

/* 使各整屏区块对齐停靠 */
/* 取消各区块的 scroll-snap 对齐 */

/* 调整"企业证书"区块更靠近顶部显示 */
.section.certificates {
    align-items: flex-start;
}
.section.certificates .container {
    padding-top: calc(var(--snap-offset) + 12px);
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
    background: transparent;
    border: none;
    outline: none;
    padding-left: 46px; /* 预留LOGO占位 */
}

.logo img {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease;
    background: transparent;
    border: none;
    outline: none;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 0;
}

/* 初始状态 - 导航栏透明，显示白色logo */
.logo-color {
    opacity: 0;
    filter: none;
    background: transparent !important;
    border: none !important;
    outline: none !important;
}

.logo-white {
    opacity: 1;
    filter: none;
    position: absolute;
    left: 0;
    background: transparent !important;
    border: none !important;
    outline: none !important;
}

/* 滚动状态下保持白色logo（在视频区域内） */
.nav-scrolled .logo-color {
    opacity: 0;
}

.nav-scrolled .logo-white {
    opacity: 1;
}

/* 绿色主题时使用彩色LOGO */
.nav-colored .logo-color { opacity: 1; }
.nav-colored .logo-white { opacity: 0; }

/* 下拉菜单显示时的logo切换 - 保持白色logo */
.nav-menu:hover ~ .logo .logo-color,
.nav-menu:hover .logo .logo-color {
    opacity: 0;
}

.nav-menu:hover ~ .logo .logo-white,
.nav-menu:hover .logo .logo-white {
    opacity: 1;
}

.logo-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

/* 移除列表项的默认样式 */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    list-style: none;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

/* 确保没有伪元素添加箭头 */
.nav-menu a::after,
.nav-menu a::before,
.nav-menu li::after,
.nav-menu li::before {
    content: none !important;
    display: none !important;
}

/* 移除可能的背景图片箭头 */
.nav-menu a {
    background-image: none !important;
    background: none !important;
}

.nav-menu li {
    background-image: none !important;
    background: none !important;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(0, 137, 123, 0.8);
    color: white;
}

/* 导航栏滚动状态下的链接样式 - 保持白色，不显示绿色 */
.nav-scrolled .nav-menu > li > a:hover,
.nav-scrolled .nav-menu > li > a.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
}

/* 手机菜单激活状态的汉堡包动画 */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 移动端和桌面端菜单项显示控制 */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
}

/* 语言切换器样式 */
.language-switcher {
    position: relative;
    margin-left: 20px;
    z-index: 1050;
}

/* 多语言字体适配 */
body[data-lang="zh"] {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', '微软雅黑', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body[data-lang="zh-TW"] {
    font-family: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', '微軟正黑體', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body[data-lang="en"] {
    font-family: 'Roboto', 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* 语言切换下拉菜单样式增强 */
.language-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

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

.language-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
    z-index: 100;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}



.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 8px 0;
    margin-top: 5px;
    list-style: none;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

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

.language-dropdown li {
    padding: 8px 16px;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 14px;
}

.language-dropdown li:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 语言切换器悬停时保持菜单打开 */
.language-switcher:hover .language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown {
    /* 增加一些内边距，让点击更容易 */
    padding: 8px 0;
    /* 延迟隐藏，给用户更多时间操作 */
    transition: all 0.2s ease 0.1s;
}

.language-dropdown li.active {
    background: rgba(0, 137, 123, 0.8);
    color: white;
}

/* 主要内容样式 */
.hero-content {
    text-align: center;
    color: white;
    z-index: 5;
    max-width: 800px;
}

.main-title {
    font-size: 3.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.main-title:first-child {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: #FFD700;
}

.sub-title {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-buttons {
    margin-top: 40px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    margin: 0 10px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: #00897B;
    color: white;
    border: 2px solid #00897B;
}

.btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,137,123,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

/* 滚动指示器 */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    z-index: 5;
}

.scroll-down span {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.mouse-icon {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 15px;
    margin: 0 auto;
    position: relative;
}

.mouse-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

/* 通用区块样式 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #00897B;
}

/* 企业证书展示样式 */
.certificates {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: #333;
    padding: 100px 0;
    position: relative;
    width: 100%;
}

/* 去除证书区顶部装饰线 */
.certificates::before { display: none; }

/* 现代化证书轮播容器 */
.certificate-carousel {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 60px auto 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: min(72vh, 800px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 30px;
    padding: 0 40px;
}

/* 自适应证书容器 */
.certificate-item {
    position: relative;
    width: clamp(280px, 28vw, 420px);
    height: clamp(360px, 45vh, 600px);
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: white;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    border: 2px solid transparent;
    overflow: hidden;
    transform: scale(0.85);
    opacity: 0.7;
    display: flex;
    flex-direction: column;
}

.certificate-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00897B, #00bcd4);
    z-index: 2;
}

/* 现代化状态样式 */
.certificate-item.active {
    opacity: 1;
    z-index: 99;
    box-shadow: 0 30px 80px rgba(0, 137, 123, 0.25);
    border-color: #00897B;
    transform: scale(1.05);
}

.certificate-item.adjacent {
    opacity: 0.8;
    z-index: 50;
    transform: scale(0.9);
}

.certificate-item.inactive {
    opacity: 0.4;
    z-index: 1;
    transform: scale(0.75);
}

.certificate-item:hover {
    box-shadow: 0 35px 90px rgba(0, 137, 123, 0.3);
    border-color: #00897B;
    transform: scale(1.08);
}

.certificate-item.active:hover {
    transform: scale(1.1);
}

/* 图片适配 */
.certificate-item img {
    width: 100%;
    height: calc(100% - 120px);
    object-fit: contain;
    border-radius: 25px 25px 0 0;
    transition: transform 0.4s ease;
    flex-shrink: 0;
    background: #f8f9fa;
    padding: 10px;
}

.certificate-item:hover img {
    transform: scale(1.02);
}

/* 横版证书适配 */
.certificate-item.horizontal img { object-fit: contain; }

/* 竖版证书适配 */
.certificate-item.vertical img { object-fit: contain; }

/* 自适应两栏布局：信息 + 预览 */
/* 两栏布局相关样式（恢复） */
.certificate-layout {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 0.9fr 1.5fr;
    gap: 24px;
    align-items: center;
}

.certificate-meta {
    background: #fff;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    min-height: 160px;
}

.certificate-meta h3 {
    margin: 0 0 10px 0;
    font-size: clamp(18px, 2.2vw, 24px);
    color: #0f172a;
}

.certificate-meta p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.certificate-preview {
    background: #fff;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    /* 固定展示区域高度，切换仅缩放图片比例，不改变容器尺寸 */
    height: clamp(280px, 44vh, 560px);
}

.certificate-preview img {
    max-width: 96%;
    max-height: 96%;
    object-fit: contain;
    transition: transform .35s ease, max-height .35s ease, max-width .35s ease;
}

/* 不同方向下，调整图片占比（仅改变内部比例，不改容器） */
.certificate-preview.horizontal img {
    max-height: 90%;
    max-width: 96%;
}

.certificate-preview.vertical img {
    max-height: 96%;
    max-width: 88%;
}

@media (max-width: 992px) {
  .certificate-layout { grid-template-columns: 1fr; }
  .certificate-meta { order: 2; }
  .certificate-preview { order: 1; }
}

.certificate-info {
    padding: 20px 15px;
    text-align: center;
    background: white;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0 0 25px 25px;
    min-height: 80px;
}

.certificate-info h3 {
    font-size: 1rem;
    margin: 0;
    color: #333;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: color 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.certificate-item.active .certificate-info h3 {
    color: #00897B;
}

/* 导航按钮重构 */
/* 去掉左右切换按钮（按需） */

/* 移除分页圆点 */

/* 缩略图切换器 */
.carousel-switcher {
    margin-top: 20px;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    min-height: 100px; /* 确保有足够的高度显示缩略图 */
    border: 1px solid #e0e0e0; /* 添加边框便于调试 */
    border-radius: 8px;
    background: #f9f9f9; /* 添加背景色便于调试 */
}

.carousel-switcher::-webkit-scrollbar {
    height: 8px;
}

.carousel-switcher::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 4px;
}

.switcher-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    align-items: center;
    gap: 14px;
    padding: 20px; /* 增加内边距 */
    scroll-behavior: smooth;
    min-height: 80px; /* 确保有足够的高度 */
}

.switcher-item {
    width: 110px;
    height: 74px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    cursor: pointer;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, opacity .25s ease;
    flex-shrink: 0; /* 防止缩略图被压缩 */
}

.switcher-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f6f7f9;
    display: block; /* 确保图片正确显示 */
}

/* 禁止证书大图与缩略图被拖拽/长按保存/选择（降低下载便利性） */
.certificate-preview img,
.switcher-item img {
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    user-select: none;
    pointer-events: none; /* 缩略图点击事件绑定在父容器，可安全禁用图片指针事件 */
}

.switcher-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

.switcher-item.active {
    border-color: #00897B;
    box-shadow: 0 12px 28px rgba(0,137,123,0.18);
    transform: scale(1.02);
}

/* 添加调试样式，确保缩略图可见 */
.switcher-item:empty::before {
    content: '加载中...';
    color: #999;
    font-size: 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* .dot 已删除 */

/* 响应式适配 */
@media (max-width: 768px) {
    .certificates {
        padding: 80px 0;
        width: 100%;
    }
    
    .certificate-carousel {
        width: 100%;
        max-width: 100%;
        margin: 40px auto 0;
        padding: 30px 0;
    }
    
    .carousel-container {
        height: 650px;
    }
    
    .carousel-track {
        gap: 25px;
        padding: 0 40px;
    }
    
    .certificate-item {
        width: 380px;
        height: 550px;
    }
    
    .certificate-item img {
        height: 420px;
    }
    
    .certificate-item.horizontal img {
        height: 300px;
    }
    
    .certificate-item.vertical img {
        height: 420px;
    }
    
    .certificate-info h3 {
        font-size: 0.95rem;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .prev-btn {
        left: 1rem;
    }
    
    .next-btn {
        right: 1rem;
    }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    .certificate-carousel {
        padding: 20px 0;
    }
    
    .carousel-container {
        height: 550px;
    }
    
    .carousel-track {
        gap: 20px;
        padding: 0 25px;
    }
    
    .certificate-item {
        width: 320px;
        height: 480px;
    }
    
    .certificate-item img {
        height: 350px;
    }
    
    .certificate-item.horizontal img {
        height: 250px;
    }
    
    .certificate-item.vertical img {
        height: 350px;
    }
    
    .certificate-info h3 {
        font-size: 0.85rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    font-size: 1.3rem;
    }
    
    .prev-btn {
        left: 0.5rem;
    }
    
    .next-btn {
        right: 0.5rem;
    }
}

/* 关于我们样式 */
.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #00897B;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 产品展示样式 */
.products {
    background: #f8f9fa;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-info {
    padding: 30px;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.product-info p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-features {
    list-style: none;
}

.product-features li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00897B;
    font-weight: bold;
}

/* 工程案例样式 */
.cases {
    background: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.case-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px 20px 8px; /* 让标题更靠近底部 */
    text-align: center;
}

.case-info h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: #fff;
}

/* 工程案例描述去除（当前不展示） */
.case-info p { display: none; }

.case-info p {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* 新闻资讯样式 */
.news {
    background: #f8f9fa;
}

#news .news-toolbar {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-bottom: 20px; /* 增加与下方卡片的间距 */
}

.news-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    font-size: 13px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    background: #ffffff;
    color: #0f172a;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
}

.news-btn:hover {
    background: #F8FAFC;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.news-btn:active { transform: translateY(1px); }

.news-btn::before {
    content: '🔄';
}

.news-link::before {
    content: '↗️';
}

.news-link {
    background: #00897B;
    color: #fff;
    border-color: #00897B;
}

.news-link:hover {
    background: #0aa391;
}

#newsList,
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* 增加最小宽度 */
    gap: 20px; /* 增加卡片间距 */
}

.news-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eef2f7; /* 更柔和的边框 */
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px; /* 统一内部间距 */
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04); /* 更柔和的阴影 */
}

.news-card.skeleton {
    position: relative;
    overflow: hidden;
    border-color: transparent;
}

.news-card.skeleton .sk-line,
.news-card.skeleton .sk-bar,
.news-card.skeleton .sk-pill {
    background: linear-gradient(90deg, #f2f4f7 25%, #e9eef5 37%, #f2f4f7 63%);
    background-size: 400% 100%;
    border-radius: 6px;
    animation: sk-shimmer 1.2s ease-in-out infinite;
}

@keyframes sk-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: 0 0; }
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 137, 123, 0.12);
    border-color: rgba(0, 137, 123, 0.3);
}

/* 刷新中的轻量态 */
#newsList.refreshing .news-card { 
    opacity: 0.9; 
    transform: none; /* 刷新时移除hover效果 */
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

/* 刷新覆盖层与加载指示器 */
#newsList.refreshing .news-card {
    position: relative;
    pointer-events: none;
}

#newsList.refreshing .news-card::after {
    content: attr(data-refreshing-text);
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #0f172a;
    font-weight: 600;
    border-radius: 12px;
    z-index: 2;
}

/* 多语言刷新文本支持 */
body[data-lang="zh"] #newsList.refreshing .news-card::after {
    content: '正在刷新中';
}

body[data-lang="zh-TW"] #newsList.refreshing .news-card::after {
    content: '正在刷新中';
}

body[data-lang="en"] #newsList.refreshing .news-card::after {
    content: 'Refreshing...';
}

#newsList.refreshing .news-card::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    border-top-color: #00897B;
    top: calc(50% - 14px);
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin .8s linear infinite;
    z-index: 3;
}

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.news-card .news-chip {
    align-self: flex-start;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 99px;
    background: #f0fdfa; /* 更淡的背景 */
    color: #0d9488; /* 更深的文本色 */
    border: 1px solid #ccfbf1;
}

.news-card .news-title {
    font-size: 16px; /* 增大标题字号 */
    font-weight: 600; /* 降低字重，避免粗重感 */
    color: #1e293b; /* 深灰色，非纯黑 */
    line-height: 1.5;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    flex-grow: 1; /* 让标题占据多余空间 */
    min-height: 48px; /* 保证至少两行的高度 */
}

.news-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap; /* 允许换行 */
}

.badge {
    font-size: 11px;
    line-height: 1.4;
    padding: 2px 7px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b; /* 柔和的文本颜色 */
}

.badge-company { 
    background: #f8fafc;
    color: #64748b;
    border-color: #e2e8f0;
}
.badge-type { 
    background: #f0f5ff; /* 更淡的蓝色 */
    color: #4338ca;
    border-color: #e0e7ff;
}

.news-card .news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px; /* 增大元信息字号 */
    color: #94a3b8; /* 更淡的颜色 */
    border-top: 1px solid #f1f5f9; /* 添加分隔线 */
    padding-top: 8px; /* 分隔线与上方间距 */
    margin-top: auto; /* 将其推到底部 */
}

.news-card .news-go {
    font-size: 14px;
    color: #94a3b8;
    transition: color 0.25s ease, transform 0.25s ease;
}

.news-card:hover .news-go {
    color: #00897B;
    transform: translateX(3px);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    align-items: start;
}

.news-item {
    background: white;
    border-radius: 10px;
    padding: 24px 24px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    gap: 20px;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-date {
    text-align: center;
    min-width: 80px;
}

.news-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #00897B;
}

.news-date .month {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

.news-content h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.2rem;
}

.news-content p {
    color: #666;
    line-height: 1.6;
}

/* 联系我们样式 */
.contact {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    font-size: 2rem;
    color: #00897B;
    min-width: 50px;
}

.contact-details h3 {
    margin-bottom: 10px;
    color: #333;
}

.contact-details p {
    color: #666;
    margin-bottom: 5px;
    line-height: 1.4;
    word-break: break-all;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

.contact-form h3 {
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00897B;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 表单消息样式 */
#formMessage {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    display: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 提交按钮禁用状态 */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 页脚样式 */
.footer {
    background: #333;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #00897B;
}

/* 页脚中的LOGO也使用白色 */
.footer .logo img {
    filter: brightness(0) invert(1);
}

.footer-section p {
    margin-bottom: 8px;
    opacity: 0.8;
    line-height: 1.4;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.2rem;
    }
    
    .main-title:first-child {
        font-size: 2rem;
    }
    
    .sub-title {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: fixed;
        inset: 0; /* top/right/bottom/left 全屏覆盖 */
        padding: 80px 20px 24px;
        z-index: 1050; /* 高于视频与其它元素 */
        background: rgba(0, 0, 0, 0.92);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transform: translateX(100%);
        transition: transform 0.28s ease-in-out;
        overflow-y: auto;
    }
    
    .nav-menu.mobile-menu-open {
        display: flex;
        transform: translateX(0);
    }
    
    .nav-menu li {
        margin: 15px 0;
        text-align: center;
    }
    
    .nav-menu a {
        font-size: 1.4rem;
        padding: 15px 20px;
        display: block;
        color: white;
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #00897B;
    }
    
    /* 移动端下拉菜单样式 */
    .nav-menu .dropdown-menu {
        position: static;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        margin-top: 10px;
        padding: 0;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    }
    
    .nav-menu .dropdown-menu.show {
        max-height: 300px;
        opacity: 1;
        padding: 10px;
    }
    
    .nav-menu .dropdown-menu a {
        color: white !important;
        padding: 12px 16px !important;
        border-radius: 4px;
        display: block;
        transition: background-color 0.2s ease;
        margin-bottom: 5px;
    }
    
    .nav-menu .dropdown-menu a:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* 移动端导航栏样式 */
    .nav-scrolled .nav-menu {
        background: rgba(0, 0, 0, 0.92);
    }
    
    /* 移动端语言切换器 */
    .language-switcher {
        margin-left: 15px;
    }
    
    .language-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .language-dropdown {
        min-width: 100px;
        right: -10px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .company-stats {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.8rem;
    }
    
    .main-title:first-child {
        font-size: 1.6rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .product-card,
    .case-item,
    .news-item {
        margin: 0 10px;
    }
} 

/* 下拉菜单样式 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 30px;
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 800px;
    display: flex;
    gap: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* 当鼠标悬停在导航菜单项上时显示下拉菜单 */
.nav-menu li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 当下拉菜单被悬停时保持显示 */
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

.dropdown-left {
    flex: 1;
}

.dropdown-category {
    margin-bottom: 20px;
}

.dropdown-category-title {
    color: #00897B !important;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown-category-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dropdown-item {
    color: #333 !important;
    text-decoration: none;
    font-size: 12px;
    padding: 6px 0;
    transition: color 0.3s ease;
    position: relative;
    cursor: pointer;
    pointer-events: auto;
}

.dropdown-item:hover {
    color: #00897B !important;
}

/* 移除下拉菜单中的所有箭头 */
.dropdown-item::after,
.dropdown-item::before,
.dropdown-category-title::after,
.dropdown-category-title::before,
.dropdown-category::after,
.dropdown-category::before {
    content: none !important;
    display: none !important;
}

.dropdown-right {
    flex: 1;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 30px;
}

.dropdown-header {
    color: #00897B !important;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 15px;
}

.dropdown-product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.dropdown-product-item {
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dropdown-product-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 12px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.dropdown-product-title {
    color: #333 !important;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.dropdown-product-desc {
    color: #666 !important;
    font-size: 11px;
    line-height: 1.4;
}

/* 产品展示项悬停效果 */
.dropdown-product-item:hover {
    background: rgba(0, 137, 123, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dropdown-product-item:hover .dropdown-product-title {
    color: #00897B !important;
}

.dropdown-product-item:hover .dropdown-product-desc {
    color: #333 !important;
}

/* 产品图片悬停效果 */
.dropdown-product-item:hover .dropdown-product-image {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 137, 123, 0.4);
} 

/* 确保下拉菜单中的文字颜色不受nav-colored状态影响 */
.main-nav.nav-colored .dropdown-menu .dropdown-item,
.main-nav.nav-colored .dropdown-menu .dropdown-product-title,
.main-nav.nav-colored .dropdown-menu .dropdown-product-desc,
.main-nav.nav-colored .dropdown-menu .dropdown-category-title,
.main-nav.nav-colored .dropdown-menu .dropdown-header {
    color: inherit !important;
}

/* 强制下拉菜单中的链接颜色 - 使用更高优先级 */
.main-nav.nav-colored .dropdown-menu .dropdown-item,
.main-nav.nav-colored .dropdown-menu .dropdown-item:link,
.main-nav.nav-colored .dropdown-menu .dropdown-item:visited {
    color: #333 !important;
}

.main-nav.nav-colored .dropdown-menu .dropdown-item:hover,
.main-nav.nav-colored .dropdown-menu .dropdown-item:active,
.main-nav.nav-colored .dropdown-menu .dropdown-item:focus {
    color: #00897B !important;
}

.main-nav.nav-colored .dropdown-menu .dropdown-product-title {
    color: #333 !important;
}

.main-nav.nav-colored .dropdown-menu .dropdown-product-title:hover {
    color: #00897B !important;
}

.main-nav.nav-colored .dropdown-menu .dropdown-product-desc {
    color: #666 !important;
}

.main-nav.nav-colored .dropdown-menu .dropdown-category-title {
    color: #00897B !important;
}

.main-nav.nav-colored .dropdown-menu .dropdown-header {
    color: #00897B !important;
}

/* 额外保障：确保下拉菜单中的任何链接都不会被导航栏状态影响 */
.dropdown-menu a,
.dropdown-menu .dropdown-item,
.dropdown-menu .dropdown-product-title,
.dropdown-menu .dropdown-product-desc,
.dropdown-menu .dropdown-category-title,
.dropdown-menu .dropdown-header {
    color: #333 !important;
}

/* 针对特定元素的颜色强制设置 */
.dropdown-menu .dropdown-item {
    color: #333 !important;
}

.dropdown-menu .dropdown-item:hover {
    color: #00897B !important;
}

.dropdown-menu .dropdown-product-title {
    color: #333 !important;
}

.dropdown-menu .dropdown-product-desc {
    color: #666 !important;
}

.dropdown-menu .dropdown-category-title {
    color: #00897B !important;
}

.dropdown-menu .dropdown-header {
    color: #00897B !important;
} 

/* 移动端响应式设计 */
@media (max-width: 1024px) {
    .dropdown-menu {
        min-width: 700px;
        padding: 25px;
        gap: 30px;
    }
    
    .dropdown-product-image {
        width: 100px;
        height: 100px;
    }
    
    .dropdown-product-title {
        font-size: 12px;
    }
    
    .dropdown-product-desc {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .dropdown-menu {
        min-width: 600px;
        padding: 20px;
        gap: 25px;
        flex-direction: column;
    }
    
    .dropdown-product-showcase {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .dropdown-product-image {
        width: 80px;
        height: 80px;
    }
    
    .dropdown-right {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    .dropdown-menu {
        min-width: 320px;
        padding: 15px;
        gap: 20px;
    }
    
    .dropdown-product-showcase {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .dropdown-product-image {
        width: 120px;
        height: 120px;
    }
} 

/* 新的产品展示布局样式 */
.showcase-layout {
    display: flex;
    gap: 30px;
    height: 400px;
}

.showcase-sidebar {
    width: 280px;
    flex-shrink: 0;
    overflow-y: auto;
    padding-right: 15px;
}

.sidebar-section {
    margin-bottom: 25px;
}

.sidebar-title {
    font-size: 14px;
    font-weight: 600;
    color: #00897B;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(0, 137, 123, 0.2);
}

.sidebar-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    pointer-events: auto !important;
    user-select: none !important;
}

/* 启用悬停效果 */
.sidebar-item:hover {
    background: rgba(0, 137, 123, 0.08);
    border-color: rgba(0, 137, 123, 0.2);
}

.sidebar-item.active {
    background: rgba(0, 137, 123, 0.12);
    border-color: #00897B;
}

.sidebar-item img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-item span {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.sidebar-item.active span {
    color: #00897B;
    font-weight: 600;
}

.showcase-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.main-image img:hover {
    transform: scale(1.05);
}

.main-info {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.main-product-title {
    font-size: 20px;
    font-weight: 600;
    color: #00897B;
    margin-bottom: 12px;
}

.main-product-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 滚动条样式 */
.showcase-sidebar::-webkit-scrollbar {
    width: 6px;
}

.showcase-sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.showcase-sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 137, 123, 0.3);
    border-radius: 3px;
}

.showcase-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 137, 123, 0.5);
}

/* ===== 懒加载样式 ===== */

/* 懒加载基础样式 */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-image.lazy-loaded {
    opacity: 1;
}

/* 懒加载占位符样式 */
.lazy-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

/* 产品展示图片懒加载样式 */
.showcase-icon {
    position: relative;
    overflow: hidden;
}

.showcase-icon .lazy-placeholder {
    font-size: 10px;
    padding: 5px;
}

/* Logo图片懒加载样式 */
.logo img.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo img.lazy-loaded {
    opacity: 1;
}

/* 视频懒加载样式 */
.bg-video.lazy-loading {
    opacity: 0.3;
}

.bg-video.lazy-loaded {
    opacity: 1;
}

/* 加载动画 */
.lazy-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #00897B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

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

/* 错误状态样式 */
.lazy-error {
    opacity: 0.5;
    background-color: #f8f9fa;
    border: 1px dashed #dee2e6;
}

/* 响应式懒加载 */
@media (max-width: 768px) {
    .lazy-placeholder {
        font-size: 10px;
        padding: 8px;
    }
    
    .showcase-icon .lazy-placeholder {
        font-size: 8px;
        padding: 3px;
    }
}

/* 视频性能优化 */
.bg-video {
    /* 启用硬件加速 */
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
    
    /* 优化渲染性能 */
    image-rendering: optimizeSpeed;
    image-rendering: -webkit-optimize-contrast;
}

/* 移动端视频优化 */
@media (max-width: 768px) {
    .bg-video {
        /* 移动端减少视频质量以提升性能 */
        filter: blur(1px);
        opacity: 0.8;
    }
}

/* 慢网络连接优化 */
@media (prefers-reduced-data: reduce) {
    .bg-video {
        display: none;
    }
}

/* 产品中心页面移动端优化 */
@media (max-width: 768px) {
    .product-center-nav {
        padding: 10px 0;
        background-color: #f8f9fa;
    }
    
    .contact-section {
        padding: 15px 20px;
        margin: 10px;
        border-radius: 8px;
        background-color: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .home-link {
        padding: 12px 24px;
        font-size: 16px;
        border-radius: 6px;
        margin: 0 auto;
        display: block;
        width: fit-content;
    }
    
    .product-center-container {
        padding: 20px 15px;
    }
    
    .product-grid {
        gap: 15px;
    }
    
    .product-card {
        padding: 20px;
        margin-bottom: 15px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .product-showcase {
        padding: 20px 15px;
    }
    
    .showcase-grid {
        gap: 15px;
    }
    
    .showcase-item {
        margin-bottom: 20px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .footer {
        padding: 30px 20px;
        text-align: center;
    }
} 