﻿ /* 导航栏固定宽度 - 防止滚动时缩小 */
       

        /* 项目列表样式 */
        .zjdfContent {
            flex: 1;
            padding: 2rem;
        }

        .section-title {
            font-size: 1.8rem;
            color: #2c5aa0;
            text-align: center;
            margin-bottom: 3rem;
            font-weight: 600;
        }

        .projects-list {
            display: flex;
            flex-direction: column;
            gap: 4rem;
        }

        .project-item {
            display: flex;
            align-items: center;
            gap: 3rem;
        }

        .project-item-image {
            flex: 0 0 50%;
            height: 300px;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 12px 40px rgba(0, 96, 189, 0.18);
            transform: translateY(-8px);
            transition: all 0.3s ease;
        }

            .project-item-image img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            .project-item-image:hover {
                transform: translateY(-12px) scale(1.02);
                box-shadow: 0 16px 45px rgba(0, 96, 189, 0.25);
            }

        .project-item-content {
            flex: 1;
        }

        .project-item-header {
            margin-bottom: 1rem;
        }

        .project-item-title {
            font-size: 1.5rem;
            color: #2c5aa0;
            margin-bottom: 0.3rem;
            font-weight: 600;
        }

        .project-item-subtitle {
            font-size: 0.9rem;
            color: #666;
            opacity: 0.7;
        }

        .project-item-body {
            margin-bottom: 1.5rem;
        }

        .project-item-description {
            color: #666;
            line-height: 1.8;
            font-size: 0.95rem;
        }

        .project-item-footer {
            margin-top: 1rem;
        }

        .project-item-button {
            display: inline-block;
            padding: 0.8rem 2rem;
            background: #2c5aa0;
            color: #fff;
            text-decoration: none;
            border-radius: 25px;
            font-weight: 500;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }

        .project-item-button:hover {
            background: #1e3d6f;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
        }

        /* 偶数项目反向布局 */
        .projects-list .project-item:nth-child(even) {
            flex-direction: row-reverse;
        }

        /* 滑入动画 */
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .projects-list .project-item:nth-child(odd) {
            animation: slideInLeft 0.6s ease-out forwards;
        }

        .projects-list .project-item:nth-child(even) {
            animation: slideInRight 0.6s ease-out forwards;
        }

        /* 数据统计 */
        .about-stats {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            margin-bottom: 4rem;
            padding: 2rem;
            background: linear-gradient(135deg, #2c5aa0 0%, #1e3d6f 100%);
            border-radius: 12px;
        }

        .stat-item {
            text-align: center;
            color: #fff;
        }

        .stat-icon {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
        }

        .stat-number {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.3rem;
        }

        .stat-label {
            font-size: 0.9rem;
            opacity: 0.9;
        }
        /* ============ 展开/收起详情 样式 ============ */

/* 标签样式 */
.project-item-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    font-size: 0.75rem;
    color: #2c5aa0;
    background: rgba(44, 90, 160, 0.08);
    border: 1px solid rgba(44, 90, 160, 0.15);
    border-radius: 12px;
    font-weight: 500;
}

/* 摘要文字 - 限制行数 */
.project-item-summary {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* 详情面板 - 默认隐藏 */
.project-item-details {
    display: block;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0;
    transition: max-height 0.5s ease, margin 0.3s ease, opacity 0.3s ease;
}

/* 详情展开状态 */
.project-item-details.open {
    max-height: 3000px !important;
    margin-top: 1.2rem !important;
    opacity: 1 !important;
    overflow: visible !important;
}

/* 详情分区 */
.detail-section {
    margin-bottom: 1.2rem;
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eef4fb 100%);
    border-radius: 8px;
    border-left: 3px solid #2c5aa0;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-heading {
    font-size: 0.95rem;
    color: #2c5aa0;
    margin: 0 0 0.6rem 0;
    font-weight: 600;
}

.detail-text {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0 0 0.6rem 0;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-list li {
    color: #555;
    font-size: 0.88rem;
    line-height: 1.8;
    padding-left: 1.2rem;
    position: relative;
}

.detail-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #2c5aa0;
    font-weight: bold;
}

.detail-list li strong {
    color: #333;
    font-weight: 600;
}

/* 展开/收起按钮 */
.toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: #2c5aa0;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.88rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.toggle-btn:hover {
    background: #1e3d6f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.btn-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.btn-arrow.rotated {
    transform: rotate(180deg);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .project-item {
        flex-direction: column !important;
        gap: 1.5rem;
    }

    .project-item-image {
        flex: none;
        width: 100%;
        height: 200px;
    }

    .project-item-tags {
        margin-bottom: 0.5rem;
    }
}