@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital@0;1&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css');

:root {
    --black: #000;
    --white: #fff;
    --gray: #5d5d5d;
    --gray-light: #858585;
    --line: #e5e5e5;
    --ivory: #f7f5f1;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
    font-weight: 400;
    background-color: var(--white);
    color: var(--black);
    letter-spacing: -0.2px;
    overflow-x: hidden;
}

.font-baskervville {
    font-family: 'Baskervville', serif;
    letter-spacing: 1px;
}

.font-bold { font-weight: 700; }
.letterspacing1 { letter-spacing: 1px; }
.gray { color: var(--gray); }

/* 공통 여백 */
.inner {
    margin: 0 50px;
}

.pt80 { padding-top: 80px; }

/* 스크롤 등장 애니메이션 */
.scroll_on {
    opacity: 0;
    transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll_on.type_bottom { transform: translateY(60px); }
.scroll_on.type_left { transform: translateX(-60px); }
.scroll_on.type_right { transform: translateX(60px); }

.scroll_on.on {
    opacity: 1;
    transform: translate(0, 0);
}

/* ========== 브랜드 색상 ========== */
:root {
    --naver: #03c75a;
    --insta: #d62976;
}

/* ========== 플로팅 버튼 ========== */
.contactFloat {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 90;
}

.contactFloat .btnBox {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.contactFloat .gotoBox {
    display: flex;
    align-items: center;
    height: 54px;
    border-radius: 27px;
    background-color: var(--white);
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.16);
    overflow: hidden;
    transition: padding 0.28s ease, box-shadow 0.28s ease;
}

.contactFloat .ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
}

.contactFloat .ico svg { width: 24px; height: 24px; }

.contactFloat .lbl {
    max-width: 0;
    opacity: 0;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    transition: max-width 0.28s ease, opacity 0.2s ease;
}

.contactFloat .gotoBox:hover {
    padding-right: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.24);
}

.contactFloat .gotoBox:hover .lbl {
    max-width: 140px;
    opacity: 1;
}

.contactFloat .naver { background-color: var(--naver); color: #fff; }
.contactFloat .tel   { background-color: #1a1a1a;      color: #fff; }
.contactFloat .insta { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); color: #fff; }
.contactFloat .top   { background-color: #fff; color: var(--black); border: 1px solid var(--line); }

/* ========== 헤더 SNS 아이콘 버튼 ========== */
.sns-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 34px;
    width: 34px;
    justify-content: center;
    border-radius: 17px;
    border: 1px solid currentColor;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}

.sns-btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.sns-btn.tel {
    width: auto;
    padding: 0 14px;
}

.header-pc.scrolled .sns-btn.naver,
.header-pc.dark .sns-btn.naver,
.header-mobile.scrolled .sns-btn.naver,
.header-mobile.dark .sns-btn.naver { color: var(--naver); }

.header-pc.scrolled .sns-btn.insta,
.header-pc.dark .sns-btn.insta { color: var(--insta); }

.sns-btn.naver:hover { background-color: var(--naver); border-color: var(--naver); color: #fff; }
.sns-btn.insta:hover { background-color: var(--insta); border-color: var(--insta); color: #fff; }

/* 모바일 헤더 아이콘 */
.m-sns { justify-content: flex-end; gap: 8px; }

/* 예약 메뉴 강조 */
.nav-reserve {
    font-weight: 600;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

/* 모바일 메뉴 하단 CTA */
.m-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.m-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 52px;
    border-radius: 26px;
    font-size: 0.95rem;
    font-weight: 600;
}

.m-cta-btn svg { width: 20px; height: 20px; }
.m-cta-btn.naver { background-color: var(--naver); color: #fff; }
.m-cta-btn.tel   { background-color: #1a1a1a; color: #fff; }
.m-cta-btn.insta { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); color: #fff; }

/* ========== 헤더 ========== */
.header-pc {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 80;
    color: var(--white);
    transition: background-color 0.4s, color 0.4s;
}

.header-pc.scrolled,
.header-pc.dark {
    background-color: var(--white);
    color: var(--black);
    border-bottom: 1px solid var(--line);
}

.headerwrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 50px;
    width: calc(100% - 100px);
    height: 80px;
}

.logo {
    font-family: 'Baskervville', serif;
    font-size: 1.35rem;
    letter-spacing: 4px;
    white-space: nowrap;
}

.logo span {
    display: block;
    font-family: 'Pretendard Variable', Pretendard, sans-serif;
    font-size: 0.6rem;
    letter-spacing: 5px;
    text-align: center;
    padding-top: 4px;
    opacity: 0.75;
}

.header-nav-ul {
    display: flex;
    gap: 38px;
    font-size: 0.95rem;
}

.header-nav-ul > li {
    position: relative;
    line-height: 80px;
}

.header-nav-ul > li > a:hover { opacity: 0.6; }

.header-nav-sub-wrap {
    display: none;
    position: absolute;
    left: -12px;
    top: 80px;
    background-color: var(--white);
    box-shadow: #a8a8a8 0 0 3px 0;
    padding: 6px 0;
    z-index: 5;
}

.header-nav-sub-hover:hover .header-nav-sub-wrap { display: block; }

.header-nav-sub-wrap ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: initial;
}

.header-nav-sub-wrap ul a {
    display: block;
    color: var(--gray-light);
    white-space: nowrap;
    padding: 7px 12px;
    width: 118px;
    font-size: 0.85rem;
    transition: 0.2s;
}

.header-nav-sub-wrap ul a:hover { color: var(--black); }

.header-sns {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.header-sns a:not(.sns-btn):hover { opacity: 0.6; }

/* 모바일 헤더 */
.header-mobile { display: none; }

.header-mobile .headerwrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin: 0 20px;
    width: calc(100% - 40px);
    height: 70px;
}

.menuicon { cursor: pointer; }

.linebox {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
}

.line {
    height: 1px;
    width: 100%;
    background-color: currentColor;
}

.header-mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background-color: var(--white);
    color: var(--black);
    z-index: 100;
    padding: 24px 20px;
    overflow-y: auto;
}

.header-mobile-nav.on { display: block; }

.header-mobile-close {
    text-align: right;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding-bottom: 40px;
}

.header-nav-box { padding-bottom: 26px; }

.header-nav-tit {
    font-family: 'Baskervville', serif;
    font-size: 1.4rem;
    letter-spacing: 1px;
    padding-bottom: 10px;
}

.header-nav-link {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: var(--gray-light);
    font-size: 0.85rem;
}

/* ========== 푸터 ========== */
footer {
    background-color: var(--black);
    color: var(--white);
    margin-top: 120px;
}

.footer-margin { margin: 100px 50px 40px; }

.footer-logo {
    font-family: 'Baskervville', serif;
    font-size: 1.5rem;
    letter-spacing: 5px;
    padding-bottom: 48px;
}

.footer-info-box {
    display: flex;
    justify-content: space-between;
    padding-bottom: 42px;
    gap: 30px;
}

.footer-info, .copyright {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #cfcfcf;
}

.footer-info p { padding-bottom: 5px; }

.footer-cs {
    font-family: 'Baskervville', serif;
    font-size: 1.6rem;
    letter-spacing: 1px;
    color: var(--white);
    padding-bottom: 8px;
}

.footer-sns ul {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 18px;
}

.f-sns {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 15px;
    border-radius: 18px;
    border: 1px solid #444;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: #e8e8e8;
    transition: 0.25s;
}

.f-sns svg { width: 17px; height: 17px; flex-shrink: 0; }

.f-sns.naver:hover { background-color: var(--naver); border-color: var(--naver); color: #fff; }
.f-sns.insta:hover { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); border-color: transparent; color: #fff; }
.f-sns.tel:hover   { background-color: #fff; border-color: #fff; color: #000; }

.footer-bottom {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.footer-use {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
}

.footer-use button { color: #d3d3d3; }
.footer-use button:hover { color: var(--white); }

/* 이용약관 모달 */
.footer-modal-wrap {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 200;
}

.footer-modal-wrap.on { display: block; }

.footer-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--white);
    width: 500px;
    max-width: calc(100% - 40px);
    height: 80%;
    padding: 26px;
    color: var(--black);
    overflow-y: auto;
    line-height: 1.7;
    font-size: 0.85rem;
}

.footer-modal h3 {
    font-family: 'Baskervville', serif;
    font-size: 1.2rem;
    padding-bottom: 18px;
}

.footer-modal p { padding-bottom: 10px; }
.footer-modal strong { font-weight: 700; }

.footer-modal-close {
    position: sticky;
    top: 0;
    text-align: right;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}

/* ========== 반응형 ========== */
@media (max-width: 1200px) {
    .header-nav-ul { gap: 24px; font-size: 0.88rem; }
    .headerwrap { margin: 0 30px; width: calc(100% - 60px); }
}

@media (max-width: 1024px) {
    /* 플로팅 버튼 축소 */
    .contactFloat { right: 14px; bottom: 16px; }
    .contactFloat .btnBox { gap: 8px; }
    .contactFloat .gotoBox { height: 48px; border-radius: 24px; }
    .contactFloat .ico { width: 48px; height: 48px; }
    .contactFloat .ico svg { width: 21px; height: 21px; }
    .contactFloat .gotoBox:hover { padding-right: 0; }
    .contactFloat .gotoBox:hover .lbl { max-width: 0; opacity: 0; }

    .header-pc { display: none; }
    .header-mobile { display: block; position: fixed; top: 0; left: 0; width: 100%; z-index: 80; color: var(--white); transition: 0.4s; }
    .header-mobile.scrolled, .header-mobile.dark { background-color: var(--white); color: var(--black); border-bottom: 1px solid var(--line); }
    .inner { margin: 0 20px; }
    .footer-margin { margin: 80px 20px 30px; }
    .footer-info-box { flex-direction: column; align-items: center; text-align: center; padding-bottom: 30px; gap: 24px; }
    .footer-logo { text-align: center; padding-bottom: 36px; }
    .footer-bottom { flex-direction: column; gap: 12px; }
    footer { margin-top: 90px; }
}
