/* about.css - 关于我们页面样式 */

/* 主内容区域基础样式 */
.about-main {
    min-height: 500px;
}

/* 介绍区域样式 */
.intro-section {
    padding: 5% 12%;
    background-color: #f8f8f8;
}

/* .intro-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
} */

.intro-text { 
    min-width: 300px;
    margin-right: 5%;
}

.intro-title {
    font-size: 36px;
    color: #333;
    font-weight: bold;
    margin: 2% 0 3%;
}

.intro-paragraph {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5%;
}

.intro-image {
    width: 56%;
    min-width: 250px;
    height: auto;
    float: right;
    clear: both;
    padding: 1.5%;
}

.intro-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* 优势区域样式 */
.advantage-section {
    padding: 7% 12% 5%;
    background-color: #fff;
}

.section-title {
    font-size: 36px;
    color: #333;
    font-weight: bold;
    margin-bottom: 5%;
    text-align: center;
}

.advantages-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.advantage-item {
    flex: 1;
    min-width: 280px;
    padding: 30px 20px;
    border-left: 1px solid #AFAFAF;
    text-align: center;
    margin-bottom: 30px;
}

.advantage-item:first-child {
    border-left: none;
}

.advantage-icon {
    width: 93px;
    height: 93px;
    margin: 0 auto 20px;
}

.advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.advantage-title {
    font-size: 28px;
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
}

.advantage-description {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

/* 更多区域样式 */
.more-section {
    padding: 4% 12%;
    background-color: #f5f5f5;
}

.more-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.more-item {
    flex: 1;
    min-width: 250px;
    height: 300px;
    margin: 0 10px 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.more-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.more-item a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.more-item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.more-item a:hover::before {
    opacity: 1;
}

.more-item:hover .arrow-icon img {
    transform: translateX(5px);
}

.more-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: #fff;
    z-index: 1;
}

.more-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.more-link {
    display: flex;
    align-items: center;
    font-size: 16px;
}

.more-link-text {
    margin-right: 10px;
}

.arrow-icon {
    width: 28px;
    height: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* 滚动动效相关样式 */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1400px) {
  
    .intro-text {
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .intro-image {
        width: 100%;
    }
}
/* 响应式设计 */
@media (max-width: 992px) {
    .advantages-container,
    .more-container {
        flex-direction: column;
    }
    
    
    .advantage-item {
        border-left: none;
        border-bottom: 1px solid #AFAFAF;
        padding: 30px 0;
    }
    
    .advantage-item:last-child {
        border-bottom: none;
    }
    
    /* 增强more-item样式，提高优先级，确保小屏幕下正常显示 */
    .more-section .more-item {
        margin: 10px 0;
        height: 300px !important; /* 强制设置高度 */
        min-height: 300px;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        display: block;
        position: relative;
        overflow: hidden;
    }
    
    /* 确保链接和内容可见 */
    .more-section .more-item a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        position: relative !important;
    }
    
    .more-section .more-content {
        position: fixed !important;
        bottom: 30px !important;
        left: 30px !important;
        color: #fff !important;
        z-index: 10 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* 确保滚动动画元素始终可见，不依赖active类 */
    .more-section .scroll-animate,
    .more-section .scroll-animate.active {
        opacity: 1 !important;
        transform: translateY(0) !important;
        visibility: visible !important;
    }
    
    /* 专门针对标题文字的样式增强 */
    .more-section .more-item .more-title {
        font-size: 24px !important;
        color: #ffffff !important;
        font-weight: bold !important;
        margin-bottom: 10px !important;
        line-height: 1.2 !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
        z-index: 20 !important;
        position: relative !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* 确保链接文本可见 */
    .more-section .more-item .more-link {
        display: flex !important;
        align-items: center !important;
        font-size: 16px !important;
        color: #ffffff !important;
        z-index: 20 !important;
        position: relative !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .more-section .more-item .more-link-text {
        color: #ffffff !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
    }

    
    /* 确保遮罩层不会覆盖文字 */
    .more-section .more-item a::before {
        background-color: rgba(0, 0, 0, 0.5) !important;
        opacity: 1 !important;
        z-index: 1 !important; /* 确保遮罩层在文字下方 */
    }
    
    /* 额外的文字可见性保障 */
    .more-section .more-item * {
        color: #ffffff !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 20 !important;
    }
    
    /* 增强文本与背景的对比度 */
    .more-section .more-item .more-title,
    .more-section .more-item .more-link {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    }
    
    /* 确保箭头图标可见 */
    .more-section .more-item .arrow-icon img {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
    
    /* 确保内容不被裁剪 */
    .more-section .more-item {
        overflow: visible !important;
    }
    
    /* 确保内容始终显示，不受动画影响 */
    .more-section .scroll-animate .more-content {
        animation: none !important;
        transition: none !important;
    }
    
    .intro-title,
    .section-title {
        font-size: 30px;
    }
    
    .advantage-title,
    .more-title {
        font-size: 24px;
        color: #fff !important;
    }
    
    .intro-paragraph,
    .advantage-description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .intro-section,
    .advantage-section,
    .more-section {
        padding: 5% 8%;
    }
    
    .intro-title,
    .section-title {
        font-size: 28px;
    }
    
    
    .more-content {
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .intro-section,
    .advantage-section,
    .more-section {
        padding: 5% 6%;
    }
    
    .intro-title,
    .section-title {
        font-size: 24px;
    }
    
    .advantage-title,
    .more-title {
        font-size: 20px;
    }
    
    .intro-paragraph,
    .advantage-description {
        font-size: 14px;
    }
    
    .advantage-icon {
        width: 80px;
        height: 80px;
    }
    
    .more-item {
        height: 250px;
    }
}