/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 新闻详情页面特有样式 */
/* 顶部进度条 */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-color));
    width: 0%;
    z-index: 9999;
    transition: width 0.2s ease;
}

.news-detail {
    padding: 60px 0;
    background-color: var(--background-color);
}

.news-header {
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 25px;
    text-align: center;
}

.news-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--heading-color);
    line-height: 1.4;
    font-weight: 700;
}

.news-meta {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.95rem;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.news-meta span {
    display: flex;
    align-items: center;
    margin: 0;
}

.news-meta i {
    margin-right: 5px;
    color: var(--primary-blue);
}

.news-content {
    margin: 0 auto 50px;
    max-width: 1000px;
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-content p {
    margin-bottom: 25px;
    line-height: 2.0;
    font-size: 1.1rem;
    color: var(--text-color);
    text-align: justify;
    text-indent: 2em;
}

.news-content img {
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-content img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.news-content .highlight {
    background-color: rgba(0, 0, 0, 0.02);
    padding: 25px;
    border-left: 4px solid var(--primary-blue);
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.news-content .highlight p {
    margin-bottom: 10px;
    text-indent: 0;
}

.news-content .highlight p:last-child {
    margin-bottom: 0;
}

.news-content .quote {
    font-style: italic;
    color: var(--text-color);
    opacity: 0.9;
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin: 30px 0;
}

.news-related {
    background-color: rgba(0, 0, 0, 0.03);
    padding: 40px;
    border-radius: 12px;
    margin-top: 50px;
}

.news-related h3 {
    margin-bottom: 25px;
    font-size: 1.6rem;
    color: var(--heading-color);
    position: relative;
    padding-bottom: 12px;
}

.news-related h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-color));
}

.related-list {
    list-style: none;
}

.related-list li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.related-list li:hover {
    transform: translateX(10px);
}

.related-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-list a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    font-weight: 500;
    transition: color 0.3s ease;
}

.related-list a:hover {
    color: var(--primary-blue);
}

.related-list span {
    display: block;
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
    margin-top: 8px;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-blue-dark);
    transform: translateY(-5px);
}

/* 响应式设计 - 新闻详情页 */
@media (max-width: 768px) {
    .news-header h1 {
        font-size: 2rem;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-content p {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .news-related {
        padding: 25px;
    }
}

/* 全局表单输入元素样式 - 确保所有表单元素都有清晰的边框 */
input, textarea, select {
    border: 3px solid #e0e0e0 !important;
    border-color: #e0e0e0 !important;
    border-color: var(--border-color) !important;
    border-style: solid !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

/* 高优先级联系表单专用样式 */
.contact-form .form-group input.contact-input,
.contact-form .form-group textarea.contact-input,
.contact-form .form-group select.contact-input {
    border: 2px solid #4a99aa !important;
    border-color: #4a99aa !important;
    border-style: solid !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 0 0 1px rgba(74, 153, 170, 0.2) !important;
}

/* 默认主题变量 - 使用LOGO的蓝色#4a99aa作为主色调 */
:root {
    --primary-blue: #4a99aa;
    --primary-blue-rgb: 74, 153, 170;
    --primary-blue-dark: #3d7e8a;
    --primary-blue-light: #6ab9c7;
    --heading-color: #2c3e50;
    --accent-color: #e74c3c;
    --background-color: #f8f9fa;
    --text-color: #333;
    --card-bg: white;
    --border-color: #e0e0e0;
    --header-height: 86px; /* 导航栏实际高度：15px上下padding + 50px logo + 2px边框 + 微调2px以匹配视觉效果 */
    --header-height-scrolled: 74px; /* 滚动后实际高度：10px上下padding + 50px logo + 2px边框 + 微调2px以匹配视觉效果 */
    --success-bg: #d4edda;
    --success-text: #155724;
    --success-border: #c3e6cb;
}

/* 节日主题变量 */
:root.theme-festival {
    --primary-blue: #e74c3c;
    --primary-blue-rgb: 231, 76, 60;
    --primary-blue-dark: #c0392b;
    --primary-blue-light: #ec7063;
    --heading-color: #8b4513;
    --accent-color: #f39c12;
    --background-color: #fff9e6;
    --text-color: #5d4037;
    --card-bg: #fff;
    --border-color: #f39c12;
    --success-bg: #fff9e6;
    --success-text: #8b4513;
    --success-border: #f39c12;
}

/* 节日主题特殊样式 */
:root.theme-festival header {
    background-image: 
        radial-gradient(var(--accent-color) 2px, transparent 2px),
        radial-gradient(var(--primary-blue) 2px, transparent 2px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
}

:root.theme-festival header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-color), var(--primary-blue));
    animation: festivalBorder 10s linear infinite;
}

@keyframes festivalBorder {
    0% { background-position: 0 0; }
    100% { background-position: 300% 0; }
}

/* 夜间主题变量 */
:root.theme-dark {
    --primary-blue: #2980b9;
    --primary-blue-rgb: 41, 128, 185;
    --primary-blue-dark: #1f689b;
    --primary-blue-light: #3498db;
    --heading-color: #ecf0f1;
    --accent-color: #e74c3c;
    --background-color: #2c3e50;
    --text-color: #bdc3c7;
    --card-bg: #34495e;
    --border-color: #34495e;
    --success-bg: #2c3e50;
    --success-text: #bdc3c7;
    --success-border: #2980b9;
}

/* 夜间主题特殊样式 */
:root.theme-dark header {
    background-image: 
        radial-gradient(var(--primary-blue-light) 1px, transparent 1px);
    background-size: 30px 30px;
    background-color: rgba(44, 62, 80, 0.8);
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    padding-top: var(--header-height); /* 使用变量控制顶部边距 */
    transition: background-color 0.3s ease, color 0.3s ease, padding-top 0.3s ease;
}

/* 响应式调整 - 在小屏幕上调整顶部边距 */
@media screen and (max-width: 768px) {
    :root {
        --header-height: 86px; /* 小屏幕上导航栏默认高度 + 微调2px以匹配视觉效果 */
        --header-height-scrolled: 64px; /* 小屏幕上导航栏滚动后高度 + 微调2px以匹配视觉效果 */
    }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--heading-color);
    position: relative;
    transition: color 0.3s ease;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-blue);
    margin: 15px auto 0;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.btn:hover {
    background-color: var(--primary-blue-dark);
}

/* 头部联系信息样式 */
.header-contact {
    background-color: var(--primary-blue);
    color: white;
    padding: 8px 0;
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-info p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.contact-info i {
    font-size: 1.1rem;
}

/* 导航栏样式 - 线束主题设计（更淡的线条） */
header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    /* 线束主题背景图案 - 调整后的线条浓度 */
    background-image: 
        linear-gradient(90deg, transparent 50%, rgba(52, 152, 219, 0.3) 50%),
        linear-gradient(90deg, transparent 50%, rgba(52, 152, 219, 0.3) 50%),
        radial-gradient(rgba(52, 152, 219, 0.15) 2px, transparent 2px);
    background-size: 80px 1px, 80px 1px, 40px 40px;
    background-position: 0 10px, 0 calc(100% - 10px), 0 0;
    background-attachment: scroll;
    background-blend-mode: overlay;
    border-bottom: 2px solid var(--primary-blue);
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.99);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--primary-blue-dark);
    transition: all 0.3s ease;
}

/* 夜间主题下滚动后的导航栏样式 */
:root.theme-dark header.scrolled {
    background-color: rgba(44, 62, 80, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid var(--primary-blue-dark);
}

nav {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* 主题切换按钮样式 */
.theme-controls {
    display: flex;
    gap: 8px;
    position: relative;
    z-index: 100;
}

/* 页脚中的主题切换控制样式 */
.footer-theme-controls {
    justify-content: center;
    padding: 15px 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 6px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 100;
}

.footer-theme-controls span {
    font-weight: bold;
    color: var(--text-color);
    margin-right: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

/* 在小屏幕上的响应式调整 */
@media screen and (max-width: 768px) {
    .footer-theme-controls {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        display: flex !important;
    }
    
    .footer-theme-controls span {
        margin-right: 0;
    }
}

.theme-btn {
    padding: 8px 16px;
    border: 1px solid var(--primary-blue);
    background-color: transparent;
    color: var(--primary-blue);
    border-radius: 4px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 101;
    user-select: none;
}

.theme-btn:hover {
    background-color: var(--primary-blue);
    color: white;
}

.theme-btn.active {
    background-color: var(--primary-blue);
    color: white;
}

/* 语言切换按钮样式 */
.language-controls {
    display: flex;
    gap: 8px;
    margin-right: 30px;
}

.language-btn {
    padding: 6px 12px;
    border: 1px solid var(--primary-blue);
    background-color: transparent;
    color: var(--primary-blue);
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.language-btn:hover {
    background-color: var(--primary-blue);
    color: white;
}

.language-btn.active {
    background-color: var(--primary-blue);
    color: white;
}

/* 夜间主题下的语言切换按钮样式 */
:root.theme-dark .language-btn {
    border-color: #3498db;
    color: #ffffff;
}

:root.theme-dark .language-btn:hover {
    background-color: #3498db;
    color: white;
}

:root.theme-dark .language-btn.active {
    background-color: #3498db;
    color: white;
}

.logo img {
    height: 50px;
    transition: all 0.3s ease;
}

.menu {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.menu li {
    margin-left: 35px;
    position: relative;
}

.menu li:first-child {
    margin-left: 0;
}

.menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
    display: inline-block;
    font-size: 1rem;
    transition: color 0.2s ease;
    position: relative;
}

/* 导航项线束风格点缀 - 明显的连接线效果 */
.menu a {
    position: relative;
    padding: 10px 15px !important;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.menu a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: var(--primary-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    transition: width 0.3s ease;
}

.menu a:hover {
    background-color: rgba(52, 152, 219, 0.08);
    color: var(--primary-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

.menu a:hover::before {
    transform: scaleX(1);
}

.menu a:hover::after {
    width: 80%;
    /* 明显的流动效果 */
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-blue-light), 
        var(--primary-blue), 
        var(--primary-blue-light), 
        transparent);
    background-size: 200% auto;
    animation: flowEffect 1.5s linear infinite;
}

@keyframes flowEffect {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* 夜间主题导航菜单文字颜色 - 纯白色 */
:root.theme-dark .desktop-menu a,
:root.theme-dark .mobile-menu a {
    color: #ffffff !important; /* 强制使用纯白色，确保覆盖所有其他颜色设置 */
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3); /* 增加文字清晰度 */
}

/* 夜间主题导航菜单文字悬停颜色 */
:root.theme-dark .desktop-menu a:hover,
:root.theme-dark .mobile-menu a:hover {
    color: #3498db !important; /* 悬停时变为蓝色，与主题色匹配 */
    background-color: rgba(41, 128, 185, 0.15);
    box-shadow: 0 2px 8px rgba(41, 128, 185, 0.3);
}

/* 夜间主题二级菜单背景和文字颜色 */
:root.theme-dark .desktop-submenu {
    background-color: #34495e !important; /* 深色背景，与夜间主题一致 */
    border: 1px solid #2c3e50;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

:root.theme-dark .mobile-submenu {
    background-color: #34495e !important; /* 深色背景，与夜间主题一致 */
    border-top: 1px solid #2c3e50;
}

/* 夜间主题二级菜单分隔线颜色 - 改为更适合深色背景的颜色 */
:root.theme-dark .desktop-submenu li {
    border-bottom: 1px solid #2c3e50;
}

:root.theme-dark .mobile-submenu li {
    border-bottom: 1px solid #2c3e50;
}

:root.theme-dark .desktop-submenu a,
:root.theme-dark .mobile-submenu a {
    color: #ffffff !important; /* 白色文字，确保在深色背景上可见 */
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3); /* 增加文字清晰度 */
}

/* 夜间主题二级菜单文字悬停颜色 */
:root.theme-dark .desktop-submenu a:hover,
:root.theme-dark .mobile-submenu a:hover {
    color: #3498db !important; /* 悬停时变为蓝色，与主题色匹配 */
    background-color: rgba(41, 128, 185, 0.15);
}

/* 夜间主题小屏菜单按钮样式 */
:root.theme-dark .mobile-menu-button .bar {
    background-color: #ffffff !important; /* 汉堡菜单线条改为白色 */
}

/* 夜间主题小屏菜单背景和分隔线 */
:root.theme-dark .mobile-menu {
    background-color: #34495e !important; /* 深色背景，与夜间主题一致 */
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3); /* 增强阴影效果 */
}

:root.theme-dark .mobile-menu li {
    border-bottom: 1px solid #2c3e50 !important; /* 深色分隔线 */
}

/* 夜间主题小屏下拉切换按钮 */
:root.theme-dark .mobile-dropdown-toggle {
    color: #ffffff !important; /* 白色文字 */
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3); /* 增加文字清晰度 */
}

:root.theme-dark .mobile-dropdown-toggle:hover {
    background-color: rgba(41, 128, 185, 0.15); /* 悬停时背景色 */
    color: #3498db !important; /* 悬停时文字颜色 */
}

/* 产品下拉菜单样式 - 线束连接器风格 */
.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
}

.dropdown > a::after {
    content: ' ⬇';
    font-size: 0.7em;
    margin-left: 5px;
    color: var(--primary-blue);
    transition: transform 0.2s ease;
}

.dropdown:hover > a::after {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--card-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    list-style: none;
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(3px);
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.3s ease;
    z-index: 999;
    border-radius: 4px;
    padding: 5px 0;
}

.submenu li {
    margin: 0;
    padding: 0;
}

.submenu a {
    width: 100%;
    padding: 8px 15px;
    display: block;
    font-weight: normal;
    color: #555;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.submenu a:hover {
    background-color: #f5f5f5;
    color: var(--primary-blue);
}

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

/* 汉堡菜单样式 - 纯CSS实现 */
.menu-toggle {
    display: none;
    position: absolute;
    top: 15px;
    right: 5%;
    width: 35px;
    height: 30px;
    cursor: pointer;
    z-index: 1001;
    opacity: 0;
}

.hamburger {
    display: none;
    position: absolute;
    top: 15px;
    right: 5%;
    width: 35px;
    height: 30px;
    padding: 5px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 汉堡菜单中间条蓝色点缀 */
.hamburger span:nth-child(2) {
    background-color: var(--primary-blue);
}

/* 轮播图样式 */
.banner {
    position: relative;
    height: 70vh;
    min-height: 600px;
    overflow: hidden;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 轮播控制按钮样式 */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
    visibility: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 按钮背景光效 */
.slider-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 40%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(0deg);
    animation: shine 2s infinite linear;
    pointer-events: none;
}

@keyframes shine {
    0% {
        transform: rotate(0deg) translateX(-100%);
    }
    100% {
        transform: rotate(0deg) translateX(100%);
    }
}

.slider-btn:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark), #1f618d);
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

/* 按钮内部箭头样式 */
.slider-btn i {
    color: white;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.prev-btn i {
    margin-left: 2px; /* 微调左箭头位置 */
}

/* 平滑显示/隐藏按钮 */
.slider {
    position: relative;
    overflow: hidden;
}

.slider:hover .slider-btn {
    opacity: 1;
}

/* 轮播指示器样式 */
.slide-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background-color: white;
    transform: scale(1.5);
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
}

.slide.active img {
    transform: scale(1);
}

/* 小屏轮播图还原为之前的显示效果 */
@media (max-width: 768px) {
    .banner {
        height: 50vh;
        min-height: auto;
    }
    
    .slide img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
}

.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
    max-width: 900px;
    opacity: 0;
    transition: opacity 0.8s ease 0.3s;
}

.slide.active .slide-text {
    opacity: 1;
}

.slide-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.slide-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.slide-text .btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    padding: 15px 30px;
    transition: all 0.3s ease;
}

.slide-text .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, var(--primary-blue-dark), #1f618d);
}

/* 公司简介样式 */
.about {
    background-color: var(--card-bg);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-blue-rgb), 0.05), rgba(var(--primary-blue-rgb), 0));
    z-index: 0;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 50px;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: translateY(-10px);
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    z-index: -1;
    transition: all 0.5s ease;
}

.about-image:hover::after {
    bottom: -10px;
    right: -10px;
}

/* 产品展示样式 */
.products {
    background-color: var(--background-color);
    padding: 100px 0;
    position: relative;
    transition: background-color 0.3s ease;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, var(--card-bg), rgba(249, 249, 249, 0));
    z-index: 1;
}

.product-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 15px;
}

.category-btn {
    padding: 12px 25px;
    background-color: var(--card-bg);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

:root.theme-dark .category-btn {
    border-color: rgba(255, 255, 255, 0.1);
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: all 0.5s ease;
}

.category-btn:hover::before {
    left: 100%;
}

.category-btn.active,
.category-btn:hover {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
    transform: translateY(-2px);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-card h3 {
    padding: 20px 25px 10px;
    font-size: 1.4rem;
    color: var(--heading-color);
    position: relative;
}

.product-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25px;
    width: 40px;
    height: 3px;
    background-color: var(--primary-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover h3::after {
    transform: scaleX(1);
}

.product-card p {
    padding: 15px 25px 20px;
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1rem;
}

.product-card .btn {
    margin: 0 25px 25px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    border: none;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.product-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #c0392b, #a93226);
}

.more-btn {
    display: block;
    margin: 50px auto 0;
    text-align: center;
    width: 200px;
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.more-btn:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

/* 新闻分类导航 */
.news-categories {
    background: var(--card-bg);
    padding: 30px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-tabs li {
    margin: 0 15px;
    position: relative;
}

.category-tabs a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.category-tabs a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
    z-index: -1;
}

.category-tabs a:hover,
.category-tabs a.active {
    color: var(--primary-blue);
    background: rgba(var(--primary-blue-rgb), 0.08);
    transform: translateY(-2px);
}

:root.theme-dark .category-tabs a:hover,
:root.theme-dark .category-tabs a.active {
    background: rgba(var(--primary-blue-rgb), 0.15);
}

/* 移除下划线效果 */
.category-tabs a:hover::before,
.category-tabs a.active::before {
    width: 0;
}

/* 新闻分类区块 */
.news-section {
    background-color: var(--card-bg);
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
}

.news-section .container {
    position: relative;
    z-index: 1;
}

.news-section h2 {
    color: var(--heading-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    transition: color 0.3s ease;
}

.news-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

.news-section:last-child {
    border-bottom: none;
}

/* 新闻中心样式 */
.news {
    background-color: var(--card-bg);
    padding: 100px 0;
    position: relative;
    transition: background-color 0.3s ease;
}

.news::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(0deg, var(--background-color), rgba(255, 255, 255, 0));
    z-index: 1;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 40px;
}

/* 小屏新闻网格响应式调整 */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-card img {
        width: 100%;
        height: 200px;
    }
    
    .news-content {
        width: 100%;
        padding: 20px;
    }
}

.news-card {
    display: flex;
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.news-card img {
    width: 40%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-content {
    padding: 30px;
    width: 60%;
    position: relative;
}

.news-content h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--heading-color);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-card:hover .news-content h3 {
    color: var(--primary-blue);
}

.news-content .date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
    font-style: italic;
}

.news-content p {
    margin-bottom: 25px;
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content .btn {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 10px 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-content .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: all 0.5s ease;
}

.news-content .btn:hover::before {
    left: 100%;
}

.news-content .btn:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* 新闻列表样式 */
.news-list {
    margin-top: 30px;
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

.news-item {
    display: flex;
    padding: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.news-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.news-item:hover::before {
    background-color: var(--primary-blue);
}

.news-img {
    flex-shrink: 0;
    margin-right: 25px;
    width: 220px;
    height: 140px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover .news-img img {
    transform: scale(1.08);
}

.news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.news-info h3 {
    margin: 0 0 12px 0;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.news-info h3 a {
    color: var(--heading-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-info h3 a:hover {
    color: var(--primary-blue);
}

.news-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-top: auto;
    transition: color 0.3s ease;
}

.news-meta span {
    display: flex;
    align-items: center;
    position: relative;
}

.news-meta span::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: #ddd;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-meta span:first-child::before {
    display: none;
}

.news-item:hover .news-meta span::before {
    opacity: 1;
}

.news-summary {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

/* 小屏新闻列表响应式调整 */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        padding: 20px;
    }
    
    .news-img {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
        height: 180px;
    }
    
    .news-img img {
        width: 100%;
        height: 100%;
    }
    
    .news-meta {
        gap: 15px;
        font-size: 0.85rem;
    }
    
    .news-info h3 {
        font-size: 1.2rem;
    }
}

/* 联系我们样式 */
.contact {
    background-color: var(--background-color);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05), rgba(52, 152, 219, 0));
    z-index: 0;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0), rgba(52, 152, 219, 0.05));
    z-index: 0;
}

/* 容器样式重置 */
.contact .container {
    padding: 0;
}

/* 标题样式 */
.contact h2 {
    margin-bottom: 50px;
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    font-size: 2.2rem;
    color: var(--heading-color);
}

.contact h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-blue);
    margin: 15px auto 0;
}

/* 内容布局 */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    z-index: 1;
    align-items: flex-start;
    justify-content: space-between;
}

/* 联系信息区块 */
.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-info h3 {
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: var(--heading-color);
    position: relative;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-blue);
    margin-top: 0;
    text-align: left !important;
    display: inline-block !important;
}

.contact-info h3::after {
    display: none;
}

.contact-info p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-top: 0;
}

/* 联系信息项目样式 - 最简单可靠的基础布局 */
.contact-item {
    margin-bottom: 20px !important;
    display: block !important;
    clear: both !important;
    width: 100% !important;
    line-height: 1.6 !important;
    position: relative;
}

.contact-item i {
    margin-right: 15px !important;
    color: var(--primary-blue) !important;
    font-size: 1.3rem !important;
    width: 30px !important;
    text-align: center !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* 复制成功提示样式 */
.copy-notice {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background-color: var(--primary-blue) !important;
    color: white !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    font-size: 0.8rem !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    margin: 0 !important;
    width: auto !important;
    display: inline-block !important;
}

.contact-item span {
    display: inline-block !important;
    vertical-align: middle !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* 联系表单区块 */
.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-form h3 {
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: var(--heading-color);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-blue);
}

.contact-form h3::after {
    display: none;
}

/* 悬停效果 */
.contact-info:hover,
.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* 响应式布局 */
@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact h2 {
        margin-bottom: 40px;
        font-size: 1.8rem;
    }
    
    .contact-content {
        gap: 30px;
    }
    
    .contact-info,
    .contact-form {
        min-width: 100%;
        padding: 30px 20px;
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .contact-info p {
        font-size: 1rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 15px;
    }
    
    .contact-form .btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* 分公司信息样式 */
.contact-info .branch-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.contact-info .branch-info h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--heading-color);
}

.contact-info .branch-item {
    margin-bottom: 30px;
    padding-left: 10px;
    border-left: 3px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.contact-info .branch-item:hover {
    border-left-color: var(--primary-blue);
}

.contact-info .branch-item strong {
    display: block;
    margin-bottom: 10px;
    color: var(--heading-color);
    font-size: 1.1rem;
}

.contact-info .branch-item p {
    margin-bottom: 8px;
    font-size: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--text-color);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-color: var(--border-color);
    border-style: solid;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--card-bg);
    color: var(--text-color);
    font-family: inherit;
}

.form-group select {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23888" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

.contact-form .btn {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, var(--primary-blue-dark), #1f618d);
}

/* 面包屑导航样式 - 增强版 */
.breadcrumbs {
    background-color: var(--card-bg);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 900;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
}

.breadcrumbs .container {
    display: flex;
    align-items: center;
    padding: 0;
    font-size: 0.95rem;
    gap: 12px;
}

.breadcrumbs a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
}

.breadcrumbs a:hover {
    color: var(--primary-blue-dark);
    background-color: rgba(52, 152, 219, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

/* 使用Font Awesome图标作为分隔符，更现代 */
.breadcrumbs a:not(:last-child):after {
    content: '\f105';
    font-family: 'FontAwesome';
    font-size: 0.75rem;
    margin-left: 12px;
    color: #999;
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.breadcrumbs span {
    color: var(--text-color);
    padding: 6px 12px;
    font-weight: 600;
    opacity: 0.9;
}

/* 主题适配 */
:root.theme-dark .breadcrumbs {
    background-color: rgba(52, 73, 94, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

:root.theme-dark .breadcrumbs a:not(:last-child):after {
    color: rgba(255, 255, 255, 0.5);
}

:root.theme-dark .breadcrumbs a:hover {
    background-color: rgba(52, 152, 219, 0.2);
}

/* 响应式调整 - 面包屑导航 */
@media (max-width: 768px) {
    .breadcrumbs {
        /* 移除小屏幕上的top设置，避免与body的padding-top冲突 */
    }
    
    .breadcrumbs .container {
        font-size: 0.85rem;
        gap: 8px;
    }
    
    .breadcrumbs a {
        padding: 4px 8px;
    }
    
    .breadcrumbs a:not(:last-child):after {
        margin-left: 8px;
        right: -8px;
    }
    
    .breadcrumbs span {
        padding: 4px 8px;
    }
}

/* 分页样式 - 增强版 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    gap: 8px;
    padding: 12px 0;
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: var(--card-bg);
    color: var(--text-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

/* 添加悬浮效果 */
.page-btn:hover:not(:disabled) {
    background-color: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.35);
}

/* 活动状态增强 */
.page-btn.active {
    background-color: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.4);
    font-weight: bold;
    transform: translateY(-2px);
    position: relative;
}

.page-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, white, transparent);
    animation: glowEffect 2s infinite;
}

@keyframes glowEffect {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* 禁用状态优化 */
.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.3);
}

/* 省略号样式增强 */
.page-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    color: var(--text-color);
    opacity: 0.6;
    font-size: 1.2rem;
    font-weight: 300;
}

/* 主题适配 */
:root.theme-dark .pagination {
    background-color: rgba(52, 73, 94, 0.05);
}

:root.theme-dark .page-btn {
    background-color: rgba(52, 73, 94, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
}

:root.theme-dark .page-btn:hover:not(:disabled) {
    background-color: var(--primary-blue);
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.4);
}

:root.theme-dark .page-btn:disabled {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
}

:root.theme-dark .page-ellipsis {
    color: rgba(255, 255, 255, 0.6);
}

/* 响应式调整 - 分页 */
@media (max-width: 768px) {
    .pagination {
        gap: 4px;
        flex-wrap: wrap;
        margin: 30px 0;
    }
    
    .page-btn {
        min-width: 38px;
        height: 38px;
        padding: 0 12px;
        font-size: 0.9rem;
        border-radius: 6px;
    }
    
    .page-ellipsis {
        min-width: 38px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .pagination {
        gap: 3px;
    }
    
    .page-btn {
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
        font-size: 0.85rem;
    }
    
    .page-ellipsis {
        min-width: 34px;
        height: 34px;
    }
}

/* 页脚样式 */
footer {
    background-color: #1a252f;
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
    background-image: 
        radial-gradient(var(--primary-blue) 1px, transparent 1px),
        radial-gradient(var(--primary-blue) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    background-attachment: fixed;
    background-blend-mode: overlay;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-blue-light), var(--primary-blue), var(--primary-blue-dark), var(--primary-blue-light));
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
    gap: 30px;
}

.footer-logo {
    flex: 0 0 250px;
    min-width: 250px;
    margin-bottom: 40px;
}

.footer-links, .footer-products, .footer-friends {
    flex: 1;
    min-width: 200px;
    margin-bottom: 40px;
}

.footer-contact {
    flex: 1;
    min-width: 250px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.05);
}

.footer-logo p {
    font-size: 1.1rem;
    color: #ddd;
    line-height: 1.6;
    margin-top: 15px;
}

.footer-links h3,
.footer-products h3,
.footer-friends h3,
.footer-contact h3 {
    margin-bottom: 25px;
    font-size: 1.4rem;
    color: white;
    position: relative;
    padding-bottom: 15px;
}

.footer-links h3::after,
.footer-products h3::after,
.footer-friends h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-blue);
}

.footer-links ul,
.footer-products ul,
.footer-friends ul {
    list-style: none;
}

.footer-links li,
.footer-products li,
.footer-friends li {
    margin-bottom: 15px;
    position: relative;
}

.footer-links a,
.footer-products a,
.footer-friends a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    
}

.footer-links a::before,
.footer-products a::before,
.footer-friends a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--primary-blue);
}

.footer-links a:hover,
.footer-products a:hover,
.footer-friends a:hover {
    color: var(--primary-blue);
    padding-left: 25px;
}

.footer-links a:hover::before,
.footer-products a:hover::before,
.footer-friends a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact p {
    margin-bottom: 15px;
    color: #ddd;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}

.footer-contact p i {
    margin-right: 15px;
    color: var(--primary-blue);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.95rem;
    background: rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    padding-bottom: 20px;
    border-radius: 8px 8px 0 0;
}

.footer-copyright, .footer-business, .footer-tech {
    margin-bottom: 15px;
    padding: 0 20px;
}

.footer-copyright p, .footer-business p, .footer-tech p {
    margin: 5px 0;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.footer-business p {
    font-size: 0.9rem;
    max-width: 900px;
    margin: 10px auto;
    text-align: center;
}

/* 响应式调整页脚排版 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo,
    .footer-links,
    .footer-products,
    .footer-friends,
    .footer-contact {
        width: 100%;
        max-width: 400px;
    }
    
    .footer-links h3::after,
    .footer-products h3::after,
    .footer-friends h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .footer-logo img {
        height: 50px;
    }
}

@media (max-width: 768px) {
    .footer-business p {
        font-size: 0.85rem;
    }
    
    .footer-copyright p, .footer-tech p {
        font-size: 0.85rem;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .footer-logo img {
        height: 50px;
    }
}

/* 宽屏菜单样式 - 默认显示 */
.desktop-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.desktop-menu li {
    position: relative;
    margin-left: 30px;
}

.desktop-menu a {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 4px;
}

.desktop-menu a:hover {
    color: var(--primary-blue);
    background-color: rgba(255, 255, 255, 0.05);
}

:root.theme-dark .desktop-menu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* 宽屏菜单选中状态 */
.desktop-menu a.active {
    color: var(--primary-blue);
    background-color: rgba(52, 152, 219, 0.1);
    font-weight: bold;
}

/* 宽屏子菜单选中状态 */
.desktop-submenu a.active {
    color: var(--primary-blue);
    background-color: rgba(52, 152, 219, 0.1);
    font-weight: bold;
}

/* 宽屏子菜单样式 */
.desktop-dropdown {
    position: relative;
}

.desktop-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--card-bg);
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

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

.desktop-submenu li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.desktop-submenu li:last-child {
    border-bottom: none;
}

.desktop-submenu a {
    padding: 12px 20px;
    color: var(--text-color);
    font-size: 1rem;
    border-radius: 0;
}

.desktop-submenu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary-blue);
}

:root.theme-dark .desktop-submenu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* 小屏菜单控制 - 默认隐藏 */
.mobile-menu-controls {
    display: none;
    position: relative;
}

.mobile-menu-toggle {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.mobile-menu-button {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-button .bar {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 小屏菜单样式 - 默认隐藏 */
.mobile-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: var(--card-bg);
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.mobile-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu li:last-child {
    border-bottom: none;
}

.mobile-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* 小屏菜单选中状态 */
.mobile-menu a.active {
    color: var(--primary-blue);
    background-color: rgba(52, 152, 219, 0.1);
    font-weight: bold;
}

/* 小屏子菜单选中状态 */
.mobile-submenu a.active {
    color: var(--primary-blue);
    background-color: rgba(52, 152, 219, 0.1);
    font-weight: bold;
}

.mobile-menu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary-blue);
}

:root.theme-dark .mobile-menu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* 小屏子菜单样式 */
.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    display: block;
    padding: 15px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    cursor: pointer;
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    transition: color 0.3s ease, background-color 0.3s ease;
    position: relative;
    z-index: 10;
}

.mobile-dropdown-toggle:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary-blue);
}

:root.theme-dark .mobile-dropdown-toggle:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.mobile-submenu-toggle {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
}

.mobile-submenu li {
    border-bottom: 1px solid #e0e0e0;
}

.mobile-submenu a {
    padding: 12px 40px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.mobile-submenu a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--primary-blue);
}

:root.theme-dark .mobile-submenu a:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

/* 响应式断点样式 - 平板设备 */
@media (max-width: 992px) {
    .desktop-menu li {
        margin-left: 20px;
    }
}

/* 响应式断点样式 - 移动设备 */
@media (max-width: 768px) {
    /* 隐藏宽屏菜单 */
    .desktop-menu {
        display: none;
    }
    
    /* 显示小屏菜单控制 */
    .mobile-menu-controls {
        display: block;
        position: fixed;
        top: 30px;
        right: 0px;
        z-index: 9999;
        /* 确保整个控制区域都可以点击 */
        width: 40px;
        height: 40px;
    }
    
    /* 确保在移动设备上菜单切换也是可点击的 */
    .mobile-menu-toggle {
        position: absolute;
        opacity: 0;
        width: 100%;
        height: 100%;
        cursor: pointer;
    }
    
    /* 显示小屏菜单 */
    .mobile-menu {
        display: block;
    }
    
    /* 小屏菜单展开动画 */
    .mobile-menu-toggle:checked ~ .mobile-menu-button .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background-color: var(--primary-blue);
    }
    
    .mobile-menu-toggle:checked ~ .mobile-menu-button .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle:checked ~ .mobile-menu-button .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background-color: var(--primary-blue);
    }
    
    /* 移动菜单由JavaScript控制，这里保留默认状态 */
    
    /* 子菜单展开动画 */
    .mobile-submenu-toggle:checked ~ .mobile-submenu {
        max-height: 800px;
    }
    
    /* 子菜单箭头旋转 */
    .mobile-submenu-toggle:checked ~ .mobile-dropdown-toggle i {
        transform: rotate(90deg);
    }
}

/* 响应式调整 - 平板和小屏幕 */
@media (max-width: 768px) {
    /* 轮播图容器高度调整 */
    .banner {
        height: 60vh;
        min-height: 400px;
    }
    
    /* 轮播图文字大小调整 */
    .slide-text h1 {
        font-size: 2.2rem;
    }
    
    .slide-text p {
        font-size: 1.1rem;
    }
    
    /* 轮播控制按钮大小调整 */
    .slider-btn {
        width: 50px;
        height: 50px;
    }
    
    .slider-btn i {
        font-size: 20px;
    }
    
    /* 轮播指示器调整 */
    .slide-indicators {
        gap: 10px;
        bottom: 20px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* 响应式断点样式 - 小屏幕手机 */
@media (max-width: 576px) {
    /* 轮播图容器高度进一步调整 */
    .banner {
        height: 50vh;
        min-height: 350px;
    }
    
    /* 轮播图文字大小进一步调整 */
    .slide-text h1 {
        font-size: 1.8rem;
    }
    
    .slide-text p {
        font-size: 1rem;
        margin: 10px 0;
    }
    
    /* 轮播控制按钮进一步调整 */
    .slider-btn {
        width: 45px;
        height: 45px;
        opacity: 0.8;
    }
    
    .slider-btn i {
        font-size: 18px;
    }
    
    .prev-btn {
        left: 15px;
    }
    
    .next-btn {
        right: 15px;
    }
    
    /* 轮播指示器进一步调整 */
    .slide-indicators {
        gap: 8px;
        bottom: 15px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    /* 按钮和文本间距调整 */
    .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    /* 其他文本大小调整 */
    h2 {
        font-size: 1.8rem;
    }
    
    /* 调整小屏菜单文字大小 */
    .mobile-menu a {
        font-size: 1.1rem;
    }
    
    .mobile-dropdown-toggle {
        font-size: 1.1rem;
    }
    
    .mobile-submenu a {
        font-size: 1rem;
    }
    
    /* 其他响应式调整 */
    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-card img,
    .news-content {
        width: 100%;
    }
    
    .news-card img {
        height: 200px;
    }
    
    /* 新闻分类导航响应式 */
    .category-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .category-tabs li {
        margin: 5px 0;
    }
}

/* 资质认证样式 */
.certifications {
    padding: 60px 0;
    background-color: var(--background-color);
    transition: background-color 0.3s ease;
}

.certifications h2 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.certifications h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-blue);
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.certificate-item {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    text-align: center;
    padding: 20px;
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.certificate-item img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

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

.certificate-item p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--heading-color);
    margin: 0;
    transition: color 0.3s ease;
}

.certificate-item:hover p {
    color: var(--primary-blue);
}

/* 发展历程样式 */
.history {
    padding: 60px 0;
    background-color: var(--card-bg);
    transition: background-color 0.3s ease;
}

.history h2 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.history h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-blue);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-year {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(var(--primary-blue-rgb), 0.3);
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-year {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(var(--primary-blue-rgb), 0.4);
}

.timeline-content {
    flex: 1;
    padding: 20px 40px;
    background-color: var(--background-color);
    border-radius: 8px;
    margin: 0 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.timeline-content p {
    color: var(--text-color);
    line-height: 1.6;
}

/* 团队介绍样式 */
.team {
    padding: 60px 0;
    background-color: var(--background-color);
    transition: background-color 0.3s ease;
}

.team h2 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.team h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-blue);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    background-color: var(--card-bg);
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
}

.team-member h3 {
    color: var(--heading-color);
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.team-member p {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin: 0;
}

/* 分公司介绍样式 */
.branches {
    padding: 60px 0;
    background-color: var(--card-bg);
    transition: background-color 0.3s ease;
}

.branches h2 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.branches h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-blue);
}

.branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.branch-item {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.branch-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-blue);
}

.branch-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.branch-item h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
    padding-left: 15px;
}

.branch-item p {
    color: var(--text-color);
    line-height: 1.6;
    padding-left: 15px;
}

/* 响应式设计 - 资质认证、发展历程、团队介绍和分公司介绍 */
@media (max-width: 992px) {
    .certificate-grid,
    .team-grid,
    .branch-grid {
        gap: 25px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .timeline-year {
        width: 80px;
        height: 80px;
        font-size: 1.2rem;
        position: absolute;
        left: 0;
        top: 0;
    }
    
    .timeline-content {
        margin-left: 100px;
        margin-right: 0;
        padding: 15px 20px;
    }
}

@media (max-width: 768px) {
    .certifications,
    .history,
    .team,
    .branches {
        padding: 40px 0;
    }
    
    .certificate-grid,
    .team-grid,
    .branch-grid {
        gap: 20px;
    }
    
    .timeline-content {
        padding: 15px;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    .branch-item {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .certificate-grid,
    .team-grid,
    .branch-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .timeline-year {
        width: 70px;
        height: 70px;
        font-size: 1.1rem;
    }
    
    .timeline-content {
        margin-left: 90px;
    }
    
    .team-member {
        padding: 20px 15px;
    }
    
    .branch-item {
        padding: 15px;
    }
}

/* 回到顶部按钮样式 - 与主题同步 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--back-to-top-bg, #e74c3c);
    color: var(--back-to-top-color, white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--back-to-top-shadow, 0 5px 15px rgba(0, 0, 0, 0.1));
    z-index: 9999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--back-to-top-hover-bg, #c0392b);
    transform: translateY(-3px);
    box-shadow: var(--back-to-top-hover-shadow, 0 8px 20px rgba(0, 0, 0, 0.15));
}

/* 主题特定样式 - 跟随网站主题色 */
.back-to-top {
    /* 默认主题 - 使用网站的主色调变量 */
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top:hover {
    background: var(--primary-blue-dark);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 为保持一致性，保留主题特定的阴影效果 */
.theme-festival .back-to-top {
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.theme-festival .back-to-top:hover {
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.4);
}

.theme-dark .back-to-top {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.theme-dark .back-to-top:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }
}

/* 联系我们页面特有样式 - 从contact.html迁移 */

/* 表单提交成功提示 */
.form-success {
    display: none;
    padding: 20px;
    background: var(--success-bg);
    color: var(--success-text);
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    border: 1px solid var(--success-border);
    animation: fadeIn 0.5s ease;
    transition: all 0.3s ease;
}

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

/* 地图样式 */
.map-section {
    padding: 50px 0;
    background: var(--background-color);
    transition: background-color 0.3s ease;
}

.map-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--heading-color);
    margin-bottom: 30px;
}

.map {
    width: 100%;
    height: 500px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    position: relative;
}

.map:hover {
    transform: scale(1.01);
}

.map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.map:hover img {
    filter: brightness(1.05);
}

.map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    border-radius: 12px;
    font-size: 1.2rem;
    color: var(--text-color);
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* 社交媒体链接 */
.social-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--heading-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 5px 15px rgba(var(--primary-blue-rgb), 0.3);
}

/* 联系我们页面响应式优化 */
@media (max-width: 768px) {
    .map {
        height: 350px;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* 产品详情页面特有样式 - 从smart_home.html迁移 */
.product-detail {
    padding: 60px 0;
    background-color: var(--background-color);
    transition: background-color 0.3s ease;
}

.product-gallery {
    margin-bottom: 40px;
}

.main-image {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.main-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

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

.thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    box-shadow: 0 0 0 2px var(--primary-blue);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--heading-color);
    transition: color 0.3s ease;
}

.product-features {
    margin-bottom: 40px;
}

.product-features h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--heading-color);
    transition: color 0.3s ease;
}

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

.product-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.product-features li:before {
    content: "✓";
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.application-areas {
    margin-bottom: 40px;
}

.application-areas h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--heading-color);
    transition: color 0.3s ease;
}

.application-areas ul {
    list-style-type: none;
}

.application-areas li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.application-areas li:before {
    content: "✓";
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.technical-specs {
    margin-bottom: 40px;
}

.technical-specs h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--heading-color);
    transition: color 0.3s ease;
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
}

.tech-table th,
.tech-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.tech-table th {
    background-color: var(--card-bg);
    font-weight: 600;
    text-align: left;
    transition: background-color 0.3s ease;
}

.product-description {
    margin-bottom: 40px;
}

.product-description h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--heading-color);
    transition: color 0.3s ease;
}

.related-products {
    background-color: var(--card-bg);
    padding: 40px 0;
    transition: background-color 0.3s ease;
}

.related-products h3 {
    margin-bottom: 30px;
    font-size: 1.6rem;
    color: var(--heading-color);
    text-align: center;
    transition: color 0.3s ease;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

/* 二轮电动车线束页面特有样式 - 从electric.html迁移 */
.product-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.product-images {
    flex: 1;
    min-width: 300px;
}

.thumbnails img {
    width: 25%;
    height: auto;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.thumbnails img:hover {
    transform: scale(1.05);
}

.product-info {
    flex: 1;
    min-width: 300px;
}

.product-info h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--heading-color);
    transition: color 0.3s ease;
}

.product-info ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.product-info li {
    margin-bottom: 10px;
}

.product-info table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.product-info table td {
    padding: 10px;
    border: 1px solid var(--border-color);
}

.product-info table tr:nth-child(even) {
    background-color: var(--card-bg);
    transition: background-color 0.3s ease;
}

/* 表单消息样式 */
.form-message {
    padding: 12px 16px;
    margin-top: 15px;
    border-radius: 4px;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeIn 0.3s ease-in-out;
}

/* 成功消息样式 */
.form-message-success {
    background-color: #4CAF50;
    color: white;
    border: 1px solid #45a049;
}

/* 错误消息样式 */
.form-message-error {
    background-color: #f44336;
    color: white;
    border: 1px solid #d32f2f;
}

/* 消息淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 消息淡出动画 */
.form-message.fade-out {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.5s ease;
}

/* 友情链接样式 */
.link-item {
    padding: 8px 20px;
    background-color: rgba(var(--primary-blue-rgb), 0.05);
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.link-item:hover {
    background-color: var(--primary-blue);
    color: white;
}

/* 页脚底部友情链接样式 */
.footer-bottom-friend-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 5px 0;
    font-size: 0.9rem;
    color: var(--text-color);
}

.footer-bottom-friend-links span {
    font-weight: 500;
}

.footer-bottom-friend-links .link-item {
    padding: 5px 15px;
    font-size: 0.85rem;
    border-radius: 15px;
    background-color: rgba(var(--primary-blue-rgb), 0.05);
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom-friend-links .link-item:hover {
    background-color: var(--primary-blue);
    color: white;
}

/* 响应式设计 - 页脚底部友情链接 */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-bottom-friend-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .footer-bottom-friend-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-bottom-friend-links span {
        margin-bottom: 5px;
    }
    
    .footer-bottom-friend-links .link-item {
        padding: 4px 12px;
        font-size: 0.8rem;
    }
}

/* 关于我们页面 - branches 样式 */
.branches {
    background-color: var(--card-bg);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.branches::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-blue-rgb), 0.05), rgba(var(--primary-blue-rgb), 0));
    z-index: 0;
}

.branches .container {
    position: relative;
    z-index: 1;
}

/* 关于我们页面 - culture-content 样式 */
.culture-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.culture-content p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
    text-indent: 2em;
}

.culture-content img {
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.culture-content img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* 响应式设计 - 关于我们页面 */
@media (max-width: 768px) {
    .branches {
        padding: 60px 0;
    }
    
    .culture-content {
        padding: 0 15px;
    }
    
    .culture-content p {
        font-size: 1rem;
        line-height: 1.6;
        text-indent: 1.5em;
    }
    
    .culture-content img {
        margin: 20px auto;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .branches {
        padding: 40px 0;
    }
    
    .culture-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        text-indent: 1.2em;
    }
    
    .culture-content img {
        margin: 15px auto;
        border-radius: 6px;
    }
}