/* About Page Styles */

/* About Hero Section */
.about-hero {
    position: relative;
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 400px;
    overflow: hidden;
}

.about-title-section {
    padding-top: 120px;
    padding-bottom: 40px;
    background-color: #fff;
}


.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('../img/about/about_title.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.about-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    margin: 40px;
    font-family: 'Inter', sans-serif;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 36px;
    font-weight: 300;
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.hero-logo-text {
    font-size: 72px;
    font-weight: 700;
    color: #fff;
    font-family: 'Inter', sans-serif;
    letter-spacing: 4px;
    margin: 0;
}

.red-d {
    color: #ff4d4d;
}

/* Our Values Section */
.our-values-section {
    padding: 100px 0;
    background-color: #fff;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #111;
    text-align: center;
    margin-bottom: 80px;
    font-family: 'Inter', sans-serif;
}

.values-wrapper {
    position: relative;
    width: 700px;
    height: 300px;
    margin: 100px auto;
}

.values-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 300px;
    border: 2px dotted #ddd;
    border-radius: 200px;
    z-index: 0;
    opacity: 0;
}

.values-wrapper.in-view::before {
    animation: fadeInBorder 0.5s ease-out 1.5s forwards;
}

@keyframes fadeInBorder {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.values-grid {
    position: relative;
    width: 100%;
    height: 100%;
}

.value-item {
    position: absolute;
    top: 50%;
    left: 50%;
}

.value-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.values-wrapper.in-view .dark-circle {
    animation: moveLeft 1.2s ease-out forwards;
}

.values-wrapper.in-view .red-circle {
    animation: moveCenter 1.2s ease-out forwards;
}

.values-wrapper.in-view .light-circle {
    animation: moveRight 1.2s ease-out forwards;
}

@keyframes moveLeft {
    0% {
        transform: translate(-50%, -50%);
    }

    100% {
        transform: translate(calc(-50% - 190px), -50%);
    }
}

@keyframes moveCenter {
    0% {
        transform: translate(-50%, -50%);
    }

    100% {
        transform: translate(-50%, -52%);
    }
}

@keyframes moveRight {
    0% {
        transform: translate(-50%, -50%);
    }

    100% {
        transform: translate(calc(-50% + 190px), -50%);
    }
}

.dark-circle {
    background-color: #2c2c2c;
    color: #fff;
}

.red-circle {
    background-color: #ff4d4d;
    color: #fff;
}

.light-circle {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #e0e0e0;
}

.value-en {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.value-ko {
    font-size: 14px;
    font-weight: 500;
}

.infinity-symbol {
    text-align: center;
    font-size: 32px;
    color: #ff4d4d;
    font-weight: 700;
    margin-top: -25px;
    opacity: 0;
}

.values-wrapper.in-view .infinity-symbol {
    animation: fadeIn 0.5s ease-out 1.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Vision Section */
.vision-section {
    padding: 100px 0;
    background-color: #f9f9f9;
    position: relative;
}

.vision-content {
    text-align: center;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;
    background-image: url('../img/about/money.png');
    /* 퍼센트 값으로 통일해서 easing 효과가 눈에 잘 보이도록 조정 */
    background-size: 100%; /* 기본 크기 */
    background-position: center;
    background-repeat: no-repeat;
    /* 너무 빨리 느껴지지 않도록 2.4초 동안, 부드럽게 두 단계처럼 느껴지는 이징 */
    transition: background-size 0.8s cubic-bezier(.7,.13,0,1.13);
}

.vision-content:hover {
    background-size: 60%; /* 너무 확 줄어들지 않도록 적당히 축소 */
}

.vision-main-title {
    font-size: 42px;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.vision-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.vision-values {
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.vision-value-item {
    font-size: 18px;
    color: #333;
    margin: 15px 0;
    font-weight: 500;
}

.vision-cta {
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.vision-cta-title {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
}

.vision-cta-text {
    font-size: 18px;
    color: #333;
    margin: 10px 0;
    font-weight: 500;
}

/* Money Images */
.money-img {
    position: absolute;
    width: 100px;
    height: auto;
    opacity: 0.8;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1;
}

.money-img:hover {
    transform: scale(1.3) rotate(10deg);
    opacity: 1;
}

.vision-section.in-view .money-img {
    animation: scaleUp 0.6s ease-out forwards;
}

@keyframes scaleUp {
    from {
        transform: scale(0.8);
        opacity: 0.5;
    }

    to {
        transform: scale(1);
        opacity: 0.8;
    }
}

.money-1 {
    top: 5%;
    left: 20%;
    animation-delay: 0s;
}

.money-2 {
    top: 10%;
    right: 15%;
    animation-delay: 0.2s;
}

.money-3 {
    bottom: 20%;
    left: 10%;
    animation-delay: 0.4s;
}

.money-4 {
    bottom: 15%;
    right: 15%;
    animation-delay: 0.6s;
}

/* Plan Section */
.plan-section {
    padding: 80px 0;
    background-color: #fff;
    overflow: hidden; /* 내부 텍스트가 흘러가도 바깥으로는 안 보이도록 */
}

.plan-marquee {
    overflow: hidden;
}

.plan-track {
    display: inline-flex;
    white-space: nowrap;
    width: max-content;
    /* 트랙 전체를 왼쪽에 반쯤 숨긴 상태에서 시작해서 오른쪽으로 이동 */
    transform: translateX(-50%);
    animation: planScrollRight 50s linear infinite;
}

.plan-title {
    font-size: 48px;
    font-weight: 700;
    color: #111;
    font-family: 'Inter', sans-serif;
    letter-spacing: 2px;
    padding: 0 40px; /* 글자 사이 간격 */
    white-space: nowrap;
}

/* plan-section 텍스트가 끊기지 않고 오른쪽으로 무한 스크롤 */
@keyframes planScrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Organization Chart Section */
.org-chart-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.org-title {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    text-align: center;
    margin-bottom: 60px;
    font-family: 'Inter', sans-serif;
    text-transform: lowercase;
}

.org-chart {
    max-width: 900px;
    margin: 0 auto;
}

/* 조직도 이미지용 레이아웃 */
.org-chart-image-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.org-chart-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.org-top {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.org-box {
    padding: 20px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.ceo-box {
    background-color: #ff4d4d;
    color: #fff;
}

.org-departments {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.org-department {
    text-align: center;
}

.dept-box {
    background-color: #fff;
    border: 2px solid #ff4d4d;
    color: #111;
    margin-bottom: 20px;
}

.org-members {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.org-member {
    padding: 10px 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #555;
}

/* Services Flower Section */
.services-flower-section {
    padding: 100px 0;
    background-color: #fff;
}

.flower-content {
    display: flex;
    align-items: center;
    gap: 100px;
}

.flower-left {
    flex: 1;
}

.flower-title {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    margin-bottom: 30px;
    line-height: 1.4;
}

.flower-description {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

.flower-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 꽃 전체 컨테이너 */
.flower-rotator {
    position: relative;
    width: 100%;
    max-width: 630px; /* 기존보다 약 1.5배 확대 */
    aspect-ratio: 1 / 1;
}

/* 꽃 뒤쪽 점선 원 배경 */
.flower-rotator::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/about/about_dotbg.png');
    background-size: 70%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;        /* 섹션 배경 위, 꽃 모양 뒤 */
    pointer-events: none;
}

/* 마스크 + 내부 컨텐츠가 들어가는 레이어 (이 레이어 전체가 같이 회전) */
.flower-mask {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* CSS 마스크로 꽃 모양만 보이게 처리 */
    -webkit-mask-image: url('../img/about/flower.png');
    mask-image: url('../img/about/flower.png');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    overflow: hidden;
    transform-origin: center center;
    z-index: 1; /* 점선 원 위에 오도록 */
}

/* 배경 레이어: about_bg.png (초기부터 기울어진 상태) */
.flower-bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/about/about_bg.png');
    background-size: cover;
    background-position: center;
    transform-origin: center center;
    transform: rotate(-30deg);
}

/* 안쪽 컨텐츠: 아이콘/텍스트 등이 들어갈 영역 (마스크와 함께 회전) */
.flower-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

/* 안쪽 서비스 아이콘/텍스트 배치 */
.flower-services {
    width: 70%;
    height: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.flower-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 21px; /* 14px * 1.5 */
}

.flower-service-item i {
    font-size: 36px; /* 24px * 1.5 */
}

.flower-service-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-label {
    font-size: 21px; /* 14px * 1.5 */
    white-space: nowrap;
}

/* (flower-mask / flower-inner 회전은 JS에서 제어) */

/* Platforms Section */
.platforms-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.platforms-content {
    display: flex;
    align-items: center;
    gap: 100px;
}

.platforms-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Orbit Icons 영역 */
.platform-orbit-container {
    position: relative;
    width: 526px;
    height: 526px;
 
}

/* 궤도 원 */
.platform-orbit {
    position: absolute;
    border: 1px solid #e8e8e8;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.platform-orbit.orbit-1 {
    width: 180px;
    height: 180px;
}

.platform-orbit.orbit-2 {
    width: 350px;
    height: 350px;
}

.platform-orbit.orbit-3 {
    width: 500px;
    height: 500px;
}

 

/* 아이콘 공통 */
.platform-orbit-container .icon {
    position: absolute;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
 
    transform-origin: center center;
}

.platform-orbit-container .platform-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 각 아이콘별 애니메이션 - 다른 타이밍 (살짝 흔들리는 효과) */
.platform-orbit-container .icon-1 {
    animation: wobble1 3s ease-in-out infinite;
}

.platform-orbit-container .icon-2 {
    animation: wobble2 3.5s ease-in-out infinite;
}

.platform-orbit-container .icon-3 {
    animation: wobble3 2.8s ease-in-out infinite;
}

.platform-orbit-container .icon-4 {
    animation: wobble4 3.2s ease-in-out infinite;
}

.platform-orbit-container .icon-5 {
    animation: wobble5 2.5s ease-in-out infinite;
}

.platform-orbit-container .icon-6 {
    animation: wobble6 3.8s ease-in-out infinite;
}

.platform-orbit-container .icon-7 {
    animation: wobble7 2.9s ease-in-out infinite;
}

.platform-orbit-container .icon-8 {
    animation: wobble8 3.3s ease-in-out infinite;
}

.platform-orbit-container .icon-9 {
    animation: wobble9 2.7s ease-in-out infinite;
}

.platform-orbit-container .icon-10 {
    animation: wobble10 3.1s ease-in-out infinite;
}

.platform-orbit-container .icon-11 {
    animation: wobble11 3.6s ease-in-out infinite;
}

.platform-orbit-container .icon-12 {
    animation: wobble12 2.6s ease-in-out infinite;
}

.platform-orbit-container .icon-13 {
    animation: wobble13 3.4s ease-in-out infinite;
}

.platform-orbit-container .icon-14 {
    animation: wobble14 2.4s ease-in-out infinite;
}

@keyframes wobble1 {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(8deg) scale(0.95);
    }
}

@keyframes wobble2 {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(-10deg) scale(0.9);
    }
}

@keyframes wobble3 {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(12deg) scale(0.9);
    }
}

@keyframes wobble4 {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(-8deg) scale(0.95);
    }
}

@keyframes wobble5 {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(15deg) scale(0.9);
    }
}

@keyframes wobble6 {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(-12deg) scale(0.95);
    }
}

@keyframes wobble7 {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(10deg) scale(0.9);
    }
}

@keyframes wobble8 {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(-15deg) scale(0.9);
    }
}

@keyframes wobble9 {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(8deg) scale(0.95);
    }
}

@keyframes wobble10 {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(-10deg) scale(0.9);
    }
}

@keyframes wobble11 {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(12deg) scale(0.9);
    }
}

@keyframes wobble12 {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(-8deg) scale(0.95);
    }
}

@keyframes wobble13 {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(10deg) scale(0.9);
    }
}

@keyframes wobble14 {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(-12deg) scale(0.9);
    }
}

/* 아이콘 위치 (demo 기반) */
.platform-orbit-container .icon-taboola {
    top: 380px;
    left: 50%;
    margin-left: -28px;
}

.platform-orbit-container .icon-x {
    top: 70px;
    left: 50%;
    margin-left: -28px;
}

.platform-orbit-container .icon-ch {
    top: 160px;
    left: 80px;
}

.platform-orbit-container .icon-00 {
    top: 50%;
    left: 50%;      
    margin-top:-48px;    
    margin-left: -28px;  
}

.platform-orbit-container .icon-toss {
    top: -30px;
    right: 190px;
}

.platform-orbit-container .icon-coupang {
    top: 30px;
    left: 80px;
}

.platform-orbit-container .icon-naver {
    top: 175px;
    left: -15px;
}

.platform-orbit-container .icon-fb {
    top: 280px;
    left: 65px;
}

.platform-orbit-container .icon-insta {
    top: 210px;
    right: 65px;
}

.platform-orbit-container .icon-yt {
    top: 35px;
    right: 55px;
}

.platform-orbit-container .icon-google {
    top: 380px;
    left: 25px;
}

.platform-orbit-container .icon-netflix {
    top: 460px;
    left: 175px;
}

.platform-orbit-container .icon-tiktok {
    top: 420px;
    right: 55px;
}

.platform-orbit-container .icon-kakao {
    top: 280px;
    right: -25px;
}

.platform-orbit-container .icon-carrot {
    top: 135px;
    right: -10px;
}

.platforms-right {
    flex: 1;
}

.platforms-title {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 30px;
    line-height: 1.4;
    width:250px;    
}

.platforms-description {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    width:300px;
}

/* Location Section */
.location-section {
    padding: 100px 0;
    background-color: #fff;
}

.location-title {
    font-size: 36px;
    font-weight: 700;
    color: #111;
    text-align: center;
    margin-bottom: 60px;
    font-family: 'Inter', sans-serif;
}

.map-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 네이버 지도 Static Map */
.naver-map-static {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    display: block;
}

.location-info {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.location-marker {
    color: #ff4d4d;
    font-size: 32px;
    flex-shrink: 0;
    margin-top: 5px;
}

.location-details {
    flex: 1;
}

.location-company {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 0 0 10px 0;
}

.location-address {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    margin: 0 0 8px 0;
}

.location-email {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 1440px) {

    .flower-content,
    .platforms-content {
        gap: 60px;
    }
}

@media (max-width: 1024px) {
    .values-wrapper {
        transform: scale(0.8);
    }

    .org-departments {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .flower-content,
    .platforms-content {
        flex-direction: column;
        gap: 60px;
    }

    .flower-right,
    .platforms-left {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 500px;
        padding-bottom: 80px;
    }

    .about-hero-title {
        font-size: 36px;
        margin-bottom: 150px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .hero-logo-text {
        font-size: 48px;
    }

    .values-wrapper {
        transform: scale(1);
        margin: 100px auto;
        width: 100%;
        height: auto;
    }

    .values-wrapper::before {
        width: 90%;
        height: 600px;
        border-radius: 50px;
    }

    .values-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        position: static;
    }

    .value-item {
        position: static;
    }

    .value-circle {
        position: static;
        transform: none;
        width: 160px;
        height: 160px;
    }

    .values-wrapper.in-view .dark-circle,
    .values-wrapper.in-view .red-circle,
    .values-wrapper.in-view .light-circle {
        animation: fallDown 1.2s ease-out forwards;
    }

    .values-wrapper.in-view .dark-circle {
        animation-delay: 0s;
    }

    .values-wrapper.in-view .red-circle {
        animation-delay: 0.2s;
    }

    .values-wrapper.in-view .light-circle {
        animation-delay: 0.4s;
    }

    @keyframes fallDown {
        0% {
            opacity: 0;
            transform: translateY(-100px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .value-en {
        font-size: 18px;
    }

    .value-ko {
        font-size: 13px;
    }

    .section-title {
        font-size: 28px;
    }

    .plan-title {
        font-size: 32px;
    }

    .org-departments {
        grid-template-columns: 1fr;
    }

    .flower-title,
    .platforms-title {
        font-size: 24px;
    }

    .platform-icons {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .platform-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 390px) {
    .about-hero {
        min-height: 400px;
    }

    .about-hero-title {
        font-size: 28px;
        margin-bottom: 100px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-logo-text {
        font-size: 36px;
    }

    .value-circle {
        width: 140px;
        height: 140px;
    }

    .value-text {
        font-size: 16px;
    }

    .location-info {
        left: 15px;
        bottom: 15px;
        padding: 15px 20px;
    }
}