/* 案例中心页面特有样式 */

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
}

.breadcrumb li {
    margin: 0 0.5rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb li:not(:last-child)::after {
    content: ">";
    margin-left: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

/* 案例筛选 */
.cases-filter {
    background: white;
    padding: 2rem 0;
    margin-bottom: 3rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-list {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-item a {
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    border-radius: 30px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
}

.filter-item a:hover,
.filter-item a.active {
    background: #0066cc;
    color: white;
}

/* 案例网格 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.case-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #0066cc;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
}

.case-content {
    padding: 1.5rem;
}

.case-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.case-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.case-meta span {
    margin-right: 1rem;
    display: flex;
    align-items: center;
}

.case-meta span:before {
    margin-right: 0.5rem;
}

.case-client:before {
    content: "🏢";
}

.case-date:before {
    content: "📅";
}

.case-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.case-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.case-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.case-features li:before {
    content: "✓";
    color: #00cc66;
    margin-right: 0.5rem;
    font-weight: bold;
}

/* 详情样式 */
/* 业务详情页样式 */
.case-detail {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.case-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.case-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
}

.case-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.case-content {
    padding: 3rem;
}

.case-section {
    margin-bottom: 3rem;
}

.case-section h2 {
    font-size: 1.8rem;
    color: #0066cc;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f7ff;
}

.case-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.case-feature {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.case-feature h4 {
    color: #0066cc;
    margin-bottom: 0.5rem;
}

.case-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.case-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.case-gallery img:hover {
    transform: scale(1.05);
}

.case-cta {
    background: #f0f7ff;
    padding: 3rem;
    text-align: center;
    border-radius: 10px;
    margin-top: 3rem;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 0.5rem;
    margin: 3rem 0;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background: #0066cc;
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .filter-list {
        flex-direction: column;
        align-items: center;
    }

    .filter-item {
        width: 100%;
        text-align: center;
    }

    .filter-item a {
        border-radius: 5px;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .case-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .case-meta span {
        margin-bottom: 0.5rem;
    }
}