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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0066cc;
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0052a3;
    color: #fff;
}

/* 头部样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.header-phone {
    /* display样式在responsive.css中通过媒体查询控制 */
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.header-phone i {
    font-size: 20px;
    color: #0066cc;
    margin-right: 8px;
}

.logo img {
    max-height: 60px;
}

.nav ul {
    display: flex;
}

.nav-item {
    margin-left: 30px;
}

.nav-item a {
    font-size: 16px;
    color: #333;
    position: relative;
}

.nav-item.active a,
.nav-item a:hover {
    color: #0066cc;
}

.nav-item.active a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0066cc;
}

.mobile-nav-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    margin-right: 15px;
}

.icon-menu::before {
    content: '☰';
    font-size: 28px;
    line-height: 1;
}

/* 移动端导航 */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-content {
    padding: 20px;
    height: 100%;
    overflow-y: auto;
}

.mobile-nav-close {
    font-size: 24px;
    cursor: pointer;
    text-align: right;
    margin-bottom: 20px;
}

.mobile-nav-content ul li {
    margin-bottom: 15px;
}

/* 移动端导航链接样式 */

/* 图标样式（使用CSS实现简单图标） */
.icon-menu::before {
    content: '☰';
}

/* 确保PC端导航正常显示 */
.nav {
    display: flex;
}

.icon-close::before {
    content: '×';
}

.icon-home::before {
    content: '🏠';
}

.icon-phone::before {
    content: '📞';
}

.icon-mobile::before {
    content: '📱';
}

.icon-envelope::before {
    content: '✉️';
}

.icon-map-marker::before {
    content: '📍';
}

.icon-qq::before {
    content: '🐧';
}

.icon-arrow-up::before {
    content: '↑';
}

.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

.mobile-nav-content ul li a {
    display: block;
    padding: 10px 0;
    font-size: 16px;
}

.mobile-nav-content ul li.active a {
    color: #0066cc;
}

/* 幻灯片 */
.banner {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

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

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

/* 轮播指示器样式 */
.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.banner-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    border-radius: 50%;
    background-color: rgba(0, 102, 204, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-indicator.active {
    background-color: #0066cc;
    transform: scale(1.2);
}

/* 轮播控制按钮样式 */
.banner-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.banner-control:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.prev-control {
    left: 20px;
}

.next-control {
    right: 20px;
}

/* 轮播控制图标 */
.prev-control::before {
    content: "<";
    font-size: 24px;
    color: white;
}

.next-control::before {
    content: ">";
    font-size: 24px;
    color: white;
}

/* 位置导航 */
.position {
    background-color: #f5f5f5;
    padding: 10px 0;
}

.position-content {
    font-size: 14px;
    color: #666;
}

.position-content a {
    color: #666;
}

.position-content a:hover {
    color: #0066cc;
}

/* 通用区块标题样式 */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.section-title p {
    font-size: 14px;
    color: #666;
}

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

/* 通用样式辅助类 */
.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

/* 左右布局样式 */
.content-container {
    padding: 40px 0;
    background-color: #fff;
}

.content-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* 左侧栏样式 */
.sidebar {
    flex: 0 0 250px;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

.sidebar-title {
    background-color: #0066cc;
    color: #fff;
    padding: 15px 20px;
}

.sidebar-title h3 {
    font-size: 18px;
    margin: 0;
    font-weight: bold;
}

.sidebar-nav {
    padding: 10px 0;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    transition: all 0.3s ease;
}

.sidebar-nav li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.sidebar-nav li a:hover {
    color: #0066cc;
    background-color: rgba(0, 102, 204, 0.1);
    border-left-color: #0066cc;
}

.sidebar-nav li.active a {
    color: #0066cc;
    background-color: rgba(0, 102, 204, 0.1);
    border-left-color: #0066cc;
    font-weight: bold;
}

/* 右侧主内容区样式 */
.main-content {
    flex: 1;
    min-width: 0;
    margin-top: 0;
    padding-top: 0;
}

/* 列表主内容包装器样式 */
.list-main {
    margin-top: 0;
    padding-top: 0;
}

/* 核心优势样式 */
.advantages {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.advantages-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
}

.advantage-item {
    flex: 1;
    min-width: 220px;
    max-width: 25%;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-10px);
}

.advantage-icon {
    margin-bottom: 20px;
}

.advantage-icon img {
    max-width: 100px;
    height: auto;
}

.advantage-text h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.advantage-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 分类导航 */
.sort-nav {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.sort-nav-content {
    display: flex;
    flex-wrap: wrap;
}

.sort-nav-item {
    margin-right: 15px;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
}

.sort-nav-item:hover,
.sort-nav-item.active {
    background-color: #0066cc;
    color: #fff;
}

/* 内页banner样式 */
.inner-banner {
    height: 350px;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

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

.inner-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.inner-banner-content h1,
.inner-banner-content p {
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* 公司简介样式 */
.company-intro {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.intro-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 40px;
    gap: 40px;
}

.intro-img {
    flex: 1;
    min-width: 300px;
    max-width: 45%;
    border-radius: 8px;
    overflow: hidden;
}

.intro-img img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.company-intro:hover .intro-img img {
    transform: scale(1.02);
}

.intro-text {
    flex: 1;
    min-width: 300px;
    max-width: 55%;
}

.intro-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.btn-more {
    display: inline-block;
    padding: 10px 24px;
    background-color: #0066cc;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-more:hover {
    background-color: #0052a3;
    color: #fff;
}

/* 新闻中心样式 */
.news-center {
    padding: 60px 0;
    background-color: #fff;
}

.list-content {
    padding: 30px 0;
}

.news-list {
    margin-top: 40px;
}

.news-item {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

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

.news-item:hover {
    background-color: #f8f9fa;
    padding-left: 10px;
    padding-right: 10px;
}

.news-date {
    flex: 0 0 120px;
    padding: 0 20px 0 0;
    text-align: center;
    background-color: #f5f5f5;
    border-radius: 4px;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-date .day {
    font-size: 24px;
    font-weight: bold;
    color: #0066cc;
}

.news-date .month {
    font-size: 14px;
    color: #666;
}

.news-info {
    flex: 1;
    min-width: 280px;
}

.news-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-title a {
    color: #333;
}

.news-title a:hover {
    color: #0066cc;
}

.news-tag {
    display: inline-block;
    padding: 2px 8px;
    margin-left: 10px;
    font-size: 12px;
    border-radius: 2px;
}

.news-tag.top {
    background-color: #ff4757;
    color: #fff;
}

.news-tag.recommend {
    background-color: #2ed573;
    color: #fff;
}

.news-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-more {
    color: #0066cc;
    margin-left: 10px;
}

/* 分页样式 */
.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination-container {
    display: inline-block;
}

.pagination-item {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    color: #666;
    transition: all 0.3s ease;
}

.pagination-item:hover {
    border-color: #0066cc;
    color: #0066cc;
}

.pagination-item.active {
    background-color: #0066cc;
    border-color: #0066cc;
    color: #fff;
}

/* 数字页码样式 */
.page-numbar {
    display: inline-block;
}

.page-num {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    color: #666;
    transition: all 0.3s ease;
    text-decoration: none;
}

.page-num:hover {
    border-color: #0066cc;
    color: #0066cc;
}

.page-num-current {
    background-color: #0066cc;
    border-color: #0066cc;
    color: #fff !important;
    font-weight: bold;
}

.no-data {
    text-align: center;
    padding: 50px 0;
    color: #999;
}

/* 文章内容 */
.article-content {
    padding: 30px 0;
}

.article-main {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.article-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.article-meta {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
    color: #666;
}

.article-body {
    font-size: 16px;
    line-height: 2;
    color: #333;
}

.article-body p {
    margin-bottom: 15px;
}

.article-nav {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-prev,
.article-next {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.article-prev a,
.article-next a {
    color: #0066cc;
}

/* 产品中心样式 */
.product-center {
    padding: 60px 0;
    background-color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-item {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.product-img {
    height: 320px;
    overflow: hidden;
}

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

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

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.5;
}

.product-title a {
    color: #333;
}

.product-title a:hover {
    color: #0066cc;
}

.btn-detail {
    display: inline-block;
    padding: 8px 16px;
    background-color: #0066cc;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    margin-top: auto;
    transition: all 0.3s ease;
}

.btn-detail:hover {
    background-color: #0052a3;
    color: #fff;
}

.product-img {
    height: 200px;
    overflow: hidden;
}

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

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

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
    font-size: 16px;
}

.product-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-detail {
    display: block;
    text-align: center;
    padding: 8px;
}

/* 产品详情 */
.product-detail-content {
    padding: 30px 0;
}

.product-detail-main {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.product-detail-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.product-detail-img {
    margin-bottom: 30px;
    text-align: center;
}

.product-detail-img img {
    max-width: 100%;
    max-height: 500px;
}

.product-detail-desc {
    font-size: 16px;
    line-height: 2;
    color: #333;
}

.product-detail-desc p {
    margin-bottom: 15px;
}

.product-detail-nav {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.product-detail-prev,
.product-detail-next {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.product-detail-prev a,
.product-detail-next a {
    color: #0066cc;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-col {
    flex: 1;
    margin-right: 30px;
}

.footer-col:last-child {
    margin-right: 0;
}

.footer-col h5 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #0066cc;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-col ul li a {
    color: #ccc;
}

.footer-col ul li a:hover {
    color: #fff;
}

.weixin-qrcode {
    text-align: center;
}

.weixin-qrcode img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
    border: 2px solid #fff;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #ccc;
    font-size: 14px;
}

/* 移动端底部导航 */
.mobile-footer-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

.mobile-footer-nav-item {
    flex: 1;
    text-align: center;
}

.mobile-footer-nav-link {
    display: block;
    padding: 10px 0;
    color: #666;
}

.mobile-footer-nav-link i {
    display: block;
    font-size: 20px;
    margin-bottom: 5px;
}

.mobile-footer-nav-link span {
    font-size: 12px;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: #0066cc;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 99;
}

.back-to-top i {
    font-size: 20px;
}

.back-to-top:hover {
    background-color: #0052a3;
}

/* 联系信息区域样式 */
.contact-info-section {
    background-color: #f8f9fa;
    padding: 40px 0;
}

.contact-info-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-info-item {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.contact-info-item i {
    font-size: 36px;
    color: #0066cc;
    margin-bottom: 15px;
}

.contact-info-text h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.contact-info-text p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 表单样式 */
.contact-form {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
}

.contact-form h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.form-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #0066cc;
}

.form-textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.code-input-group {
    display: flex;
    align-items: center;
}

.code-input {
    flex: 1;
    margin-right: 10px;
}

.code-img {
    width: 120px;
    height: 40px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.btn-submit {
    padding: 12px 40px;
    font-size: 16px;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #0052a3;
}

/* 文章内容和关于我们页面样式 */
.about-main,
.message-main {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.about-title,
.message-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.about-body,
.message-body {
    font-size: 16px;
    line-height: 2;
    color: #333;
    margin-bottom: 30px;
}

.about-body p,
.message-body p {
    margin-bottom: 15px;
}