/* 成功案例部分样式 */
.showcase-section {
    padding: 40px 0;
    background-color: #fff;
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
}

/* 左侧边栏样式 */
.showcase-sidebar {
    width: 200px;
    flex-shrink: 0;
}

.category-item {
    margin-bottom: 8px;
    border-radius: 4px;
    background-color: #f5f5f5;
    transition: all 0.3s ease;
}

.category-item:hover {
    background-color: #2196f3;
}

.category-item a {
    display: block;
    padding: 15px 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.category-item:hover a {
    color: #fff;
}

.category-item.selected {
    background-color: #2196f3;
}

.category-item.selected a {
    color: #fff;
}

/* 右侧内容区域样式 */
.showcase-content {
    flex: 1;
}

.showcase-header {
    margin-bottom: 30px;
}

.showcase-content-title {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    margin: 0;
    position: relative;
    padding-left: 15px;
}

.showcase-content-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: #2196f3;
    border-radius: 2px;
}

/* 案例卡片网格 */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* 案例卡片样式 */
.showcase-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.showcase-image {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
    border: 4px solid #fff;
    box-sizing: border-box;
    border-radius: 8px;
}

.showcase-image::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    z-index: 1;
    pointer-events: none;
}

.showcase-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.showcase-info {
    padding: 15px;
    background: #f5f5f5;
    margin-top: 0;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-info h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: bold;
    line-height: 1.4;
    transition: color 0.3s ease;
    text-align: center;
}

/* Hover effects */
.showcase-card:hover .showcase-image img {
    transform: scale(1.2);
}

.showcase-card:hover .showcase-info {
    border-color: #2196f3;
}

.showcase-card:hover .showcase-info h3 {
    color: #2196f3;
}

/* 响应式布局 */
@media screen and (max-width: 1024px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .showcase-container {
        flex-direction: column;
    }

    .showcase-sidebar {
        width: 100%;
        margin-bottom: 20px;
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media screen and (max-width: 480px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .showcase-container {
        padding: 0 15px;
    }

    .showcase-info h3 {
        font-size: 14px;
    }
} 