header {
    width: 100%; 
    height: 90px;
    background-color: rgba(0, 0, 0, 0);
    border-bottom: 1px solid #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.header_logo {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center; 
    align-items: center;     
}

.header_logo a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 275px; /* 로고 너비에 맞춤 */
    height: 100%;
}

.header_logo img {
    position: absolute; /* 두 이미지를 겹침 */
    width: 100%;
    transition: opacity 0.4s ease; /* 전환 효과 */
}

/* 기본 상태 (섹션 1): 검정 로고(small)만 보이고 흰 로고는 숨김 */
.header_logo img:nth-child(1) { opacity: 1; }
.header_logo img:nth-child(2) { opacity: 0; }

/* 화이트 모드 (섹션 2, 3, 4): 흰색 로고(white)만 보이고 검정 로고는 숨김 */
header.white-mode .header_logo img:nth-child(1) { opacity: 0; }
header.white-mode .header_logo img:nth-child(2) { opacity: 1; }

/* 헤더 배경색 설정 */
header.white-mode {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #eee;
}

/* 기본 헤더 스타일 (이미 작성된 코드에서 transition 추가) */
header {
    width: 100%; 
    height: 90px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0); /* 투명 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease; /* 부드러운 변화를 위해 추가 */
}

/* 섹션 2 진입 시 적용될 스타일 */
header.white-mode {
    background-color: rgb(0, 0, 0); /* 흰색 배경 (약간 투명) */
    border-bottom: 1px solid #ddd; /* 하단 선 색상 변경 */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* 살짝 그림자 추가 (선택) */
}

/* (선택사항) 섹션 2일 때 오른쪽 인디케이터 색상도 검은색으로 바꾸고 싶다면 */
header.white-mode ~ .fp-nav a {
    color: rgba(0, 0, 0, 0.5);
}
header.white-mode ~ .fp-nav a::after {
    background-color: rgba(0, 0, 0, 0.2);
}
header.white-mode ~ .fp-nav a.active {
    color: #000;
}
header.white-mode ~ .fp-nav a.active::after {
    background-color: #000;
}



@media (max-width: 768px) {
    header{
        height: 70px;
    }

.header_logo img {
    width: 50%;  
}
}
@media (max-width: 768px) {
        .header_logo img {
        width: 110%;
    }
}
@media (max-width: 600px) {
        .header_logo img {
        width: 100%;
    }
}
@media (max-width: 375px) {
    header{
        height: 70px;
    }
    .header_logo img{
        width: 90%;
    }

}

/* --------header end-------- */
.section_1{
    width: 100%;
    height: 100vh;
    position: relative;
    scroll-snap-align: start;
    top: 0;
    left: 0;
    overflow: hidden;
}
.sec_1_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* 핵심: 부모 div도 화면 높이 꽉 차게 */
    z-index: -1;
}
.sec_1_bg img {
    width: 100%;
    height: 100%;
    /* 핵심: 비율을 유지하며 컨테이너를 가득 채움 (모자라는 부분은 잘림) */
    object-fit: cover; 
    /* 이미지의 중심을 기준으로 잘리도록 설정 */
    object-position: center; 
}
.sec_1_text_box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center; 
    width: 100%;
    color: #fff;
}
.sec_1_text_box h2{
    font-size: 72px;
    padding-bottom: 12px;
}
.sec_1_text_box p{
    font-size: 22px;
    font-weight: 200;
}

@media (max-width: 920px) {
.sec_1_text_box h2{
    font-size: 44px;
    line-height: 52px;
}
.sec_1_text_box p{
    font-size: 18px;
}
}
/* ------section_1_end-------- */

.section_2 {
    /* 치우침 해결: 위쪽 패딩을 줄이고 높이를 확실히 제어 */
        padding-top: 150px; 
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 세로 기준 중앙 */
    align-items: center;
    overflow: hidden;
    position: relative;
}

.sec_2_title {
    text-align: center;
    width: 100%;
    /* margin-bottom: 40px;  */
}

.sec_2_title h4 {
    font-size: 48px;
    letter-spacing: 2px;
    
    margin-bottom: 10px;
}

.sec_2_title p {
    font-size: 22px;
    font-weight: 300;
    
}


/* ----------마키효과----------- */



.marquee-container {
    width: 100%;
    height: 850px; /* 확대 시 잘리지 않도록 높이 소폭 상향 */
    display: flex;
    align-items: center;
    position: relative;
    background: #fdfdfd; /* 아주 연한 회색 배경으로 고급감 부여 */
}

.marquee-content {
    display: flex;
    gap: 40px; /* 간격을 넓혀 여유로운 느낌 부여 */
    align-items: center;
    will-change: transform;
}

/* 1. 기본 아이템 꾸미기 */
.marquee-item {
    width: 45vw;
    height: 26vw;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    /* 그림자 대신 얇은 테두리로 경계선만 강조 */
    border: 1px solid rgba(0,0,0,0.05);
    background: #000;
    /* 호버나 active 시에만 살짝 입체감을 줌 */
    transition: all 0.8s cubic-bezier(0.2, 1, 0.2, 1);
}

.marquee-item.active {
    /* 커질 때만 바닥에서 살짝 뜬 느낌을 줍니다 (아주 연하게) */
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.202);
    border: 1px solid rgba(255,255,255,0.1);
}

/* 2. 영상 재생 중 (중앙 확대 시 스타일) */
.marquee-item[data-type="video"].active {
    z-index: 1000;
    transform: scale(1.3); 
    border-radius: 4px; /* 커질 때는 몰입감을 위해 각진 느낌 */
    /* 확대 시 그림자를 더 진하게 하고 글로우 효과 추가 */
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 100px rgba(0,0,0,0.1);
}

/* 3. 재생 완료 후 상태 */
.marquee-item.played {
    width: 45vw;
    height: 26vw;
    opacity: 0.9; /* 이미 본 콘텐츠는 아주 살짝 투명하게 하여 시선 분산 방지 */
}

/* 4. 이미지 & 비디오 호버 효과 추가 */
.marquee-item img, 
.marquee-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

/* 5. 내부 장식 요소 (선택사항: 왼쪽 하단에 번호 표시 등) */
.marquee-item::before {
    content: 'SCENE';
    position: absolute;
    top: 20px;
    left: 20px;
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    letter-spacing: 2px;
    z-index: 3;
    font-family: 'Inter', sans-serif;
    opacity: 0;
    transition: 0.5s;
}

.marquee-item.active::before {
    opacity: 1;
}

/* 비디오가 멈춰있을 때 정지된 느낌을 주는 오버레이 */
.video-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent 40%);
    z-index: 2;
    transition: 0.5s;
}

.marquee-item.active .video-overlay {
    background: transparent; /* 재생 시 오버레이 제거 */
}

@media (max-width: 1200px) {
.section_2 {
    padding-top: 110px;
}
    .marquee-item {
    width: 53vw;
    height: 64vw;
    }
    .marquee-item.played {
    width: 53vw;
    height: 64vw;
    }
.marquee-item[data-type="video"].active {
    z-index: 1000;
    transform: scale(1.2); 
}

}
@media (max-width: 768px) {
        .section_2 {
        padding-top: 180px;
    }
    .marquee-item {
            width: 70vw;
        height: 79vw;
    }
    .marquee-item.played {
            width: 70vw;
        height: 79vw;
    }

}
@media (max-width: 600px) {
        .section_2 {
        padding-top: 160px;
    }
    .sec_2_title h4 {
    font-size: 36px;
    }
    .sec_2_title p {
    font-size: 18px;
    }
.marquee-item {
        width: 75vw;
        height: 110vw;
    }
    .marquee-item.played {
        width: 75vw;
        height: 110vw;
    }
    .marquee-item[data-type="video"].active {
    z-index: 1000;
    transform: scale(1.1); 
}


}
@media (max-width: 375px) {
    .section_2 {
        padding-top: 120px;
    }
    .marquee-item {
        width: 72vw;
        height: 98vw;
    }
    .marquee-item.played {
        width: 72vw;
        height: 98vw;
    }
    .sec_2_title {
    margin-bottom: 0px;
}
.sec_2_title h4 {
        font-size: 30px;
    }
    .sec_2_title p {
        font-size: 16px;
    }
}
/* ----------Section 2 end----------- */

.section_3 {
    position: relative;
    display: flex;
    width: 100%;
    height: 100vh; 
    overflow: hidden;
    z-index: 1;
}

/* 비디오 영역 (왼쪽) */
.sec_3_video {
    flex: 1; /* 왼쪽 공간을 유연하게 차지 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.sec_3_video img, .sec_3_video video {
    max-width: 100%;
    height: auto;
}

/* 컨테이너 영역 (오른쪽) */
.sec_3_container {
    flex: 1; /* 오른쪽 공간을 왼쪽과 동일하게 배분 */
    display: flex;
    justify-content: center; /* [핵심] 가로 정중앙 정렬 */
    align-items: center;     /* [핵심] 세로 정중앙 정렬 */
}

.sec_3_con {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center; /* 텍스트도 중앙 정렬 */
    /* 필요하다면 최대 너비 설정 */
    max-width: 500px;
}

/* 요소 간 간격 조절 */
.sec_3_title h3 { font-size: 32px; margin-bottom: 10px; }
.sec_3_img { margin: 30px 0; }
.sec_3_img img { width: 100%; height: auto; }
.sec_3_btn a{ 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    cursor: pointer; 
    margin-top: 20px;
    
}
.sec_3_title h6{
    font-size: 46px;
    font-weight: 500;
}
.sec_3_title p{
    font-size: 22px;
    font-weight: 500;
}
.sec_3_text p{
    font-size: 18px;
    line-height: 28px;
    
}
.sec_3_btn a{
    background-color: #F7F7F7;
    width: 185px;
    height: 46px;
    justify-content: center;
}

.sec_3_btn :hover{
    background-color: #e3e3e3;
    transition-duration: 0.3s;
}

.sec_3_video img:nth-child(2){
        display: none;
    }

@media (max-width: 1350px) {
    .sec_3_video img{
    max-width: 100%;
    height: 100vh;
    }
}

@media (max-width: 1024px) {
    .sec_3_video img:nth-child(1){
        display: none;
    }
    .sec_3_video img:nth-child(2){
        display: block;
    }
        .section_3 {
        display: block; /* 가로 배열 해제 */
    }

    /* 배경 이미지를 바닥에 깔기 */
    .sec_3_video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .sec_3_video .pc_img { display: none; }
    .sec_3_video .m_img { display: block; }

    /* 콘텐츠를 중앙 위로 올리기 */
    .sec_3_container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.4); /* 이미지 위 가독성을 위한 반투명 배경 (선택사항) */
        z-index: 5;
    }

    .sec_3_con {
        max-width: 90%; /* 모바일에서 좌우 여백 확보 */
    }

    /* 1024 화면에 맞게 사이즈 조절 */
    .sec_3_title h6 {
        font-size: 36px;
    }
    .sec_3_title p {
        font-size: 18px;
    }
    .sec_3_img {
        margin: 20px 0;
    }
    .sec_3_img img {
        width: 280px; /* 포스터 크기 적절히 조절 */
    }
    .sec_3_text p {
        font-size: 16px;
        color: #111;
        font-weight: 600; /* 배경 위에서 잘 보이게 두께 조절 */
    }
}
@media (max-width: 400px) {
        .sec_3_title h6 {
        font-size: 26px;
    }
    .sec_3_title p {
        font-size: 16px;
    }
    .sec_3_btn a {
    width: 155px;
    height: 40px;
    }
        .sec_3_con {
        padding-top: 50px;
    }
}
@media (max-width: 375px) {
    .sec_3_img img {
        width: 250px;
    }
}

/* --------------section_3_end--------------- */


.section_4.normal-scroll {
    position: relative;
    display: flex;
    width: 100%;
    height: 50vh; /* 패럴럭스 효과를 극대화하기 위해 다시 100vh로 설정하되, 스냅은 무시됩니다 */
    
    /* 배경 설정 */
    background-image: url(../img/sec_4_img.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
    /* [핵심] 패럴럭스 효과 스타일 */
    background-attachment: fixed; 
    
    color: #fff;
    z-index: 10;
    justify-content: center;
    align-items: center;
    
    /* 섹션 3과 겹침 방지 */
    margin-top: 0;
    clear: both;
}

.sec_4_text {
    width: 100%;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* 배경 위 가독성 확보 */
}

.sec_4_text h6 {
    font-size: 48px;
    letter-spacing: 5px;
    margin-bottom: 30px;
    color: #fff;
}

.sec_4_text p {
    font-size: 22px;
    line-height: 1.8;
    word-break: keep-all;
    font-weight: 300;
}

/* 모바일/아이폰에서는 fixed가 작동하지 않는 경우가 많아 대응 */
@media (max-width: 1024px) {
    .section_4.normal-scroll {
    height: 50vh; /* 패럴럭스 효과를 극대화하기 위해 다시 100vh로 설정하되, 스냅은 무시됩니다 */
    }
}

@media (max-width: 630px) {
.sec_4_text h6 {
    font-size: 38px;
}
.sec_4_text p {
    font-size: 18px;
}
}
@media (max-width: 430px) {
    .sec_4_text h6 {
        font-size: 28px;
    }
        .sec_4_text p {
        font-size: 16px;
    }
}
@media (max-width: 375px) {
    
        .sec_4_text p {
        font-size: 14px;
    }
}
/* -----------section_4_end------------ */


.footer_text,
.footer_text * {
  -webkit-touch-callout: none;  
  -webkit-user-select: text;
  -webkit-text-size-adjust: none;
  -webkit-tap-highlight-color: transparent;
  color: #fff;
  pointer-events: none;         
}
footer{
    background-color: #1B1818;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.footer_logo img{
    width: 275px;
    padding-top: 38px;
    padding-bottom: 27px;
}
.footer_text{
    color: #101010;
    text-align: center;
}
.footer_text{
    line-height: 45px;
    font-size: 16px;
    font-weight: 200;
    padding-bottom: 45px;
}
.foo_text p{
    color: #fff !important;
    user-select: text;
}
.copy_writer{
    width: 100%;
    height: 80px;
    border-top: 1px solid #8B8B8B;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #8B8B8B;
    font-size: 16px;
}

@media (max-width: 700px){
.footer_text{
    font-size: 14px;
}
/* .footer_logo {
    width: 235px;
    padding-top: 18px;
    padding-bottom: 17px;
} */
.footer_text {
    line-height: 40px;
    font-size: 16px;
    font-weight: 200;
    padding-bottom: 25px;
}
.copy_writer {
    font-size: 14px;
}

}

@media (max-width: 420px){
    .footer_text {
        line-height: 36px;
        font-size: 14px;
        padding-bottom: 20px;
    }
        /* .footer_logo {
        width: 195px;
        padding-top: 14px;
        padding-bottom: 11px;
        } */
        .copy_writer {
        font-size: 12px;
            height: 60px;
    }
}

@media (max-width: 375px){
    .footer_logo img {
    width: 245px;
    padding-top: 18px;
    padding-bottom: 7px;
}
}











/* ---------풀스크린--------- */

/* --- 우측 네비게이션 (인디케이터) 기본 스타일 --- */
.fp-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.fp-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fp-nav li {
    margin: 35px 0;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.fp-nav a {
    display: block;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5); /* 기본: 흐린 흰색 */
    font-size: 14px;
    font-weight: 600;
    position: relative;
    transition: 0.3s;
}

.fp-nav a span {
    display: inline-block;
    vertical-align: middle;
    transition: 0.3s;
}

/* 숫자 옆 세로 선 */
.fp-nav a::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 15px;
    background-color: rgba(255, 255, 255, 0.3);
    margin-left: 15px;
    vertical-align: middle;
    transition: all 0.5s ease;
}

/* [활성화 상태] 흰색 배경 섹션이 아닐 때 */
.fp-nav a.active {
    color: #fff;
}
.fp-nav a.active span {
    font-weight: 800;
    transform: scale(1.2);
}
.fp-nav a.active::after {
    height: 60px;
    background-color: #fff;
    width: 3px;
}

/* --- [핵심] 섹션 3 전용 스타일 (자바스크립트로 제어) --- */

/* 1. 글자색 검정 반전 (평소 & 활성) */
.fp-nav a.black_text {
    color: rgba(0, 0, 0, 0.4) !important;
}
.fp-nav a.black_text.active {
    color: #000000 !important;
}

/* 2. 세로 선 검정 반전 (평소 & 활성) */
.fp-nav a.black_text::after {
    background-color: rgba(0, 0, 0, 0.2) !important;
}
.fp-nav a.black_text.active::after {
    background-color: #000000 !important;
}

@media (max-width: 400px) {
.fp-nav a {
    font-size: 12px;
}
.fp-nav {
    right: 15px;
}
}






