/* company.css - 회사 페이지 스타일 */

/* 배경 이미지 */
#intro {
	background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../images/gpt/g3.png') no-repeat center center/cover;
}

#company-overview {
    background: url('../images/gpt/g11.png') no-repeat center center/cover;
    position: relative;
}

#philosophy {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.48)), url('../images/gpt/g9.png') no-repeat center center/cover;
    position: relative;
}

#philosophy .section-title {
    margin-bottom: 10px;
}

#talent {
    background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.05)),url('../images/gpt/g19.png') no-repeat center center/cover;
    position: relative;
}

/* Company 페이지 공통 스타일 */
.company-section {
    background-color: #f8f9fa;
    position: relative;
    color: white;
}

/* 인트로 섹션 */
#intro {
    color: white;
    position: relative;
    padding: 0;
}

.intro-content h1 {
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.intro-content p {
    font-size: 24px;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* 회사 개요 섹션 */
#company-overview .company-overview-content {
    margin-bottom: 40px;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.company-overview-content {
    background-color: white;
    padding: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-top: 40px;
}

/* 섹션 공통 스타일 - 구분감 강화 */
.overview-section {
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.overview-section:last-child {
    margin-bottom: 0;
}

.overview-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 22px;
    padding-bottom: 10px;
}

.overview-section h3.section-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.overview-section h3.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
}

/* 비전/미션 섹션 스타일 */
.vm-section {
    margin-bottom: 30px;
}

.vm-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.vm-card {
    width: 100%;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row; /* 기본적으로 가로 배치 */
    align-items: flex-start;
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.15);
}

.vm-icon {
    font-size: 2rem;
    color: #4361ee;
    margin-right: 20px;
    min-width: 60px;
    text-align: center;
}

.vm-icon i {
    font-size: 30px;
}

.vm-icon {
    color: var(--primary-color);
    font-size: 2.2rem;
}

.vm-card:hover .vm-icon i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.vm-content {
    flex: 1;
}

.vm-content h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.vm-content p {
    line-height: 1.6;
    color: #666;
}

/* 핵심 가치 스타일 */
.values-section {
    margin-top: 40px;
}

.core-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.value-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
}

.value-header i {
    font-size: 24px;
    margin-right: 15px;
}

.value-header h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.value-body {
    padding: 20px;
}

.value-body ul {
    margin: 0;
    padding: 0;
}

.value-body li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
    list-style: none;
}

.value-body li:last-child {
    margin-bottom: 0;
}

.value-body li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

/* 경영 이념 섹션 */
.main-philosophy {
    text-align: center;
    margin: 0px 0 50px;
    /*background-color: rgba(255, 255, 255, 0.1);*/
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.main-philosophy-content h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.main-philosophy-content p {
    font-size: 18px;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.philosophy-item {
    text-align: center;
    width: 240px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.philosophy-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.philosophy-circle {
    width: 180px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent-color);
    font-size: 22px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.philosophy-circle i {
    font-size: 40px;
    margin-bottom: 15px;
}

.philosophy-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.philosophy-item p {
    color: var(--light-color);
    font-size: 15px;
    line-height: 1.5;
    padding: 0 10px;
}

/* 인재상 섹션 스타일 */
.talent-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.talent-item {
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 30px 20px;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.talent-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.talent-item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0;
    transition: all 0.3s ease;
}

.talent-item:hover:before {
    opacity: 1;
}

.talent-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    color: white;
    box-shadow: 0 5px 15px rgba(26, 42, 80, 0.3);
}

.talent-icon:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.2;
    transform: scale(1.3);
    transition: all 0.3s ease;
}

.talent-item:hover .talent-icon:after {
    transform: scale(1.5);
    opacity: 0.3;
}

.talent-icon i {
    font-size: 32px;
    color: white;
}

.talent-item h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 12px;
}

.talent-item h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.talent-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--dark-color);
    margin: 0;
    height: 120px;
    overflow-y: auto;
}

#talent .section-title p {
	 color: var(--dark-color);
}

.section-title p {
	color: var(--dark-color);
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .talent-container {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
    }
    
    .talent-item p {
        height: auto;
        overflow-y: visible;
    }
}

@media (max-width: 992px) {
    .core-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .philosophy-circle {
        width: 160px;
        height: 160px;
        font-size: 20px;
    }

    .vm-card {
        padding: 25px;
    }
    
    .vm-header {
        min-width: 110px;
    }
}

@media (max-width: 768px) {
   /* 비전/미션 카드 레이아웃 변경 */
   .vm-card {
    flex-direction: column; /* 모바일에서는 세로 배치로 변경 */
    padding: 20px;
}

.vm-header {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
    justify-content: flex-start;
}

.vm-icon {
    margin-right: 10px;
}

.vm-icon i {
    font-size: 22px;
}

.vm-header h3 {
    font-size: 17px;
}

.vm-content p {
    font-size: 14px;
}

/* 핵심 가치 섹션 레이아웃 변경 */
.core-values-grid {
    grid-template-columns: 1fr;
    gap: 15px;
}

.value-card {
    display: flex;
    flex-direction: column;
}

.value-header {
    padding: 15px;
}

.value-body {
    padding: 15px;
}

.value-body li {
    font-size: 13px;
}
    
    .talent-container {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
    
    .main-philosophy-content h3 {
        font-size: 28px;
    }
    
    .main-philosophy-content p {
        font-size: 16px;
    }
    
    .philosophy-container, .talent-container {
        gap: 20px;
    }
    
    .philosophy-item {
        width: 220px;
        max-width: 240px;
    }
    
    .philosophy-circle {
        width: 140px;
        height: 140px;
        font-size: 18px;
    }
    
    .philosophy-circle i {
        font-size: 32px;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .vm-section {
        margin-bottom: 20px;
    }
    
    .vm-container {
        gap: 15px;
        margin-top: 15px;
    }
    
    .vm-card {
        padding: 15px;
    }
    
    .vm-header {
        margin-bottom: 10px;
    }
    
    .vm-icon i {
        font-size: 20px;
    }
    
    .vm-header h3 {
        font-size: 16px;
    }
    
    .vm-content p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    /* 핵심 가치 섹션 추가 최적화 */
    .values-section {
        margin-top: 20px;
    }
    
    .overview-section {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .overview-section h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .value-header h4 {
        font-size: 15px;
    }
    
    .value-header i {
        font-size: 18px;
    }

    .philosophy-item {
        width: 100%;
        max-width: 240px;
    }
    
    .philosophy-circle {
        width: 120px;
        height: 120px;
        font-size: 16px;
    }
}

/* 더 작은 화면에 대한 추가 최적화 */
@media (max-width: 400px) {
    .vm-card {
        padding: 12px;
    }
    
    .vm-header {
        margin-bottom: 8px;
    }
    
    .vm-icon i {
        font-size: 18px;
    }
    
    .vm-header h3 {
        font-size: 15px;
    }
    
    .vm-content p {
        font-size: 12px;
        line-height: 1.4;
    }
}

/* 회사 개요 섹션만 수정된 CSS */

/* 회사 개요 섹션 높이 및 스크롤 설정 */
#company-overview {
    padding-bottom: 30px; /* 하단 여백 설정 */
}

/* 회사 개요 섹션 내 타이틀 여백 축소 */
#company-overview .section-title {
    margin-bottom: 15px; /* 타이틀 아래 여백 축소 */
    padding-top:40px;
}

#company-overview .section-title p.small-title {
    margin-bottom: 5px; /* 작은 타이틀 여백 축소 */
}

#company-overview .section-title h2.big-title {
    margin-bottom: 10px; /* 큰 타이틀 여백 축소 */
}

#company-overview .section-title .title-divider {
    margin-bottom: 10px; /* 구분선 여백 축소 */
}

#company-overview .section-title > p {
    margin-bottom: 15px; /* 설명 텍스트 여백 축소 */
    font-size: 15px; /* 폰트 사이즈 약간 축소 */
}

/* 비전/미션 섹션 최적화 */
#company-overview .vm-section {
    margin-bottom: 20px; /* 여백 축소: 30px -> 20px */
}

#company-overview .vm-container {
    gap: 20px; /* 카드 간격 축소: 30px -> 20px */
    margin-top: 15px; /* 상단 여백 축소: 30px -> 15px */
}

#company-overview .vm-card {
    padding: 18px; /* 패딩 더 축소 */
    display: flex;
    align-items: flex-start;
}

/* 아이콘과 제목을 함께 그룹화 */
#company-overview .vm-header {
   display: flex;
    align-items: center; /* 중앙 수직 정렬 강화 */
    min-width: 130px;
    margin-right: 15px;
}

/* 제목 스타일 */
#company-overview .vm-header h3 {
     margin: 0;
    line-height: 24px; /* 아이콘 크기에 맞춤 */
    font-size: 18px;
	padding-bottom:0px;
}

#company-overview .vm-icon {
      display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    height: 24px; /* 아이콘 컨테이너 높이 지정 */
}

#company-overview .vm-icon i {
   line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
	font-size:24px;
}

/* 내용 영역 스타일 */
#company-overview .vm-content {
    flex: 1;
}

#company-overview .vm-content h3 {
    margin-bottom: 10px; /* 여백 축소: 15px -> 10px */
    font-size: 1.3rem; /* 글자 크기 축소: 1.5rem -> 1.3rem */
}

#company-overview .vm-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* 핵심 가치 섹션 최적화 */
#company-overview .values-section {
    margin-top: 20px; /* 여백 축소: 40px -> 20px */
}

#company-overview .core-values-grid {
    max-width: 1140px;
    gap: 80px; /* 간격 축소: 30px -> 20px */
    margin-top: 15px; /* 여백 축소: 30px -> 15px */
}

#company-overview .value-header {
    padding: 15px; /* 패딩 축소: 20px -> 15px */
}

#company-overview .value-header i {
    font-size: 20px; /* 아이콘 크기 축소: 24px -> 20px */
    margin-right: 12px; /* 여백 축소: 15px -> 12px */
}

#company-overview .value-header h4 {
    font-size: 16px; /* 글자 크기 축소: 18px -> 16px */
}

#company-overview .value-body {
    padding: 15px; /* 패딩 축소: 20px -> 15px */
}

/* 회사 개요 섹션 내부 요소 전체 최적화 */
#company-overview .overview-section {
    padding: 20px; /* 패딩 축소: 30px -> 20px */
    margin-bottom: 20px; /* 여백 축소: 30px -> 20px */
}

/* 다른 섹션 헤더의 h3는 별도로 스타일링 */
#company-overview .overview-section > h3 {
    margin-bottom: 15px;
    font-size: 20px;
    padding-bottom: 8px;
}

/* company.css 파일에 추가할 모바일 반응형 CSS */

/* 기존 미디어 쿼리 내에 intro 섹션에 대한 스타일 추가 */
@media (max-width: 992px) {
    /* 기존 코드 유지 */
    .core-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .philosophy-circle {
        width: 160px;
        height: 160px;
        font-size: 20px;
    }
    
    /* intro 섹션 텍스트 크기 조정 */
    .intro-content h1 {
        font-size: 44px;
    }
    
    .intro-content p {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    #talent .section-title {
        margin-bottom: 10px;
    }

    /* 기존 코드 유지 */
    .vm-container {
        flex-direction: column;
    }
    
    .vm-card {
        width: 100%;
    }
    
    .core-values-grid {
        grid-template-columns: 1fr;
    }
    
    .talent-container {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
    
    .main-philosophy-content h3 {
        font-size: 28px;
    }
    
    .main-philosophy-content p {
        font-size: 16px;
    }
    
    .philosophy-container, .talent-container {
        gap: 20px;
    }
    
    .philosophy-item {
        width: 220px;
        max-width: 240px;
    }
    
    .philosophy-circle {
        width: 140px;
        height: 140px;
        font-size: 18px;
    }
    
    .philosophy-circle i {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    /* intro 섹션 텍스트 크기 추가 조정 */
    .intro-content h1 {
        font-size: 36px;
    }
    
    .intro-content p {
        font-size: 18px;
        line-height: 1.4;
    }

    #company-overview .section-title {
        padding-top:0px;
    }

    /* 기업 방향성과 핵심 가치 섹션 동일한 스타일 적용 */
    .vm-section, .values-section {
        width: 100%;
        padding: 20px;
        margin-bottom: 20px;
        background-color: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(5px);
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
    
    /* 섹션 제목 스타일 통일 */
    .vm-section h3, .values-section h3 {
        font-size: 18px;
        margin-bottom: 15px;
        padding-bottom: 8px;
    }
    
    /* 핵심 가치 섹션 너비 조정 */
    .values-section {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 20px;
        box-sizing: border-box;
    }
    
    /* 컨테이너 패딩 조정 */
    #company-overview .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 576px) {
    #talent .section-title {
        margin-bottom: 0px;
    }

    .main-philosophy {
        margin : 0;
    }

    /* 기존 코드 유지 */
    .philosophy-item {
        width: 100%;
        max-width: 240px;
    }
    
    .philosophy-circle {
        width: 100px;
        height: 100px;
        font-size: 16px;
    }
    
    /* 모바일 화면에서 intro 섹션 텍스트 크기 더 줄이기 */
    .intro-content h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .intro-content p {
        font-size: 16px;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    /* 줄바꿈 없애기 (모바일에서 자연스럽게 줄바꿈 되도록) */
    .intro-content p br {
        display: none;
    }
}

/* 더 작은 모바일 화면에 대한 추가 설정 */
@media (max-width: 400px) {
    .intro-content h1 {
        font-size: 24px;
    }
    
    .intro-content p {
        font-size: 14px;
    }
}

#company-overview i {
    margin-right: 5px;;
}

/* iPad 및 태블릿 최적화 (768px ~ 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    /* 비전/미션 카드 레이아웃 조정 */
    .vm-card {
        flex-direction: column; /* 태블릿에서도 세로 배치로 변경 */
        padding: 25px;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .vm-header {
        display: flex;
        align-items: center;
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .vm-icon {
        margin-right: 12px;
    }
    
    .vm-header h3 {
        font-size: 20px;
    }
    
    .vm-content p {
        font-size: 15px;
        line-height: 1.6;
        word-break: keep-all; /* 한글 단어 단위 줄바꿈 */
    }
    
    /* 핵심 가치 섹션 최적화 */
    .core-values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .value-card {
        height: 100%;
    }
    
    .value-body li {
        word-break: keep-all; /* 한글 단어 단위 줄바꿈 */
        line-height: 1.6;
    }
    
    /* 기업 방향성 카드 최적화 */
    #company-overview .section-title p {
        word-break: keep-all;
        line-height: 1.6;
    }
    
    /* 기업 방향성 섹션 전체 레이아웃 최적화 */
    .overview-section {
        padding: 25px;
    }
}

/* 태블릿 세로모드 및 작은 태블릿 최적화 (600px ~ 767px) */
@media (min-width: 600px) and (max-width: 767px) {
    /* 비전/미션 카드 추가 최적화 */
    .vm-card {
        padding: 20px;
    }
    
    .vm-header h3 {
        font-size: 18px;
    }
    
    .vm-content p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* 핵심 가치 섹션 2열 레이아웃 유지 */
    .core-values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* 텍스트 최적화를 위한 공통 스타일 */
.vm-content p, .value-body li, #company-overview .section-title p {
    word-break: keep-all; /* 한글 단어 단위 줄바꿈 */
    overflow-wrap: break-word; /* 긴 단어 줄바꿈 */
}

/* 전체적인 카드 디자인 개선 */
.vm-card, .value-card {
    height: 100%; /* 높이 일관성 유지 */
}

/* 아이콘 정렬 최적화 */
.vm-icon i, .value-header i {
    display: flex;
    align-items: center;
    justify-content: center;
}