﻿/* 关于我们内页样式 */
.about-banner {
    height: 400px;
    width: 100%;
    background: linear-gradient(rgba(22, 41, 136, 0.3), rgba(22, 41, 136, 0.5)), url('../images/about.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner-content {
    text-align: center;
    color: white;
    z-index: 2;
    padding: 0 20px;
}

    .banner-content h1 {
        font-size: 48px;
        margin-bottom: 20px;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
        animation: fadeInDown 1s ease;
    }

    .banner-content p {
        font-size: 20px;
        opacity: 0.9;
        animation: fadeInUp 1s ease 0.3s both;
    }

/* 子导航区域 */
.about-subnav {
    background-color: var(--light-gray);
    padding: 20px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
    z-index: 99;
}

.subnav-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.subnav-item {
    position: relative;
}

.subnav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

    .subnav-link:hover {
        color: var(--primary-red);
    }

    .subnav-link.active {
        color: var(--primary-red);
        font-weight: 600;
    }

        .subnav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: var(--primary-red);
        }

/* 内容区域 - 单栏布局 */
.about-content-section {
    padding: 80px 0;
}

.content-container {
    max-width: 1200px;
    ;
    margin: 0 auto;
}

/* 企业简介部分 */
.company-profile {
    margin-bottom: 70px;
    background-color: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

    .company-profile:hover {
        transform: translateY(-5px);
    }

.profile-header {
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

    .profile-header h2 {
        font-size: 32px;
        color: var(--dark-blue);
        margin-bottom: 10px;
    }

    .profile-header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 80px;
        height: 3px;
        background-color: var(--primary-red);
    }

.profile-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

    .profile-content p {
        margin-bottom: 20px;
    }

.highlight-box {
    background-color: rgba(22, 41, 136, 0.05);
    border-left: 4px solid var(--primary-red);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

    .highlight-box p {
        margin-bottom: 0;
        font-style: italic;
        color: var(--dark-blue);
        font-weight: 500;
    }

/* 企业文化部分 */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.culture-item {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid rgba(22, 41, 136, 0.1);
}

    .culture-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        border-color: var(--primary-red);
    }

.culture-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(22, 41, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

    .culture-icon i {
        font-size: 24px;
        color: var(--primary-blue);
    }

.culture-item h3 {
    font-size: 20px;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.culture-item p {
    color: var(--text-color);
    line-height: 1.6;
}

/* 联系信息卡片 */
.contact-card {
    background: linear-gradient(135deg, var(--light-gray) 0%, white 100%);
    border-radius: 12px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(22, 41, 136, 0.1);
}

    .contact-card h3 {
        font-size: 28px;
        color: var(--dark-blue);
        margin-bottom: 30px;
        text-align: center;
        position: relative;
        padding-bottom: 15px;
    }

        .contact-card h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background-color: var(--primary-red);
        }

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

    .contact-info-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(231, 0, 17, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

    .contact-icon i {
        font-size: 20px;
        color: var(--primary-red);
    }

.contact-text h4 {
    font-size: 16px;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--text-color);
    line-height: 1.5;
}

.contact-btn-container {
    text-align: center;
    margin-top: 40px;
}

.contact-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-red);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-red);
}

    .contact-btn:hover {
        background-color: transparent;
        color: var(--primary-red);
        transform: translateY(-3px);
    }

/* 荣誉资质部分 */
.honor-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.honor-item {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-blue);
    transition: transform 0.3s ease;
}

    .honor-item:hover {
        transform: translateY(-5px);
        border-left-color: var(--primary-red);
    }

    .honor-item i {
        color: var(--primary-red);
        margin-right: 10px;
    }

/* 地图部分 */
.map-container {
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(22, 41, 136, 0.1);
}

.map-header {
    background-color: var(--primary-blue);
    color: white;
    padding: 20px;
    text-align: center;
}

    .map-header h3 {
        margin: 0;
        font-size: 20px;
    }

.map-placeholder {
    height: 300px;
    background-color: #f5f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .content-container {
        padding: 0 20px;
    }

    .culture-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .about-banner {
        height: 300px;
    }

    .banner-content h1 {
        font-size: 36px;
    }

    .banner-content p {
        font-size: 16px;
    }

    .about-content-section {
        padding: 60px 0;
    }

    .subnav-container {
        gap: 15px;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .subnav-item {
        flex-shrink: 0;
    }

    .company-profile {
        padding: 30px 20px;
        margin-bottom: 50px;
    }

    .profile-header h2 {
        font-size: 28px;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .honor-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-banner {
        height: 250px;
    }

    .banner-content h1 {
        font-size: 28px;
    }

    .culture-grid {
        grid-template-columns: 1fr;
    }

    .culture-item {
        padding: 20px;
    }

    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* 动画 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
