/* business.css - 集团业务页面样式 */

/* 业务介绍 */
.business-intro {
    margin-bottom: 50px;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--light-text);
    line-height: 1.8;
    font-size: 16px;
}

/* 业务列表 */
.business-list {
    margin-bottom: 60px;
}

.business-item {
    display: flex;
    margin-bottom: 60px;
    background-color: var(--white);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    overflow: hidden;
}

.business-item:last-child {
    margin-bottom: 0;
}

.business-image {
    width: 40%;
    position: relative;
    overflow: hidden;
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.business-item:hover .business-image img {
    transform: scale(1.05);
}

.business-content {
    width: 60%;
    padding: 40px;
}

.business-title {
    margin-bottom: 20px;
}

.business-title h3 {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 10px;
}

.business-line {
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.business-desc {
    color: var(--light-text);
    line-height: 1.8;
}

.business-desc p {
    margin-bottom: 20px;
}

.business-features {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px 20px;
}

.business-features li {
    width: 50%;
    padding: 0 10px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.business-features li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.business-btn {
    margin-top: 30px;
}

/* 合作伙伴 */
.partners {
    margin-top: 80px;
}

.partner-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -20px;
}

.partner-item {
    width: 20%;
    padding: 0 20px;
    margin-bottom: 30px;
    text-align: center;
}

.partner-item img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* 业务详情页 */
.business-detail {
    background-color: var(--white);
    padding: 30px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.business-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.business-header h2 {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 15px;
}

.business-header p {
    color: var(--light-text);
    line-height: 1.8;
}

.business-gallery {
    margin-bottom: 30px;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.gallery-item {
    width: 33.333%;
    padding: 0 10px;
    margin-bottom: 20px;
}

.gallery-image {
    height: 200px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.business-section {
    margin-bottom: 30px;
}

.business-section:last-child {
    margin-bottom: 0;
}

.section-heading {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

.section-heading:before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background-color: var(--primary-color);
}

.section-content {
    color: var(--light-text);
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 15px;
}

.section-content ul {
    margin-bottom: 15px;
}

.section-content li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.section-content li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

/* 项目案例页面 */
.project-list-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-top: 24px;
}

.project-list-tab {
    min-width: 132px;
    height: 44px;
    padding: 0 22px;
    background: #DCDCDC;
    color: var(--text-color);
    text-align: center;
    line-height: 44px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.project-list-tab.active,
.project-list-tab:hover {
    background: var(--primary-color);
    color: #fff;
}

.projects-page .project-list-tabs + .case-list {
    margin-top: 28px;
}

.projects-page .case-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.projects-page .case-item {
    width: 100%;
    padding: 0;
    margin-bottom: 0;
}

.case-card {
    display: block;
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    text-decoration: none;
    color: inherit;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-card:hover::before {
    opacity: 1;
}

.case-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-info {
    padding: 20px;
}

.case-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.case-title a {
    color: var(--text-color);
}

.case-title a:hover {
    color: var(--primary-color);
}

.case-desc {
    color: var(--light-text);
    margin-bottom: 15px;
    line-height: 1.6;
    height: 48px;
    overflow: hidden;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    color: var(--lighter-text);
    font-size: 14px;
} 

/* 业务分类标签 */
.business-tags {
    margin-bottom: 40px;
    text-align: center;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.tag-item {
    padding: 8px 20px;
    border-radius: 20px;
    background-color: #f5f5f5;
    color: var(--light-text);
    font-size: 14px;
    transition: all 0.3s ease;
}

.tag-item:hover,
.tag-item.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 业务案例展示 */
.business-cases {
    margin-top: 80px;
}

.business-cases .case-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.case-item {
    background-color: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.case-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.case-item:hover .case-overlay {
    opacity: 1;
}

.case-link {
    padding: 10px 25px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.case-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.case-info {
    padding: 20px;
}

.case-info h3 {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 10px;
}

.case-category {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.case-desc {
    color: var(--light-text);
    line-height: 1.6;
    font-size: 14px;
}

/* 业务咨询 */
.business-consult {
    margin-top: 80px;
    background-color: var(--primary-color);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.consult-content h3 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
}

.consult-content p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.consult-content .btn {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 12px 35px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.consult-content .btn:hover {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .projects-page .case-list,
    .business-cases .case-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .project-list-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .project-list-tab {
        flex: 0 0 auto;
        min-width: 104px;
        height: 40px;
        padding: 0 16px;
        line-height: 40px;
        font-size: 14px;
    }

    .tag-list {
        gap: 10px;
    }

    .tag-item {
        padding: 6px 15px;
        font-size: 13px;
    }

    .projects-page .case-list,
    .business-cases .case-list {
        grid-template-columns: 1fr;
    }

    .case-image {
        height: 200px;
    }

    .business-consult {
        padding: 40px 0;
    }

    .consult-content h3 {
        font-size: 24px;
    }

    .consult-content p {
        font-size: 14px;
    }
}

/* 项目详情页面样式 */
.project-detail {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

/* 新版项目详情包装器 */
.project-detail-wrapper {
    max-width: 100%;
}

/* 项目主图（单张图片） */
.project-hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.project-hero-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

/* 项目图片画廊网格（多张图片） */
.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.project-gallery-grid .gallery-main {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.project-gallery-grid .gallery-main img,
.project-gallery-grid .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    transition: transform 0.3s ease;
}

.project-gallery-grid .gallery-main {
    min-height: 400px;
}

.project-gallery-grid .gallery-item {
    min-height: 192px;
}

.project-gallery-grid img:hover {
    transform: scale(1.05);
}

/* 项目详情通用区块标题 */
.project-info-section,
.project-description-section,
.project-content-section {
    margin-bottom: 40px;
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.project-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.project-section-title .title-icon {
    font-size: 20px;
}

.project-section-title .title-text {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

/* 项目信息网格 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.info-value {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 600;
}

/* 项目简介内容 */
.description-content {
    line-height: 1.8;
}

.description-content p {
    color: var(--text-color);
    font-size: 15px;
    margin-bottom: 15px;
    text-indent: 2em;
}

.description-content p:last-child {
    margin-bottom: 0;
}

/* 项目详细内容 */
.project-content-section {
    line-height: 1.8;
}

.project-content-section h2,
.project-content-section h3 {
    color: var(--primary-color);
    margin: 25px 0 15px 0;
    font-weight: bold;
}

.project-content-section h2 {
    font-size: 22px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.project-content-section h3 {
    font-size: 18px;
}

.project-content-section p {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 15px;
}

.project-content-section ul,
.project-content-section ol {
    margin: 15px 0;
    padding-left: 30px;
}

.project-content-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.project-content-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
}

.project-content-section table th,
.project-content-section table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.project-content-section table th {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    color: white;
    font-weight: 600;
}

.project-content-section table tr:nth-child(even) {
    background: #f8f9fa;
}

.project-content-section table tr:hover {
    background: #e9ecef;
}

.project-content-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-overview {
    padding: 40px;
    border-bottom: 1px solid var(--border-color);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.project-info h2 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}

.project-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.meta-label {
    font-size: 14px;
    color: var(--lighter-text);
    font-weight: 500;
}

.meta-value {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 600;
}

.project-description p {
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 15px;
}

.project-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.project-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.project-features,
.project-gallery,
.project-specs,
.project-impact,
.related-projects {
    padding: 40px;
    border-bottom: 1px solid var(--border-color);
}

.project-features:last-child,
.project-gallery:last-child,
.project-specs:last-child,
.project-impact:last-child,
.related-projects:last-child {
    border-bottom: none;
}

.project-features h2,
.project-gallery h2,
.project-specs h2,
.project-impact h2,
.related-projects h2 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    padding-left: 20px;
}

.project-features h2::before,
.project-gallery h2::before,
.project-specs h2::before,
.project-impact h2::before,
.related-projects h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.feature-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.feature-item:hover .feature-icon {
    color: white;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--light-text);
}

.feature-item:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px 15px 15px;
    font-size: 14px;
    font-weight: 500;
}

.specs-table {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.spec-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row:nth-child(even) {
    background: white;
}

.spec-label {
    font-weight: 500;
    color: var(--text-color);
}

.spec-value {
    font-weight: 600;
    color: var(--primary-color);
}

.impact-content {
    display: grid;
    gap: 30px;
}

.impact-item h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.impact-item p {
    line-height: 1.8;
    color: var(--light-text);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-item {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.related-image {
    height: 150px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-info {
    padding: 20px;
}

.related-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.related-info h3 a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.related-info h3 a:hover {
    color: var(--primary-color);
}

.related-info p {
    font-size: 14px;
    color: var(--light-text);
    line-height: 1.5;
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .overview-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .project-image {
        order: -1;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    /* 新版项目详情响应式 */
    .project-gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .project-gallery-grid .gallery-main {
        grid-column: 1;
        grid-row: 1;
        min-height: 250px;
    }
    
    .project-gallery-grid .gallery-item {
        min-height: 200px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .project-info-section,
    .project-description-section,
    .project-content-section {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .project-section-title .title-text {
        font-size: 18px;
    }
    
    .project-hero-image img {
        max-height: 300px;
    }
    
    /* 原有样式 */
    .project-detail {
        margin: 0 -15px 40px;
        border-radius: 0;
    }
    
    .project-overview,
    .project-features,
    .project-gallery,
    .project-specs,
    .project-impact,
    .related-projects {
        padding: 30px 20px;
    }
    
    .project-meta {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .spec-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .spec-label {
        font-size: 14px;
    }
    
    .spec-value {
        font-size: 16px;
        font-weight: 700;
    }
} 
