/* ========================================
   项目详情页样式 - Project Detail Page Styles
   ======================================== */

/* 项目详情头部 */
.project-header-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    padding: 120px 0 60px;
    margin-top: 0;
    overflow: hidden;
}

.project-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.project-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 54, 93, 0.7) 0%, rgba(26, 54, 93, 0.95) 100%);
    z-index: 2;
}

.project-header-content {
    position: relative;
    z-index: 3;
    color: white;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 24px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--accent-color);
}

.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-accent);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.project-title-large {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.project-meta-header {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    opacity: 0.9;
}

.meta-item i {
    color: var(--accent-color);
}

/* 项目详情主体 */
.project-detail-main {
    padding: 0;
}

.detail-section {
    padding: 80px 0;
}

.detail-section.alt-bg {
    background: var(--bg-secondary);
}

.section-header-left {
    margin-bottom: 48px;
}

.section-header-left .section-tag {
    display: inline-block;
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-header-left .section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 800;
}

/* 详情内容布局 */
.detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

.detail-text .lead-text {
    font-size: 1.25rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.detail-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 详情统计 */
.detail-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.stat-box {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--accent-color);
}

.stat-box .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-box .stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* 职责卡片网格 */
.responsibilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.responsibility-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.responsibility-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.responsibility-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.responsibility-icon i {
    font-size: 1.75rem;
    color: white;
}

.responsibility-card h3 {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 700;
}

.responsibility-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 技术亮点列表 */
.highlights-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.highlight-item {
    display: flex;
    gap: 24px;
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.highlight-marker {
    width: 48px;
    height: 48px;
    background: var(--gradient-accent);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.highlight-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 大图库网格 */
.gallery-grid-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item-large {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item-large:hover img {
    transform: scale(1.1);
}

.gallery-item-large .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: white;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item-large:hover .gallery-caption {
    transform: translateY(0);
}

/* 成就内容 */
.achievement-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

.achievement-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.achievement-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.achievement-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    color: var(--text-primary);
}

.achievement-list li i {
    color: var(--accent-color);
    margin-top: 4px;
}

.achievement-quote {
    background: var(--gradient-primary);
    color: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    position: relative;
}

.achievement-quote blockquote {
    font-size: 1.125rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 16px;
}

.achievement-quote cite {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: normal;
}

/* 项目导航 */
.project-navigation {
    padding: 48px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 48px;
}

.nav-project {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 32px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 400px;
}

.nav-project:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.nav-project.prev-project:hover {
    transform: translateX(-5px);
}

.nav-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.nav-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-project.next-project {
    margin-left: auto;
    text-align: right;
}

.nav-project.next-project .nav-title {
    justify-content: flex-end;
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .detail-content,
    .achievement-content {
        grid-template-columns: 1fr;
    }
    
    .responsibilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-title-large {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .project-header-section {
        min-height: 50vh;
        padding: 100px 0 40px;
    }
    
    .project-title-large {
        font-size: 2rem;
    }
    
    .project-meta-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .responsibilities-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid-large {
        grid-template-columns: 1fr;
    }
    
    .highlight-item {
        flex-direction: column;
        gap: 16px;
    }
    
    .detail-section {
        padding: 48px 0;
    }
    
    .section-header-left .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .project-title-large {
        font-size: 1.75rem;
    }
    
    .nav-project {
        max-width: 100%;
    }
}
