@charset "utf-8";
/* 기본설정 */
@import url('https://fonts.googleapis.com/css2?family=Fredericka+the+Great&display=swap');
@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&family=Fredericka+the+Great&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&display=swap');
a {
    color: inherit;
}

.header{
    width: 100%;
    height: 90px;
    background-color: rgba(255,255,255,0.5);
    position: fixed;
    z-index: 9999;
    transition: all 0.4s ease-in-out;
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
}
.header:hover {
    height: 360px;
    background-color: rgba(255,255,255,1);
}
.header .logo{
    width: 120px;
    margin: 10px auto;
}
.header .logo img{
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.header .gnb1{
    position: relative;
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
    width: 57%;
    margin: 0 auto;
    color: #464646;
}
/* 스크롤 내려갔을 때 변경 */
.header.scrolled {
    flex-direction: row;     
    align-items: center; 
    justify-content: space-between;
    padding: 0 5%;
    /* height: 90px; */
    background-color: rgba(255,255,255,1);
    height: 70px;
}
.header.scrolled .logo {
    margin: 5px 0 0 0;    
}
.header.scrolled:hover {
    height: 360px;
    align-items: flex-start; 
}
.header .gnb1::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #fff;
    top: 90px;
    left: 0;
}
.header.scrolled .gnb1::before {
    top: 70px;
}
.header .gnb1::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background-color: #464646;
    top: 90px;
    left: 0;
    transition: 0.7s width ease-in-out;
}
.header:hover .gnb1::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #464646;
    bottom: 0;
    left: 0;
}
.header .gnb_Title{
    position: relative;
    /* height: 100%; */
    width: 20%;
    text-align: center;
    line-height: 90px; 
    transition: all 0.2s;
    /* color: var(--main-gold); */
    font-family: "gowun-b";
    letter-spacing: 1.8px;
}
.header .gnb_Title > span{
    text-decoration: none;
    width: 100%;
    /* height: 100%; */
    display: inline-block;
    font-weight: bold;
}
.header .gnb_Title ul{
    /* display: none;  */
    height: auto;
    display: flex;
    flex-wrap: wrap;
}
.header .gnb2 li{
    width: 100%;
    height: 37px;
    line-height: 45px;
    text-align: center;
    /* background-color: rgba(0,0,0,0.65); */
    padding: 3% 0;
    letter-spacing: 0px;
    font-family: 'gowun', 'serif';
}

.header .gnb2 li:first-child::before{
    display: none;
}
.header .gnb2 li a{
    position: relative;
    text-decoration: none;
    display: inline-block;
    width: max-content;
    height: 100%;
    color: #000
}
.header .gnb2 li a:hover{
    /* color: #FFBF94; */
}
.header .gnb2 li:hover a {
    color: #BB7E56;
}


/* 헤더모바일 시작 */
.header_wrap_m{
    display: block;
    position: fixed;
    top: 60px;
    right: 100px;
    width: 60px;
    height: 48px;
    z-index: 10102;
    mix-blend-mode: difference;
}
.header_wrap_m.no-blend {
    mix-blend-mode: normal;
}
.header_m{
    width: 100%;
    height: 100%;
    position: relative;
}
.img_invert {
    filter: invert(0.6);
}
.nav{
    cursor: pointer;
    width: 100%;
    height: 100%;
}
.nav ul{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.nav .navbar{
    position: relative;
    width: 60px;
    height: 48px;
}
.nav .navbar span{
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    text-align: center;
    background-color: #fff;
    transition: all .3s ease-in-out;
}
.nav .navbar .bar1{ top: 0; transform-origin: top left;}
.nav .navbar .bar2{ top: 15px; transform-origin: bottom left;}


/* 내비 두번째 라인 옆 메뉴 텍스트 */
.nav .navbar .bar-menu {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 17px;
    background: transparent;
    color: #fff;
}

/* 활성화 상태(X 모양) */

.nav .navbar.active .bar1 {
    transform:rotate(15deg);
}
.nav .navbar.active .bar2 {
    transform: rotate(-15deg)
}

/* ============================
   전체 메뉴 (열린 상태) - 좌/우 분할
============================ */
.gnb_m{
    display: flex;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10101;
    background-color: var(--main-brown);


    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-in-out, visibility 0s linear .5s;
}
.gnb_m.active{
    opacity: 1;
    visibility: visible;
    transition: opacity .5s ease-in-out, visibility 0s linear 0s;
}
.gnb_m .close{
    cursor: pointer;
    position: absolute;
    right: 5%; top: 1%;
}
.gnb1_m{
    width: 100%;
    /* text-align: center; */
}
/* 좌측 : 배경사진 + 메뉴리스트 */
.gnb_m_left{
    position: relative;
    width: 59%;
    height: 100%;
    overflow: hidden;
}
.gnb-imgbox{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.gnb-imgbox::after{
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(68, 61, 54, 0.8);
}
.gnb-imgbox img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .6s ease;
}
.gnb-imgbox img.active{
    opacity: 1;
}

.gnb_m_wrap{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 8% 0 10%;
}
.gnb1_m{ width: 100%; }

.gnb_Title_m{
    cursor: pointer;
    position: relative;
    font-size: 42px;
    line-height: 1.6em;
    letter-spacing: .04em;
    color: #fff;
    font-family: "arita-m";
}
.gnb_Title_m:hover{
    /* color: var(--main-gold); */
}
.gnb_Title_m:hover .gnb_cate_m{
    color: #fff;
    /* pointer-events: none; */
    cursor: default;
}
/* 서브메뉴 */
.gnb2_m{
    max-height: 0;
    overflow: hidden;
    padding-left: 5px;
    transition: max-height .3s ease-in-out;
    font-family: "pret-l";
}

.gnb_Title_m .gnb2_m li a{
    color: rgba(255,255,255,.7);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.1em;
    /* line-height: 1; */
    display: inline-block;
    font-family: "pret-l";
}
.gnb_Title_m .gnb2_m li a:hover{
    color: #fff;
}

.gnb2_m li a .txt-kr {
    display: none;
}
/* 상세메뉴 hover 시 한글로 전환  */
.gnb2_m li a:hover .txt-en {
    display: none;
}
.gnb2_m li a:hover .txt-kr {
    display: inline;
}



/* room 메뉴 커스텀*/
.gnb_Title_m .gnb2_m li {
    line-height: 1.2;
}
.gnb2_m .gnb_cate_m {
    font-size: 20px;
    width: 100%;
    flex-basis: 100%;
    margin-top: 50px;
}
.gnb_cate_m .txt-kr {
    display: none;
}
/* 상세메뉴 hover 시 한글로 전환  */
.gnb_cate_m:hover .txt-en {
    display: none;
}
.gnb_cate_m:hover .txt-kr {
    display: inline;
}

.gnb2_m .gnb_cate_m:first-of-type {
    margin-top: 0;
}

.gnb_Title_m:hover .gnb2_m,
.gnb_Title_m.active .gnb2_m{
    opacity: 1;
    pointer-events: auto;
}


@media(min-width:769px){
    .gnb_Title_m{ margin-bottom: 35px; }
    .gnb2_m{
        position: absolute;
        left: 190px;
        padding-left: 70px;
        top: 50%;
        transform: translateY(-59%);
        width: max-content;
        max-height: none;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        column-gap: 20px;
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s ease;
    }
    
}

/* 우측 : 닫기버튼 + 로고 + SNS */
.gnb_m_right{
    position: relative;
    width: 41%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.gnb_m_right .close{
    cursor: pointer;
    position: absolute;
    top: 34px;
    right: 5%;
    width: 34px;
    height: 20px;
}
.gnb_m_right .close span{
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
    mix-blend-mode: exclusion;
}
.gnb_m_right .close span:first-child{ transform: rotate(45deg); }
.gnb_m_right .close span:nth-of-type(2){ transform: rotate(-45deg); }

.gnb_logo_center{ width: 160px; }
.gnb_logo_center img{ width: 100%; display: block; }

.gnb_sns{
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.gnb_sns a{
    font-size: 19px;
    letter-spacing: 0.05em;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0 30px;
}
.gnb_sns a img {
    width: 22px;
}
.gnb_sns a:not(:last-child){
    border-right: 1px solid #fff;
}
/* .gnb_sns a:not(:last-child)::after{
    content: '|';
    margin-left: 14px;
    margin-right: 14px;
    color: #fff;
} */

.show{
    display: flex;
    /* transition:all 0.5s ease-in; */
}
.hide{
    display: none;
    /* transition:all 0.5s ease-in; */
}

.logo_m{
    position: fixed;
    z-index: 9999;
    top: 30px;
    left: 50%;
    width: 142px;
    transform: translateX(-50%);
    mix-blend-mode: difference;
}
.logo_m img{
    width: 100%;
}
.logo_m.scrolled{
    top: 40px;
    width: 215px;
}
.header_wrap{
    display: none;
}


@media(max-width:1200px){
    .logo_m {
        width: 127px;
    }
    .header_wrap_m {
        top: 40px;
        right: 40px;
    }


    .gnb_m{ flex-direction: column; }
    .gnb_m_left{ 
        width: 100%; 
        height: calc(100vh - 150px); 
    }
    
    
    
    .gnb_m_right{ 
        width: 100%; 
        height: 150px;
        /* flex-direction: row;  */
    }
    .gnb_m_right > div {
        width: 50%;
        flex-direction: row;
        gap: 34px;
    }
    .gnb_logo_center{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .gnb_logo_center a{
        max-width: 22vw;
    }
    .gnb_sns{ 
        position: static;
        transform: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
                margin-top: 17px;
    }
    .gnb_sns a:not(:last-child) {
        border-right: none;
    }

    .gnb_m_wrap{ justify-content: center; padding: 45px 5% 0 7%; }
    .gnb_Title_m{ font-size: 30px; }
    /* .gnb2_m.room li:not(.gnb_cate_m){
        display: none;
    } */
    .gnb2_m .gnb_cate_m {
        margin-top: 20px;
    }
    /* .gnb2_m.room .gnb_cate_m a{
        pointer-events: auto;
        cursor: pointer;
    } */
}





@media(max-width:768px){

    /* 햄버거메뉴 버튼 위치 */
    .header_wrap_m {
        top: 12px;
        right: 8px;
    }
    .nav .navbar {
        width: 40px;
        height: 30px;
    }
    .nav .navbar .bar-menu {
        font-size: 10px;
    }
    .nav .navbar .bar2 {
        top: 12px;
    }
    /* 활성화 상태(X 모양) */
    .nav .navbar.active .bar1 {
        transform:rotate(18deg);
    }
    .nav .navbar.active .bar2 {
        transform: rotate(-18deg)
    }

    /* sns 아이콘  */
    .gnb_sns a {
        justify-content: flex-start;
        padding: 0;
        font-size: 14px;
    }

    .gnb_Title_m{
        font-size: 28px;
        margin-bottom: 3vh;
    }

    .gnb2_m{
        position: static;
        /* position: absolute;
        left: 175px;
        top: 50%;
        transform: translateY(-59%); */
        width: max-content;
        max-height: 0px;
         padding-left: 0;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        column-gap: 20px;
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s ease;
    }

    .gnb_Title_m.active .gnb2_m {
        max-height: 300px;
        padding-left: 3px;
    }

    .gnb2_m.room, .gnb2_m.special {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 70vw;
        min-width: 46vw;
    }
    .gnb2_m.room li, .gnb2_m.special li {
        /* width: 80%; */
    }
    .gnb_Title_m .gnb2_m li a {
        font-size: 16px;
        color: #fff;
    }
    .header_m .logo_m img{
        /* width: 60px; */
    }
    .logo_m {
        width: 55px;
        height: auto;
        top: 13px;
    }
    .logo_m.scrolled{
        top: 17px;
        left: 16px;
        width: 104px;
    }
    .logo_m.scrolled .mobile-header-bg {
        position: fixed;
        width: 100vw;
        height: 60px;
        z-index: -1;
        top: 0;
        left: 0;
        background: #fff;
    }
}

@media(max-width:350px){
    .gnb_Title_m{
        font-size: 22px;
    }
    .gnb2_m{
        left: 160px;
    }
}