/* 关于我们页面专用样式 */

/* Banner 区域 */
.about-banner {
    position: relative;
    height: 850px;
    margin-top: 80px; /* 导航栏高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible; /* 允许底部卡片溢出 */
}

.about-banner .banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.about-banner .banner-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.about-banner .banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    margin-top: -80px;
}

.about-banner .banner-title-img img {
    max-width: 1000px;
    height: auto;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 公司介绍 */
.company-intro {
    padding: 100px 0;
    background: #fcfcfc;
    position: relative;
    overflow: hidden;
}

.intro-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 60px 80px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
}

/* 背景大字背景装饰 */
.company-intro::before {
    content: '';
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: url('../images/our-h.png') no-repeat center;
    background-size: contain;
    z-index: 1;
    pointer-events: none;
    opacity: 0.1;
}

.intro-left {
    flex: 1;
}

.intro-title h2 {
    font-size: 42px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.intro-title .line {
    width: 50px;
    height: 4px;
    background-color: #0b459c;
    margin-bottom: 60px;
}

.intro-content p {
    font-size: 16px;
    color: #666;
    line-height: 2;
    margin-bottom: 30px;
    text-align: justify;
}

.intro-right {
    flex: 1;
}

.intro-img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 董事长致辞 */
.chairman-speech {
    padding: 100px 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.chairman-container {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.chairman-left {
    flex: 0 0 45%;
}

.chairman-title h2 {
    font-size: 42px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.chairman-title .line {
    width: 50px;
    height: 4px;
    background-color: #0b459c;
    margin-bottom: 30px;
}

.chairman-img-box {
    position: relative;
    display: flex;
    align-items: flex-end;
}

.chairman-photo {
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast; /* 提高图片清晰度 */
}

.chairman-name-info {
    position: absolute;
    right: -60px;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 5;
}

.chairman-name-info .post {
    writing-mode: vertical-rl;
    font-size: 18px;
    color: #333;
    letter-spacing: 6px;
    font-weight: 500;
    margin-bottom: 5px;
}

.chairman-name-info .signature {
    width: 140px;
    height: auto;
}

.chairman-right {
    flex: 1;
    padding-top: 80px;
}

.speech-wrapper {
    position: relative;
    padding: 20px 60px;
}

.quote-top {
    position: absolute;
    top: -20px;
    left: 0;
    width: 45px;
    opacity: 0.2; /* 稍微调淡一点，更高级 */
}

.quote-bottom {
    position: absolute;
    bottom: -20px;
    right: 0;
    width: 45px;
    opacity: 0.2;
}

.speech-text p {
    font-size: 16px;
    color: #666;
    line-height: 2;
    margin-bottom: 25px;
    text-align: justify;
}

/* 特色板块 */
.feature-cards {
    padding: 60px 0 100px;
    background: #fff;
}

.feature-container {
    display: flex;
    gap: 40px;
}

.feature-card {
    flex: 1;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #fff;
}

.card-overlay h3 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.card-overlay h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #fff;
}

.card-overlay p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 8px;
    font-weight: 300;
    opacity: 0.9;
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .info-cards-wrapper {
        width: 95%;
    }
    .intro-container {
        flex-direction: column;
        padding: 40px 20px;
    }
    .intro-left {
        flex: none;
        width: 100%;
        margin-bottom: 40px;
    }
    .intro-right {
        margin-left: 0;
        width: 100%;
    }
    .chairman-container {
        flex-direction: column;
        gap: 40px;
    }
    .chairman-left {
        width: 100%;
    }
    .chairman-name-info {
        right: 20px;
        bottom: 40px;
    }
    .chairman-right {
        padding-top: 0;
    }
    .img-group {
        justify-content: center;
    }
    .building-img {
        width: 250px;
        height: auto;
        right: 0;
    }
}

@media (max-width: 768px) {
    .about-banner {
        height: auto; /* 改为自动高度 */
        margin-top: 60px;
        display: flex;
        flex-direction: column;
    }
    .about-banner .banner-bg {
        height: 300px; /* 背景仅覆盖顶部 Banner 区域 */
        position: absolute;
    }
    .about-banner .banner-content {
        height: 300px; /* 与背景高度一致 */
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0;
        width: 100%;
    }
    .about-banner .banner-title-img img {
        max-width: 80%;
    }
    .info-cards-wrapper {
        position: relative; /* 取消绝对定位 */
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: none;
        padding: 0;
        margin-top: 0;
        z-index: 10;
        background: #fff;
    }
    .info-cards {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2x2 布局 */
        gap: 20px;
        padding: 30px 15px;
        border-radius: 0; /* 取消圆角 */
        box-shadow: none; /* 取消阴影，使其更平整 */
        border-bottom: 1px solid #eee;
    }
    .info-card {
        border-right: none;
        padding: 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .info-card .card-icon {
        width: 45px;
        height: 45px;
        padding: 10px;
        margin-right: 0;
        margin-bottom: 12px;
        border-radius: 10px;
    }
    .info-card .card-text h3 {
        font-size: 15px;
        margin-bottom: 6px;
        color: #333;
    }
    .info-card .card-text p {
        font-size: 12px;
        line-height: 1.4;
        color: #666;
    }
    .company-intro::before {
        display: none;
    }
    .intro-container {
        padding: 30px 15px;
        border-radius: 0;
        box-shadow: none;
        border: none;
        border-top: 1px solid #f0f0f0;
        border-bottom: 1px solid #f0f0f0;
    }
    .intro-title h2 {
        font-size: 28px;
    }
    .intro-content p {
        font-size: 14px;
        line-height: 1.8;
    }
    .chairman-speech {
        padding: 60px 0;
    }
    .chairman-title h2 {
        font-size: 28px;
    }
    .chairman-name-info .signature {
        width: 100px;
    }
    .speech-wrapper {
        padding: 0 20px;
    }
    .quote-top {
        left: 0;
        right: auto;
    }
    .quote-top, .quote-bottom {
        width: 30px;
        opacity: 0.3;
    }
    .speech-text p {
        font-size: 14px;
        line-height: 1.8;
    }
    .img-group {
        flex-direction: column;
        gap: 20px;
    }
    .map-container {
        margin-right: 0;
        width: 100%;
    }
    .building-img {
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 10px;
    }
    .feature-cards {
        padding: 40px 0 60px;
    }
    .feature-container {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        padding: 0 15px;
    }
    .feature-card {
        flex: 0 0 calc(50% - 10px);
        height: 220px;
    }
    .card-overlay {
        padding: 20px;
    }
    .card-overlay p {
        font-size: 14px;
    }
    .card-overlay h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .about-banner .banner-bg {
        height: 200px;
    }
    .about-banner .banner-content {
        height: 200px;
    }
    .about-banner .banner-title-img img {
        max-width: 90%;
    }
    .info-cards-wrapper {
        bottom: 0;
    }
    .info-cards {
        gap: 15px;
        padding: 20px 10px;
    }
    .feature-card {
        flex: 0 0 100%;
        height: 180px;
    }
    .company-intro {
        padding-top: 30px;
    }
}
