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

/* ==================== Banner区域 ==================== */
.at-banner {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
}

.at-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.at-banner-content {
    text-align: center;
    z-index: 1;
}

.at-banner-title {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* 移动端适配 */
@media (max-width: 767px) {
    .at-banner {
        height: 150px;
    }
    
    .at-banner-title {
        font-size: 28px;
    }
}

/* 小屏移动端适配 */
@media (max-width: 480px) {
    .at-banner {
        height: 150px;
    }
}

/* 平板端适配 */
@media (max-width: 991px) {
    .at-banner {
        height: 200px;
    }
}

/* ==================== 公司介绍 ==================== */
.at-company-section {
    margin: 40px 0;
}

/* 公司介绍标题区域 */
.at-company-section .at-section-header {
    position: relative;
    z-index: 3;
    margin-bottom: 0;
}

/* 公司介绍内容区域 */
.at-company-content-wrapper {
    position: relative;
    height: 500px;
    overflow: visible;
    width: 100vw;
    margin-left: -50vw;
    left: 50%;
    margin-top: 50px;
    background-image: url('../images/公司介绍背景.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.at-company-content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
    opacity: 1;
    filter: grayscale(70%);
}

/* 公司介绍内容 */
.at-company-content {
    position: relative;
    z-index: 2;
    width: 74%;
    margin: 0 auto;
    height: 100%;
    text-align: center;
}

/* 公司图片 */
.at-company-image {
    display: inline-block;
    position: relative;
    z-index: 3;
    width: auto;
    max-width: 45%;
    vertical-align: middle;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease;
}

.at-company-image img {
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-radius: 0;
    position: relative;
    top: 50px;
    background-color: transparent;
    z-index: 4;
    width: 500px;
    height: 500px;
}

/* 公司信息 */
.at-company-info {
    display: inline-block;
    color: #fff;
    padding: 40px;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    margin-top: 0;
    position: relative;
    z-index: 3;
    width: 45%;
    vertical-align: middle;
    text-align: left;
}

.at-company-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding-bottom: 10px;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease;
}

.at-company-divider {
    display: none;
}

.at-company-description {
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 2px;
    color: #fff;
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease;
    transition-delay: 0.3s;
}

/* 触发动画的类 */
.at-company-content.animate-in .at-company-image {
    opacity: 1;
    transform: translateX(0);
}

.at-company-content.animate-in .at-company-title {
    opacity: 1;
    transform: translateX(0);
}

.at-company-content.animate-in .at-company-description {
    opacity: 1;
    transform: translateX(0);
}

/* 公司介绍标题样式 */
.at-company-section .at-section-title {
    color: #D81519;
    font-weight: bold;
}

.at-company-section .at-section-subtitle-en {
    font-size: 18px;
    color: #666;
    font-weight: normal;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.at-company-section .at-section-subtitle-en::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #D81519;
    display: none;
}

.at-company-section .at-section-desc {
    font-size: 16px;
    color: #333;
    font-weight: normal;
}

.at-company-description p {
    margin-bottom: 15px;
}

/* ==================== 4大优势标题 ==================== */
.at-new-advantage-section {
    padding: 90px 0;
    background-color: #D81617;
    color: #fff;
    height: 500px;
}

.at-new-advantage-section .at-section-header {
    text-align: center;
    margin-bottom: 0;
}

.at-new-advantage-section .at-section-title {
    font-size: 52px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}

.at-new-advantage-section .at-section-subtitle-en {
    font-size: 24px;
    color: #fff;
    margin-bottom: 15px;
}

.at-new-advantage-section .at-title-underline {
    width: 100%;
    max-width: 900px;
    height: 1px;
    background-color: #ffffff;
    margin: 0 auto 15px;
    position: relative;
}

.at-new-advantage-section .at-title-underline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 9px;
    background-color: #fff;
}

.at-new-advantage-section .at-section-desc {
    font-size: 24px;
    color: #fff;
    margin-top: 10px;
}

/* ==================== 优势卡片 ==================== */
.at-advantage-cards-section {
    padding: 60px 0;
    margin-top: -210px;
    position: relative;
    z-index: 2;
    padding-bottom: 50px;
    background-image: url('../images/优势-背景.jpg');
    background-position: bottom;
    background-size: 100%;
    background-repeat: no-repeat;
}

/* 优势卡片 */
.at-advantage-cards {
    margin-top: 0;
}

.at-advantage-card {
    background-color: #F3F3F3;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
}

.at-advantage-card-content {
    display: flex;
    align-items: center;
    height: 100%;
}

/* 单数卡片左文右图的边距调整 */
.at-advantage-card:nth-child(odd) .at-advantage-card-right {
    padding: 20px 20px 20px 0;
}

/* 双数卡片左图右文的边距调整 */
.at-advantage-card:nth-child(even) .at-advantage-card-right {
    padding: 20px 20px 20px 20px;
    justify-content: flex-start;
}

.at-advantage-card-left {
    flex: 0 0 40%;
    padding: 60px 40px;
    position: relative;
    text-align: left;
    overflow: hidden;
}

/* 文字飞入动画 */
.at-advantage-card-header,
.at-advantage-card-text,
.at-advantage-card-english,
.at-advantage-card-link {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease;
}

.at-advantage-card-text {
    transition-delay: 1.2s;
}

.at-advantage-card-english {
    transition-delay: 1.4s;
}

.at-advantage-card-link {
    transition-delay: 1.6s;
}

/* 触发动画的类 */
.at-advantage-card-left.animate-in .at-advantage-card-header,
.at-advantage-card-left.animate-in .at-advantage-card-text,
.at-advantage-card-left.animate-in .at-advantage-card-english,
.at-advantage-card-left.animate-in .at-advantage-card-link {
    opacity: 1;
    transform: translateX(0);
}

.at-advantage-card-bg-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 80px;
    font-weight: bold;
    text-align: left;
    line-height: 1;
    padding: 60px 40px;
    z-index: 1;
    background: linear-gradient(to bottom, #e5e5e5, #f8f8f8, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.at-advantage-card-left > *:not(.at-advantage-card-bg-text) {
    position: relative;
    z-index: 2;
}

.at-advantage-card-header {
    display: flex;
    align-items: flex-end;
    margin-bottom: 20px;
    margin-top: 48px;
    height: 70px;
    padding-left: 10px;
}

.at-advantage-card-number {
    font-size: 80px;
    font-weight: bold;
    color: #D81617;
    margin-bottom: 0;
    margin-top: 0;
    text-align: left;
    line-height: 1;
    letter-spacing: -6px;
    margin-right: 10px;
}

.at-advantage-card-title {
    font-size: 30px;
    font-weight: bold;
    color: #333;
    margin-bottom: 0;
    text-align: left;
    line-height: 1;
    padding-bottom: 10px;
}

.at-advantage-card-text {
    font-size: 18px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: left;
    text-indent: 2em;
    min-height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.at-advantage-card-english {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: left;
}

.at-advantage-card-link {
    display: inline-block;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    background-color: #D81617;
    padding: 8px 16px;
    border: 2px solid #D81617;
    border-radius: 4px;
    text-align: center;
    display: inline-block;
    margin-left: 0;
}

.at-advantage-card-link:hover {
    background-color: #fff;
    color: #D81617;
}

.at-advantage-card-right {
    flex: 0 0 60%;
    display: flex;
    align-items: center;
    justify-content: left;
    overflow: hidden;
}

/* 图片动画效果 */
.at-advantage-card-right img {
    border-radius: 8px;
    opacity: 0;
    transform: scale(0.3) rotate(-10deg);
    transition: all 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 触发动画的类 */
.at-advantage-card.animate-in .at-advantage-card-right img {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* ==================== 工厂图片 ==================== */
.at-factory-section {
    margin-top: 90px;
}

.at-factory-section .at-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.at-factory-section .at-section-title {
    color: #D81519;
    font-size: 40px;
    font-weight: bold;
    margin: 0;
}

.at-factory-section .at-title-divider {
    color: #D81519;
    font-size: 32px;
    font-weight: normal;
    margin: 0 15px;
}

.at-factory-section .at-section-subtitle-en {
    color: #D81519;
    font-size: 22px;
    font-weight: bold;
    margin: 0;
    align-self: flex-end;
}

/* 工厂图片网格 */
.at-factory-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    position: relative;
    border: 3px solid #D81519;
    padding: 20px;
    background-color: #D81519;
}

/* 大图片 */
.at-factory-item-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    border: 3px solid #D81519;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.8) rotate(-5deg);
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 小图片 */
.at-factory-item {
    position: relative;
    overflow: hidden;
    border: 3px solid #D81519;
    opacity: 0;
    transform: scale(0.8) rotate(5deg);
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.at-factory-item:hover {
    transform: translateY(-5px);
}

.at-factory-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

/* 触发动画的类 */
.at-factory-grid.animate-in .at-factory-item-large,
.at-factory-grid.animate-in .at-factory-item {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* 为不同位置的图片设置不同的动画延迟 */
.at-factory-grid.animate-in .at-factory-item-large {
    transition-delay: 0s;
}

.at-factory-grid.animate-in .at-factory-item:nth-child(2) {
    transition-delay: 0.2s;
}

.at-factory-grid.animate-in .at-factory-item:nth-child(3) {
    transition-delay: 0.4s;
}

.at-factory-grid.animate-in .at-factory-item:nth-child(4) {
    transition-delay: 0.6s;
}

.at-factory-grid.animate-in .at-factory-item:nth-child(5) {
    transition-delay: 0.8s;
}

.at-factory-item:hover img {
    transform: scale(1.05);
}

/* ==================== 标题区域通用样式 ==================== */
.at-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.at-section-title {
    font-size: 32px;
    font-weight: bold;
    color: #D81916;
    margin-bottom: 10px;
}

.at-section-subtitle-en {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
}

.at-title-underline {
    width: 100%;
    max-width: 900px;
    height: 1px;
    background-color: #ccc;
    margin: 0 auto 15px;
    position: relative;
}

.at-title-underline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 8px;
    background-color: var(--primary-red);
}

.at-section-desc {
    font-size: 24px;
    color: #333;
}

/* ==================== 响应式设计 ==================== */

/* 平板端适配 */
@media (max-width: 991px) {
    /* 平板端4大优势标题 */
    .at-new-advantage-section {
        padding: 50px 0;
        background-color: #D81617;
        color: #fff;
        height: auto;
    }
    
    .at-new-advantage-section .at-section-title {
        font-size: 28px;
        color: #fff;
    }
    
    .at-new-advantage-section .at-section-subtitle-en {
        color: #fff;
    }
    
    .at-new-advantage-section .at-section-desc {
        color: #fff;
    }
    
    .at-new-advantage-section .at-title-underline {
        background-color: rgba(255, 255, 255, 0.5);
    }
    
    .at-new-advantage-section .at-title-underline::before {
        background-color: #fff;
    }
    
    /* 平板端优势卡片 */
    .at-advantage-cards-section {
        padding: 0;
        margin-top: 0;
    }
    
    .at-advantage-cards {
        margin-top: 0;
    }
    
    .at-advantage-card {
        margin-bottom: 30px;
    }
    
    .at-advantage-card-content {
        flex-direction: column;
    }
    
    .at-advantage-card-left {
        flex: 100%;
        padding: 40px 30px;
        width: 100%;
        overflow: visible;
    }
    
    /* 平板端禁用动画效果 */
    .at-advantage-card-header,
    .at-advantage-card-text,
    .at-advantage-card-english,
    .at-advantage-card-link {
        opacity: 1;
        transform: translateX(0);
        animation: none;
    }
    
    .at-advantage-card-right {
        flex: 100%;
        padding: 30px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible;
    }
    
    .at-advantage-card-right img {
        width: 100%;
        height: auto;
        max-width: 100%;
        opacity: 1;
        transform: scale(1) rotate(0deg);
        transition: none;
    }
    
    .at-advantage-card-number {
        font-size: 48px;
        margin-bottom: 15px;
    }
    
    .at-advantage-card-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .at-advantage-card-text {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .at-advantage-card-english {
        font-size: 12px;
        margin-bottom: 20px;
    }
    
    /* 平板端工厂图片 */
    .at-factory-section {
        margin-top: 0;
    }
    
    .at-factory-section .at-section-title {
        font-size: 24px;
    }
    
    .at-factory-section .at-title-divider {
        font-size: 24px;
    }
    
    .at-factory-section .at-section-subtitle-en {
        font-size: 16px;
    }
    
    .at-factory-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }
    
    .at-factory-item-large {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
        opacity: 1;
        transform: scale(1) rotate(0deg);
        transition: none;
    }
    
    .at-factory-item {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        transition: none;
    }
    
    /* 平板端公司介绍 */
    .at-company-content-wrapper {
        height: auto;
        min-height: 400px;
    }
    
    .at-company-content {
        text-align: center;
        width: 90%;
        display: block;
    }
    
    .at-company-image {
        display: block;
        width: 100%;
        max-width: 100%;
        padding-top: 20px;
        opacity: 1;
        transform: translateX(0);
        transition: none;
    }
    
    .at-company-image img {
        width: 100%;
        height: auto;
        top: 0;
    }
    
    .at-company-info {
        display: block;
        width: 100%;
        padding: 30px;
        margin-top: 20px;
    }
    
    .at-company-title {
        opacity: 1;
        transform: translateX(0);
        transition: none;
    }
    
    .at-company-description {
        opacity: 1;
        transform: translateX(0);
        transition: none;
    }
    
    .at-company-section .at-section-title {
    }
    
    .at-company-section .at-section-subtitle-en {
        font-size: 16px;
    }
    
    .at-company-section .at-section-desc {
        font-size: 14px;
    }
}

/* 手机端适配 */
@media (max-width: 767px) {
    /* 手机端4大优势标题 */
    .at-new-advantage-section {
        padding: 40px 0;
        background-color: #D81617;
        color: #fff;
        height: auto;
    }
    
    .at-new-advantage-section .at-section-title {
        font-size: 24px;
        color: #fff;
    }
    
    .at-new-advantage-section .at-section-subtitle-en {
        color: #fff;
        font-size: 14px;
    }
    
    .at-new-advantage-section .at-section-desc {
        color: #fff;
        font-size: 14px;
    }
    
    .at-new-advantage-section .at-title-underline {
        background-color: rgba(255, 255, 255, 0.5);
    }
    
    .at-new-advantage-section .at-title-underline::before {
        background-color: #fff;
    }
    
    /* 手机端优势卡片 */
    .at-advantage-cards-section {
        padding: 0;
        margin-top: 0;
    }
    
    .at-advantage-cards {
        margin-top: 0;
    }
    
    .at-advantage-card {
        margin-bottom: 20px;
    }
    
    .at-advantage-card-content {
        flex-direction: column;
    }
    
    .at-advantage-card-left {
        padding: 30px 20px;
        flex: 100%;
        width: 100%;
        overflow: visible;
    }
    
    /* 手机端禁用动画效果 */
    .at-advantage-card-header,
    .at-advantage-card-text,
    .at-advantage-card-english,
    .at-advantage-card-link {
        opacity: 1;
        transform: translateX(0);
        animation: none;
    }
    
    .at-advantage-card-header {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        justify-content: center;
        text-align: center;
        height: auto;
    }
    
    .at-advantage-card-number {
        font-size: 36px;
        margin-bottom: 0;
        margin-right: 10px;
    }
    
    .at-advantage-card-title {
        font-size: 18px;
        margin-bottom: -5px;
        text-align: center;
    }
    
    .at-advantage-card-right {
        padding: 20px;
        flex: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible;
    }
    
    /* 手机端奇数卡片的边距调整 */
    .at-advantage-card:nth-child(odd) .at-advantage-card-right {
        padding: 20px;
        justify-content: center;
    }
    
    .at-advantage-card-right img {
        width: 100%;
        height: auto;
        max-width: 100%;
        opacity: 1;
        transform: scale(1) rotate(0deg);
        transition: none;
    }
    
    .at-advantage-card-text {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .at-advantage-card-english {
        font-size: 11px;
        margin-bottom: 15px;
    }
    
    .at-advantage-card-link {
        font-size: 14px;
    }
    
    /* 手机端工厂图片 */
    .at-factory-section {
        margin-top: 0;
    }
    
    .at-factory-section .at-section-title {
        font-size: 20px;
    }
    
    .at-factory-section .at-title-divider {
        font-size: 20px;
    }
    
    .at-factory-section .at-section-subtitle-en {
        font-size: 14px;
    }
    
    .at-factory-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 15px;
    }
    
    .at-factory-item-large {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        opacity: 1;
        transform: scale(1) rotate(0deg);
        transition: none;
    }
    
    .at-factory-item {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        transition: none;
    }
    
    /* 手机端公司介绍 */
    .at-company-section {
        padding: 40px 0;
        margin: 20px 0;
    }
    
    .at-company-info {
        padding: 20px;
    }
    
    .at-company-title {
        font-size: 20px;
        opacity: 1;
        transform: translateX(0);
        transition: none;
    }
    
    .at-company-description {
        font-size: 14px;
        opacity: 1;
        transform: translateX(0);
        transition: none;
    }
    
    .at-company-image {
        opacity: 1;
        transform: translateX(0);
        transition: none;
    }
    
    /* 手机端标题区域 */
    .at-section-title {
        font-size: 24px;
    }
    
    .at-section-desc {
        font-size: 14px;
    }
}

/* 大屏PC适配 */
@media (min-width: 1200px) {
    /* 大屏公司介绍 */
    .at-company-section {
        padding: 10px 0;
    }
    
    .at-company-content {
        gap: 60px;
    }
    
    .at-company-info {
        padding: 50px;
        padding-right: 0px;
    }
    
    .at-company-title {
        font-size: 28px;
    }
    
    .at-company-description {
        font-size: 16px;
    }
    
    /* 大屏工厂图片 */
    .at-factory-section {
        padding: 10px 0 80px;
    }
    
    .at-factory-grid {
        gap: 30px;
    }
    
    /* 大屏标题区域 */
    .at-section-title {
        font-size: 36px;
    }
}