/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}



 
/* 头部 */
/*固定导航栏*/
    .header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    opacity: 1 !important;
    backdrop-filter: none !important;
}  



/*logo 与 导航栏 同一行*/
 
   .header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 2px; 
} 




/*导航栏 折叠 2025-11-04 kimi*/

/*====== 下拉菜单 ======*/
/* .nav .drop{ position:relative; }
.nav .drop-menu{
  position:absolute;
  left:0;
  top:100%;
  background:#fff;
  min-width:160px;
  box-shadow:0 2px 8px rgba(0,0,0,.1);
  display:flex;
  flex-direction:column;
  gap:0;
  transform:translateY(10px);
  opacity:0;
  visibility:hidden;
  transition:.3s;
  padding:8px 0;
  z-index:999;
}
.nav .drop:hover .drop-menu{
  transform:translateY(0);
  opacity:1;
  visibility:visible;
}
.nav .drop-menu li{ display:block; }
.nav .drop-menu a{
  display:block;
  padding:8px 20px;
  font-size:14px;
  white-space:nowrap;
}
.nav .drop-menu a:hover{ color:#0066cc; }


 */



 /*====== 点击下拉菜单 ======*/
.nav .drop{ position:relative; }
.nav .drop-menu{
  position:absolute;
  left:0;
  top:100%;
  background:#fff;
  min-width:160px;
  box-shadow:0 2px 8px rgba(0,0,0,.1);
  display:flex;
  flex-direction:column;
  gap:0;
  max-height:0;
  overflow:hidden;
  transition:max-height .3s;
  z-index:999;
}
.nav .drop.open .drop-menu{
  max-height:500px; /* 足够放下所有子项即可 */
}
.nav .drop-menu li{ display:block; }
.nav .drop-menu a{
  display:block;
  padding:8px 20px;
  font-size:14px;
  white-space:nowrap;
}
.nav .drop-menu a:hover{ color:#0066cc; }

.logo img {
    height: 55px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #0066cc;
}

/* 语言切换区域特殊样式 */
.nav .lang-switch {
    font-size: 15px; /* 比主菜单小一号（主菜单默认14px+） */
    align-self: center;
    color: #666;
    white-space: nowrap;
  }
  
  .nav .lang-switch span,
  .nav .lang-switch a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
  }
  
  .nav .lang-switch a:hover {
    color: #0066cc;
  }
  
  /* 可选：微调左右间距，避免拥挤 */
  .nav .lang-switch span:first-child {
    margin-right: 4px;
  }
  .nav .lang-switch a {
    margin-left: 4px;
  }


.banner-image {
    width: 100%;
    overflow: hidden;
}

.banner-image img {
    width: 100%;
    height: auto;
    display: block;
    /* 如果希望图片始终覆盖整个区域（可能裁剪），可用 object-fit */
   
     object-fit: cover; 
     
}


 

 

 

 

 



.btn-primary {
    display: inline-block;
    background: #ff6600;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #e55a00;
}

/* 通用标题 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #0066cc;
    margin: 20px auto;
}

 
  

 
/* 关于我们 样式 */

 
 #about {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2c3e50);
    margin: 15px auto 0;
    border-radius: 2px;
}  

  

.btn-blue {
    display: inline-block;
    background: linear-gradient(to right, #3498db, #2c3e50);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-blue:hover {
    background: linear-gradient(to right, #2c3e50, #3498db);
    box-shadow: 0 7px 20px rgba(52, 152, 219, 0.5);
    transform: translateY(-3px);
}

.btn-blue:active {
    transform: translateY(1px);
}

.container2 {
    display: flex;
    justify-content: center; /* 水平 */
     
     
  }



/* 企业理念区块样式 */
.about-text ul {
    padding-left: 20px;
    margin: 25px 0;
}

.about-text li {
    margin-bottom: 10px;
    color: #2c3e50;
}

.about-text h3 {
    color: #2c3e50;
    margin-top: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

/* 响应式设计 */
/* @media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
} */

/* 
@media (max-width: 480px) {
    .btn-blue {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
}
  */


/* 新闻资讯 */
.news {
    padding: 80px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item h3 {
    margin-bottom: 15px;
    color: #333;
}

.news-item p {
    color: #666;
    margin-bottom: 20px;
}

.read-more {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

/* 联系我们 */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.contact-item h3 {
    color: #0066cc;
    margin-bottom: 15px;
}

/* 页脚 */
/* 页脚 */
.footer {
    background: #333; /* 深色背景（接近黑色） */
    color: rgb(199, 193, 193); /* 原有浅灰文字 */
    text-align: center;
    padding: 10px 0;
}

/* 备案号链接样式（适配深色背景，美观协调） */
.footer a.beian-link {
    color: rgb(199, 193, 193); /* 原有浅灰文字 */
    text-decoration: underline; /* 符合备案展示规范 */
    text-underline-offset: 2px; /* 下划线偏移，更精致 */
    transition: all 0.2s ease; /* 过渡效果，hover 更顺滑 */
}

/* hover 交互优化 */
.footer a.beian-link:hover {
    color: #e0ecff; /* hover 变浅亮蓝，增强视觉反馈 */
    /* text-decoration: none; */ /* 去掉下划线，提升体验 */
}



.container {
    max-width: 1200px;
    /* margin: 0 auto; */
    min-width: 1200px; /* 强制最小宽度 */
    padding: 0 20px;
}

/* 响应式设计 */
/* @media (max-width: 768px) {
    .nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
} */




.btn-blue {
    background-color: #0066cc;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-blue:hover {
    background-color: #0055aa;
}


p {
    margin-top: 20px;    /* 上边距 */
    margin-bottom: 20px; /* 下边距 */
}






.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2980b9;
    margin-bottom: 5px;
}

.stat-name {
    font-size: 0.6rem;
    color: #666;
}








.news-more{text-align:center;margin-top:30px}


 /* 新闻详情页专用样式 */
 .news-detail { padding: 60px 0; background: #fff; }
 .news-detail .container { max-width: 800px; }
 .news-detail h1 { font-size: 24px; color: #333; margin-bottom: 20px; }
 .news-detail .meta { font-size: 14px; color: #999; margin-bottom: 20px; }
 .news-detail .content { line-height: 1.8; color: #333; font-size: 16px; }
 .news-detail .content p { margin: 16px 0; text-align: justify; }

 /* 图片样式 */
 .news-detail .news-image {
     margin: 30px auto;
     text-align: center;
 }
 .news-detail .news-image img {
     max-width: 100%;
     height: auto;
     border-radius: 4px;
     box-shadow: 0 2px 8px rgba(0,0,0,0.1);
 }


 /* 新闻详情页专用样式 */
 .news-detail {
    padding: 60px 0;
    background: #fff;
}

.news-detail .container {
    max-width: 800px;
}

.news-detail h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.news-detail .meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.news-detail .content {
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}

.news-detail .content p {
    margin: 16px 0;
    text-align: justify;
}

/* 图片样式 */
.news-detail .news-image {
    margin: 30px auto;
    text-align: center;
}

.news-detail .news-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.news-detail .content img {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}



/* 全局关闭动画 */
 /* {
    animation: none !important;
    transition: none !important;
    transform: none !important;
} */


/* 允许滚动 */
/* body {
    overflow-y: scroll; 
} */

/* 隐藏滚动条 */
/* body::-webkit-scrollbar {
    width: 0; 
} */




/* 产品图片滑块容器 - 固定尺寸占位 */


 
    /* [原有样式保持不变] */
    .image-viewer {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 9999;
        display: none;
        justify-content: center;
        align-items: center;
    }

    .viewer-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.85);
        cursor: zoom-out;
    }

    .viewer-content {
        position: relative;
        max-width: 90%;
        max-height: 90%;
        z-index: 10;
    }

    .viewer-img {
        max-width: 100%;
        max-height: 85vh;
        border: 4px solid #fff;
        border-radius: 4px;
    }

    .viewer-close {
        position: absolute;
        top: -40px;
        right: 0;
        color: #fff;
        font-size: 36px;
        font-weight: bold;
        cursor: pointer;
        transition: color 0.3s ease;
    }

    .viewer-close:hover {
        color: #ccc;
    }

    .viewer-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 50px;
        height: 50px;
        background-color: rgba(0, 0, 0, 0.5);
        color: #fff;
        border: none;
        border-radius: 50%;
        font-size: 24px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
    }

    .viewer-nav:hover {
        background-color: rgba(0, 91, 172, 0.8);
    }

    .viewer-prev {
        left: -60px;
    }

    .viewer-next {
        right: -60px;
    }

    .viewer-counter {
        position: absolute;
        bottom: -30px;
        left: 0;
        color: #fff;
        font-size: 16px;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 4px 12px;
        border-radius: 16px;
    }

    @media (max-width: 768px) {
        .viewer-nav {
            width: 40px;
            height: 40px;
            font-size: 18px;
        }

        .viewer-prev {
            left: 10px;
        }

        .viewer-next {
            right: 10px;
        }

        .viewer-close {
            top: -35px;
            font-size: 30px;
        }

        .viewer-counter {
            bottom: -25px;
            font-size: 14px;
        }
    }

    #carousel-image {
        cursor: zoom-in;
        transition: transform 0.3s ease;
    }

    #carousel-image:hover {
        transform: scale(1.01);
    }
 