/* ── Design tokens ── */
:root {
  --bg: #080808;
  --bg-elevated: #111111;
  --bg-card: #141414;
  --gold: #d4af37;
  --gold-light: #e8c96a;
  --gold-dim: rgba(212, 175, 55, 0.15);
  --red: #c62828;
  --naver: #03c75a;
  --kakao: #f7e041;
  --text: #f5f5f5;
  --muted: #a8a8a8;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --header-h: 68px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: "Noto Serif KR", "Apple SD Gothic Neo", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--gold);
  color: #111;
  font-weight: 700;
  border-radius: 8px;
  transition: top var(--transition);
}
.skip-link:focus { top: 16px; }

/* ── Promo banner ── */
.promo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  color: #111;
  text-align: center;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 0.9rem;
}
body.has-promo .header { top: 38px; }
body.has-promo { padding-top: 38px; }

/* ── Header ── */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header-h);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.brand { display: flex; align-items: center; gap: 12px; }

.logo-symbol {
  font-family: "Gowun Batang", serif;
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
}

.logo-text { line-height: 1.25; }
.logo-text .brand-red { color: var(--red); font-weight: 700; font-size: 1rem; }
.logo-text .shop-name { color: var(--text); font-size: 0.85rem; margin-top: 2px; opacity: 0.9; }

.header-right { display: flex; align-items: center; gap: 12px; }

.nav { display: flex; gap: 20px; align-items: center; }
.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color var(--transition);
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav a:hover, .nav a:focus-visible { color: var(--gold); }
.nav a:hover::after, .nav a:focus-visible::after { width: 100%; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 1.3rem;
  align-items: center;
  justify-content: center;
}

.lang-wrap { margin-left: 16px; }
#langSelect {
  background-color: #0a0a0a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 30px 6px 10px;
  border-radius: 8px;
  font-size: 1rem;
  min-width: 80px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23dcdcdc' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
#langSelect option { background: #0a0a0a; color: #dcdcdc; padding: 5px; }

/* ── Hero ── */
.hero {
  min-height: 85vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("../images/KakaoTalk_20251014_151821226_10.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  position: relative;
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 22px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  letter-spacing: 0.01em;
}

.hero h1 {
  color: var(--gold);
  font-family: "Gowun Batang", serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin: 0 0 14px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.hero-desc {
  color: var(--muted);
  margin: 0 auto 20px;
  max-width: 520px;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  word-break: keep-all;
  line-height: 1.55;
}

/* Naver search — 네이버 검색 유도 핵심 UI */
.naver-search {
  width: 100%;
  max-width: 720px;
  margin: 18px auto 28px;
  display: grid;
  grid-template-columns: 40px 1fr 46px;
  align-items: center;
  gap: 4px;
  background: #fff;
  border-radius: 44px;
  padding: 10px 14px;
  border: 3px solid var(--naver);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.naver-logo {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--naver); font-weight: 800; font-size: 1.2rem;
  justify-self: center;
}
.faux-input {
  background: transparent;
  font-size: 1rem;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 28px;
  overflow: hidden;
}
.faux-text { white-space: nowrap; }
.faux-text .name-part { color: var(--red); font-weight: 800; }
.faux-text .rest-part { color: #111; }
.search-btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--naver);
  background: transparent; border: 0;
  cursor: pointer;
}
.search-btn::before { content: "🔍"; }

/* Buttons */
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 0;
  background: var(--gold);
  color: #111;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35); }
.btn.outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn.outline:hover { background: rgba(212, 175, 55, 0.12); }
.btn.gold { background: var(--gold); color: #111; }

.social-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.social-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  transition: border-color var(--transition), color var(--transition);
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ── Sections ── */
main { overflow: hidden; }

.section {
  padding: 80px 20px;
  text-align: center;
}
.section-alt { background: var(--bg-elevated); }

.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section h2 {
  color: var(--gold);
  font-family: "Gowun Batang", serif;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin: 0 0 20px;
  line-height: 1.4;
}
.section-desc {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 0.95rem;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.about-desc {
  max-width: 640px;
}

/* Features */
.features-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature-card {
  position: relative;
  background:
    linear-gradient(155deg, rgba(212, 175, 55, 0.07) 0%, transparent 42%),
    linear-gradient(180deg, #181818 0%, var(--bg-card) 100%);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: var(--radius);
  padding: 30px 18px 26px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212, 175, 55, 0.1), transparent 70%);
  pointer-events: none;
}
.feature-card:hover {
  border-color: rgba(212, 175, 55, 0.28);
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(212, 175, 55, 0.08);
}
.feature-icon-wrap {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.05));
  border: 1px solid rgba(212, 175, 55, 0.22);
  color: var(--gold-light);
}
.feature-icon {
  width: 26px;
  height: 26px;
  display: block;
}
.feature-card h3 {
  position: relative;
  z-index: 1;
  color: var(--gold);
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  position: relative;
  z-index: 1;
  color: #b8b8b8;
  font-size: 0.86rem;
  line-height: 1.55;
  margin: 0;
  word-break: keep-all;
}

/* Menu */
.menu-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.menu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold-dim);
}
.menu-card-img { overflow: hidden; aspect-ratio: 4/3; }
.menu-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.menu-card:hover img { transform: scale(1.06); }
.menu-card-body { padding: 16px 18px 20px; text-align: left; }
.menu-card h3 { color: var(--gold); margin: 0 0 6px; font-size: 1.05rem; }
.menu-card p { color: var(--muted); margin: 0; font-size: 0.88rem; line-height: 1.5; }

/* Interior */
.interior-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.interior-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}
.interior-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.interior-item:hover img { transform: scale(1.04); }

/* Info cards */
/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 20px;
}
.faq-item summary {
  cursor: pointer;
  color: var(--gold);
  font-weight: 600;
  padding: 18px 0;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 18px;
  line-height: 1.65;
}

.info-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  text-align: left;
}
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.info-card .info-label {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.info-card p, .info-card a {
  color: var(--text);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}
.info-card a:hover { color: var(--gold); }

/* Map — 네이버 지도 연동 (원본 구조) */
.map-preview {
  max-width: 720px;
  margin: 20px auto 0;
}
iframe.pc-map {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.mobile-map {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.mobile-map img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius);
}
.mobile-map .btn.gold {
  font-size: 0.95rem;
  background: var(--naver);
  color: #fff;
  border: 0;
}

/* CTA strip */
.cta-strip {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(198, 40, 40, 0.08));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 20px;
  text-align: center;
}
.cta-strip h2 {
  font-family: "Gowun Batang", serif;
  color: var(--gold);
  font-size: 1.5rem;
  margin: 0 0 10px;
}
.cta-strip p { color: var(--muted); margin: 0 0 20px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer {
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: #000;
}
.footer-brand {
  font-family: "Gowun Batang", serif;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.footer-info {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* Floating FAB */
.floating {
  position: fixed;
  right: 20px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 35;
}
.fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition);
}
.fab:hover { transform: scale(1.08); }
.fab.call { background: var(--gold); color: #111; }
.fab.kakao { background: var(--kakao); color: #111; }
.fab:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Scroll reveal — 항상 표시 */
.reveal {
  opacity: 1;
  transform: none;
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.97);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    z-index: 39;
  }
  body.has-promo .nav { top: calc(var(--header-h) + 38px); }
  .nav.open { display: flex; }
  .nav a { font-size: 1.05rem; padding: 8px 0; }

  .header { padding: 0 16px; }
  .hero { padding: 60px 16px 48px; min-height: 85vh; }
  .section { padding: 56px 16px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .feature-card { padding: 24px 14px 20px; }
  .menu-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
  .interior-grid { grid-template-columns: 1fr; }
  .mobile-map { display: flex; }
  .pc-map { display: none; }
  .fab { width: 48px; height: 48px; font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
