/* 主要内容区域 */
.cases-content {
    background: #f8f9fa;
    padding: 60px 0;
    min-height: 80vh;
}

.cases-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

/* 案例卡片样式 */
.case-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.case-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #006abf 0%, #005aa0 100%);
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #006abf;
}

/* 案例图片 */
.case-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    height: 200px;
    background: #f8f9fa;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.case-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 106, 191, 0.1) 0%, rgba(0, 90, 160, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-item:hover .case-image::after {
    opacity: 1;
}

/* 案例内容 */
.case-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
    height: 60px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.case-description {
    color: #5a6c7d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    height: 80px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.case-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case-button {
    background: linear-gradient(135deg, #006abf 0%, #005aa0 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.case-button:hover {
    color: white;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 106, 191, 0.4);
}

.case-button i {
    transition: transform 0.3s ease;
}

.case-button:hover i {
    transform: translateX(3px);
}



/* 案例图片区域 */
.case-image-section {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.case-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.case-main-image:hover {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-image-section:hover .image-overlay {
    opacity: 1;
}

.zoom-icon {
    color: white;
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.case-image-section:hover .zoom-icon {
    transform: scale(1.1);
}

.case-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 30px;
}

.case-content h1, .case-content h2, .case-content h3,
.case-content h4, .case-content h5, .case-content h6 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

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

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

.case-content ul, .case-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.case-content li {
    margin-bottom: 8px;
}

/* 操作按钮 */
.case-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.btn-primary {
    background: linear-gradient(135deg, #006abf 0%, #005aa0 100%);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 106, 191, 0.3);
    color: white;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    border: 2px solid #006abf;
    padding: 12px 30px;
    border-radius: 8px;
    color: #006abf;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    text-decoration: none;
}





