/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: #1a1a2e;
    color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 0;
    border: none;
}

/* 确保页面内容不被导航栏遮挡 */
body {
    margin-top: 80px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.logo-img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.logo p {
    font-size: 12px;
    opacity: 0.8;
    margin: 0;
}

.nav-links ul {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3498db;
}

.nav-links a.active {
    color: #3498db;
    font-weight: bold;
}

/* 下拉导航样式 */
.nav-links .dropdown {
    position: relative;
}

/* 添加伪元素，覆盖下拉菜单与触发元素之间的间隙 */
.nav-links .dropdown::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}

.nav-links .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
    display: none;
    z-index: 1000;
    min-width: 150px;
    margin-top: 10px;
}

.nav-links .dropdown:hover .dropdown-menu {
    display: block;
}

.nav-links .dropdown-menu li {
    margin: 0;
}

.nav-links .dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: #000;
    text-decoration: none;
    transition: background-color 0.3s;
}

.nav-links .dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: #3498db;
}

/* 导航高亮 */
.nav-links li.active a {
    color: #3498db;
    font-weight: bold;
}

.nav-links {
    display: flex;
    align-items: center;
}

/* PC端导航 */
.pc-nav {
    display: flex;
}

/* 移动端导航 */
.mobile-nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    background-color: #1a1a2e;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
    z-index: 999;
    margin-top: 10px;
    border-radius: 4px;
}

/* 移动端菜单容器 */
.mobile-menu {
    display: none;
}

.mobile-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
    width: 100%;
    margin: 0;
}

.mobile-nav li {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav a {
    display: block;
    width: 100%;
    padding: 15px 0;
    font-size: 16px;
}

.mobile-nav a.active {
    color: #3498db;
    font-weight: bold;
}

/* 移动端下拉菜单 */
.mobile-nav .dropdown {
    position: relative;
}

.mobile-nav .dropdown-toggle {
    display: none;
}

.mobile-nav .dropdown-toggle-label {
    display: block;
    color: white;
    padding: 15px 0;
    font-size: 16px;
    cursor: pointer;
}

.mobile-nav .dropdown-toggle-label:hover {
    color: #3498db;
}

.mobile-nav .dropdown-menu {
    position: static;
    display: none;
    background-color: rgba(255,255,255,0.1);
    box-shadow: none;
    margin: 0;
    padding: 0 0 0 20px;
    width: 100%;
    border-radius: 0;
}

.mobile-nav .dropdown-toggle:checked ~ .dropdown-menu {
    display: block;
}

.mobile-nav .dropdown-menu a {
    color: white;
    padding: 12px 0;
    font-size: 14px;
    background: none;
}

.mobile-nav .dropdown-menu a:hover {
    color: #3498db;
    background-color: rgba(255,255,255,0.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
}

.search-container {
    position: relative;
    margin-right: 20px;
}

.search-input {
    padding: 8px 12px;
    border: 1px solid #34495e;
    border-radius: 20px;
    background-color: rgba(255,255,255,0.1);
    color: white;
    width: 150px;
    transition: width 0.3s;
}

.search-input:focus {
    width: 200px;
    outline: none;
    border-color: #3498db;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.language-switch {
    position: relative;
    margin-right: 20px;
}

/* 添加伪元素，覆盖下拉菜单与触发元素之间的间隙 */
.language-switch::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 100%;
    height: 10px;
}

.lang-toggle {
    display: none;
}

.lang-btn {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 20px;
    transition: background-color 0.3s;
    background-color: rgba(255,255,255,0.1);
}

.lang-btn:hover {
    background-color: rgba(255,255,255,0.2);
}

.lang-btn i {
    margin-right: 5px;
    font-size: 14px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
    display: none;
    z-index: 1000;
    min-width: 100px;
    margin-top: 10px;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
}

.language-switch:hover .dropdown-menu,
.language-switch:focus-within .dropdown-menu {
    display: block;
}

/* 确保下拉菜单在移动端正常工作 */
.mobile-nav .dropdown-toggle:checked ~ .dropdown-menu {
    display: block;
    position: static;
    width: 100%;
    box-sizing: border-box;
}

/* 确保语言切换下拉菜单在移动端正常工作 */
.language-switch .lang-toggle:checked ~ .dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
}

/* 确保PC端导航栏下拉菜单正常显示 */
.pc-nav .dropdown:hover .dropdown-menu {
    display: block;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

/* 首屏展示 */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 70px;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 8px;
}

.btn-primary {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    margin-right: 15px;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #1a1a2e;
    transform: translateY(-2px);
}

/* 产品详情页的返回列表按钮 */
.product-actions .btn-secondary {
    color: #333;
    border-color: #333;
}

.product-actions .btn-secondary:hover {
    background-color: #333;
    color: white;
}

/* 产品优势 */
.products-intro {
    padding: 80px 0;
    background-color: white;
}

.products-intro h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #1a1a2e;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background-color: #f8f9fa;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background-color: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.card p {
    color: #666;
    line-height: 1.6;
}

/* 客户案例 */
.case-studies {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.case-studies h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.case-studies > .container > p {
    text-align: center;
    margin-bottom: 60px;
    color: #666;
    font-size: 18px;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.case-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-item h3 {
    padding: 20px 20px 10px;
    color: #1a1a2e;
}

.case-item p {
    padding: 0 20px 20px;
    color: #666;
}

/* 新闻动态 */
.news-section {
    padding: 80px 0;
    background-color: white;
}

.news-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #1a1a2e;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-item {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.news-date {
    color: #3498db;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-item h3 {
    margin-bottom: 15px;
    color: #1a1a2e;
}

.news-item h3 a {
    color: #1a1a2e;
    text-decoration: none;
}

.news-item h3 a:hover {
    color: #3498db;
}

.news-item p {
    color: #666;
    margin-bottom: 20px;
}

.read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.read-more:hover {
    color: #2980b9;
}

/* 联系我们 */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    text-align: center;
}

.contact-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* 页脚 */
.footer {
    background-color: #1a1a2e;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.footer-logo p {
    opacity: 0.8;
    font-size: 14px;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #3498db;
}

.footer-links ul,
.footer-contact ul,
.footer-social ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-contact li {
    display: flex;
    align-items: center;
    opacity: 0.8;
}

.footer-contact li i {
    margin-right: 10px;
    color: #3498db;
}

.footer-social ul {
    display: flex;
}

.footer-social li {
    margin-right: 15px;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.footer-social a:hover {
    background-color: #3498db;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.6;
    font-size: 14px;
}

/* 关于我们页面 */
.about-section {
    padding: 120px 0 80px;
    background-color: white;
}

.about-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #1a1a2e;
    text-align: center;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #666;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

.core-advantages {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.core-advantages h3 {
    font-size: 28px;
    margin-bottom: 40px;
    color: #1a1a2e;
    text-align: center;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.advantage-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.advantage-item i {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 20px;
}

.advantage-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.advantage-item p {
    color: #666;
}

/* 产品展示页面 */
.products-section {
    padding: 120px 0 80px;
    background-color: white;
}

.products-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #1a1a2e;
    text-align: center;
}

.products-container {
    display: flex;
    gap: 40px;
}

.product-sidebar {
    flex: 0 0 250px;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.product-nav {
    list-style: none;
}

.product-nav li {
    margin-bottom: 10px;
}

.product-nav a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.product-nav li.active a {
    background-color: #3498db;
    color: white;
}

.product-nav a:hover {
    background-color: #e9ecef;
}

.products-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.product-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
    color: #1a1a2e;
}

.product-info p {
    color: #666;
    margin-bottom: 15px;
}

.product-price {
    font-weight: bold;
    color: #3498db;
    margin-bottom: 15px;
}

.btn-product {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-product:hover {
    background-color: #2980b9;
}

/* 分页样式 */
.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination ul {
    display: inline-flex;
    list-style: none;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination li {
    margin: 0 5px;
}

.pagination a {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    border: 1px solid #ddd;
}

.pagination li.active a {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.pagination a:hover {
    background-color: #f8f9fa;
}

/* 产品详情页 */
.product-detail {
    padding: 120px 0 80px;
    background-color: white;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.product-detail-content {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.product-detail-left {
    flex: 1;
}

.product-detail-left img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.product-gallery {
    display: flex;
    gap: 10px;
}

.product-gallery img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s;
}

.product-gallery img:hover {
    transform: scale(1.05);
}

.product-detail-right {
    flex: 1;
}

.product-detail-right h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.product-price {
    font-size: 24px;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 30px;
}

.product-features h3 {
    margin-bottom: 15px;
    color: #1a1a2e;
}

.product-features ul {
    list-style: none;
    margin-bottom: 30px;
}

.product-features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.product-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.product-actions {
    display: flex;
    gap: 20px;
}

.product-detail-tabs {
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.tabs {
    display: flex;
    background-color: #e9ecef;
}

.tabs li {
    list-style: none;
}

.tabs a {
    display: block;
    padding: 15px 30px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.tabs li.active a {
    background-color: #3498db;
    color: white;
}

.tabs a:hover {
    background-color: #dee2e6;
}

.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    margin-bottom: 20px;
    color: #1a1a2e;
}

.tab-pane p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #666;
}

.tab-pane ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.tab-pane li {
    margin-bottom: 10px;
    color: #666;
}

.tech-specs {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.tech-specs th,
.tech-specs td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.tech-specs th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #1a1a2e;
}

.tech-specs tr:hover {
    background-color: #f8f9fa;
}

/* 新闻详情页 */
.news-detail {
    padding: 120px 0 80px;
    background-color: white;
}

.news-detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.news-detail-content h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1a1a2e;
    line-height: 1.3;
}

.news-meta {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.news-body {
    margin-bottom: 40px;
}

.news-body p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #666;
}

.news-body img {
    width: 100%;
    border-radius: 10px;
    margin: 20px 0;
}

.news-nav {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.prev-news a,
.next-news a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.prev-news a:hover,
.next-news a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.prev-news i,
.next-news i {
    margin: 0 5px;
}

/* 新闻动态页面 */
.news-page {
    padding: 120px 0 80px;
    background-color: white;
}

.news-page h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #1a1a2e;
    text-align: center;
}

.news-list {
    max-width: 1000px;
    margin: 0 auto;
}

.news-full-item {
    display: flex;
    gap: 30px;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    transition: all 0.3s;
    align-items: flex-start;
}

.news-full-item:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.news-item-image {
    flex-shrink: 0;
    width: 250px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-full-item:hover .news-item-image img {
    transform: scale(1.05);
}

.news-item-content {
    flex: 1;
}

.news-full-item .news-date {
    color: #3498db;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-full-item h3 {
    margin-bottom: 15px;
    color: #1a1a2e;
    font-size: 20px;
}

.news-full-item h3 a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.3s;
}

.news-full-item h3 a:hover {
    color: #3498db;
}

.news-full-item p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .news-full-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .news-item-image {
        width: 100%;
        height: 200px;
    }
    
    .news-full-item h3 {
        font-size: 18px;
    }
}

/* 联系我们页面 */
.contact-page {
    padding: 120px 0 80px;
    background-color: white;
}

.contact-page h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #1a1a2e;
    text-align: center;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

.contact-info h3 {
    margin-bottom: 30px;
    color: #1a1a2e;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-info-item i {
    color: #3498db;
    margin-right: 15px;
    font-size: 20px;
    margin-top: 5px;
}

.contact-info-item p {
    color: #666;
    margin: 0;
}

/* 地图容器样式 */
.map-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.baidu-map {
    width: 100%;
    height: 200px;
    margin-top: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-form {
    flex: 1;
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

.contact-form h3 {
    margin-bottom: 30px;
    color: #1a1a2e;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #1a1a2e;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.btn-submit {
    background-color: #3498db;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    .products-container {
        flex-direction: column;
    }
    
    .product-sidebar {
        flex: 1;
    }
    
    .product-nav {
        display: flex;
        overflow-x: auto;
        gap: 10px;
    }
    
    .product-nav li {
        white-space: nowrap;
        margin-bottom: 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    /* 导航栏 */
    .navbar {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 9999;
        padding: 10px 0;
    }
    
    /* 确保移动端页面内容不被导航栏遮挡 */
    body {
        margin-top: 60px;
    }
    
    /* 导航栏容器 */
    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
        flex-wrap: nowrap;
    }
    
    /* 隐藏PC端导航，显示移动端导航 */
    .pc-nav {
        display: none;
    }
    
    .mobile-nav {
        display: none;
    }
    
    /* 导航操作容器 - 移动端 */
    .nav-actions {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        gap: 5px;
    }
    
    /* 搜索容器 */
    .search-container {
        display: block;
        margin-right: 5px;
    }
    
    .search-input {
        width: 100px;
        background-color: rgba(255,255,255,0.1);
        color: white;
        border: 1px solid #34495e;
        transition: none;
    }
    
    .search-input:focus {
        width: 100px;
        outline: none;
        border-color: #3498db;
    }
    
    .search-btn {
        color: white;
    }
    
    /* 语言切换 - 移动端显示 */
    .language-switch {
        display: block;
        margin-right: 5px;
    }
    
    /* 语言切换按钮 */
    .language-switch .lang-btn {
        color: white;
        font-size: 14px;
        padding: 5px 10px;
    }
    
    /* 语言切换下拉菜单 - 移动端 */
    .language-switch .dropdown-menu {
        background-color: white;
        min-width: 100px;
    }
    
    .language-switch .dropdown-menu a {
        color: #000;
        padding: 8px 16px;
    }
    
    .language-switch .dropdown-menu a:hover {
        background-color: #f5f5f5;
        color: #3498db;
    }
    
    /* 移动端菜单按钮 */
    .mobile-menu {
        position: relative;
        display: block;
    }
    
    #mobile-menu-toggle {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        font-size: 24px;
        cursor: pointer;
        padding: 5px;
        background: none;
        border: none;
        color: white;
    }
    
    /* 移动端菜单显示/隐藏 */
    #mobile-menu-toggle:checked ~ .mobile-nav {
        display: block;
    }
    
    /* 调整logo大小 */
    .logo h1 {
        font-size: 20px;
    }
    
    .logo p {
        font-size: 10px;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .products-intro h2,
    .case-studies h2,
    .news-section h2,
    .contact-section h2,
    .about-section h2,
    .products-section h2,
    .news-page h2,
    .contact-page h2 {
        font-size: 28px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social ul {
        justify-content: center;
    }
    
    .product-nav {
        flex-wrap: wrap;
    }
    
    .product-nav li {
        flex: 1 1 calc(50% - 5px);
    }
    
    .product-detail-content {
        flex-direction: column;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn-primary,
    .product-actions .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .news-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .prev-news,
    .next-news {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .btn-primary,
    .btn-secondary {
        display: block;
        width: 80%;
        margin: 10px auto;
        text-align: center;
    }
    
    .case-grid,
    .news-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form {
        padding: 20px;
    }
}

/* FAQ页面样式 */
.faq-section {
    padding: 120px 0 80px;
    background-color: white;
}

.faq-section h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #1a1a2e;
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question h3 {
    font-size: 18px;
    color: #1a1a2e;
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: #3498db;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 80px 0 60px;
    }
    
    .faq-section h2 {
        font-size: 28px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
}

/* 语言切换动画 */
.lang-btn.active {
    color: #3498db;
}

/* 加载动画 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* 相关商品 */
.related-products {
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid #e9ecef;
}

.related-products h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #1a1a2e;
    text-align: center;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-product-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.related-product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.related-product-item .product-info {
    padding: 20px;
}

.related-product-item .product-info h3 {
    margin-bottom: 10px;
    color: #1a1a2e;
}

.related-product-item .product-info p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.related-product-item .product-price {
    font-weight: bold;
    color: #3498db;
    margin-bottom: 15px;
}

.related-product-item .btn-product {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.related-product-item .btn-product:hover {
    background-color: #2980b9;
}

/* 产品图片样式 */
.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    cursor: pointer;
}

.product-image:hover .image-overlay {
    opacity: 1;
}

.view-icon {
    background: white;
    color: #3498db;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.3s;
}

.image-overlay:hover .view-icon {
    transform: scale(1.1);
}

/* 产品详情页图片样式 */
.product-detail-left .product-image img {
    height: auto;
    min-height: 400px;
}

.product-gallery-container {
    position: relative;
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: rgba(0,0,0,0.8);
}

.gallery-prev {
    left: -15px;
}

.gallery-next {
    left: 540px;
}

.product-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
    flex: 1;
    max-width: 540px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-gallery::-webkit-scrollbar {
    display: none;
}

.product-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    min-width: 100px;
    transition: transform 0.3s;
}

.product-thumb.active {
    border: 2px solid #3498db;
    transform: scale(1.05);
}

.product-thumb img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-thumb:hover img {
    transform: scale(1.05);
}

/* 图片放大弹窗 */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.image-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.modal-prev,
.modal-next {
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background 0.3s;
    pointer-events: auto;
}

.modal-prev:hover,
.modal-next:hover {
    background: rgba(0,0,0,0.8);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
}

.modal-close:hover {
    color: #3498db;
}

.modal-counter {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    background: rgba(0,0,0,0.6);
    padding: 5px 15px;
    border-radius: 20px;
}
