/* 项目建设页面样式 */

.construction-content {
    background-color: #f5f5f5;
    padding: 60px 0 80px;
    min-height: calc(100vh - 400px);
}

.construction-container {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 项目列表 */
.construction-list {
    display: flex;
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    padding: 0;
    flex-direction: column;
    gap: 50px;
}

/* 项目项 */
.construction-item {
    max-width: 1520px;
    width: calc(100% - 40px);
    display: flex;
    align-items: center;
    gap: 0;
    background: transparent;
    transition: transform 0.3s ease;
    position: relative;
    min-height: 450px;
}

.construction-item:hover {
    transform: translateY(-2px);
}

/* 左右布局 */
.construction-item.layout-left {
    justify-content: flex-end;
}

.construction-item.layout-right {
    justify-content: flex-start;
}

/* 项目文字区域 */
.construction-text {
    width: 60%;
    min-height: 280px;
    padding: 40px 50px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.construction-item.layout-left .construction-text {
    left: 0;
}

.construction-item.layout-right .construction-text {
    right: 0;
}

.construction-title {
    font-size: 30px;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.4;
    padding-bottom: 20px;
    position: relative;
}

.construction-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 2px;
    background-color: #0066cc;
}

.construction-desc {
    flex: 1;
    position: relative;
    min-height: 80px;
    padding-bottom: 24px;
}

.construction-desc p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin: 0;
    margin-bottom: 4px;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.construction-more-link {
    position: absolute;
    bottom: 0;
    right: 0;
    color: #0066cc;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
    background: #fff;
    padding-left: 4px;
}

.construction-more-link:hover {
    color: #004999;
    text-decoration: none;
}

/* 项目图片区域 */
.construction-image {
    flex: 0 0 800px;
    width: 800px;
    height: 450px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    background-color: #f5f5f5;
    z-index: 1;
}

.construction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.construction-item:hover .construction-image img {
    transform: scale(1.05);
}

/* 图片标签 */
.image-label {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 102, 204, 0.9);
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.label-text {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.label-desc {
    display: block;
    font-size: 12px;
    opacity: 0.9;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
    padding: 20px 0;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: #f5f5f5;
    border-color: #0066cc;
    color: #0066cc;
}

.page-link.active {
    background: #0066cc;
    border-color: #0066cc;
    color: #fff;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .construction-container {
        padding: 0 20px;
    }
    
    .construction-text {
        width: 65%;
        min-height: 240px;
        padding: 30px 40px;
    }
    
    .construction-image {
        width: 600px;
        flex: 0 0 600px;
        height: 340px;
    }
}

@media (max-width: 968px) {
    .construction-item {
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start;
        min-height: auto;
    }

    .construction-text {
        width: 100%;
        position: static;
        transform: none;
        min-height: 200px;
        padding: 30px 24px;
        z-index: auto;
    }

    .construction-title {
        font-size: 18px;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .construction-desc p {
        font-size: 14px;
        line-height: 1.7;
    }

    .construction-image {
        width: 100%;
        flex: 0 0 auto;
        height: 300px;
    }

    .image-label {
        top: 12px;
        right: 12px;
        padding: 8px 16px;
    }

    .label-text {
        font-size: 24px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 40px;
    }

    .page-link {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .construction-content {
        padding: 40px 0 60px;
    }

    .construction-container {
        padding: 0 16px;
    }

    .construction-list {
        gap: 24px;
    }

    .construction-text {
        padding: 24px 20px;
        min-height: 180px;
    }

    .construction-title {
        font-size: 16px;
    }

    .construction-desc p {
        font-size: 13px;
    }

    .construction-image {
        height: 240px;
    }
}
