/* 
 * 企业荣誉页面样式
 */

/* 页面标题 */
.page-header {
    background-color: #0066CC;
    color: #fff;
    padding: 100px 0 50px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: #fff;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 荣誉导航 */
.honors-nav {
    background-color: #f9f9f9;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 80px;
    z-index: 100;
}

.filter-options {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #0066CC;
    color: #0066CC;
}

.filter-btn.active {
    background-color: #0066CC;
    border-color: #0066CC;
    color: #fff;
}

/* 荣誉展示 */
.honors-showcase {
    padding: 60px 0;
}

.category-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.category-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #0066CC;
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.honor-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.honor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.honor-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.honor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.honor-item:hover .honor-overlay {
    opacity: 1;
}

.view-btn {
    padding: 10px 20px;
    background-color: #fff;
    color: #333;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background-color: #0066CC;
    color: #fff;
}

.honor-info {
    padding: 20px;
}

.honor-info h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
}

.honor-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9rem;
}

.honor-meta .awarding {
    font-weight: 500;
}

.honor-meta .date {
    color: #999;
}

.honor-info p {
    color: #666;
    line-height: 1.6;
}

/* 荣誉时间线 */
.honors-timeline {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 40px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #0066CC;
    margin: 10px auto 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 50px;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 25px;
    height: 100%;
    width: 2px;
    background-color: #ddd;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
}

.timeline-year {
    position: absolute;
    left: -50px;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: #0066CC;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    z-index: 1;
}

.timeline-content {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .honors-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: 40px;
    }
    
    .timeline:before {
        left: 20px;
    }
    
    .timeline-year {
        left: -40px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .filter-options {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 80%;
        text-align: center;
    }
    
    .page-header {
        padding: 80px 0 30px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .honor-image {
        height: 200px;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline:before {
        left: 15px;
    }
    
    .timeline-year {
        left: -30px;
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .timeline-content {
        padding: 15px;
    }
}