﻿.case-hero {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #0b2a41;
}

    .case-hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.case-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(11, 42, 65, 0.95), rgba(11, 42, 65, 0.5), transparent);
    padding: 100px 40px 40px;
    color: white;
}

.case-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.case-hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    opacity: 0.9;
    color: #9ebedb;
}

/* 返回按钮 */
.back-btn {
    position: absolute;
    top: 100px;
    left: 40px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .back-btn:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: translateX(-4px);
    }

/* 案例信息卡片 */
.case-info-section {
    background: #ffffff;
    padding: 60px 0;
}

.case-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.case-info-card {
    background: linear-gradient(135deg, #f0f5fd 0%, #e8f0fc 100%);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    border-left: 4px solid #0077be;
}

    .case-info-card i {
        font-size: 32px;
        color: #0077be;
        margin-bottom: 12px;
    }

    .case-info-card .label {
        font-size: 14px;
        color: #5a7a9c;
        margin-bottom: 8px;
    }

    .case-info-card .value {
        font-size: 20px;
        font-weight: 600;
        color: #0b2a41;
    }

/* 案例详情内容 */
.case-detail-content {
    /*background: #f9fcff;*/
    padding: 60px 0;
}

.case-section {
    margin-bottom: 48px;
}

.case-section-title {
    font-size: 28px;
    color: #0b2a41;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .case-section-title i {
        color: #0077be;
    }

.case-section-text {
    font-size: 17px;
    line-height: 2;
    color: #2f4a70;
    text-align: justify;
}

    .case-section-text p {
        margin-bottom: 20px;
        text-indent: 2em;
    }

/* 技术参数表格 */
.tech-params-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 50, 100, 0.08);
}

    .tech-params-table th,
    .tech-params-table td {
        padding: 16px 24px;
        text-align: left;
        border-bottom: 1px solid #e8f0fc;
    }

    .tech-params-table th {
        background: #0b2a41;
        color: white;
        font-weight: 500;
    }

    .tech-params-table tr:last-child td {
        border-bottom: none;
    }

    .tech-params-table td:first-child {
        font-weight: 500;
        color: #0b2a41;
        width: 30%;
    }

/* 图片展示 */
.case-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.case-gallery-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 50, 100, 0.1);
}

    .case-gallery-item img {
        width: 100%;
        height: 280px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .case-gallery-item:hover img {
        transform: scale(1.05);
    }

/* 项目亮点 */
.case-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.highlight-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 50, 100, 0.08);
    transition: transform 0.3s ease;
}

    .highlight-card:hover {
        transform: translateY(-8px);
    }

    .highlight-card i {
        font-size: 40px;
        color: #0077be;
        margin-bottom: 16px;
    }

    .highlight-card h4 {
        font-size: 18px;
        color: #0b2a41;
        margin-bottom: 12px;
    }

    .highlight-card p {
        font-size: 14px;
        color: #5a7a9c;
        line-height: 1.6;
    }

/* 相关案例 */
.related-cases {
    background: #ffffff;
    padding: 60px 0;
}

.related-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.related-case-card {
    background: #f9fcff;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

    .related-case-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 30px rgba(0, 50, 100, 0.12);
    }

    .related-case-card img {
        width: 100%;
        height: 160px;
        object-fit: cover;
    }

    .related-case-card .content {
        padding: 20px;
    }

    .related-case-card h4 {
        font-size: 16px;
        color: #0b2a41;
        margin-bottom: 8px;
    }

    .related-case-card p {
        font-size: 13px;
        color: #5a7a9c;
        line-height: 1.5;
    }

/* 响应式调整 - 平板 */
@media (max-width: 1024px) {
    .case-hero {
        height: 400px;
    }

    .case-hero-title {
        font-size: 36px;
    }

    .case-hero-subtitle {
        font-size: 16px;
    }

    .case-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 响应式调整 - 手机 */
@media (max-width: 768px) {
    .case-hero {
        height: 350px;
    }

    .case-hero-title {
        font-size: 28px;
    }

    .case-hero-subtitle {
        font-size: 14px;
    }

    .case-hero-overlay {
        padding: 80px 20px 30px;
    }

    .back-btn {
        top: 80px;
        left: 20px;
        padding: 10px 16px;
        font-size: 12px;
    }

    .case-info-grid {
        grid-template-columns: 1fr;
    }

    .case-gallery {
        grid-template-columns: 1fr;
    }

    .case-highlights {
        grid-template-columns: 1fr;
    }

    .related-cases-grid {
        grid-template-columns: 1fr;
    }

    .case-section-title {
        font-size: 22px;
    }

    .case-section-text {
        font-size: 15px;
    }

    .tech-params-table th,
    .tech-params-table td {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* 移动端汉堡菜单样式 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
}

    .mobile-menu-toggle span {
        width: 100%;
        height: 3px;
        background: #0b2a41;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

        .mobile-menu-toggle.active {
            display: none;
        }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 8px 20px rgba(0,20,50,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 99;
        gap: 0;
    }

        .nav-links.active {
            transform: translateY(0);
        }

        .nav-links a {
            padding: 12px 0;
            border-bottom: 1px solid #e9edf4;
            width: 100%;
            text-align: center;
        }

            .nav-links a:last-of-type {
                border-bottom: none;
            }

    .lang-switch {
        margin: 16px 0 0 0;
        justify-content: center;
        width: 100%;
    }
}

section {
    padding: 30px 0;
    background:#fff;
    border-bottom: none;
}