@font-face {
    font-family: 'PP Neue Montreal';
    src: url('./fonts/PP_Neue_Montreal_Bold.woff2') format('woff2');
    font-style: normal;
}

:root {
    --header-height: 80px; /* 디자이너님의 상단바 실제 높이에 맞춰 조절하세요 */
}

/* 기본 설정 */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    background-color: #fff;
}

/* 상단바 전체 설정 */
.main-header {
    position: fixed;   /* 상단 고정 */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: transparent; /* 초기 상태 투명 */
}

/* 상단바 내부 정렬 */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px; /* 좌우 30px 여백 유지 */
    box-sizing: border-box;
}

/* 로고 배치 */
.logo-area {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 25px; /* 로고 높이는 이미지에 맞춰 조절하세요 */
    display: block;
}

/* 하단 가로선 */
.header-bottom-line {
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.05); /* 아주 연한 선 */
}

/* 은은한 그림자 효과 */
.main-header {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02); /* 티 안나는 자연스러운 그림자 */
}

/* 스크롤 시 변화 (필요할 경우를 대비해 클래스만 생성) */
.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95); /* 스크롤 시 약간 불투명하게 변하고 싶을 때 사용 */
    backdrop-filter: blur(5px); /* 뒤 배경 살짝 흐리게 */
}

/* 히어로 섹션 전체 높이 (스크롤 여유를 줌) */
.hero-section {
    height: 250vh; 
    position: relative;
    background-color: #ffffff; /* 참고 이미지와 유사한 따뜻한 베이지톤 */
}

.hero-sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* 내부 요소들이 위에서부터 차곡차곡 쌓이게 합니다 */
    justify-content: flex-start; 
    padding: 0; /* 여백 때문에 비어 보일 수 있으니 일단 0으로 */
    overflow: hidden;
}

/* 문장 영역: 40% 너비, 상단바 아래 위치 */
.hero-text-area {
    position: absolute; /* 텍스트를 이미지 위에 띄웁니다 */
    top: 430px;
    left: 30px;
    width: 100%;
    z-index: 10;
}

.hero-title .main-text {
    font-family: 'PP Neue Montreal', sans-serif;
    font-size: 72px; /* 세리프는 조금 커야 맛이 납니다 */
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #1a1a1a;
   /* text-transform: uppercase;*/

}

.hero-title .main-text {
    display: block;
    font-weight: 600;
}

.hero-title .sub-text {
    font-family: 'Inter', sans-serif;
    display: block;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: -0.03em;
    margin-top: 20px;
    color: #555;
}

/* 이미지 컨테이너: 처음에는 아래쪽 50% 차지 */
.hero-image-container {
    width: 100%;
    height: 100vh; /* 컨테이너는 미리 100% 확보 */
    display: flex;
    align-items: flex-end; /* 이미지를 바닥에 붙여서 시작 */
    filter: grayscale(100%);
}

.hero-image-frame {
    width: 100%;
    height: 30vh; /* 시작 높이 */
    overflow: hidden;
    position: relative;
    /* 중요: 이미지가 커질 때 위로 차오르게 하기 위해 하단 고정 */
    margin-top: auto;
    transition: none; 
}

.hero-image-frame img {
    width: 100%;
    height: 100vh; /* [핵심] 이미지는 미리 100vh 높이를 가져야 프레임이 커질 때 상단이 안 빕니다 */
    object-fit: cover;
    object-position: center;
    transition: none; 
}

.vision-bridge-section {
    width: 100%;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff; /* 히어로 섹션과 톤을 맞춰주세요 */
    overflow: hidden;
}

.marquee-wrapper {
    width: 100%;
}

.vision-text {
    display: flex; /* 내부 span들을 가로로 나열 */
    white-space: nowrap;
    font-family: 'PP Neue Montreal', sans-serif;
    font-weight: 600;
    font-size: 2vw;
    color: #1a1a1a;
}

.vision-text span {
    padding-right: 20px; /* 문장과 문장 사이의 간격 */
}

.whatwedo-section{
    padding:500px 20px;
}

.whatwedo-inner{
    width: 100%;
    margin:0 auto;
    text-align:center;
}

.whatwedo-title{
    font-size:22px;
    font-weight: 500;
    margin-bottom: 28px;
}

.whatwedo-desc{
    font-size:27px;
    line-height:1.7;
    font-weight: 400;
}

/* 섹션 전체 높이 확보 (스크롤 할 수 있는 공간) */
.value-section {
    position: relative;
    width: 100%;
    height: 400vh; /* 스크롤 길이는 넉넉히 */
    background-color: #000;
}

.value-sticky-wrapper {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex; /* 좌우 나란히 배치 */
    flex-direction: row; 
    overflow: hidden;
}

.value-left {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column; /* 상하 배치를 위해 column 설정 */
    padding: 0; /* 내부 영역에서 패딩을 조절하기 위해 0으로 변경 */
    background-color: #000;
    color: #fff;
}

.value-left-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 이미지가 영역에 맞게 꽉 차도록 설정 */
    display: block;
}

.left-top {
    flex: 1; /* 상하 비율 조절 (예: 1:1) */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px; /* 기존 좌측 패딩 유지 */
    background-color: #000;
}

.left-bottom {
    flex: 1; /* 상하 비율 조절 */
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.value-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; /* 기본적으로 안 보임 */
    transition: opacity 0.6s ease; /* 이미지가 바뀔 때 부드럽게 페이드 */
    filter: grayscale(100%);
}

.value-img.active {
    opacity: 1; /* 활성화된 이미지만 보임 */
}

.value-main-title{
font-size: 40px;
font-weight: 400;
margin-bottom: 10px;
position: relative;
top: 45px;
}

.value-main-desc{
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
    position: relative;
    top: 45px;
}

.value-right {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column; /* 3단 쌓기 */
}

.value-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
    transition: flex 0.7s cubic-bezier(0.2, 1, 0.3, 1);
}

.value-item.active {
    flex: 4; /* 활성화 시 확 커짐 */
}

/* 숫자와 타이틀 가로 배치 */
.card-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.card-title { font-size: 28px; font-weight: 500; font-family: 'PP Neue Montreal'; }

.card-desc {
font-size: 18px;
line-height: 1.6;
font-weight: 300;
margin-top: 10px;
}

.card-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.value-item.active .card-content {
    opacity: 1;
    max-height: 200px;
    margin-top: 20px;
}

.item-01 { background-color: #f3F3F3; }
.item-02 { background-color: #ebebeb; }
.item-03 { background-color: #dddddd; }

/*파트너십 섹션*/
.partners-section {
    padding: 300px 0;
    text-align: center;
}

/* 탭 메뉴 스타일 */
.partners-tabs {
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
    gap: 70px;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 14px;
    color: #999;
    cursor: pointer;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #000;
    border-bottom: 2px solid #000;
    font-weight: 600;
}

/* 로고 그리드 (1줄에 5개) */
.logo-grid {
    display: none; /* 기본 숨김 */
    grid-template-columns: repeat(5, 1fr);
    gap: 80px;
    align-items: center;
}

.logo-grid.active {
    display: grid; /* 활성화 시 노출 */
}

.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.logo-item img {
    max-width: 120px;
    height: auto;
    /* 흑백 필터 적용 */
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
}

/* 마우스 올리면 컬러로 변경 */
.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}


/* 문의섹션 전체 컨테이너 */
.contact-area {
    padding: 120px 30px;
    background-color: var(--bg-color);
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 60px 0;
    text-decoration: none;
    color: var(--text-color);
    position: relative;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.contact-item:first-child {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* 호버 시 텍스트만 살짝 오른쪽으로 밀리게 */
.contact-item:hover {
    padding-left: 40px;
}

/* 호버 시 배경색이 아래서 위로 차오르는 효과를 원하시면 추가 */
.contact-item::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 0;
    background-color: #000;
    z-index: -1;
    transition: height 0.4s ease;
}
.contact-item:hover::before { height: 100%; }
.contact-item:hover { color: #fff; }


.contact-info {
    display: flex;
    align-items: baseline; /* 라벨과 이메일 한 줄 배치 */
    gap: 120px;
    flex-grow: 1;
}

.contact-cat {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    display: inline-block; /* 너비를 먹이기 위해 설정 */
    width: 100px;
    transform: translateY(-20px);
}

.contact-mail {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 4vw; /* 시원한 크기 */
    font-weight: 700;
    margin: 0;
}

.contact-arrow {
    font-size: 3rem;
    font-weight: 200;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}
.contact-item:hover .contact-arrow {
    opacity: 1;
    transform: translate(10px, -10px);
}


/*푸터푸터푸터*/
.main-footer {
    background-color: #111; /* 시안의 짙은 그레이/블랙 톤 */
    color: #fff;
    padding: 40px 60px 60px; /* 시안처럼 하단 여백을 많이 줌 */
    position: relative;
    z-index: 9999;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 850px; /* 공간 확보 */
    box-sizing: border-box;
}

/* 1. 우측 상단 영역 */
.footer-top-links {
    display: flex;
    justify-content: flex-end; /* 오른쪽 정렬 */
    gap: 40px;
    font-size: 15px;
    color: #888;
}

.policy-links {
    display: flex;
    gap: 20px;
}

.policy-links a {
    color: #888;
    text-decoration: none;
}

/* 2. 하단 메인 영역 */
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* 바닥에 딱 붙임 */
}

/* 왼쪽 정보 텍스트 */
.company-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-row {
    display: flex;
    gap: 60px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-item .label {
    font-size: 15px;
    color: #555;
    text-transform: lowercase;
}

.info-item .value {
    font-size: 15px;
    font-weight: 500;
}

/* 로고 이미지 (우하단 쏠림) */
.footer-logo-box {
    width: 65%; /* 로고가 차지하는 비중 */
    text-align: right;
}

.footer-logo-box img {
    width: 100%;
    max-width: 900px; /* 로고 크기는 프로젝트에 맞춰 조절 */
    display: block;
    margin-left: auto;
}