/* 案例作品页面样式 */

.page-banner {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    overflow: hidden;
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.banner-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.88), rgba(15, 76, 129, 0.75));
    z-index: -1;
}

.banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--bg-white);
}

.banner-content h1 {
    font-size: 52px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.banner-content p {
    font-size: 22px;
    opacity: 0.95;
}

/* 分类筛选 */
.filter-section {
    padding: 50px 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--bg-light);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 35px;
    background: var(--bg-light);
    border: none;
    border-radius: 30px;
    color: var(--dark-text);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    color: var(--bg-white);
}

/* 案例列表 */
.cases-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 35px;
}

.case-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.case-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

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

.case-card:hover .case-image-wrapper img {
    transform: scale(1.1);
}

.case-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 76, 129, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-card:hover .case-hover {
    opacity: 1;
}

.case-link {
    padding: 14px 35px;
    background: var(--accent-gold);
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.case-link:hover {
    background: #c19a2e;
    transform: scale(1.05);
}

.case-info {
    padding: 30px;
}

.case-badge {
    display: inline-block;
    padding: 6px 18px;
    background: var(--primary-blue);
    color: var(--bg-white);
    border-radius: 25px;
    font-size: 13px;
    margin-bottom: 15px;
}

.case-title {
    font-size: 22px;
    color: var(--dark-text);
    margin-bottom: 12px;
    line-height: 1.4;
}

.case-desc {
    font-size: 15px;
    color: var(--light-text);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .page-banner {
        height: 350px;
    }

    .banner-content h1 {
        font-size: 36px;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
}

