/* Banner样式 */
.about-banner {
    height: 50vh;
    min-height: 400px;
    background-image: url('../images/about/about-banner.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.about-banner h1 {
    color: #fff;
    font-size: 48px;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 通用section样式 */
section {
    padding: 80px 0;
    background: #1a1a1a;
}

.section-title {
    text-align: center;
    color: #fff;
    font-size: 36px;
    margin-bottom: 30px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: #C6A57E;
    margin: 12px auto 0;
}

/* 公司简介部分 */
.company-profile-section {
    background: #1a1a1a;
    position: relative;
    padding: 80px 0;
}

.profile-wrapper {
    position: relative;
    width: 100%;
    min-height: 600px;
}

.profile-content {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px 0;
}

/* 文字容器样式 */
.profile-text-container {
    width: 75%;
    background: rgba(26, 26, 26, 0.95);
    padding: 35px 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    margin-right: -25%;
    margin-top: 35px;
    margin-left: 5%;
}

.profile-text {
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}

.profile-text p {
    margin-bottom: 20px;
}

/* 图片容器样式 */
.profile-image {
    width: 75%;
    height: 600px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    margin: 50px 0;
}

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

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

/* 数据统计样式 */
.company-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    color: #C6A57E;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    color: #fff;
    font-size: 14px;
}

/* 企业文化部分 */
.company-culture-section {
    position: relative;
    background: none;
    overflow: hidden;
}

/* 背景图片遮罩 */
.culture-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/about/culture-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* 添加新的黑色遮罩层 */
.culture-bg-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);  /* 黑色遮罩，60%透明度 */
}

.company-culture-section .container {
    position: relative;
    z-index: 2;
}

/* 文化卡片容器 */
.culture-cards {
    display: flex;
    gap: 20px;
    min-height: 150px;
}

/* 文化卡片样式 */
.culture-card {
    flex: 1;
    background: rgba(26, 26, 26, 0.9);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.5s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.culture-card.active {
    flex: 2;
    justify-content: flex-start;
}

.card-header {
    padding: 15px;
    font-size: 24px;
    color: #C6A57E;
    font-weight: bold;
    border-bottom: none;
}

.card-content {
    padding: 15px;
    color: #fff;
    line-height: 1.8;
    opacity: 0;
    height: 0;
    transition: all 0.5s ease;
    text-align: center;
    margin-top: -10px;
}

.card-content p {
    font-size: 20px;
    font-weight: 600;
}

.culture-card.active .card-content {
    opacity: 1;
    height: auto;
    min-height: 120px;
    padding: 15px 15px 25px;
}

/* 非激活状态下只显示标题 */
.culture-card:not(.active) .card-header {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0;
}

/* 鼠标悬停效果 */
.culture-card:hover {
    background: rgba(26, 26, 26, 0.95);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .profile-content {
        flex-direction: column;
    }

    .profile-text-container {
        width: 100%;
        margin: 0;
        padding: 30px;
    }

    .profile-image {
        width: 100%;
        height: 400px;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .about-banner {
        height: 300px;
    }

    .about-banner h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .section-title:after {
        margin: 8px auto 0;
    }

    section {
        padding: 50px 0;
    }

    .company-stats {
        flex-direction: column;
        gap: 30px;
    }

    .profile-image {
        height: 300px;
    }

    .stat-item {
        flex: 1 1 100%;
    }

    .culture-cards {
        min-height: auto;
    }

    .culture-card {
        padding: 15px 0;
    }

    .culture-card:not(.active) .card-header {
        position: static;
        transform: none;
    }

    .card-content p {
        font-size: 18px;
    }
}

/* 企业文化部分的背景蒙版 */
.culture-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);  /* 修改为黑色蒙版，透明度60% */
    z-index: 1;
} 