/* 关于我们页面样式 */

/* 海报区域 */
.about-banner,
.products-banner {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.about-banner img,
.products-banner img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

/* 面包屑导航 */
.breadcrumb {
    background: #f5f5f5;
    padding: 20px 0;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
}

.breadcrumb a:hover {
    color: #22d967;
}

.breadcrumb .separator {
    color: #999;
    margin: 0 8px;
    font-size: 15px;
}

.breadcrumb .current {
    color: #333;
    font-size: 15px;
}

/* 通用标题样式 */
.section-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 40px 0;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #22d967;
}

/* 公司简介区域 */
.company-profile {
    padding: 60px 0;
    background: #fff;
}

.profile-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.profile-text {
    flex: 1;
}

.profile-title {
    text-align: left;
    margin-bottom: 40px;
}

.profile-title h2 {
    font-size: 48px;
    font-weight: 500;
    color: #333;
    margin: 0 0 2px 0;
    letter-spacing: 2px;
}

.profile-title span {
    font-size: 14px;
    color: #333;
    letter-spacing: 3px;
    display: block;
    margin-left: 120px;
}

.profile-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.profile-image {
    flex: 0 0 400px;
}

.profile-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* 企业文化区域 */
.company-culture {
    padding: 60px 0;
    background: #fff;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.culture-item {
    background: #fff;
    padding: 16px 22px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #22d967;
    transition: all 0.3s ease;
}

.culture-item:hover {
    box-shadow: 0 8px 25px rgba(34, 217, 103, 0.3);
    transform: translateY(-5px);
}

.culture-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto 20px;
    display: block;
    transition: transform 0.3s;
}

.culture-item:hover .culture-icon {
    transform: scale(1.1);
}

.culture-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.culture-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 荣誉资质区域 */
.company-honor {
    padding: 60px 0;
    background: #fff;
}

.honor-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.honor-item {
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.honor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.honor-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    border: 1px solid #ddd;
    transition: transform 0.3s;
}

.honor-item:hover .honor-image {
    transform: scale(1.05);
}

/* 图片放大查看的模态框 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #22d967;
}

#modalImage {
    max-width: 100%;
    max-height: 85vh;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .culture-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .profile-content {
        flex-direction: column;
        gap: 40px;
    }

    .profile-image {
        flex: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .profile-title h2 {
        font-size: 36px;
    }

    .culture-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .honor-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .about-banner,
    .products-banner {
        height: 200px;
    }

    .about-banner img,
    .products-banner img {
        height: 200px;
    }

    .company-profile,
    .company-culture,
    .company-honor {
        padding: 30px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .profile-content {
        gap: 30px;
    }

    .profile-title h2 {
        font-size: 28px;
    }

    .profile-title span {
        margin-left: 80px;
    }

    .profile-desc {
        font-size: 15px;
    }

    .culture-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .culture-item {
        padding: 15px;
    }

    .culture-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .culture-title {
        font-size: 16px;
    }

    .culture-desc {
        font-size: 13px;
    }

    .honor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .about-banner,
    .products-banner {
        height: 140px;
    }

    .about-banner img,
    .products-banner img {
        height: 140px;
    }

    .profile-title h2 {
        font-size: 24px;
    }

    .profile-title span {
        margin-left: 60px;
    }

    .culture-grid {
        grid-template-columns: 1fr;
    }

    .honor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}