/* 投资方向页面样式 */

/* 主要内容区域样式 */
.investment-page .main-content {
    padding: 160px 160px;
    position: relative;
}

/* 主体背景图样式 - 投资页面 */
.investment-page .main-content::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/conteng-bg-1.png');
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: contain;
    opacity: 1;
    z-index: -1;
}

.investment-layout {
    display: flex;
    flex-direction: column;
    gap: 120px;
    padding: 60px 0px;
}

.investment-item {
    display: flex;
    align-items: flex-start;
    gap: 100px;
}

.investment-item:nth-child(even) {
    flex-direction: row-reverse;
}

.investment-text {
    flex: 1;
}

.investment-text h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #333;
}

.arrow-down {
    margin: 40px 0;
    display: flex;
    align-items: center;
}

.arrow-down img {
    width: 36px;
    height: 36px;
}

.investment-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: #000000;
}

.investment-image {
    flex: 0 0 40%; /* 设置为固定占40%的宽度 */
}

.investment-image img {
    width: 100%; /* 使图片宽度填充容器 */
    height: auto; /* 保持图片比例 */
    object-fit: contain;
    border-radius: 8px;
}

/* 响应式样式 */
@media (max-width: 1024px) {
    .investment-page .main-content {
        padding: 80px 40px;
    }
    
    /* 覆盖container在main-content内的padding */
    .investment-page .main-content .container {
        padding: 0;
    }
    
    .investment-layout {
        gap: 80px;
        padding: 40px 0px;
    }
    
    .investment-item {
        gap: 60px;
    }
    
    .investment-text h3 {
        font-size: 30px;
        margin-bottom: 20px;
    }
    
    .investment-text p {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .investment-image img {
        width: 100%; /* 保持宽度为100% */
        height: auto;
    }
}

@media (max-width: 480px) {
    .investment-page .main-content {
        padding: 60px 16px;
    }
    
    .investment-layout {
        padding: 20px 0px;
        gap: 30px; /* 减小布局间距 */
    }
    
    .investment-item {
        flex-direction: column-reverse !important;
        gap: 15px; /* 减小项目间距 */
        justify-content: center;
        align-items: center; /* 垂直中心对齐 */
    }
    
    .investment-text h3 {
        font-size: 22px;
        margin-bottom: 10px; /* 减小标题下方间距 */
        text-align: center; /* 文本居中 */
    }
    
    .investment-text p {
        font-size: 14px;
    }
    
    .arrow-down {
        margin: 15px 0; /* 进一步减小箭头上下间距 */
        display: flex;
        justify-content: center;
        align-items: center; /* 垂直中心对齐 */
    }
    
    .investment-image img {
        width: 100%;
        height: auto;
        max-height: 300px;
    }
}