/* 资质荣誉模块样式 - 使用项目标准样式规范 */

/* 资质荣誉容器 */
.honor-section {
    padding: 60px 0;
    background-color: #f7f7f7;
}

/* 使用项目标准标题样式 */
.honor-section .ind_title {
    text-align: center;
    padding-bottom: 42px;
}

/* 资质荣誉内容区域 */
.honor-content {
    position: relative;
    padding: 0 20px;
}

/* Owl Carousel 自定义样式 */
.honor-carousel {
    position: relative;
}

.honor-carousel .owl-item {
    transition: all 0.5s;
}

.honor-carousel .owl-item .honor-item {
    text-align: center;
    padding: 20px;
}

.honor-carousel .owl-item .honor-pic {
    width: 210px;
    height: 280px;
    margin: 0 auto;
    position: relative;
    transition: all 0.5s;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.honor-carousel .owl-item .honor-pic img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    transition: all 0.5s;
}

.honor-carousel .owl-item .honor-title {
    text-align: center;
    color: #2c2c2c;
    font-size: 20px;
    height: 40px;
    line-height: 40px;
    margin-top: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: none;
}

/* 激活状态的样式 */
.honor-carousel .owl-item.active .honor-pic {
    width: 360px;
    height: 450px;
}

.honor-carousel .owl-item.active .honor-title {
    display: block;
}

/* 导航按钮样式 */
.honor-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    cursor: pointer;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    position: relative;
    background: none;
    border: none;
    padding: 0;
}

.honor-nav:hover {
    opacity: 0.8;
}

.honor-nav:before {
    content: '';
    display: block;
    width: 74px;
    height: 74px;
    border: 1px #bfbfbf solid;
    border-radius: 50%;
    opacity: 0.27;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.5s;
}

.honor-nav:after {
    content: '';
    display: block;
    width: 60px;
    height: 60px;
    border: 1px #bfbfbf solid;
    border-radius: 50%;
    position: absolute;
    top: 7px;
    left: 7px;
    transition: all 0.5s;
}

.honor-nav:hover:before,
.honor-nav:hover:after {
    border-color: #e70012;
}

.honor-nav .nav-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    z-index: 2;
}

.honor-nav .nav-icon svg {
    fill: #b6b6b6;
    width: 100%;
    height: 100%;
    transition: all 0.5s;
}

.honor-nav:hover .nav-icon svg {
    fill: #e70012;
}

.honor-nav-prev {
    left: 66px;
}

.honor-nav-next {
    right: 66px;
}

.honor-nav .nav-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    line-height: 36px;
    white-space: nowrap;
}

.honor-nav-prev .nav-text {
    left: 94px;
    text-align: left;
}

.honor-nav-next .nav-text {
    right: 94px;
    text-align: right;
}

.nav-text .title-1 {
    color: #999999;
    font-size: 16px;
}

.nav-text .title-2 {
    color: #2c2c2c;
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 200px;
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .honor-carousel .owl-item .honor-pic {
        width: 150px;
        height: 200px;
    }
    
    .honor-carousel .owl-item.active .honor-pic {
        width: 250px;
        height: 320px;
    }
    
    .honor-nav {
        width: 50px;
        height: 50px;
    }
    
    .honor-nav:before {
        width: 50px;
        height: 50px;
    }
    
    .honor-nav:after {
        width: 40px;
        height: 40px;
        top: 5px;
        left: 5px;
    }
    
    .honor-nav .nav-icon {
        width: 20px;
        height: 20px;
    }
    
    .honor-nav-prev {
        left: 10px;
    }
    
    .honor-nav-next {
        right: 10px;
    }
    
    .honor-nav .nav-text {
        display: none;
    }
}

/* 点击放大遮罩层 */
.honor-lightbox-overlay {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.honor-lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

.honor-lightbox-overlay .honor-lightbox-close {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.honor-lightbox-overlay .honor-lightbox-close:before,
.honor-lightbox-overlay .honor-lightbox-close:after {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  width: 2px;
  height: 32px;
  background: #fff;
}

.honor-lightbox-overlay .honor-lightbox-close:before {
  transform: rotate(45deg);
}

.honor-lightbox-overlay .honor-lightbox-close:after {
  transform: rotate(-45deg);
}
