/* 项目详情页样式 */
.project-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 60px;
}

.project-header {
    margin-bottom: 40px;
}

.title-row {
    margin-bottom: 20px;
}

.project-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.project-category {
    font-size: 1.2rem;
    color: #666;
}

.project-info {
    display: flex;
    gap: 40px;
    margin: 20px 0;
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-meta-item i {
    color: #666;
}

.cover-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.project-meta {
    display: flex;
    gap: 2rem;
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.project-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 4rem;
    max-width: 800px;
}

/* 统一的内容区块样式 */
.project-content {
    width: 100%;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-section.with-side-image {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.content-section.with-side-image .content-text {
    flex: 0 0 40%;
    margin-bottom: 0;
}

.side-image {
    width: 55%;
    height: auto;
    object-fit: contain;
    position: absolute;
    right: 0;
    top: 0;
}

.content-text {
    width: 100%;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: left;
}

.content-text .en {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    display: block;
    margin-top: 0.5rem;
    white-space: pre-line;
}

.content-image {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    object-fit: cover;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    margin-top: 4rem;
}

.back-to-work {
    display: inline-block;
    margin: 40px auto;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    background-color: #ff4d6d;
    box-shadow: 0 2px 4px rgba(255,77,109,0.2);
    width: fit-content;
}

.back-to-work:hover {
    color: #fff;
    background-color: #ff2d55;
    box-shadow: 0 4px 12px rgba(255,77,109,0.3);
    transform: translateY(-2px);
}

.back-to-work .chinese {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 2px;
}

.back-to-work .english {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.9);
    display: block;
}

/* 返回按钮容器样式 */
.back-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .project-detail-container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .project-title {
        font-size: 1.8rem;
    }

    .project-info {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }
    
    .content-text {
        padding: 0;
    }

    .content-section.with-side-image {
        flex-direction: column;
        position: static;
    }

    .side-image {
        position: static;
        width: 100%;
    }

    .back-button-container {
        padding: 0 10px;
    }
} 