/* style-team.css - 전문가팀 페이지 전용 스타일 */

/* 공통 스타일 */
.section-divider {
    width: 80px;
    height: 3px;
    background-color: var(--primary);
    margin: 0 auto;
}

/* 페이지 헤더 */
.page-header {
    background-color: var(--primary);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    margin-top: 56px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('/theme/drsoft-new/img/team-header-bg.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
}

/* 리더십 팀 카드 */
.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.team-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-img {
    transform: scale(1.05);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(252, 185, 19, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
    color: var(--primary);
}

.team-content {
    padding: 30px;
    text-align: center;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark);
}

.team-position {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.team-divider {
    width: 50px;
    height: 2px;
    background-color: var(--primary);
    margin: 0 auto 20px;
}

.team-bio {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.team-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.expertise-tag {
    background-color: var(--light-gray);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* 마케팅 전문가 카드 */
.expert-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
}

.expert-card:hover {
    transform: translateY(-5px);
}

.expert-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.expert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.expert-content {
    padding: 25px;
}

.expert-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.expert-position {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.expert-bio {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.expert-skills {
    margin-top: 20px;
}

.skill-item {
    margin-bottom: 15px;
}

.skill-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

.skill-bar {
    height: 6px;
    background-color: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: var(--primary);
    border-radius: 3px;
    transition: width 1s ease;
}

/* 개발팀 카드 */
.dev-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
}

.dev-card:hover {
    transform: translateY(-5px);
}

.dev-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.dev-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.dev-position {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.dev-bio {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.dev-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tech-badge {
    background-color: var(--dark);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 팀 문화 카드 */
.culture-card {
    padding: 30px 20px;
    height: 100%;
    transition: transform 0.3s ease;
}

.culture-card:hover {
    transform: translateY(-5px);
}

.culture-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(252, 185, 19, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary);
    transition: background-color 0.3s ease;
}

.culture-card:hover .culture-icon {
    background-color: var(--primary);
    color: white;
}

.culture-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.culture-desc {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 채용 안내 섹션 */
.recruit-section {
    background-color: var(--light-gray);
}

.recruit-section .btn-primary {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.recruit-section .btn-primary:hover {
    transform: scale(1.05);
}

/* CTA 섹션 */
.cta-section {
    background-color: var(--primary);
    color: white;
    padding: 60px 0;
}

/* 반응형 조정 */
@media (max-width: 992px) {
    .team-img-wrapper {
        height: 250px;
    }

    .expert-img-wrapper {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 3rem;
    }

    .team-card,
    .expert-card,
    .dev-card {
        margin-bottom: 30px;
    }

    .team-content,
    .expert-content,
    .dev-card {
        padding: 20px;
    }

    .recruit-section .row {
        text-align: center;
    }

    .recruit-section .col-lg-4 {
        margin-top: 30px;
    }
}

/* 애니메이션 효과 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-card,
.expert-card,
.dev-card,
.culture-card {
    animation: fadeInUp 0.6s ease-out;
}

/* 스킬바 애니메이션 */
@keyframes skillAnimation {
    from {
        width: 0;
    }
}

.expert-card:hover .skill-progress {
    animation: skillAnimation 1s ease-out;
}

/* 이미지 플레이스홀더 (실제 이미지가 없을 경우) */
.team-img-wrapper:not(:has(img)),
.expert-img-wrapper:not(:has(img)) {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 3rem;
}

.team-img-wrapper:not(:has(img))::before {
    content: '\f007';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.expert-img-wrapper:not(:has(img))::before {
    content: '\f007';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}