/* project.css - 사진 크기 극대화 및 레이아웃 최적화 */

/* 1. 제목 및 설명 영역 (카드 테두리 밖) */
.project-intro-head {
    width: 100% !important;
    max-width: var(--width, 1220px) !important;
    margin: 0 auto 40px auto !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.project-intro-head h1 {
    font-size: 2.2rem !important;
    font-weight: 800;
    color: #111827 !important;
    margin: 15px 0 10px 0 !important;
    letter-spacing: -0.04em;
}

.project-intro-head p {
    font-size: 1.05rem;
    color: #4b5563 !important;
    margin: 0 auto !important;
    line-height: 1.6;
}

/* 2. 통합 프로젝트 카드 */
.project-integration {
    width: 100% !important;
    max-width: var(--width, 1220px) !important;
    margin: 0 auto 80px auto !important;
    box-sizing: border-box !important;
    padding: 50px 40px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid var(--line, rgba(15, 23, 42, 0.08)) !important;
    border-radius: var(--radius-lg, 26px) !important;
    box-shadow: var(--shadow, 0 24px 80px rgba(15, 23, 42, 0.08)) !important;
}

/* 3. 내부 레이아웃 */
.project-integration .project-showcase {
    display: flex !important;
    gap: 40px !important; /* 사진이 커짐에 따라 여유 있는 간격 유지 */
    align-items: center !important;
}

/* 왼쪽 사진 영역 (박스 안에서 최대 비중 확보) */
.project-integration .showcase-thumb {
    flex: 1.4 !important; /* 1.2에서 1.4로 상향하여 사진 영역을 더 넓게 잡음 */
    display: flex !important;
    justify-content: center !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.project-integration .thumb-image-wrap {
    width: 100% !important;
    max-width: 580px !important; /* 520px에서 580px로 대폭 상향 */
    border-radius: var(--radius-md, 18px) !important;
    overflow: hidden;

    /* 선처럼 보이는 현상을 방지하기 위한 설정 */
    border: 0 !important;
    outline: none !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.3s ease;
}

.project-integration .thumb-image {
    width: 101% !important; /* 미세한 틈을 메우기 위해 1% 확대 */
    margin: -1px;
    display: block !important;
    border: none !important;
}

.project-integration .showcase-thumb:hover .thumb-image-wrap {
    transform: scale(1.02);
}

/* 4. 오른쪽 설명 영역 */
.project-integration .showcase-meta {
    flex: 1 !important; /* 사진(1.4) 대비 텍스트(1) 비율로 조절 */
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* 날짜 */
.project-integration .showcase-date-row {
    font-size: 0.95rem !important;
    color: #64748b !important;
    margin-bottom: 20px !important;
}

/* 핵심 임팩트 타이틀 */
.project-integration .impact-header-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #1e293b !important; /* 사진 속 짙은 텍스트 색상 */
    margin-bottom: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important; /* 아이콘과 텍스트 사이 간격 */
}

/* 초록색 화살표 아이콘 스타일 */
.project-integration .impact-header-title i {
    color: #10b981 !important; /* 사진과 동일한 선명한 초록색 */
    font-size: 1.2rem !important; /* 아이콘 크기 살짝 키움 */
}

/* 핵심 임팩트 녹색 뱃지 */
.project-integration .impact-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 32px !important;
    width: 100% !important;
}

.project-integration .tag-impact {
    background: #eefbf4 !important;
    color: #166534 !important;
    padding: 8px 16px !important;
    border-radius: 100px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    border: 1px solid rgba(20, 83, 45, 0.05) !important;
}

/* 기술 스택 칩 */
.project-integration .showcase-keywords {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    width: 100% !important;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.03);
}

.project-integration .showcase-keywords span {
    background: #f1f5f9 !important;
    color: #475569 !important;
    padding: 7px 16px !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
}

/* 5. 모바일 대응 */
@media (max-width: 980px) {
    .project-integration .project-showcase {
        flex-direction: column !important;
    }
    .project-integration .thumb-image-wrap {
        max-width: 100% !important;
    }
}