@charset "UTF-8";

/* 헤더 기본 스타일 */
header {
    height: 100px;
}

header .inner-wrap {
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;    
    justify-content: space-between;
}

header .inner-wrap .top_logo img {
	vertical-align: middle;
}

/* 메인 메뉴 스타일 */
header .menu-wrapper {
    width: 760px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

header .menu-wrapper ul {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

header .menu-wrapper ul li a {
    font-size: 15px;
    color: #000;
}

/* 2차 뎁스 메뉴 스타일 */
.menu-wrapper > ul > li {
    position: relative;
}

.menu-wrapper > ul > li .depth2 {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: #fff;
    border-radius: 8px;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 100;
}

.menu-wrapper > ul > li .depth2::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

.menu-wrapper > ul > li .depth2 li a {
    display: block;
    padding: 12px 25px;
    color: #666;
    transition: all 0.3s;
    text-align: center;
    white-space: nowrap;
}

.menu-wrapper > ul > li .depth2 li a:hover {
    color: #967F6D;
    background-color: #f8f9fa;
}

/* 멤버 메뉴 스타일 */
header .member-wrapper {
    display: flex;
}

header .member-wrapper li a {
    font-size: 13px;
    color: #967F6D;
}

header .member-wrapper li:first-child::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 10px;
    background-color: #967F6D;
    margin: 0 5px;
}

header .member-wrapper .lang-btn {
    margin-left: 10px;
}

header .member-wrapper > div > a:last-child {
	margin-left: 10px;
}

header .member-wrapper .lang-btn.lang-kor img {
    box-shadow: 0 0 3px rgba(0 0 0 / 20%);
	border-radius: 100%;
}

/* 모바일 메뉴 버튼 */
.mobile-menu-btn {
    display: none;
    position: relative;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    transition: all 0.3s;
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu-btn span:nth-child(3) { bottom: 0; }

.mobile-menu-btn.active span {
    background-color: #967F6D;
}

.mobile-menu-btn.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* 배경 딤처리 */
.menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

body.menu-open .menu-backdrop {
    display: block;
}

@media screen and (max-width: 1320px) {
	header .menu-wrapper ul {
		justify-content: center;
    	gap: 20px;
	}
}

/* 모바일 스타일 */
@media screen and (max-width: 1190px) {
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    header .menu-wrapper {
        display: none;
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
    }

    .menu-wrapper.active {
        display: block;
        right: 0;
    }

    header .menu-wrapper ul {
        display: block;
        padding: 20px 0;
    }

    header .menu-wrapper ul li {
        display: block;
        margin: 0;
        border-bottom: 1px solid #eee;
    }

    header .menu-wrapper ul li > a {
        display: block;
        padding: 15px 20px;
    }

    .menu-wrapper > ul > li .depth2 {
        position: static;
        width: 100%;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        background: #f8f9fa;
    }

    .menu-wrapper > ul > li .depth2::before {
        display: none;
    }

    .menu-wrapper > ul > li .depth2 li a {
        padding: 12px 30px;
        text-align: left;
        font-size: 14px;
        color: #777;
    }

    .menu-wrapper > ul > li .depth2 li a:hover {
        background-color: #f1f3f5;
    }

    body.menu-open {
        overflow: hidden;
    }

    /* 모바일에서 멤버 메뉴 조정 */
    header .member-wrapper {
        position: relative;
        z-index: 1002;
    }
}

/* 푸터 스타일 */
footer {
    padding: 50px 0;
    background-color: #2F3A2D;
    font-family: "Nanum Gothic", sans-serif;
    color: #fff;
}

footer .inner-wrap {
    display: flex;
    justify-content: space-between;
}

footer .inner-wrap .f-txt {
    font-size: 0;
}

footer .inner-wrap .f-txt span {
    font-size: 15px;
}

footer .inner-wrap .f-txt span:not(:last-child):after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 14px;
    position: relative;
    top: 2px;
    background-color: #fff;
    margin: 0 10px;
}

footer .inner-wrap .f-txt p:nth-child(1) {
    padding-bottom: 10px;
}

footer .inner-wrap .f-txt p:nth-child(2) {
    padding-bottom: 50px;
}

footer .inner-wrap .f-txt p:nth-child(3) a {
    color: #fff;
    font-size: 15px;
}

footer .inner-wrap .f-txt p:nth-child(3) a:not(:last-child):after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 14px;
    position: relative;
    top: 2px;
    background-color: #fff;
    margin: 0 10px;
}

footer .inner-wrap .f-info {
    font-size: 15px;
}

footer .inner-wrap .f-info p:nth-child(odd) {
    padding-bottom: 10px;
}

footer .inner-wrap .f-info p:nth-child(even) {
    font-size: 20px;
    font-weight: bold;
}

footer .inner-wrap .f-info p:nth-child(2) {
    padding-bottom: 40px;
}

/* PC 퀵메뉴 - 우측 하단 pill 버튼 스택 */
#quick-menu {
    position: fixed;
    right: 40px;
    bottom: 40px;
    top: auto;
    transform: none;
    z-index: 10001;
    background: none;
    border: none;
    box-shadow: none;
}

#quick-menu ul {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 0;
}

#quick-menu ul li {
	padding: 0;
	text-align: left;
	font-family: 'NanumSquare', 'Nanum Gothic', sans-serif;
	font-size: 14px;
}

#quick-menu ul li:last-child {
	padding-bottom: 0;
}

#quick-menu ul li a {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 12px;
	width: 180px;
	padding: 4px 4px 4px 16px;
	border-radius: 9999px;
	background: #fff;
	border: 1px solid #e9e4db;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	color: #1a1f16;
	text-decoration: none;
	overflow: hidden;
	transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s, transform 0.3s;
}

#quick-menu ul li a:hover {
	width: 190px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
	transform: translateX(-4px);
}

/* 아이콘 배지 (원형 색상 배경 + SVG/문자) */
#quick-menu ul li a .qm-icon {
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

#quick-menu ul li a .qm-icon svg {
	width: 20px;
	height: 20px;
}

#quick-menu ul li a p {
	flex: 1;
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}

/* 네이버예약 - 초록 배지 + 흰 N */
#quick-menu ul li.qm-naver a { border-color: rgba(3, 199, 90, 0.2); }
#quick-menu ul li.qm-naver .qm-icon {
	background: #03c75a;
	color: #fff;
	font-weight: 900;
	font-size: 14px;
}

/* 카톡상담 - 노랑 배지 */
#quick-menu ul li.qm-kakao .qm-icon {
	background: #fee500;
	color: #3c1e1e;
}

/* 온라인예약·온라인상담·리얼후기 - 어두운 배지 + 흰 아이콘 */
#quick-menu ul li.qm-dark .qm-icon {
	background: #1a1f16;
	color: #fff;
}

/* 오시는길 - green 강조 버튼 + 반투명 배지 */
#quick-menu ul li.qm-place a {
	background: #3e522d;
	border-color: #3e522d;
	color: #fff;
}
#quick-menu ul li.qm-place .qm-icon {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

/* 모바일 퀵메뉴 - PC에서 숨김 */
#quick-menu-mobile {
	display: none;
}

@media(max-width: 1190px) {
	header .member-wrapper { margin-right: 40px; }
	header .member-wrapper > li { display: none; }
	header .menu-wrapper { left: unset; transform: unset;}
	header .menu-wrapper ul { padding: 80px 0; }
	footer .inner-wrap { flex-wrap: wrap; }
	footer .inner-wrap .f-txt p:nth-child(2) { padding-bottom: 20px; }
	footer .inner-wrap .f-info { padding-top: 20px; }

	/* PC 퀵메뉴 숨김 */
	#quick-menu { display: none; }

	/* 모바일 퀵메뉴 표시 - 하단 고정 액션바 */
	#quick-menu-mobile {
		display: block;
		position: fixed;
		left: 0;
		bottom: 0;
		width: 100%;
		z-index: 10001;
		background: #fff;
		border-top: 1px solid #e9e4db;
		box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
		padding-bottom: env(safe-area-inset-bottom, 0);
	}

	#quick-menu-mobile ul {
		display: flex;
		flex-direction: row;
		align-items: stretch;
		padding: 0;
		margin: 0;
		height: 60px;
	}

	#quick-menu-mobile ul li {
		flex: 1;
		text-align: center;
		padding: 0;
		border-right: 1px solid rgba(233, 228, 219, 0.5);
	}

	#quick-menu-mobile ul li:last-child {
		border-right: none;
	}

	#quick-menu-mobile ul li a {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		height: 100%;
		color: #1a1f16;
		text-decoration: none;
	}

	#quick-menu-mobile ul li a:active {
		background: #f9f9f9;
	}

	#quick-menu-mobile ul li a .mqm-icon {
		width: 22px;
		height: 22px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	#quick-menu-mobile ul li a .mqm-icon svg {
		width: 20px;
		height: 20px;
	}

	#quick-menu-mobile ul li a p {
		font-family: 'NanumSquare', 'Nanum Gothic', sans-serif;
		font-size: 10px;
		font-weight: 700;
		color: #1a1f16;
		margin: 0;
		line-height: 1.2;
	}

	/* 네이버예약 - 초록 N */
	#quick-menu-mobile ul li.mqm-naver .mqm-icon {
		color: #03c75a;
		font-size: 18px;
		font-weight: 900;
		line-height: 1;
	}

	/* 카톡상담 - 노랑 원형 배지 */
	#quick-menu-mobile ul li.mqm-kakao .mqm-icon {
		width: 20px;
		height: 20px;
		border-radius: 9999px;
		background: #fee500;
		color: #3c1e1e;
	}
	#quick-menu-mobile ul li.mqm-kakao .mqm-icon svg {
		width: 14px;
		height: 14px;
	}

	/* 온라인예약 - green 스트로크 아이콘 */
	#quick-menu-mobile ul li.mqm-book .mqm-icon {
		color: #3e522d;
	}

	/* 전화상담 - green 배경 강조 버튼 */
	#quick-menu-mobile ul li.mqm-tel a {
		background: #3e522d;
	}
	#quick-menu-mobile ul li.mqm-tel .mqm-icon {
		color: #fff;
	}
	#quick-menu-mobile ul li.mqm-tel p {
		color: #fff;
	}
	#quick-menu-mobile ul li.mqm-tel a:active {
		background: #2d3b1a;
	}
}