/* 案例详情页样式 */

.case-hero {
    position: relative;
    height: 550px;
    display: flex;
    align-items: flex-end;
    margin-top: 70px;
    overflow: hidden;
}

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

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

.hero-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 70px 20px 50px;
    color: var(--bg-white);
}

.case-label {
    display: inline-block;
    padding: 10px 25px;
    background: var(--accent-gold);
    color: var(--dark-text);
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 25px;
}

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

.case-subtitle {
    font-size: 22px;
    opacity: 0.95;
}

.case-detail-content {
    padding: 90px 0;
    background: var(--bg-white);
}

.case-overview {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 70px;
    margin-bottom: 90px;
}

.overview-text h2 {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.overview-text p {
    font-size: 18px;
    color: var(--light-text);
    line-height: 1.9;
    margin-bottom: 25px;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.stat-box {
    text-align: center;
    padding: 35px 25px;
    background: var(--bg-light);
    border-radius: 20px;
}

.stat-value {
    font-size: 42px;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.stat-label {
    font-size: 15px;
    color: var(--light-text);
}

.case-highlights {
    margin-bottom: 90px;
}

.case-highlights h2 {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 50px;
    text-align: center;
}

.highlights-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

.highlight-item {
    background: var(--bg-light);
    padding: 35px;
    border-radius: 20px;
    text-align: center;
}

.highlight-item h3 {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 18px;
}

.highlight-item p {
    color: var(--light-text);
    line-height: 1.8;
    font-size: 16px;
}

.case-gallery h2 {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 50px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .case-hero {
        height: 450px;
    }

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

    .case-overview {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .highlights-list {
        grid-template-columns: 1fr;
    }

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

