/* 페이지 헤더 */
.page-header {
    background: linear-gradient(135deg, #002147, #003366);
    color: white;
    padding: 120px 0 80px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.breadcrumb-custom {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-custom .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-custom .breadcrumb-item.active {
    color: #66ccff;
}

/* 인력 현황 차트 */
.workforce-stats {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin: -60px auto 4rem;
    position: relative;
    z-index: 2;
}

.chart-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 2rem;
}

.pie-chart {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
            #0066cc 0% 68%,
            #66ccff 68% 78%,
            #004499 78% 89%,
            #002147 89% 100%
    );
    position: relative;
}

.chart-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.total-employees {
    font-size: 2rem;
    font-weight: 700;
    color: #002147;
}

.chart-legend {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    margin-right: 0.8rem;
}

.legend-manufacturing { background: #0066cc; }
.legend-design { background: #66ccff; }
.legend-quality { background: #004499; }
.legend-management { background: #002147; }

/* 조직도 */
.org-chart {
    padding: 4rem 0;
}

.org-level {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.org-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 200px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.org-card.ceo {
    background: linear-gradient(135deg, #0066cc, #004499);
    color: white;
    transform: scale(1.1);
}

.org-card.department {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.org-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #66ccff, #0066cc);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.org-card.ceo .org-avatar {
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.org-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.org-position {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.org-department {
    background: rgba(0, 102, 204, 0.1);
    color: #0066cc;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* 연결선 */
.org-connection {
    display: flex;
    justify-content: center;
    margin: -1rem 0 2rem;
}

.connection-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #0066cc, #66ccff);
}

.connection-horizontal {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -1rem 0;
}

.horizontal-line {
    height: 2px;
    width: 300px;
    background: linear-gradient(to right, #0066cc, #66ccff);
}

/* 핵심 인력 섹션 */
.key-personnel {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 4rem 0;
    margin: 4rem 0;
    border-radius: 30px;
}

.personnel-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.personnel-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.personnel-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066cc, #004499);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.personnel-info h4 {
    margin-bottom: 0.3rem;
    color: #002147;
}

.personnel-role {
    color: #0066cc;
    font-weight: 600;
}

.experience-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0066cc, #004499);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.experience-list {
    list-style: none;
    padding: 0;
}

.experience-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.experience-list li:last-child {
    border-bottom: none;
}

.experience-list li::before {
    content: '▪';
    color: #0066cc;
    margin-right: 0.5rem;
}

/* 섹션 제목 */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #002147;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* 반응형 */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.2rem;
    }

    .workforce-stats {
        margin: -40px 1rem 2rem;
        padding: 2rem;
    }

    .chart-container {
        width: 250px;
        height: 250px;
    }

    .chart-center {
        width: 120px;
        height: 120px;
    }

    .total-employees {
        font-size: 1.5rem;
    }

    .chart-legend {
        grid-template-columns: 1fr;
    }

    .org-level {
        flex-direction: column;
        align-items: center;
    }

    .org-card {
        min-width: 250px;
    }

    .connection-horizontal .horizontal-line {
        width: 200px;
    }

    .personnel-header {
        flex-direction: column;
        text-align: center;
    }

    .personnel-avatar {
        margin: 0 0 1rem 0;
    }
}