* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    width:100%;
    width: 2000px;
    margin: 0 auto;
    background: #F5F5F5;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
}
html,
body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family: sans-serif;
}

.footer-title,
nav>h2,
.section-header01>h3,
.nav>h2 {
    font-family: 'CormorantGaramond', serif;
    font-weight: 500;
}

.areaimg>img>p {
    font-family: 'Pretendard', sans-serif;
    font-weight: 300;
}

img {
    vertical-align: top;
}

ul,
ol {
    list-style: none;
}

body {
            width: 100%;
            max-width: 2000px;
            margin: 0 auto;
            background: #F5F5F5;
            font-family: 'Pretendard', sans-serif;
            font-weight: 400;
            overflow-x: hidden;
        }

        /* ① panel이 콘텐츠 높이를 제한하지 않게 */
        div.panel {
            min-height: 100vh;
            height: auto;
            display: block;
        }

        #modoo {
            background: #f5f5f5;
            width: 100%;
            max-width: 2000px;
            height: auto;
            margin: 0 auto;
            padding: 120px 0 180px;
            display: flex;
            flex-direction: column;
            gap: 180px;
            box-sizing: border-box;
        }

        #work-item3 {
            width: 82%;
            min-height: 850px;
            height: auto;
            margin: 0 auto;
            padding: 100px 0 150px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 80px;
            box-sizing: border-box;
        }

        .art-work3 {
            position: relative;
            width: 100%;
            height: 500px;
            flex-shrink: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 40px;
            overflow: visible;
        }

        .onview {
            width: 100%;
            min-height: 100vh;
            height: auto;
            background-color: #f5f5f5;
            overflow: visible;
        }


/* nav style */
.nav {
    width: 100%;
    height: 120px;
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 2px 2px 5px #f5f5f5;
    left: 0px;
    top: 0px;
    z-index: 1000;
}

.nav>h2 {
    font-size: 64px;
    font-weight: bold;
    color: #f5f5f5;
    text-align: left;
}

.navbar {
    display: flex;
    list-style: none;
    justify-content: right;
    align-items: center;
    margin: 0 auto;
    gap: 35px;
}

.nav>li>a {
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    text-align: center;
}

.navbar>li>a>img {
    width: 50px;
    height: 50px;
    color: #5A315D;
}

/* nav 패럴랙스 효과 */
/*  1. 중앙 타이틀 ➡️ 하단 내비게이션 변신 CSS */
#main-nav-container {
    position: fixed;
    left: 50%;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: top, transform, opacity, background, padding;
}

.section-header01 {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease;
}


.brand-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #1a1a3a;
    letter-spacing: 2px;
    transition: all 0.5s ease;
}

.sub-title {
    font-size: 1.1rem;
    color: #666;
    margin-top: 5px;
    letter-spacing: 1px;
    transition: all 0.5s ease;
}

.nav-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 1999;
    display: flex;
    justify-content: center;
    gap: 10px;
    background: #ffff;
    backdrop-filter: blur(10px);
    padding: 10px 41px;
    border-radius: 50px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
    will-change: opacity;
}

#main-nav-container.init-center {
    top: 50%;
    transform: translate(-50%, -50%);
}

#main-nav-container.sticky-bottom {
    top: calc(100vh - 80px);
    transform: translate(-50%, 0);
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    font-size: 0.75rem;
    margin-top: 0px;
}

#main-nav-container.sticky-bottom .parallax-title {
    font-size: 1.4rem;
}

/* ⚡ 타이틀이 사라지면 대기하던 가로 메뉴 바가 즉시 번쩍 등장 */
#main-nav-container.sticky-bottom~.nav-bar {
    opacity: 1;
    visibility: visible;
}

.nav-bar.show-nav {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2001 !important;
}

.nav-link {
    color: #a49fc6;
    padding: 10px 18px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-link.active {
    color: #270C78;
    font-weight: bold;
}

/*  2. 우측 도트 내비게이션 CSS (호버 효과 포함) */
.parallax-nav {
    position: fixed;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
    will-change: opacity;
}

.parallax-nav.show-nav {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 9999 !important;
}

.parallax-nav::before {
    content: '';
    position: absolute;
    right: 3px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #ccc;
    z-index: -1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.nav-text {
    font-size:14px;
    color: #777;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease-in-out;
}

.nav-dot {
    width: 7px;
    height: 7px;
    background-color: #aaa;
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* 우측 활성화(Active) 상태 */
.nav-item.active .nav-text {
    color: #5b3a6a;
    border-bottom: 2px solid #5b3a6a;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nav-item.active .nav-dot {
    background-color: #5b3a6a;
    transform: scale(1.2);
}

/* 전체 영역 마우스 호버 시 글자 노출 */
.parallax-nav:hover .nav-text {
    opacity: 0.5;
    visibility: visible;
    transform: translateX(0);
}

.parallax-nav:hover .nav-item.active .nav-text {
    opacity: 1;
}

.nav-item:hover .nav-text {
    opacity: 1 !important;
    color: #5b3a6a;
}

div.panel {
    min-height: 100vh;
    height:auto;
    display:block;
   /*  display: flex;
    align-items: center;
    justify-content: center; */
    font-size: 3rem;
    position: relative;
    box-sizing: border-box;
}


/*footer style*/
footer {
    background: rgba(39, 12, 120, 0.8);
    width: 100%;
    height: 483px;
    color: #f5f5f5;
    padding: 60px 0 80px 0;
    display: flex;
    justify-content: space-around;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: left;
    position:relative;
    z-index:999;
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1;
    max-width: 320px;
    position: relative;
    padding-top: 25px;
}

.footer-left::before,
.footer-center::before,
.footer-right::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}

footer p,
footer li {
    font-size: 20px;
    line-height: 1.4;
    margin: 0;
}

/*.footer-left .copyright {
    margin-top: 15px;
     opacity: 0.8;       
}*/
.footer-title {
    font-size: 20px;
    font-weight: normal;
    margin: 0 0 10px 0;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
    line-height: 1.5;
}

.footer-right p {
    margin-bottom: 2px;
    cursor: pointer;
}

.footer-right p:hover {
    opacity: 0.7;
}


#home {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
.parallax-item {
    width: 100%;
    margin: 0 auto;
}

/*intro style*/
.intro {
    width: 100%;
    height: 100vh;
    position: relative;
    background-color: #f5f5f5;
    overflow: hidden;
}

.p-work {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    background-size: cover;
    background-position: center;
}

.p-work::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.p-work img {
    position: absolute;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

img.intro-img1 {
    width: 547px;
    height: 410px;
    left: 0;
    top: 0;
}

img.intro-img2 {
    width: 387px;
    height: 550px;
    left: 0;
    top: 48%;
}

img.intro-img3 {
    width: 779px;
    height: 519px;
    left: 25%;
    top: 2%;
}

img.intro-img4 {
    width: 894px;
    height: 354px;
    left: 15%;
    bottom: 0;
}

img.intro-img5 {
    width: 429px;
    height: 575px;
    right: 25%;
    top: 6%;
}

img.intro-img6 {
    width: 471px;
    height: 595px;
    right: 10%;
    bottom: 0;
}

img.intro-img7 {
    width: 721px;
    height: 479px;
    right: -8%;
    top: 0;
}

.section-header01 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 100;
    pointer-events: none;
    width: 200px;
}

.section-header01>h3 {
    font-size: 56px;
    color: #fff;
    font-weight: bold;
}

.parallax-title {
    font-size: 5vw;
    z-index: 100;
    /* text-transform: uppercase; */
    display: inline-block;
    color: #f5f5f5;
}

.desciption1 {
    font-size: 1.2rem;
    color: #fff;
    margin-top: 5px;
    letter-spacing: 1px;
    transition: all 0.5s ease;
}


#modoo {
    background: #f5f5f5;
    margin: 30px auto;
    padding-top: 50px;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 150px;
     max-width: 2000px;
}

/*onview style*/
.section-header02 {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding-top: 50px; */
}

.title1 {
    font-size: 64px;
    color: #5A315D;
    text-shadow: -4px -2px 0px #B8B0BA;
    margin-bottom: 10px;
    margin: 0;
    transition: all 0.5s ease;
    letter-spacing: 2px;
}

.sub1 {
    font-size: 20px;
    color: #918D94;
}

#work-item3 {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
    gap: 40px;
}

.art-work3 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.second-work {
    display: flex;
    flex-direction: row-reverse;
}

.third-work {
    display: flex;
    flex-direction: row;
}

.textGroup {
    font-size: 20px;
    padding-right: 109px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.textGroup>h4 {
    font-size: 32px;
    font-weight: bold;
    color: #5A315D;
    margin-bottom: 8px;
}

.museum-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 40px;
}

.icon-airplane {
    width: 18px;
    height: 18px;
    color: #655B83;
}

.museum-name {
    font-size: 20px;
    margin: 0;
}

.work-text-t {
    font-weight: bold;
    color: #36454F;
    margin-bottom: 20px;
}

.work-text-s {
    font-size: 20px;
    color: #36454F;
    margin-bottom: 13px;
    line-height: 1.4;
}

.artist-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.art-work {
    position: relative;
    height: 620px;
    overflow: hidden;
}

.artist-name {
    font-weight: bold;
    font-size: 24px;
    color: #9B8AA5;
}

.work-place {
    font-weight: bold;
    font-size: 18px;
    color: #9B8AA5;
}

#one {
    width: 35%;
}

#two {
    width: 38%;
}

.writer,
.poster {
    position: absolute;
    will-change: transform;
}

.writer {
    top: 40px;
    left: 52px;
    width: 459px;
    height: 469px;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6);
}

#one>.poster {
    opacity: 0.8;
}

.poster {
    top: 20px;
    left: 1px;
    width: 322px;
    height: 600px;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.3));
}

#three {
    width: 100%;
}

.girl {
    width: 332px;
    height: 469px;
    object-fit: cover;
    filter: drop-shadow(-8px 4px 15px rgba(0, 0, 0, 0.3));
}

.judy {
    width: 459px;
    height: 469px;
    object-fit: cover;
    filter: brightness(0.6);
}

/* onview 패럴랙스 기능*/
.onview {
    width: 100%;
    background-color: #f5f5f5;
/*     padding: 100px 0; */
}

/* 첫 번째, 두 번째 전시 레이아웃 (가로 정렬) */
#work-item {
    width: 83%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 30px 0;
    margin:0 auto;
}

.first-work {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* 세 번째 전시 레이아웃 (시안대로 이미지가 위, 글이 아래로 가도록 설정) */
#work-item3 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

/* --- 콘텐츠 그룹 내부 스타일 --- */
.textGroup {
    width: 45%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 세 번째 전시의 글은 가로폭을 넓혀서 아래에 배치 */
#work-item3 .textGroup {
    width: 80%;
}

/* --- 패럴랙스 핵심: 이미지 박스 설정 --- */
.art-work {
    position: relative;
    width: 50%;
    height: 600px;
    overflow: visible;
}

/* 세 번째 전시의 이미지 박스 (가로로 두 장이 나란히 배치) */
.art-work3 {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

/* 이미지 공통 절대 좌표화 */
.writer,
.poster,
.girl,
.judy {
    position: absolute;
    will-change: transform;
}

/* 1번 전시 (이건용) 배치: 글 왼쪽 / 이미지 오른쪽 */
#one .poster {
    top: 0;
    left: 20px;
    width: 320px;
    height: 550px;
    z-index: 2;
}

#one .writer {
    top: 80px;
    right: 40px;
    width: 400px;
    height: 450px;
    z-index: 1;
}

/* 2번 전시 (조숙진) 배치: 이미지 왼쪽 / 글 오른쪽 */
#two .poster {
    top: 0;
    left: 20px;
    width: 320px;
    height: 550px;
    z-index: 2;
}

#two .writer {
    top: 80px;
    right: 40px;
    width: 400px;
    height: 450px;
    z-index: 1;
}

/* 3번 전시 (주디 시카고) 배치: 두 장이 화면 중앙에 나란히 포지션 */
.art-work3 .girl {
    position: relative;
    width: 350px;
    height: 450px;
}

.art-work3 .judy {
    position: relative;
    width: 450px;
    height: 450px;
    top: 19px;
}


/*explore style*/
.section-header03 {
    display: flex;
    font-size: 2rem;
    color: #000;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.title2 {
    font-size: 64px;
    color: #5A315D;
    margin-bottom: 10px
}

.summary-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
}

.summary-item {
    font-weight: bold;
}

.count-item {
    font-weight: normal;
}

/*slide explore 기능*/
#slide {
    width: 90%;
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    cursor: grab;
    padding: 30px 0;
    user-select: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.artlist ul li img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

.artlist>.area {
    display: flex;
    gap: 20px;
    margin-top: 3%;
    padding: 0;
    list-style: none;
}

.artlist>ul>li.areaimg {
    width: 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    white-space: normal;
}

.areaimg>img {
    width: 550px;
    height: 420px;
    display: block;
    -webkit-user-drag: none;
    object-fit: cover;
    display: block;
    margin-bottom: 25px;
}

.areatext {
    font-size: 20px;
    font-weight: 300;
    color: #4E4A52;
    text-align: center;
    margin: 0;
}


/*wishlist style*/
#slider {
    width: 69%;
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    cursor: grab;
    padding: 30px 0;
    user-select: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.sub2 {
    font-size: 20px;
    display: flex;
    justify-content: right;
    color: #5A315D;
}

.exhibition {
    width: 90%;
}

.exhibition>.list {
    display: flex;
    gap: 10px;
    margin-top: 5%;
    padding: 0;
    list-style: none;
}

.exhibition>ul>li.fi1 {
    width: 335px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    white-space: normal;
}

.exhibition ul li img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

.fi1>img {
    width: 326px;
    height: 452px;
    display: block;
    -webkit-user-drag: none;
    object-fit: cover;
    margin-bottom: 20px;
}

.tit {
    font-weight: bold;
    font-size: 16px;
    color: #36454F;
    margin: 0 0 8px 0;
}

.fi1>h4 {
    font-size: 22px;
    color: #36454F;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.des {
    font-size: 19px;
    color: #432747;
    font-weight: bold;
    margin: 0;
}


/*architecture style*/
.arch-work,
.nat-work,
.hidd-work {
    background: #F9EFF6;
    padding: 60px 0 100px 0;
    max-width: 2000px;
}

.architecture {
    background: #F9EFF6;
    width: 100%;
}

.section-header05 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.title3 {
    margin: 0;
    color: #5A315D;
    font-size: 64px;
    font-weight: bold;
    line-height: 1;
}

.sub3 {
    font-size: 20px;
    color: #9B8AA5;
    font-weight: bold;
    margin: -10px 0 0 0;
}

.ararioM {
    width: 100%;
    max-width: 942px;
    height: 715px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.artmuseum1 {
    width: 78%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
}

.arch-img-box1 {
    width: 50%;
}

.arch-text-group1 {
    width: 43%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
}

.artmuseum1 .kor {
    width: 100%;
    text-align: left;
    margin-bottom: 40px;
}

.artmuseum1 .eng {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    margin-bottom: -95px;
}

.artmuseum2 {
    width: 78%;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    padding-bottom: 30px;
    padding-top: 24px;
}
.artmuseum2 {
    width: 78%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;        
    padding-bottom: 30px;
    padding-top: 24px;
}

/* 2. 텍스트 영역: 국문과 영문을 나란히 세우기 위한 Flex 설정 */
.arch-text-group2 {
    width: 48%;                    
    display: flex;
    justify-content: space-between; 
    align-items: flex-start;
    text-align: left;
    gap: 40px;
    position: relative;           
}

/* 3. 국문 영역 (왼쪽 기둥) */
.artmuseum2 .kor {
    width: 48%;                  
    margin-bottom: 180px;          
}

/* 4. 영문 영역 (오른쪽 기둥으로 완벽 분리) */
.artmuseum2 .eng {
    width: 48%;                  
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 0;               
}

/* 5. 정보창 영역: 부모를 뚫고 나와 국문(.kor) 바로 밑에 수직으로 안착 */
.artmuseum2 .information {
    position: absolute;            
    left: 11%;
    bottom: 11%;                   
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 8px;
    width: 236px;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0;
}

/* 6. 우측 이미지 영역 스타일 유지 */
.arch-img-box2 {
    width: 48%;                   
}

.aar {
    font-size: 26px;
    font-weight: bold;
    color: #222222;
    margin: 0 0 15px 0;
}

.kor>.arch-desc,
.eng>.arch-desc {
    font-size: 15px;
    color: #9B8AA5;
    line-height: 1.6;
    margin: 0 0 20px 0;
    width: 340px;
}

.arch-why-sub {
    font-size: 15px;
    color: #9B8AA5;
    line-height: 1.6;
    margin: 0;
}

.kor>h5,
.eng>h5 {
    font-size: 15px;
    font-weight: bold;
    color: #9B8AA5;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
}
.artmuseum1 .information {
    margin-top: auto;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 8px;
    width: 100%;
    padding-bottom: 195px;
}

.place {
    font-size: 18px;
    font-weight: bold;
    color: #7E6B85;
    margin: 0 0 8px 0;
}

.insta {
    font-size: 15px;
    color: #9B8AA5;
    margin: 0;
}

.time,
.tel {
    font-size: 15px;
    color: #555555;
    line-height: 1.5;
    margin: 0;
}

.soM {
    width: 100%;
    max-width: 942px;
    height: 706px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* architecture 패럴랙스 기능(이미지 패럴랙스 확대를 위한 프레임 가두기 설정) */
.arch-img-box1,
.arch-img-box2 {
    overflow: hidden;
    border-radius: 4px;
}

.arch-img-box1 img,
.arch-img-box2 img {
    width: 100%;
    height: 80%;
    object-fit: cover;
    will-change: transform;
}

/* --- 두 번째 미술관(소다) 레이아웃 디테일 교정 --- */
.artmuseum2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width:78%;
    margin:0 auto;
    /* margin-top: 80px; */
}


/*nature style*/
.nature {
    text-align: center;
    background: #F9EFF6;
    width: 100%;
}

.section-header06 {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.title4 {
    margin: 0;
    color: #5A315D;
    font-size: 64px;
    font-weight: bold;
    line-height: 1;
    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
    padding-bottom: 50px;
}

.sub4 {
    color: #9B8AA5;
    font-size: 20px;
}

.museum-list {
    list-style: none;
    background: #F9EFF6;
    width: 78%;
    margin: 20px auto 0 auto;
    max-width: 1500px;
    box-sizing: border-box;
    display: grid;
    grid-template-areas:
        "box1 box2"
        "box1 box3"
        "box5 box4"
    ;
    grid-template-columns: 1.2fr 1fr;
    width: 65%;
    gap: 20px;
}

.museum-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.museum-item .museum-thumb1 {
    width: 100%;
    height: 100%;
}

.museum-item .museum-thumb1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.museum-item:hover .museum-thumb1 img {
    transform: scale(1.05);
}

.museum-item .museum-thumb {
    width: 100%;
    height: 100%;
}

.museum-item .museum-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.museum-item:hover .museum-thumb img {
    transform: scale(1.05);
}

.blind1 {
    width: 100%;
    height: 100%;
}

.blind2 {
    width: 100%;
    height: 100%;
}

.blind1,
.blind2 {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    box-sizing: border-box;
}

.museum-item:hover .blind1,
.museum-item:hover .blind2 {
    opacity: 1;
}

.museum-info1,
.museum-info2,
.museum-info3,
.museum-info4 {
    color: #f5f5f5;
    text-align: left;
    width: 100%;
    max-width: 450px;
    transform: translateY(20px);
    transition: transform 0.4s ease-in-out;
}

.museum-item:hover .museum-info1,
.museum-item:hover .museum-info2,
.museum-item:hover .museum-info3,
.museum-item:hover .museum-info4 {
    transform: translateY(0);
}

.num-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.sub-title {
    font-size: 16px;
    color: #ddd;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.desc {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
    margin: 0 0 30px 0;
    font-weight: 400;
}

.en-title {
    font-size: 13px;
    letter-spacing: 1px;
    color: #999;
    margin: 0;
}

#item-01 {
    height: 835px;
    grid-area: box1;
}

/* 왼쪽 큰 사진 */
#item-02 {
    height: 395px;
    grid-area: box2;
}

/* 오른쪽 위 사진 */
#item-03 {
    height: 400px;
    grid-area: box3;
}

/* 오른쪽 아래 사진 */
#item-04 {
    height: 567px;
    grid-area: box4;
}
/* 하단 오른쪽 큰 사진 */
.desciption2 {
    grid-area: box5;
    color: #432747;
    text-align: left;
    line-height: 1.9;
    font-size: 16px;
    align-self: center;
    padding-right: 13%;
    width: 440px;
    margin: 0 auto;
    padding-top: 26%;
}


/*hidden place style*/
.hiddenp {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.section-header07 {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 60px;
}

.sub5 {
    color: #9B8AA5;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}

.title5 {
    color: #432747;
    font-size: 64px;
    font-weight: 800;
    margin: 0;
    text-shadow: 5px 8px 4px rgba(0, 0, 0, 0.25);
}

.gallery-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 75%;
    margin: 0 auto;
    /* 애니메이션이 먹히기 전, 기본 상태는 똑바른 직사각형(0도) */
    /* transform: skewY(0deg); */
    /* 각도가 꺾일 때 부드럽게 회전하는 중심점을 설정 */
    transform-origin: center center;
    will-change: transform;
    /* 브라우저 성능 최적화 */
    padding: 50px 0;
}

.detail-section {
    width: 100%;
    padding: 60px 0;
}

.detail-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.detail-visual-sticky {
    /*  position: sticky;
    top: 20%;  */
    width: 55%;
    height: 600px;
    overflow: hidden;
}

.detail-info-scroll {
    width: 40%;
    padding-bottom: 50px;
}

.info-content-box {
    margin-bottom: 37px;
    min-height: 42px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.info-content-box:last-child {
    margin-bottom: 0;
    /* 마지막 박스는 여백 제거 */
}

/* 3. 5장의 큰 사진 겹치기 및 Active 상태 제어 (★가장 중요) */
.large-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 55% !important;
    height: 100% !important;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out;
    max-width: 100% !important;
    max-height: 100% !important;
}

/* 스크립트에 의해 선택된 사진만 화면에 부드럽게 나타남 */
.large-img.active {
    opacity: 1;
    pointer-events: auto;
}

.gallery-item {
    width: 18%;
    overflow: hidden;
}

.gallery-img {
    width: 398px;
    height: 375px;
    object-fit: cover;
}

.large-img {
    max-width: 1355px;
    max-height: 937px;
}

.info-content-box {
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.info-content-box .info-location,
.info-content-box p {
    color: #F8F8F8;
    transition: color 0.3s ease;
}

.info-content-box[data-target="1"]:hover .info-location,
.info-content-box[data-target="1"]:hover p {
    color: #66556D;
}

.info-content-box[data-target="2"]:hover .info-location,
.info-content-box[data-target="2"]:hover p {
    color: #432747;
}

.info-content-box[data-target="3"]:hover .info-location,
.info-content-box[data-target="3"]:hover p {
    color: #35303A;
}

.info-content-box[data-target="4"]:hover .info-location,
.info-content-box[data-target="4"]:hover p {
    color: #75607D;
}

.info-content-box[data-target="5"]:hover .info-location,
.info-content-box[data-target="5"]:hover p {
    color: #BBAABE;
}

/* 5장의 큰 사진들을 한자리에 겹쳐두기 */
.large-img {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}


/*Frame Worthy style*/
.framew {
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    background: #f5f5f5;
    text-align: center;
}


.section-header08 {
    padding: 50px;
}

.title6 {
    color: #5A315D;
    font-size: 64px;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.sub6 {
    color: #000;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}

.frame-text {
    font-size: 20px;
    color: #4E4A52;
    line-height: 1.6;
    padding: 30px 0;
}

.frame-img-box1>img {
    width: 833px;
    height: 613px;
    border: 30px solid #2C1A1D;
    box-sizing: border-box;
}

.frame-img01,
.frame-img03 {
    display: flex;
    justify-content: flex-start;
    gap: 5px;
    padding-bottom: 120px;
}

#textR1,
#textR2,
#textR3 {
    flex-direction: column;
    text-align: left;
    padding-left: 20px;
}

#textR1 {
    margin-top: 17%;
}

#textR2,
#textL2 {
    margin-top: 12%;
}

#textR3 {
    display: flex;
    justify-content: space-between;
    margin-top: 37%;
}

.frame-img-box2>img {
    width: 860px;
    height: 674px;
    border: 30px solid #2C1A1D;
    box-sizing: border-box;
}

.frame-img02,
.frame-img04 {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    padding-bottom: 100px;
}

#textL1,
#textL2 {
    flex-direction: column;
    text-align: right;
    padding-right: 20px;
}

#textL1 {
    margin-top: 21%;
}

.frame-img-box3>img {
    width: 672px;
    height: 504px;
    border: 30px solid #2C1A1D;
    box-sizing: border-box;
}

.frame-img-box4>img {
    width: 610px;
    height: 722px;
    border: 30px solid #2C1A1D;
    box-sizing: border-box;
}

.frame-img-box5>img {
    width: 896px;
    height: 604px;
    border: 30px solid #2C1A1D;
    box-sizing: border-box;
}

.frame-img05 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 1200px;
    margin: 50px auto;
    width: 100%;
}

.frame-img05 .frame-img-box4 {
    flex: 0 0 50%;
}

.frame-img05 .frame-text {
    flex: 0 0 50%;
    text-align: left;
}

.frame-img06>.museum-title {
    padding-top: 12px;
}
/*frame Worthy 패럴랙스 효과 */
