/* About 페이지 리디자인 - 깔끔하고 모던한 스타일 */

/* 페이지 헤더 개선 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.breadcrumb {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: white;
}

/* 섹션 공통 스타일 개선 */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* 인사말 섹션 리디자인 */
.about-greeting {
    max-width: 1000px;
    margin: 0 auto;
}

.greeting-content {
    background: white;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.greeting-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
}

.greeting-text {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: start;
}

.director-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.director-photo:hover {
    transform: translateY(-5px);
}

.greeting-message {
    padding: 20px 0;
}

.greeting-message .lead {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.4;
}

.greeting-message p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.greeting-message .signature {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    font-style: italic;
    margin-top: 40px;
}

/* 비전 섹션 리디자인 */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.vision-card {
    background: white;
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.vision-card:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(10%, 10%);
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.vision-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 32px;
    position: relative;
    z-index: 2;
}

.vision-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    z-index: 2;
}

.vision-card p {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
    position: relative;
    z-index: 2;
}

/* 핵심가치 스타일 개선 */
.core-values {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 60px;
    border-radius: 20px;
    margin-top: 60px;
}

.core-values h3 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.value-item {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item i {
    font-size: 40px;
    color: #667eea;
    margin-bottom: 20px;
}

.value-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.value-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* 갤러리 섹션 개선 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 25px 25px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.gallery-overlay p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.4;
}

/* 오버레이 없는 갤러리 아이템 */
.gallery-item.no-overlay:hover img {
    transform: scale(1.05);
}

.gallery-item.no-overlay .gallery-overlay {
    display: none;
}

/* 연혁 섹션 개선 */
.history-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 45%;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.timeline-item:nth-child(odd) {
    left: 0;
    margin-left: 0;
}

.timeline-item:nth-child(even) {
    left: 55%;
    margin-left: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 4px white, 0 0 0 8px #667eea;
}

.timeline-item:nth-child(odd)::before {
    right: -60px;
}

.timeline-item:nth-child(even)::before {
    left: -60px;
}

.timeline-date {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

/* 조직도 개선 */
.organization-chart {
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    max-width: 800px;
    margin: 0 auto;
}

.org-level-1, .org-level-2, .org-level-3 {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.org-box {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    min-width: 180px;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
}

.org-box:hover {
    transform: translateY(-5px);
}

.org-box.director {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    transform: scale(1.1);
}

.org-box h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.org-box p {
    font-size: 14px;
    opacity: 0.9;
}

/* 오시는 길 섹션 개선 */
.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.location-info {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info h3 i {
    color: #667eea;
}

.contact-details {
    display: grid;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    transition: background 0.3s ease;
}

.info-item:hover {
    background: #f0f2f5;
}

.info-item i {
    color: #667eea;
    font-size: 20px;
    width: 24px;
}

.info-item strong {
    color: #333;
    font-weight: 600;
    min-width: 80px;
}

.info-item p {
    color: #555;
    margin: 0;
    font-size: 16px;
}

/* 대중교통 안내 개선 */
.transportation {
    margin-top: 40px;
}

.transportation h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
}

.transportation h3 i {
    color: #667eea;
}

.transport-options {
    display: grid;
    gap: 25px;
}

.transport-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.transport-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.transport-item ul {
    list-style: none;
    padding: 0;
}

.transport-item li {
    padding: 8px 0;
    color: #555;
    line-height: 1.5;
}

.transport-item li strong {
    color: #667eea;
    font-weight: 600;
}

/* 지도 컨테이너 개선 */
.map-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    height: 500px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    max-width: 300px;
    z-index: 10;
}

.map-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-info h4 i {
    color: #667eea;
}

.map-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.map-link:hover {
    color: #5a7bd8;
}

.map-link i {
    font-size: 12px;
}

/* 반응형 디자인 */
@media (max-width: 968px) {
    .greeting-text {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .director-photo {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* 모바일 타임라인 */
    .timeline::before {
        left: 30px;
        transform: none;
    }
    
    .timeline-item {
        width: calc(100% - 80px);
        margin-left: 80px;
        left: 0 !important;
    }
    
    .timeline-item::before {
        left: -50px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 36px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .greeting-content {
        padding: 40px 30px;
    }
    
    .greeting-message .lead {
        font-size: 20px;
    }
    
    .vision-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .core-values {
        padding: 40px 30px;
    }
    
    .organization-chart {
        padding: 40px 30px;
    }
    
    .location-info {
        padding: 30px;
    }
    
    /* 모바일 타임라인 추가 개선 */
    .timeline-item {
        width: calc(100% - 60px);
        margin-left: 60px;
        padding: 25px 20px;
    }
    
    .timeline-item::before {
        left: -40px !important;
        width: 16px;
        height: 16px;
        box-shadow: 0 0 0 3px white, 0 0 0 6px #667eea;
    }
    
    .timeline::before {
        left: 20px;
        width: 3px;
    }
    
    .timeline-content h4 {
        font-size: 18px;
    }
    
    .timeline-content p {
        font-size: 14px;
    }
    
    .timeline-date {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* 스크롤 애니메이션 효과 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section > * {
    animation: fadeInUp 0.6s ease-out;
}

/* 부드러운 스크롤 */
html {
    scroll-behavior: smooth;
}

/* 새로운 조직도 스타일 */
.org-chart-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* 센터장 (최상위) */
.org-top {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

.org-card.org-leader {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    padding: 35px 50px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.4);
    position: relative;
    z-index: 2;
}

.org-card.org-leader .org-card-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
}

.org-card.org-leader .org-card-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.org-card.org-leader .org-card-content p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.95;
    margin: 0;
}

/* 연결선 */
.org-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.connector-vertical {
    width: 4px;
    height: 50px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 2px;
}

.connector-horizontal {
    width: 70%;
    max-width: 750px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    border-radius: 2px;
    position: relative;
}

.connector-horizontal::before,
.connector-horizontal::after,
.connector-horizontal .center-line {
    content: '';
    position: absolute;
    width: 4px;
    height: 30px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    top: 0;
    border-radius: 2px;
}

.connector-horizontal::before {
    left: 0;
}

.connector-horizontal::after {
    right: 0;
}

/* 하위 팀들 */
.org-teams {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 30px;
    position: relative;
}

.org-teams::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 2px;
}

.org-teams .org-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    border-top: 4px solid #667eea;
}

.org-teams .org-card::before {
    content: '';
    position: absolute;
    top: -34px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 2px;
}

.org-teams .org-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.2);
}

.org-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.org-teams .org-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.org-card-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
}

.org-role {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.org-tasks {
    list-style: none;
    padding: 0;
    margin: 0;
}

.org-tasks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    border-bottom: 1px solid #f5f5f5;
}

.org-tasks li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.org-tasks li i {
    color: #667eea;
    font-size: 12px;
    margin-top: 4px;
    flex-shrink: 0;
}

/* 핵심가치 텍스트 개선 */
.value-item p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* 반응형 - 조직도 */
@media (max-width: 968px) {
    .org-teams {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 40px;
    }

    .org-teams .org-card::before {
        display: none;
    }
}

@media (max-width: 600px) {
    .org-teams {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .connector-horizontal {
        display: none;
    }

    .connector-vertical {
        height: 30px;
    }

    .org-card.org-leader {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .org-card.org-leader .org-card-content p {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .org-card.org-leader {
        padding: 25px 20px;
    }

    .org-card.org-leader .org-card-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }

    .org-card.org-leader .org-card-content h3 {
        font-size: 24px;
    }

    .org-teams .org-card {
        padding: 25px 20px;
    }

    .org-card-header h3 {
        font-size: 20px;
    }

    .org-tasks li {
        font-size: 13px;
    }
}