/* 案例详情页面样式 */
.case-detail-main {
    background: #fff;
    min-height: 100vh;
    padding-top: 80px;
}

.case-detail-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    gap: 0;
    padding: 0;
    min-height: calc(100vh - 80px);
}

/* 左侧导航栏 */
.case-sidebar {
    width: 200px;
    flex-shrink: 0;
    background: #fff;
    color: #333;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    background: #000;
    padding: 20px;
    border-bottom: 1px solid #333;
    transition: background-color 0.3s ease;
}

.sidebar-header:hover {
    background: #333;
}

.sidebar-title {
    color: #fff;
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.sidebar-background {
    flex: 1;
    background: #fff;
    min-height: 300px;
}

/* 案例详情内容区域 */
.case-detail-content {
    flex: 1;
    padding: 40px 60px;
    background: #fff;
}

/* 案例标题 */
.case-header {
    margin-bottom: 40px;
}

.case-title {
    font-size: 32px;
    font-weight: 400;
    color: #4a90a4;
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* 案例内容包装容器 */
.case-content-wrapper {
    width: 100%;
}

/* 案例内容区块 */
.case-section {
    margin-bottom: 60px;
}

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

/* 大图容器 */
.case-image-large {
    max-width: 800px;
    width: 100%;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 0;
}

.case-large-img {
    width: 100%;
    height: auto;
    min-height: 400px;
    object-fit: cover;
    display: block;
    background: linear-gradient(45deg, #f0f0f0, #f8f8f8);
    transition: transform 0.3s ease;
}

.case-large-img:hover {
    transform: scale(1.02);
}

/* 案例描述 */
.case-description {
    max-width: 800px;
}

.case-description p {
    color: #333;
    line-height: 1.8;
    font-size: 15px;
    margin: 0 0 20px 0;
    text-align: justify;
    font-weight: 400;
}

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

/* 响应式设计 */
@media (max-width: 1200px) {
    .case-detail-content {
        padding: 30px 40px;
    }
    
    .case-title {
        font-size: 28px;
    }
    
    .case-image-large {
        max-width: 700px;
    }
    
    .case-description {
        max-width: 700px;
    }
    
    .case-large-img {
        min-height: 350px;
    }
}

@media (max-width: 992px) {
    .case-detail-container {
        flex-direction: column;
    }
    
    .case-sidebar {
        width: 100%;
        min-height: auto;
        flex-direction: row;
    }
    
    .sidebar-background {
        display: none;
    }
    
    .sidebar-header {
        text-align: center;
        padding: 15px 20px;
    }
    
    .case-detail-content {
        padding: 30px;
    }
    
    .case-title {
        font-size: 24px;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .case-section {
        margin-bottom: 40px;
    }
    
    .case-image-large {
        max-width: 100%;
    }
    
    .case-large-img {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .case-detail-content {
        padding: 20px;
    }
    
    .case-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .case-section {
        margin-bottom: 30px;
    }
    
    .case-large-img {
        min-height: 250px;
    }
    
    .case-description p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .case-detail-content {
        padding: 15px;
    }
    
    .case-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .case-large-img {
        min-height: 200px;
    }
    
    .case-description p {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .sidebar-title {
        font-size: 16px;
    }
} 