/* intro.css - 소개 페이지 전용 스타일 */

/* 메인 콘텐츠 래퍼 - 세로 정렬 */
.main-content-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px 60px;
    gap: 40px;
}

/* 컬럼 공통 스타일 */
.content-column, .activities-column {
    width: 100%;
}

/* 섹션 제목 */
.sub-title {
    margin-bottom: 25px;
    text-align: center;
}

.sub-title h2 {
    color: var(--text-main);
    font-size: 32px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.sub-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--main-color), var(--sub-color));
    border-radius: 2px;
}

/* 컨테이너 공통 스타일 */
.content-container, .activities-container {
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    width: 85%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.content-container:hover, .activities-container:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* 콘텐츠 컨테이너 배경 장식 */
.content-container::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 127, 42, 0.08);
    border-radius: 50%;
    z-index: 0;
}

.content-container::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: rgba(35, 142, 150, 0.08);
    border-radius: 50%;
    z-index: 0;
}

/* 콘텐츠 텍스트 */
.content-text-new {
    font-family: 'Noto Sans KR', sans-serif;
    padding: 40px 50px;
    text-align: left;
    line-height: 1.9;
    position: relative;
    z-index: 1;
}

/* 텍스트 박스 */
.text-box {
    padding: 20px;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.text-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.text-box:last-child {
    margin-bottom: 0;
}

.content-text-new p {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-main);
    margin-bottom: 0;
}

/* 중요 텍스트 강조 */
.highlight {
    color: #238E96;
    font-weight: 700;
    display: inline-block;
    position: relative;
}

/* 3대 직무 컨테이너 */
.three-duties-container {
    width: 85%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 직무 카드 */
.duty-card {
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
    animation: fadeIn 0.6s ease forwards;
}

.duty-card:nth-child(1) { animation-delay: 0.1s; }
.duty-card:nth-child(2) { animation-delay: 0.2s; }
.duty-card:nth-child(3) { animation-delay: 0.3s; }

.duty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--main-color);
}

/* 직무 이미지 */
.duty-image {
    flex-shrink: 0;
    width: 450px;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.duty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.duty-card:hover .duty-image img {
    transform: scale(1.08);
}

/* 직무 내용 */
.duty-content {
    flex: 1;
    padding: 40px 45px;
}

.duty-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 12px;
}

.duty-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--main-color);
    border-radius: 2px;
}

.duty-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-sub1);
}

/* 주요 사업 그리드 - 2x2 배치 */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 35px;
}

/* 활동 박스 */
.activity-box {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: all 0.4s ease;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.activity-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* 활동 아이콘 */
.activity-icon {
    width: 100%;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* 이모지 아이콘 */
.emoji-icon {
    font-size: 70px;
    display: block;
    transition: transform 0.4s ease;
    z-index: 1;
}

.activity-box:hover .emoji-icon {
    transform: scale(1.2) rotate(10deg);
}

/* 활동 헤더 */
.activity-header {
    background-color: white;
    color: var(--text-main);
    padding: 18px 15px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    position: relative;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

/* 활동 리스트 */
.activity-list {
    list-style: none;
    padding: 25px;
    margin: 0;
    flex-grow: 1;
}

.activity-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 14px;
    font-size: 15px;
    color: var(--text-sub1);
    line-height: 1.7;
    transition: all 0.3s ease;
}

.activity-list li:last-child {
    margin-bottom: 0;
}

.activity-box:hover .activity-list li {
    color: var(--text-main);
}

.activity-list li:hover {
    transform: translateX(5px);
}

.activity-list li::before {
    content: '▪';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    transition: all 0.3s ease;
}

.activity-box:hover .activity-list li::before {
    transform: scale(1.2);
}

/* DISABILITY PRIDE 테마 - 무지개 */
.pride-theme {
    position: relative;
    overflow: hidden;
}

.pride-theme::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg,
    #FF0018 0%,
    #FFA52C 16.67%,
    #FFFF41 33.33%,
    #008018 50%,
    #0000F9 66.67%,
    #86007D 83.33%,
    #FF0018 100%);
    z-index: 2;
}

.pride-theme .activity-icon {
    background: linear-gradient(135deg, rgba(255, 0, 24, 0.15) 0%, rgba(255, 165, 44, 0.15) 100%);
}

.pride-theme .activity-header {
    background: linear-gradient(135deg, rgba(255, 0, 24, 0.05) 0%, rgba(255, 165, 44, 0.05) 100%);
    border-bottom: 2px solid #FF0018;
}

.pride-theme .activity-list li::before {
    color: #FF0018;
}

.pride-theme:hover {
    border-color: #FF0018;
}

/* 교육 사업 테마 - 파란색 */
.education-theme {
    position: relative;
}

.education-theme::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #1E88E5 0%, #42A5F5 100%);
    z-index: 2;
}

.education-theme .activity-icon {
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.15) 0%, rgba(66, 165, 245, 0.15) 100%);
}

.education-theme .activity-header {
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.08) 0%, rgba(66, 165, 245, 0.08) 100%);
    border-bottom: 2px solid #1E88E5;
}

.education-theme .activity-list li::before {
    color: #1E88E5;
}

.education-theme:hover {
    border-color: #1E88E5;
}

/* 취업박람회 테마 - 초록색 */
.fair-theme {
    position: relative;
}

.fair-theme::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #43A047 0%, #66BB6A 100%);
    z-index: 2;
}

.fair-theme .activity-icon {
    background: linear-gradient(135deg, rgba(67, 160, 71, 0.15) 0%, rgba(102, 187, 106, 0.15) 100%);
}

.fair-theme .activity-header {
    background: linear-gradient(135deg, rgba(67, 160, 71, 0.08) 0%, rgba(102, 187, 106, 0.08) 100%);
    border-bottom: 2px solid #43A047;
}

.fair-theme .activity-list li::before {
    color: #43A047;
}

.fair-theme:hover {
    border-color: #43A047;
}

/* 정책 사업 테마 - 보라색 */
.policy-theme {
    position: relative;
}

.policy-theme::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #5E35B1 0%, #7E57C2 100%);
    z-index: 2;
}

.policy-theme .activity-icon {
    background: linear-gradient(135deg, rgba(94, 53, 177, 0.15) 0%, rgba(126, 87, 194, 0.15) 100%);
}

.policy-theme .activity-header {
    background: linear-gradient(135deg, rgba(94, 53, 177, 0.08) 0%, rgba(126, 87, 194, 0.08) 100%);
    border-bottom: 2px solid #5E35B1;
}

.policy-theme .activity-list li::before {
    color: #5E35B1;
}

.policy-theme:hover {
    border-color: #5E35B1;
}

/* 비전 섹션 */
.vision-section {
    width: 85%;
    margin: 0 auto;
}

.vision-lead {
    background: linear-gradient(135deg, #f0f7f8 0%, #fef6f0 100%);
    border-radius: 14px;
    padding: 40px 42px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.vision-lead::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--main-color), var(--sub-color));
    border-radius: 14px 14px 0 0;
}

.vision-lead p {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-main);
    margin: 0;
    text-align: left;
    font-weight: 500;
}

.vision-cards {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.vision-card {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eaeef2;
    padding: 28px 32px;
    gap: 20px;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    animation: fadeIn 0.6s ease forwards;
}

.vision-card:nth-child(1) { animation-delay: 0.1s; }
.vision-card:nth-child(2) { animation-delay: 0.2s; }
.vision-card:nth-child(3) { animation-delay: 0.3s; }

.vision-card:hover {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
    border-color: transparent;
}

.vision-card-marker {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--main-color), var(--sub-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-top: 2px;
    counter-increment: vision-step;
}

.vision-card:nth-child(1) .vision-card-marker::after { content: '1'; }
.vision-card:nth-child(2) .vision-card-marker::after { content: '2'; }
.vision-card:nth-child(3) .vision-card-marker::after { content: '3'; }

.vision-card-content {
    flex: 1;
    text-align: left;
}

.vision-card-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
}

.vision-card-content p {
    font-size: 16px;
    line-height: 1.85;
    color: #555;
    margin: 0;
}

/* 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-box {
    animation: fadeIn 0.6s ease forwards;
}

.text-box:nth-child(1) { animation-delay: 0.1s; }
.text-box:nth-child(2) { animation-delay: 0.2s; }
.text-box:nth-child(3) { animation-delay: 0.3s; }

.activity-box {
    animation: fadeIn 0.6s ease forwards;
}

.activity-box:nth-child(1) { animation-delay: 0.2s; }
.activity-box:nth-child(2) { animation-delay: 0.3s; }
.activity-box:nth-child(3) { animation-delay: 0.4s; }
.activity-box:nth-child(4) { animation-delay: 0.5s; }

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .duty-image {
        width: 400px;
        height: 250px;
    }

    .duty-content {
        padding: 30px 35px;
    }

    .duty-content h3 {
        font-size: 20px;
    }

    .duty-content p {
        font-size: 16px;
    }

    .activities-grid {
        gap: 25px;
    }
}

@media (max-width: 1024px) {
    .content-container, .activities-container, .three-duties-container {
        width: 90%;
    }

    .duty-image {
        width: 350px;
        height: 220px;
    }

    .duty-content {
        padding: 25px 30px;
    }

    .duty-content h3 {
        font-size: 19px;
    }

    .duty-content p {
        font-size: 15px;
    }

    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 30px;
    }

    .content-text-new {
        padding: 30px 35px;
    }

    .vision-section {
        width: 90%;
    }

    .sub-title h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .content-container, .activities-container, .three-duties-container {
        width: 95%;
    }

    /* 3대 직무 - 세로 배치로 전환 */
    .duty-card {
        flex-direction: column;
    }

    .duty-image {
        width: 100%;
        height: 200px;
    }

    .duty-content {
        padding: 25px;
    }

    .duty-content h3 {
        font-size: 18px;
    }

    .duty-content p {
        font-size: 15px;
    }

    /* 주요 사업 - 1열로 전환 */
    .activities-grid {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }

    .content-text-new {
        padding: 25px 25px;
    }

    .content-text-new p {
        font-size: 16px;
    }

    .sub-title h2 {
        font-size: 24px;
    }

    .activity-icon {
        height: 120px;
    }

    .emoji-icon {
        font-size: 60px;
    }

    .activity-header {
        min-height: 60px;
    }

    .activity-header h3 {
        font-size: 16px;
    }

    .activity-list {
        padding: 20px;
    }

    .activity-list li {
        font-size: 14px;
    }

    .vision-section {
        width: 95%;
    }

    .vision-lead {
        padding: 32px 24px;
    }

    .vision-lead p {
        font-size: 16px;
    }

    .vision-card {
        padding: 22px 24px;
        gap: 16px;
    }

    .vision-card-content h3 {
        font-size: 16px;
    }

    .vision-card-content p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .content-text-new {
        padding: 20px;
    }

    .content-text-new p {
        font-size: 15px;
        line-height: 1.8;
    }

    .text-box {
        padding: 15px;
    }

    .sub-title h2 {
        font-size: 22px;
    }

    /* 3대 직무 모바일 */
    .duty-image {
        height: 180px;
    }

    .duty-content {
        padding: 20px;
    }

    .duty-content h3 {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .duty-content p {
        font-size: 14px;
    }

    .emoji-icon {
        font-size: 50px;
    }

    .activity-icon {
        height: 100px;
    }

    .activity-list {
        padding: 15px 20px;
    }

    .activity-list li {
        font-size: 13px;
        padding-left: 18px;
    }

    .vision-section {
        width: 100%;
    }

    .vision-lead {
        padding: 28px 20px;
        border-radius: 10px;
    }

    .vision-lead p {
        font-size: 15px;
        line-height: 1.8;
    }

    .vision-cards {
        gap: 12px;
    }

    .vision-card {
        padding: 20px 18px;
        gap: 14px;
    }

    .vision-card-marker {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .vision-card-content h3 {
        font-size: 15px;
    }

    .vision-card-content p {
        font-size: 14px;
        line-height: 1.8;
    }
}