/* 案例详情页样式 */



/* 案例概述部分 */

.case-overview {

    background-color: #f5f5f5;

    padding: 80px 0;

}



.overview-content {

    display: flex;

    gap: 60px;

}



.overview-left {

    flex: 0 0 30%;

}



.overview-right {

    flex: 0 0 70%;

}



.project-name {

    font-size: 36px;

    font-weight: 700;

    margin-bottom: 10px;

    color: #333;

}



.project-subtitle {

    font-size: 18px;

    color: #666;

    margin-bottom: 30px;

}



.project-logo {

    margin-top: 40px;

    max-width: 200px;

}



.project-logo img {

    width: 100%;

    height: auto;

    display: block;

}



.project-description {

    margin-bottom: 40px;

}



.project-description p {

    margin-bottom: 15px;

    line-height: 1.8;

    color: #555;

}



.project-info {

    display: flex;

    flex-wrap: wrap;

    gap: 30px;

}



.info-item {

    flex: 0 0 calc(33.33% - 20px);

}



.info-item h4 {

    font-size: 16px;

    font-weight: 600;

    margin-bottom: 10px;

    color: #333;

}



.info-item p {

    color: #666;

}



.service-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

}



.service-tags span {

    background-color: #e9f0f5;

    color: #ff8800;

    padding: 5px 12px;

    border-radius: 20px;

    font-size: 13px;

    font-weight: 500;

}



/* 案例图片展示部分 */

.case-showcase {

    padding: 80px 0;

}

.case-showcase img {
	width: 100%;
    height: auto !important;
    float: left;
    display: block;
    background: url(loading.gif) no-repeat center;
}



.showcase-header {

    text-align: center;

    margin-bottom: 50px;

}



.showcase-header h3 {

    font-size: 32px;

    font-weight: 700;

    margin-bottom: 10px;

    color: #333;

}



.showcase-header p {

    font-size: 16px;

    color: #666;

}



.showcase-gallery {

    display: grid;

    grid-template-columns: repeat(12, 1fr);

    grid-gap: 20px;

}



.gallery-item {

    position: relative;

    overflow: hidden;

    border-radius: 8px;

}



.gallery-item img {

    width: 100%;

    height: auto;

    display: block;

    transition: transform 0.5s ease;
	
	margin-bottom:30px;

}


.gallery-caption {

    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);

    color: #fff;

    padding: 20px;

    font-size: 14px;

    opacity: 0;

    transform: translateY(20px);

    transition: all 0.3s ease;

}



.gallery-item:hover .gallery-caption {

    opacity: 1;

    transform: translateY(0);

}



.full-width {

    grid-column: span 12;

}



.half-width {

    grid-column: span 6;

}



.third-width {

    grid-column: span 4;

}



/* 相关案例部分 */

.related-cases {

    padding: 80px 0;

    background-color: #f5f5f5;

}



.section-header {

    text-align: center;

    margin-bottom: 50px;

}



.section-header h3 {

    font-size: 32px;

    font-weight: 700;

    margin-bottom: 10px;

    color: #333;

}



.section-header p {

    font-size: 16px;

    color: #666;

}



.related-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

}



.related-case {

    background-color: #fff;

    border-radius: 8px;

    overflow: hidden;

    box-shadow: 0 5px 15px rgba(0,0,0,0.08);

    transition: transform 0.3s ease;

}



.related-case:hover {

    transform: translateY(-10px);

}



.case-image {

    position: relative;

    overflow: hidden;

}



.case-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.5s ease;

}



.related-case:hover .case-image img {

    transform: scale(1.1);

}



.case-overlay {

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background-color: rgba(0,0,0,0.6);

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    transition: opacity 0.3s ease;

}



.case-image:hover .case-overlay {

    opacity: 1;

}



.view-case {

    display: inline-block;

    padding: 10px 25px;

    background-color: #ff8800;

    color: #fff;

    border-radius: 30px;

    font-size: 14px;

    font-weight: 500;

    text-decoration: none;

    transition: background-color 0.3s ease;

}



.view-case:hover {

    background-color: #2980b9;

}



.case-info {

    padding: 20px;

}



.case-info h4 {

    font-size: 18px;

    font-weight: 600;

    margin-bottom: 5px;

    color: #333;

}



.case-info p {

    font-size: 14px;

    color: #666;

}



/* 响应式设计 */

@media (max-width: 992px) {

    .overview-content {

        flex-direction: column;

        gap: 40px;

    }

    

    .overview-left, .overview-right {

        flex: 0 0 100%;

    }

    

    .info-item {

        flex: 0 0 calc(50% - 15px);

    }

    

    .half-width, .third-width {

        grid-column: span 12;

    }

    

    .related-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media (max-width: 768px) {

    .info-item {

        flex: 0 0 100%;

    }

    

    .related-grid {

        grid-template-columns: 1fr;

    }

}