@charset "utf-8";
/* 회사 소개 페이지 스킨 전용 스타일 - 공통 스타일은 theme/basic/css/common.css .company-page 참조 */

.company-page .container {
    max-width: 1400px;
}

/* 제목 파란 점 */
.company-page .section-title {
    font-size: 30px;
    font-weight: 700;
    color: #212121;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .company-page .section-title {
        font-size: 24px;
        gap: 10px;
        margin-bottom: 30px;
    }
}

.company-page .section-title::before {
    content: '';
    width: 20px;
    height: 20px;
    background-color: #2563EB; /* 시안의 파란색 */
    border-radius: 50%;
}

@media (max-width: 768px) {
    .company-page .section-title::before {
        width: 14px;
        height: 14px;
    }
}

/* 1. CEO 인사말 이미지 장식 */
.company-page .ceo-decor-wrap {
    position: relative;
    padding-right: 25px;
    padding-bottom: 25px;
}

/* 2. 회사 개요 카드 */
.company-page .overview-card {
    background: #fff;
    border: 1px solid #dce4f3;
    border-radius: 12px;
    padding: 50px 30px 45px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px 0 rgba(37, 99, 235, 0.50);
}

@media (max-width: 768px) {
    .company-page .overview-card {
        padding: 40px 20px 35px;
    }
}

.company-page .overview-card:hover {
    transform: translateY(-5px);
    border-color: #2563EB;
    box-shadow: 0 20px 50px rgba(67, 108, 241, 0.15);
}

.company-page .overview-card .card-title {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    color: #2563EB;
    margin-top: 30px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .company-page .overview-card .card-title {
        font-size: 20px;
        margin-top: 20px;
        margin-bottom: 30px;
    }
}

.company-page .overview-card .divider {
    width: 100%;
    height: 1px;
    background: #EAEAEA;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .company-page .overview-card .divider {
        margin-bottom: 30px;
    }
}

.company-page .overview-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.company-page .overview-list li {
    font-size: 18px;
    color: #212121;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

@media (max-width: 768px) {
    .company-page .overview-list li {
        font-size: 15px;
    }
}

.company-page .overview-list li i {
    color: #2563EB;
    font-size: 30px;
    flex-shrink: 0;
}

/* 3. 연혁 지그재그 라인 */
.company-page .history-wrap {
    position: relative;
}

.company-page .history-line-custom {
    position: absolute;
    left: 400px;
    top: 69px;
    bottom: 83px;
    width: 1px;
    background: #e5e7eb;
}

.company-page .history-dot {
    position: absolute;
    left: 395px;
    width: 11px;
    height: 11px;
    background: #2563EB;
    border-radius: 50%;
    z-index: 2;
}

/* 4. 주요 사업 지그재그 육각형 */
.company-page .hex-staggered-grid {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 60px 0 150px;
}

.company-page .hex-unit {
    width: 220px;
    height: 250px;
    background-color: #2563EB;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s;
    position: relative;
    border: 3px solid #fff; /* 시안의 흰색 테두리 효과를 위해 클립패스 내부 보완 필요시 조절 */
}

.company-page .hex-unit:nth-child(even) {
    margin-top: 125px;
}

.company-page .hex-unit:hover {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .company-page .history-line-custom { left: 20px; top: 50px; bottom: 30px; }
    .company-page .history-dot { left: 15px; top: 18px !important; }
}

/* Intersection Observer Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.reveal-active > * {
    opacity: 1;
    transform: translateY(0);
}

/* Add delays for staggered effect */
.reveal-active > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-active > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-active > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-active > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-active > *:nth-child(5) { transition-delay: 0.5s; }

/* History Line Animation */
.history-line-custom {
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s !important;
}
.reveal-active .history-line-custom {
    transform: scaleY(1);
}

/* Premium Image Decor */
.ceo-decor-wrap img {
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.ceo-decor-wrap:hover img {
    transform: translate(10px, 10px);
    box-shadow: -20px -20px 0px rgba(37, 99, 235, 0.1);
}

/* Base state for reveal elements */
[class*="reveal"] {
    will-change: transform, opacity;
}

/* Detailed Responsive Adjustments */
@media (max-width: 768px) {
    .company-page .ceo-decor-wrap {
        padding-right: 15px;
        padding-bottom: 15px;
        margin-bottom: 20px;
    }
    .company-page .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .company-page .overview-card .card-title {
        font-size: 19px;
        margin-top: 25px;
        margin-bottom: 30px;
    }
    .company-page .overview-list li {
        font-size: 15px;
    }
    .company-page [class*="text-xl lg:text-2xl"] {
        font-size: 1.125rem !important; /* text-lg */
    }
    .company-page .history-wrap {
        padding-bottom: 0px;
    }
    .company-page .history-wrap .space-y-24 {
        space-y: 12px; /* Tailwind doesn't work this way in CSS, adjusting margin */
    }
    .company-page .history-wrap .group {
        margin-bottom: 40px;
    }
}
@media (max-width: 480px) {
    .company-page .section-title {
        font-size: 21px;
    }
    .company-page .overview-card {
        padding: 30px 15px;
    }
    .company-page .history-wrap [class*="text-5xl lg:text-[80px]"] {
        font-size: 2.5rem !important;
    }
}
