* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    /* background-color: #f8f9fa; */
    background: rgb(255, 255, 255);
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: #f8f9fa;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}

.logo i {
    margin-right: 10px;
    color: #3498db;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    /* color: #333; */
    color: gray;
    /* font-weight: 500; */
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    /* 高级感的无衬线字体 */
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    font-weight: 600; /* 半粗体，显得有力量 */
    font-size: 1.2rem;
    letter-spacing: 1px; /* 增加字间距，显得精致 */
}

.nav-links a:hover,
.nav-links a.active {
    color: #3498db;
    background-color: #f8f9fa;
}

.header-phone {
    color: white;
    background-color: #c4241c;
    padding: 1.4vh 4vw;
    border-radius: 25px;
    overflow: hidden;          /* 遮罩层溢出隐藏 */
    cursor: pointer;
    position: relative;          /* 保证伪元素定位在按钮里 */
}
@media (max-width: 1150px) {
    .phone-hidden {
        display: none;
    }
}

/*  */
.header-phone::before{
    content: "";  /* 必须设置content */
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;

    background: linear-gradient(to right, #333, #333); /* 覆盖颜色渐变 */
    border-radius: 25px;

    border-radius: 25px;
    transform: translateX(-100%);
    transition: transform 0.5s ease;
    z-index: 1;
}

.header-phone:hover::before{
    transform: translateX(0);
}

.header-phone > * {
    position: relative;
    z-index: 2;
  }


.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* 产品标题居中显示 */
.container .product-title{
    text-align: center;
}
/* 业务简介 */
.container .product-desc{
    text-align: center;
}

/* 分类样式 */
.product-category{
    display: flex;
    flex-wrap: wrap; /* 自动换行 */
    gap: 8px; /* 元素之间的间距（可选） */
}
.product-category-item{
    padding: 8px 16px; 
    border: 1px solid gainsboro; 
    color: gray; 
    background-color: whitesmoke; 
    border-radius: 25px;
    white-space: nowrap; /* 文字不换行，避免半截掉下去 */
}
.product-category-item:hover{
    color: white; 
    background-color: black;
}
.product-category-item.active{
    color: white; 
    background-color: black;
}
/* 产品空白样式 */
/* 通用占位样式：水平+垂直居中 */
.product-range-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  
    width: 100%;
    min-height: 240px;
    padding: 32px;
  
    /* background: #f7f8fb; */
    /* border: 2px dashed #e5e7eb; */
    border-radius: 12px;
    color: #9aa0a6;
  
    margin: 32px auto;
  }
  
  /* 图标和文字 */
  .product-range-empty i {
    font-size: 36px;
    margin-right: 12px;
    color: #c7cdd3;
  }
  
  .product-range-empty p {
    margin: 0;
    font-size: 16px;
    color: #9aa0a6;
  }
  
  /* 放在 grid 容器（如 .products-grid）时，跨越所有列，真正居中 */
  .products-grid > .product-range-empty {
    grid-column: 1 / -1;
    justify-self: center;
    align-self: center;
  }
  
  /* 放在 flex 容器时，确保自身也居中 */
  .flex, .d-flex, .products-wrapper {
    /* 如果你的容器类名不同，可忽略此块或替换为你的容器类 */
  }
  .flex > .product-range-empty,
  .d-flex > .product-range-empty,
  .products-wrapper > .product-range-empty {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* 移动端优化 */
  @media (max-width: 600px) {
    .product-range-empty {
      min-height: 160px;
      padding: 24px;
    }
    .product-range-empty i {
      font-size: 28px;
      margin-right: 10px;
    }
    .product-range-empty p {
      font-size: 14px;
    }
  }

/* 轮播图样式 */
#hero-slider {
    position: relative;
    height: 90vh;
    overflow: hidden;
    /* margin-top: 100px; */
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background-color: #3498db;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 3;
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.prev-btn:hover,
.next-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
}

/* 产品展示样式 */
#featured-products {
    padding: 20px 0;
    background: white;
}

/* 筛选条件样式 */
.filter-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.filter-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
}

.filter-group label {
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.9rem;
}

.filter-group select {
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: #3498db;
}

.search-row {
    display: flex;
    justify-content: center;
}

.search-box {
    display: flex;
    max-width: 500px;
    width: 100%;
}

.search-box input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #3498db;
}

.search-box button {
    padding: 1rem 1.5rem;
    background: #3498db;
    border: none;
    color: white;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background: #2980b9;
}

/* 产品网格样式 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.product-card.hidden {
    display: none;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h2 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.product-info p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    flex: 1;
}

.product-price {
    font-size: 1rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.product-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: black;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-align: center;
    margin-top: auto;
}

.product-btn:hover {
    background: white;
    color: black;
}

/* 分页样式 */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 1rem;
}

.pagination-info {
    color: #666;
    font-size: 0.9rem;
    flex: 1;
    min-width: 200px;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pagination-btn {
    /* padding: 0.8rem 1.5rem; */
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: rgb(255, 255, 255);
    color: black;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
   
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 
    0 4px 12px rgba(0, 0, 0, 0.05);; /* 柔和阴影 */

}

.pagination-btn:hover:not(:disabled) {
    background: black;
    color: white;
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    background: white;
    cursor: not-allowed;
    transform: none;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 2px solid #ddd; */
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #666;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 
    0 4px 12px rgba(0, 0, 0, 0.05);; /* 柔和阴影 */
}

.page-number:hover {
    color: white;
    background: black;
    transform: translateY(-2px);
}

.page-number.active {
    background: black;
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* 联系信息样式 */
#contact-info {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* .contact-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
} */

.contact-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.contact-details h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.contact-details p {
    color: #666;
    margin-bottom: 0.5rem;
}

/* 页脚样式 */
footer {
    /* background: #2c3e50; */
    background: rgb(246, 246, 248);
    color: rgb(51, 51, 51);
    padding: 6rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: rgb(51, 51, 51);
    font-weight: 500;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgb(51, 51, 51);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* 产品页面样式 */
#products-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-align: center;
    padding: 120px 0 60px;
}

#products-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#search-filter {
    background: white;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-box {
    display: flex;
    max-width: 500px;
    margin: 0 auto 1rem;
}

.search-box input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
}

.search-box button {
    padding: 1rem 1.5rem;
    background: #3498db;
    border: none;
    color: white;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.filter-options {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-options select {
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

#products-showcase {
    padding: 60px 0;
    background: #f8f9fa;
}

/* 联系我们页面样式 */
.contact-section{
    margin: 40px 0;
}
.contact-group{
    /* width: 80vw; */
    display: flex;
    flex-wrap: wrap; /* 自动换行 */
    justify-content: center; /* 水平居中 */
    gap: 6vw;

}
.contact-item{
    display: table-column; 
    text-align: center; 
    /* border: 1px solid red; */
}
.contact-content{
    font-size: 30px;
}
#contact-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-align: center;
    padding: 120px 0 60px;
}

#contact-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#contact-content {
    padding: 80px 0;
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-icon {
    font-size: 2rem;
    color: #3498db;
    margin-right: 1rem;
    margin-top: 0.5rem;
}

.info-content h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.info-content p {
    color: #666;
    margin-bottom: 0.25rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #2980b9;
}

.submit-btn i {
    margin-right: 0.5rem;
}

#map-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.map-container {
    height: 400px;
    background: #ddd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.map-placeholder {
    text-align: center;
    color: #666;
}

.map-placeholder i {
    font-size: 4rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.spinner {
    border: 6px solid #f3f3f3;       /* 外圈 */
    border-top: 6px solid #3498db;   /* 顶部颜色 */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* 响应式设计 */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .filter-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-group {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .filter-section {
        padding: 1.5rem;
    }
    
    .filter-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-box input,
    .search-box button {
        border-radius: 5px;
        margin-bottom: 0.5rem;
    }
    
    .pagination-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .pagination-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination-info {
        text-align: center;
        min-width: auto;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .filter-options {
        flex-direction: column;
        align-items: center;
    }
    
    .prev-btn,
    .next-btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    nav {
        padding: 1rem;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .product-card {
        margin: 0;
        min-height: 300px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-info h3 {
        font-size: 1.1rem;
    }
    
    .product-price {
        font-size: 1.3rem;
    }
    
    .product-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .filter-section {
        padding: 1rem;
    }
    
    .pagination-numbers {
        gap: 0.3rem;
    }
    
    .page-number {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .pagination-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
} 

/* 新增板块样式 */

/* 通用标题样式 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* 公司简介板块 */
#company-intro {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.intro-text h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
}

.intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 公司证书展示 */
#company-certificates {
    padding: 80px 0;
    background: white;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.certificate-item {
    position: relative;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.certificate-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.certificate-item:hover img {
    transform: scale(1.05);
}

.cert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(52, 152, 219, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-item:hover .cert-overlay {
    opacity: 1;
}

.cert-overlay i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cert-overlay span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* 服务优势板块 */
#service-advantages {
    padding: 80px 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.advantages-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.advantages-text h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.advantages-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #34495e;
    margin-bottom: 2rem;
}

.advantages-list {
    list-style: none;
    padding: 0;
}

.advantages-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #34495e;
}

.advantages-list i {
    color: #27ae60;
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* 轮播样式 */
.advantages-carousel {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 400px; /* 增加高度，让图片更大更清晰 */
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    align-items: center;
}

.carousel-item {
    flex: 0 0 100%; /* 每个图片占满整个容器宽度 */
    position: relative;
    height: 100%;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.carousel-item:hover img {
    transform: scale(1.05);
}

/* 轮播控制按钮 */
.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 20;
}

.carousel-btn {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: white;
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    color: #3498db;
}

.carousel-btn.prev {
    margin-left: 20px;
}

.carousel-btn.next {
    margin-right: 20px;
}

/* 轮播指示点 */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.carousel-dots .dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-dots .dot.active {
    background: #3498db;
    transform: scale(1.3);
    border-color: #3498db;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2);
}

.carousel-dots .dot:hover {
    background: #3498db;
    transform: scale(1.2);
    border-color: #3498db;
}

/* 主要业绩板块 */
#main-achievements {
    padding: 80px 0;
    background: white;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.achievement-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
}

.achievement-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.achievement-info {
    padding: 1.5rem;
}

.achievement-info h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.achievement-info p {
    color: #6c757d;
    line-height: 1.6;
}

/* 环保理念板块 */
#environmental-philosophy {
    padding: 80px 0;
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.philosophy-paragraph {
    margin-bottom: 2rem;
}

.philosophy-paragraph h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.philosophy-paragraph p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #34495e;
}

.philosophy-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 图片预览功能 */
.image-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
}

.image-preview-container {
    background: white;
    border-radius: 15px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
}

.image-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.image-preview-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #f8f9fa;
    color: #2c3e50;
}

.image-preview-content {
    padding: 1.5rem;
}

.image-preview-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .intro-content,
    .advantages-content,
    .philosophy-content {
        gap: 3rem;
    }
    
    .company-stats {
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .intro-content,
    .advantages-content,
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .advantages-carousel {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .carousel-container {
        height: 350px;
    }
    
    .certificates-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .intro-text h3,
    .advantages-text h3 {
        font-size: 1.5rem;
    }
    
    .company-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .advantages-carousel {
        padding: 1.5rem;
    }
    
    .carousel-container {
        height: 300px;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .carousel-btn.prev {
        margin-left: 15px;
    }
    
    .carousel-btn.next {
        margin-right: 15px;
    }
    
    .image-preview-container {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .image-preview-header {
        padding: 1rem;
    }
    
    .image-preview-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    #company-intro,
    #company-certificates,
    #service-advantages,
    #main-achievements,
    #environmental-philosophy {
        padding: 60px 0;
    }
    
    .intro-content,
    .advantages-content,
    .philosophy-content {
        margin-top: 2rem;
    }
    
    .intro-text h3,
    .advantages-text h3 {
        font-size: 1.3rem;
    }
    
    .intro-text p,
    .advantages-text p,
    .philosophy-paragraph p {
        font-size: 1rem;
    }
    
    .cert-overlay span {
        font-size: 1rem;
    }
    
    .image-preview-header h3 {
        font-size: 1.1rem;
    }
    
    .advantages-carousel {
        padding: 1rem;
    }
    
    .carousel-container {
        height: 250px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .carousel-btn.prev {
        margin-left: 10px;
    }
    
    .carousel-btn.next {
        margin-right: 10px;
    }
    
    .carousel-dots .dot {
        width: 14px;
        height: 14px;
    }
} 