
/* 메인 페이지의 각 섹션 공통 */
.section {
    width: 100%;
    /* min-height: 85vh;  */
    /* padding-top: var(--header-height);  */
}


/* --- Brand-Film Section --- */

.hero-section {
    width: 100%;
    height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
}

/* 영상 영역: 85% 차지 */
.video-frame {
    width: 100%;
    height: 85%; 
    overflow: hidden;
    position: relative;
    background-color: #2B2B2B;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 스크롤 영역: 나머지 15% */
.scroll-container {
    height: 15%; 
    display: flex;
    justify-content: center;
    align-items: center; 
}

.scroll-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase; /* 대문자로 잡지 느낌 내기 */
}

/* 화살표 움직이는 애니메이션 */
.arrow {
    margin-top: 5px;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}



/* --- Identity Section --- */
#identity{
    padding-top: 80px;
}
/* grid */
.identity-wrapper, 
.works-bridge, 
.editorial-note-section {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

#identity .big-typo:first-child { grid-column: 5 / span 8; } /* ARCHIVE*/
#identity .big-typo:nth-child(2) { grid-column: 4 / span 8; } /* Hye*/
#identity .intro-description { grid-column: 1 / -1; }
.works-bridge .strategy-line { grid-column: 2 / span 10; }
.works-bridge .work-line { grid-column: 7 / -1; }
.editorial-note-section .editorial-note {
    grid-column: 3 / span 6;
}

/* 대형 타이포 스타일 */
.big-typo {
    display: flex;
    align-items: center;
    font-size: clamp(3.5rem, 8vw, 7rem); /* 반응형 폰트 크기 */
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.05em;
    color: #2B2B2B;
}
.logo-point{
    color: var(--primary-color);
    font-weight: 800;
}

.annotation {
    letter-spacing: 0em;
    text-transform: none;
    white-space: nowrap;
    align-self: flex-start;
    /* margin-top: 20px; */
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary-color);
}
.work-line .light{
    /* font-style: italic; */
    font-weight: 300; /* WORK보다 살짝 가늘게 */
    text-transform: lowercase; /* 명시적으로 소문자 고정 */
}



/* 괄호와 이미지 박스 */
.bracket-wrap {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    color: #2B2B2B;
    display: inline-flex;
    align-items: center;
    transform: translateY(-5px);
    margin: 0 10px;
}

.ident-imgbox {
    display: inline-block;
    width: 1.4em;
    height: 0.8em;
    background-color: #E0E0E0;
    margin: 0 0.1em;
    overflow: hidden;
    vertical-align: middle;
}



/* 중간 설명 문구 */
#identity .intro-description {
    text-align: center; /* 그 안에서 글자만 중앙 */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.intro-description {
    padding: 20px 0;
    max-width: 800px;
}

.intro-description p {
    font-size: 1rem;
    line-height: 1.8;
    word-break: keep-all;
    color: #2B2B2B;
}


/* --- Works Section : Header & Editorial --- */
.works-bridge {
    /* margin-top: 100px; */
    text-align: center;
}

.strategy-line {
    display: flex;
    justify-content: center;
    /* align-items: flex-start; */
}



/* 에디토리얼 노트 (A안: 주석 형태의 버튼) */
.editorial-note-section {
    display: flex;
    justify-content: flex-start; /* 왼쪽 배치 */
    margin: 80px 0;
}

.editorial-note {
    display: flex;
    gap: 12px;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 20px;
    border: 1px solid transparent; /* 호버 시 가이드라인 용 */
}
.point-star {
    font-size: 2em;
    color: var(--primary-color);
    vertical-align: super;
    margin-left: 5px;
}

.edit-txt {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.edit-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2B2B2B;
}

.edit-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 10px;
}

.edit-btn {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2B2B2B;
    display: flex;
    align-items: center;
    gap: 5px;
}

.edit-arrow {
    transition: transform 0.3s ease;
}

/* 호버 인터랙션: "이건 버튼이다!"라고 외치는 중 */
.editorial-note:hover {
    background-color: #F8F9FA;
}

.editorial-note:hover .edit-arrow {
    transform: translate(3px, -3px); /* 대각선 위로 쏙 */
}

.editorial-note:hover .edit-title {
    color: var(--primary-color);
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .big-typo { font-size: 3rem; }
    .annotation { display: none; } /* 모바일에서 겹침 방지 */
    .intro-description p { font-size: 1.1rem; }
    .works-bridge { text-align: left; }
    .strategy-line { justify-content: flex-start; }
}


/* --- Works Section --- */

.works-large {
    margin: 60px 0;
}

.work-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.work-item-big {
    display: flex;
    gap: 100px;
}

/* 01번 처럼 좌우 반전이 필요한 경우 */
.work-item-big.row-reverse .work-content-wrap {
    flex-direction: row-reverse;
}

/* 상단 숫자 및 카테고리 */
.work-info {
    display: flex;
    gap: 15px;
    font-size: 14px;
    font-weight: 500;
    color: #2B2B2B;
}

/* 큰 아티클 레이아웃 (00, 01) */
.work-content-wrap {
    display: flex;
    align-items: center;
    gap: 60px;
}

.work-content-wrap .work-img {
    background-color: #f2f2f2;
    overflow: hidden;
}

.work-content-wrap .work-img img,
.work-content-wrap .work-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-content-wrap .work-txt {
    flex: 1;
}

.works-large .work-item-big{
    padding: 60px 0;
    border-bottom: 1px solid #eee; 
}


/* 하단 그리드 레이아웃 (02, 03, 04) */
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.work-item-small {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.work-item-small .work-img {
    width: 100%;
    aspect-ratio: 1.3 / 1;
    background-color: #f2f2f2;
}
.work-item-small .work-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 텍스트 스타일링 */
.work-title {
    font-size: 42px;
    font-weight: 200;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
}
.work-item-big .work-title {
    font-size: 60px;
    font-weight: 200;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
}
.work-title .icon img{
    display: inline-block;
}


.work-desc {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2B2B2B;
}

.work-sub-desc {
    font-size: 14px;
    color: #888;
    margin-bottom: 30px;
}

/* --- 버튼 호버 인터랙션 (왼쪽 -> 오른쪽 배경색) --- */
.view-btn, .download-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    border: 1px solid #2B2B2B;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease;
}

.view-btn::before, .download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0; /* 채워질 배경색 */
    transition: left 0.4s cubic-bezier(0.7, 0, 0.3, 1);
    z-index: -1;
}

.view-btn .work-arrow, .download-btn .work-arrow {
    display: inline-block;
    margin-left: 10px;
    transition: transform 0.3s ease;
}
.work-link:hover .view-btn .work-arrow, .download-btn:hover .work-arrow {
    animation: slide-right 1s infinite ease-in-out; 
}
@keyframes slide-right {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(8px);
        opacity: 0.7; 
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.work-link:hover .view-btn::before, .download-btn:hover::before {
    left: 0;
}




/* --- 반응형 --- */
@media (max-width: 1024px) {
    .works-grid {
        grid-template-columns: repeat(2, 1fr); /* 태블릿에선 2열 */
    }
}

@media (max-width: 768px) {
    /* 요청사항: info -> img -> txt 순서로 1영역씩 차지 */
    .work-content-wrap {
        flex-direction: column !important; /* Reverse 무효화하고 세로 정렬 */
        gap: 30px;
    }
    
    .work-item-big, .work-item-small {
        gap: 15px;
    }

    .works-grid {
        grid-template-columns: 1fr; /* 모바일 1열 */
    }

    .work-title {
        font-size: 32px;
    }

    .work-content-wrap .work-img {
        width: 100%;
        order: 1;
    }
    
    .work-content-wrap .work-txt {
        order: 2;
    }
}




/* --- Experience Section --- */

#experience {
    padding: 150px 0; /* 위아래 섹션 간 여유로운 간격 */
}

/* 1. 상단 정보 박스 (왼쪽 정렬) */
.exp-header-box {
    max-width: 580px;
    margin-bottom: 20px;
}

.exp-intro {
    font-size: 15px;
    line-height: 1.6;
    margin: 30px 0; /* 제목과 버튼 사이 간격 */
    word-break: keep-all; /* 한글 단어 단위 줄바꿈 */
}

/* 2. 하단 리스트 박스  */
.exp-body-box {
    display: flex;
    justify-content: flex-end; 
}

.exp-list {
    width: 65%; 
    border-top: 1px solid #eee; 
}

/* 3. 리스트 개별 아이템 */
.exp-item {
    display: flex;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    text-align: left; /* 버튼 중앙정렬 해제 */
    padding: 30px 0;
    gap: 40px;
    font-family: inherit; /* 부모 폰트 상속 */
    transition: background-color 0.3s ease;
}

.exp-num {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    width: 50px; /* 숫자 영역 너비 고정 */
    flex-shrink: 0; /*이거 뭔뜻이지*/
}

.exp-txt {
    flex: 1; /* 가용한 공간 모두 차지 */
}

.exp-txt h3 {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.exp-txt p {
    font-size: 14px;
    font-weight: 300;
    color: #666;
}

.exp-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 이미지가 박스에 꽉 차도록 */
    filter: grayscale(100%); /* 잡지 느낌을 위해 흑백 처리 (선택사항) */
    transition: filter 0.3s ease;
}
.exp-item:hover .exp-img-box img {
    filter: grayscale(0%); /* 호버 시에만 컬러로 변경 */
}

/* --- 📱 모바일 반응형 --- */
@media (max-width: 1024px) {
    .exp-list {
        width: 100%; /* 태블릿부터는 100% 채워서 가독성 확보 */
    }
    #experience {
        padding: 100px 0; 
    }
}

@media (max-width: 768px) {
    .exp-intro {
        font-size: 15px;
    }
    .exp-item {
        gap: 20px;
        padding: 25px 0;
    }
    
    .exp-txt h3 {
        font-size: 18px;
        line-height: 1.4;
    }
    .exp-num {
        font-size: 16px;
        width: 35px; /* 숫자가 차지하는 폭을 줄임 */
    }
    
}
@media (max-width: 500px) {
    #experience {
        padding: 80px 0; 
    }
    .exp-header-box{
        margin-bottom: 50px;
    }
    .exp-img-box {
        display: none;
    }
    .exp-item {
        gap: 15px; 
    }
    .exp-txt p {
        font-size: 13px; 
    }
}




/* --- Modal (팝업) 스타일 --- */

/* 모달 배경 (어두운 오버레이) */
.modal-overlay {
    position: fixed; /* 화면에 고정 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* 어두운 배경 */
    z-index: 2000; /* 헤더보다 위에 뜨게 */
    display: none; /* 평소엔 숨김 핵심 */
    justify-content: center; /* 가로 중앙 */
    align-items: flex-start;
    overflow-y: auto; /* 내용이 길면 스크롤 생성 */
}

/* 모달이 활성화되었을 때 (display 변경) */
.modal-overlay.active {
    display: flex;
}

/* 모달 내부 컨텐츠 */
.modal-content {
    position: relative;
    width: 60%; 
    max-width: 1200px; /* 너무 커지지 않게 제한 */
    margin: 60px auto; /* 위아래 여백 */
    padding: 60px 0; /* 내부 여백 */
    background-color: #fff; /* PPT 배경색과 통일 */
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* 닫기 버튼 (X) */
.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 36px;
    font-weight: 300;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
}

.modal-close-btn:hover {
    color: var(--primary-color); 
}

/* 이미지 뷰어 (여러 장을 세로로 나열) */
.modal-image-viewer {
    display: flex;
    flex-direction: column; /* 세로 나열 */
    align-items: center;
    gap: 20px; /* 이미지 사이 간격 */
    width: 90%;
    margin: 0 auto;
}

.modal-image-viewer img {
    width: 100%; /* PPT 비율 유지하며 꽉 차게 */
    height: auto;
    border: 1px solid #ddd;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); 
}




/* --- Contact Section --- */

#contact{
    margin-bottom:120px;
}
#contact .section-title{
    margin-bottom: 60px;
}

/* 2. Contact 바디 (flexbox 정렬 핵심) */
.contact-body {
    display: flex;
    align-items: flex-start; /* 요소들을 위쪽 기준으로 정렬 */
    gap: 40px; /* 각 요소 사이 기본 간격 */
}

/* 3. 왼쪽 세로 이미지 영역 */
.contact-visual {
    flex-shrink: 0; /* 이미지 박스 너비 고정 */
}

.visual-box {
    background-color: #eaeaea; /* 평소엔 회색 박스 */
    overflow: hidden; /* 이미지가 넘치면 숨김 */
}

.visual-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 이미지가 박스에 꽉 차게 */
    display: block;
}

/* 4. 중간 가로 선 (CSS로 선 그리기 핵심) */
.contact-line {
    flex: 1; /* 가용한 공간 모두 차지 (선이 길게 늘어남) */
    height: 1px;
    background-color: #ddd; /* 연한 구분선 */
    margin-top: 15px; /* HEY :) 문구와 세로 높이 맞추기 */
}

/* 5. 오른쪽 정보 영역 */
.contact-info {
    width: 320px; /* 정보 영역 너비 제한 */
    flex-shrink: 0;
}

/* "HEY : )" 문구 */
.info-greeting {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 30px; /* 리스트와 간격 */
}

/* 정보 리스트 (Name, Tel 등) */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 15px; /* 정보 한 줄 사이 간격 */
}

.info-list li {
    display: flex;
    align-items: center; /* 라벨과 값이 일직선상에 오게 */
}

/* 라벨 (Name., Tel.) */
.info-label {
    width: 70px; /* 라벨 영역 너비 고정 */
    font-size: 14px;
    font-weight: 600;
    color: #2B2B2B;
}

.info-value {
    flex: 1; /* 가용한 공간 모두 차지 */
    font-size: 14px;
    font-weight: 300;
    color: #666;
    letter-spacing: -0.01em;
}

/* --- 📱 모바일 반응형 --- */
@media (max-width: 1024px) {
    .contact-body {
        gap: 30px; /* 간격을 살짝 좁힘 */
    }
}

@media (max-width: 768px) {
    /* 모달처럼 텍스트를 위로 올리는 구조로 변경 */
    .contact-body {
        flex-direction: column; /* 세로 나열 */
        align-items: flex-start; 
        gap: 20px;
    }

    #contact .section-title {
        font-size: 44px;
        margin-bottom: 60px;
    }

    .contact-line {
        display: none; /* 모바일에서는 가로 선 제거 (정렬 방해) */
    }

    .contact-info {
        width: 100%; /* 전체 너비 사용 */
    }

    .visual-box {
        width: 120px; /* 이미지 크기 조절 */
        height: 240px;
    }
}

