/* ============================================================
   HEAVY SMOKER — style.css
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #080808;
  --bg-2:        #111111;
  --bg-card:     #181818;
  --bg-card-2:   #202020;
  --accent:      #C8312A;
  --accent-h:    #E03535;
  --accent-dim:  rgba(200,49,42,.15);
  --accent-bdr:  rgba(200,49,42,.25);
  --text:        #F0EDE8;
  --text-2:      #A09888;
  --text-3:      #605850;
  --nav-h:       68px;
  --radius:      10px;
  --transition:  .3s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans KR', 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 4px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  letter-spacing: .03em;
}
.btn-primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-h);
  border-color: var(--accent-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,49,42,.35);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(240,237,232,.35);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ---------- Section shared ---------- */
section { padding: 100px 0; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: .85rem;
  letter-spacing: .25em;
  color: var(--accent);
  margin-bottom: .6rem;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: .06em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.8;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(8,8,8,.96);
  box-shadow: 0 1px 0 var(--accent-bdr);
  backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: .12em;
  color: var(--text);
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-2);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
  padding: .5rem 1.2rem;
  background: var(--accent);
  color: #000 !important;
  border-radius: 4px;
  font-weight: 700;
}
.nav-links .nav-cta:hover { background: var(--accent-h); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO — Multi-Image Composition Slideshow
   ============================================================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

/* ---- 스테이지 (슬라이드 컨테이너) ---- */
.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* ---- 각 프레임 ---- */
.hero-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-frame.active { opacity: 1; }

/* ---- Base 레이어 (풀스크린) ---- */
.hf-base {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-frame.active .hf-base {
  animation: kenBurns 9s ease-in-out forwards;
}
@keyframes kenBurns {
  from { transform: scale(1.07); }
  to   { transform: scale(1.0); }
}

/* ---- 오른쪽 블렌딩 패널 (40%) ---- */
.hf-right {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 42%;
  background-size: cover;
  background-position: center;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 22%, black 52%);
  mask-image:         linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 22%, black 52%);
}

/* ---- 왼쪽 블렌딩 패널 (38%) ---- */
.hf-left {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 38%;
  background-size: cover;
  background-position: center;
  -webkit-mask-image: linear-gradient(to left, transparent 0%, rgba(0,0,0,.55) 22%, black 52%);
  mask-image:         linear-gradient(to left, transparent 0%, rgba(0,0,0,.55) 22%, black 52%);
}

/* ---- 오른쪽 작은 패널 (frame 4용, 하단 30%) ---- */
.hf-right-sm {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30%;
  height: 65%;
  background-size: cover;
  background-position: center top;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,.6) 20%, black 48%),
    linear-gradient(to bottom, black 55%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,.6) 20%, black 48%),
    linear-gradient(to bottom, black 55%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* ---- 다크 오버레이 ---- */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(8,8,8,.55) 0%,
      rgba(8,8,8,.15) 35%,
      rgba(8,8,8,.45) 72%,
      rgba(8,8,8,.88) 100%),
    radial-gradient(ellipse 65% 55% at 50% 50%, rgba(200,49,42,.14) 0%, transparent 70%);
}

/* ---- 텍스트 콘텐츠 ---- */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  text-shadow: 0 2px 24px rgba(0,0,0,.55);
  padding: 0 24px;
}
.hero-sub {
  font-size: .78rem;
  letter-spacing: .32em;
  color: var(--accent);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 14vw, 10.5rem);
  letter-spacing: .08em;
  line-height: .88;
  color: var(--text);
  margin-bottom: 1.4rem;
}
.hero-title span { color: var(--accent); }
.hero-desc {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.9;
  margin-bottom: 2.4rem;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- 슬라이드 인디케이터 ---- */
.hero-dots {
  position: absolute;
  bottom: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: all .35s ease;
  border: none; padding: 0;
}
.hero-dot.active {
  background: var(--accent);
  width: 22px;
  border-radius: 3px;
}

/* ---- 스크롤 힌트 ---- */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  z-index: 3;
}
.hero-scroll-hint span {
  font-size: .62rem;
  letter-spacing: .26em;
  color: var(--text-3);
}
.scroll-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(.8); }
  50%       { opacity: 1;  transform: scaleY(1); }
}

/* ============================================================
   ABOUT / FEATURES
   ============================================================ */
#about { background: var(--bg-2); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid #222;
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  text-align: center;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--accent-bdr);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.5);
}
.feature-card.featured {
  border-color: var(--accent-bdr);
  background: linear-gradient(145deg, #1e0404, #181818);
}
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
}
.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .8rem;
}
.feature-card p { font-size: .9rem; color: var(--text-2); line-height: 1.7; }

/* ============================================================
   MENU
   ============================================================ */
#menu { background: var(--bg); }

.menu-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tab-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid #222;
  border-radius: 4px;
  color: var(--text-2);
  font-family: inherit;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.tab-btn:hover { border-color: var(--accent-bdr); color: var(--text); }
.tab-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* 무제한 배너 */
.menu-banner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: linear-gradient(135deg, #1e0404, #181818);
  border: 1px solid var(--accent-bdr);
  border-radius: var(--radius);
  padding: 1.2rem 1.6rem;
  margin-bottom: 2rem;
  font-size: 1.2rem;
  color: var(--accent);
}
.menu-banner > div { flex: 1; }
.menu-banner strong { display: block; font-size: 1rem; font-weight: 700; color: var(--text); }
.menu-banner span { font-size: .85rem; color: var(--text-2); }
.menu-price-tag {
  padding: .4rem .9rem;
  background: var(--accent);
  color: #000;
  border-radius: 4px;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.menu-item {
  background: var(--bg-card);
  border: 1px solid #1e1e1e;
  border-radius: 8px;
  padding: 1.1rem 1.3rem;
  transition: all var(--transition);
}
.menu-item:hover { border-color: var(--accent-bdr); background: var(--bg-card-2); }
.menu-item h4 { font-size: .95rem; font-weight: 700; margin-bottom: .3rem; }
.menu-item .ko { font-weight: 400; color: var(--text-2); font-size: .85rem; }
.menu-item p { font-size: .8rem; color: var(--text-3); }

/* 글라스 범례 */
.glass-legend {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}
.glass-legend span {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--text-2);
}
.glass-legend i { color: var(--accent); font-size: .9rem; }

/* 베이스 필터 */
.cocktail-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.filter-btn {
  padding: .45rem 1rem;
  background: var(--bg-card);
  border: 1px solid #222;
  border-radius: 20px;
  color: var(--text-2);
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--accent-bdr); color: var(--text); }
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* 티어 범례 */
.tier-legend {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
  padding: .8rem 1rem;
  background: var(--bg-2);
  border-radius: 8px;
  border: 1px solid #1e1e1e;
}
.tier-badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .65rem;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.t-0 { background: rgba(91,168,90,.2);  color: #7DC47A; border: 1px solid rgba(91,168,90,.3); }
.t-1 { background: rgba(74,144,212,.2); color: #6BAEE8; border: 1px solid rgba(74,144,212,.3); }
.t-2 { background: rgba(155,95,212,.2); color: #BC8FE8; border: 1px solid rgba(155,95,212,.3); }
.t-3 { background: rgba(232,160,32,.2); color: #E8B040; border: 1px solid rgba(232,160,32,.3); }
.t-4 { background: rgba(200,49,42,.2);  color: #E06060; border: 1px solid rgba(200,49,42,.3); }
.tier-legend-note { font-size: .75rem; color: var(--text-3); margin-left: .2rem; }

/* 칵테일 그리드 */
.cocktail-grid { display: flex; flex-direction: column; gap: 2rem; }
.cocktail-tier-group {}
.tier-group-header {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .9rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid #1e1e1e;
}
.tier-count { font-size: .78rem; color: var(--text-3); }
.cocktail-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}
.cocktail-card {
  background: var(--bg-card);
  border: 1px solid #1e1e1e;
  border-radius: 8px;
  padding: 1rem 1.1rem;
  transition: all var(--transition);
}
.cocktail-card:hover { border-color: var(--accent-bdr); background: var(--bg-card-2); }
.cocktail-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .5rem;
}
.cocktail-card h4 { font-size: .92rem; font-weight: 700; margin-bottom: .15rem; }
.cocktail-en { font-size: .74rem; color: var(--text-3); display: block; }
.cocktail-recipe { font-size: .78rem; color: var(--text-2); line-height: 1.6; }
.cocktail-base-tag {
  flex-shrink: 0;
  padding: .15rem .55rem;
  border-radius: 3px;
  font-size: .68rem;
  font-weight: 700;
  white-space: nowrap;
}
.base-진        { background: rgba(74,144,212,.15); color: #6BAEE8; }
.base-보드카    { background: rgba(155,95,212,.15); color: #BC8FE8; }
.base-럼        { background: rgba(91,168,90,.15);  color: #7DC47A; }
.base-데킬라    { background: rgba(232,160,32,.15); color: #E8B040; }
.base-위스키    { background: rgba(200,49,42,.15);  color: #E06060; }
.base-트로피칼  { background: rgba(232,120,60,.15); color: #E8905A; }
.cocktail-method {
  display: inline-block;
  margin-top: .4rem;
  padding: .12rem .5rem;
  background: #222;
  border-radius: 3px;
  font-size: .68rem;
  color: var(--text-3);
}

/* 시그니처 */
.signature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.signature-card {
  background: var(--bg-card);
  border: 1px solid #222;
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: all var(--transition);
  position: relative;
}
.signature-card:hover { border-color: var(--accent-bdr); transform: translateY(-4px); }
.sig-badge {
  display: inline-block;
  padding: .2rem .7rem;
  background: var(--accent-dim);
  border: 1px solid var(--accent-bdr);
  color: var(--accent);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  border-radius: 3px;
  margin-bottom: 1rem;
}
.signature-card h4 { font-size: 1.15rem; font-weight: 700; margin-bottom: .7rem; }
.sig-desc { font-size: .88rem; color: var(--text-2); line-height: 1.7; margin-bottom: 1rem; }
.sig-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.sig-tags span {
  padding: .2rem .65rem;
  background: #222;
  border-radius: 20px;
  font-size: .75rem;
  color: var(--text-3);
}

/* 후카 */
.hookah-intro {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #1e0a0a, #181818);
  border: 1px solid rgba(232,93,74,.25);
  border-radius: var(--radius);
  padding: 1.2rem 1.6rem;
  margin-bottom: 2rem;
  font-size: 1.4rem;
  color: #E85D4A;
}
.hookah-intro > div { flex: 1; }
.hookah-intro strong { display: block; font-size: 1rem; color: var(--text); }
.hookah-intro span { font-size: .85rem; color: var(--text-2); }

/* 가격 배지 */
.hookah-price-badge {
  display: inline-block;
  margin-bottom: 1.6rem;
  padding: .45rem 1.4rem;
  background: var(--accent-dim);
  border: 1px solid var(--accent-bdr);
  border-radius: 24px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  letter-spacing: .12em;
  color: var(--accent);
}

.hookah-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.hookah-item {
  background: var(--bg-card);
  border: 1px solid #1e1e1e;
  border-radius: var(--radius);
  padding: 1.4rem 1rem;
  text-align: center;
  transition: all var(--transition);
}
.hookah-item:hover { border-color: rgba(232,93,74,.3); transform: translateY(-4px); }

/* 시그니처 강조 */
.hookah-signature {
  border-color: var(--accent-bdr);
  background: linear-gradient(135deg, #1e0a0a, var(--bg-card));
}
.hookah-signature .hookah-icon {
  background: rgba(200,49,42,.18);
  color: var(--accent);
}
.hookah-signature .hookah-tag {
  background: rgba(200,49,42,.18);
  border-color: var(--accent-bdr);
  color: var(--accent);
}
.hookah-icon {
  width: 48px; height: 48px;
  margin: 0 auto .9rem;
  background: rgba(232,93,74,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #E85D4A;
}
.hookah-item h4 { font-size: .95rem; font-weight: 700; margin-bottom: .2rem; }
.hookah-item p { font-size: .78rem; color: var(--text-3); margin-bottom: .6rem; }
.hookah-tag {
  display: inline-block;
  padding: .18rem .6rem;
  background: rgba(232,93,74,.1);
  border: 1px solid rgba(232,93,74,.2);
  color: #E85D4A;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 600;
}
.hookah-note {
  margin-top: 1.5rem;
  font-size: .82rem;
  color: var(--text-3);
  text-align: center;
}

/* ============================================================
   COCKTAIL / HOOKAH PHOTO & DETAIL MODAL
   ============================================================ */

/* Clickable card cursor */
.cocktail-card, .hookah-item { cursor: pointer; }

/* Cocktail card with photo */
.cocktail-card.has-photo { padding: 0; overflow: hidden; }
.cocktail-card.has-photo .cocktail-body { padding: 1rem 1.1rem; }

.cocktail-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  border-radius: 8px 8px 0 0;
}

/* Hookah item with photo */
.hookah-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -1.4rem -1rem 1rem;
  width: calc(100% + 2rem);
}

/* Cocktail card without photo keeps existing padding */
.cocktail-card:not(.has-photo) .cocktail-body { padding: 0; }

/* Detail hint badge */
.detail-hint {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .5rem;
  font-size: .72rem;
  color: var(--accent);
  opacity: .8;
}

/* ===== Menu Detail Modal ===== */
.menu-detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .88);
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.menu-detail-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.menu-detail-modal {
  background: var(--bg-card);
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  width: 100%;
  max-width: 380px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  scrollbar-width: thin;
}
.menu-detail-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: rgba(0, 0, 0, .55);
  border: none;
  color: #fff;
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  transition: background var(--transition);
}
.menu-detail-close:hover { background: rgba(200,49,42,.7); }

.menu-detail-photo { width: 100%; aspect-ratio: 3 / 2; background-size: cover; background-position: center; border-radius: 14px 14px 0 0; }

.menu-detail-body { padding: 1.4rem 1.4rem 1.6rem; }
.menu-detail-tags { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; margin-bottom: .75rem; }
.menu-detail-name { font-size: 1.25rem; font-weight: 700; margin-bottom: .2rem; }
.menu-detail-en { font-size: .82rem; color: var(--text-3); display: block; margin-bottom: .9rem; }
.menu-detail-recipe {
  font-size: .82rem;
  color: var(--text-2);
  line-height: 1.65;
  padding: .7rem .9rem;
  background: #111;
  border-radius: 6px;
  margin-bottom: .9rem;
}
.menu-detail-desc {
  font-size: .88rem;
  color: var(--text-2);
  line-height: 1.8;
}

/* ============================================================
   EVENTS / CALENDAR
   ============================================================ */
#events { background: var(--bg-2); }

.events-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.calendar-wrap {
  background: var(--bg-card);
  border: 1px solid #222;
  border-radius: var(--radius);
  padding: 20px;
}

/* FullCalendar 커스터마이징 */
.fc { font-family: 'Noto Sans KR', sans-serif !important; }
.fc-theme-standard .fc-scrollgrid { border-color: #222 !important; }
.fc-theme-standard td, .fc-theme-standard th { border-color: #222 !important; }
.fc .fc-daygrid-day-number { color: var(--text-2); font-size: .82rem; }
.fc .fc-col-header-cell-cushion { color: var(--text-3); font-size: .8rem; font-weight: 600; }
.fc .fc-toolbar-title { color: var(--text); font-size: 1rem; font-weight: 700; }
.fc .fc-button-primary {
  background: var(--bg-card-2) !important;
  border-color: #333 !important;
  color: var(--text-2) !important;
  font-size: .8rem !important;
}
.fc .fc-button-primary:hover { border-color: var(--accent) !important; color: var(--accent) !important; }
.fc .fc-button-active { border-color: var(--accent) !important; color: var(--accent) !important; }
.fc-daygrid-day-frame { background: transparent; }
.fc .fc-daygrid-day.fc-day-today { background: rgba(200,49,42,.08) !important; }
.fc .fc-event {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #000 !important;
  font-size: .75rem !important;
  font-weight: 600 !important;
  border-radius: 3px !important;
  padding: 1px 4px !important;
}
.fc .fc-event.event-private {
  background: #4A90D4 !important;
  border-color: #4A90D4 !important;
  color: #fff !important;
}
.fc .fc-event.event-special {
  background: #E85D4A !important;
  border-color: #E85D4A !important;
  color: #fff !important;
}

.event-sidebar { display: flex; flex-direction: column; gap: 20px; }

.event-sidebar h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid #222;
}
#event-list { display: flex; flex-direction: column; gap: 10px; }
.event-list-item {
  display: flex;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid #222;
  border-radius: 8px;
  padding: .9rem 1rem;
}
.event-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}
.event-list-item strong { display: block; font-size: .88rem; margin-bottom: .15rem; }
.event-list-item span { font-size: .78rem; color: var(--text-2); }

.venue-info {
  background: var(--bg-card);
  border: 1px solid #222;
  border-radius: var(--radius);
  padding: 1.4rem;
}
.venue-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid #222;
}
.venue-info ul { display: flex; flex-direction: column; gap: .8rem; }
.venue-info li {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .88rem;
  color: var(--text-2);
}
.venue-info li i { color: var(--accent); width: 16px; }
.venue-info li strong { color: var(--text); }

/* ============================================================
   RESERVATION
   ============================================================ */
#reservation { background: var(--bg); }

.reservation-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.reservation-form-wrap {
  background: var(--bg-card);
  border: 1px solid #222;
  border-radius: var(--radius);
  padding: 2.4rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 16px; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text-2); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-2);
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: .75rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: .9rem;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group select option { background: #111; }
.form-group textarea { resize: vertical; }
.form-group.error input,
.form-group.error select { border-color: #E85D4A; }
.error-msg { font-size: .75rem; color: #E85D4A; margin-top: .2rem; }

.form-success {
  text-align: center;
  padding: 3rem 2rem;
}
.form-success i { font-size: 3rem; color: var(--accent); margin-bottom: 1rem; }
.form-success h3 { font-size: 1.2rem; margin-bottom: .8rem; }
.form-success p { color: var(--text-2); font-size: .9rem; line-height: 1.7; }
.hidden { display: none !important; }

.reservation-info { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid #222;
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  font-size: 1.3rem;
  color: var(--accent);
}
.info-card > div { display: flex; flex-direction: column; }
.info-card strong { font-size: .88rem; font-weight: 700; color: var(--text); margin-bottom: .1rem; }
.info-card span { font-size: .85rem; color: var(--text-2); }

.reservation-notice {
  background: var(--bg-card);
  border: 1px solid #222;
  border-radius: var(--radius);
  padding: 1.4rem;
}
.reservation-notice h4 {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .92rem;
  margin-bottom: .9rem;
  color: var(--accent);
}
.reservation-notice ul { display: flex; flex-direction: column; gap: .6rem; }
.reservation-notice li {
  font-size: .83rem;
  color: var(--text-2);
  padding-left: .8rem;
  position: relative;
}
.reservation-notice li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ============================================================
   LOCATION
   ============================================================ */
#location { background: var(--bg-2); }

.location-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  height: 420px;
  border: 1px solid #222;
}
#map { width: 100%; height: 100%; }

.location-info { display: flex; flex-direction: column; gap: 24px; }
.loc-item { display: flex; gap: 1.1rem; }
.loc-item > i { font-size: 1.1rem; color: var(--accent); margin-top: .15rem; width: 20px; flex-shrink: 0; }
.loc-item strong { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .4rem; color: var(--text-2); }
.loc-item span { font-size: .9rem; color: var(--text); line-height: 1.7; }

.hours-table { display: flex; flex-direction: column; gap: 6px; margin-top: .4rem; }
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  color: var(--text-2);
  padding: .3rem 0;
  border-bottom: 1px solid #1e1e1e;
}
.hours-row span:first-child { font-weight: 600; color: var(--text-3); width: 60px; }
.hours-row.highlight { color: var(--text); }
.hours-row.highlight span:first-child { color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: #040404;
  border-top: 1px solid #161616;
  padding: 48px 24px;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: .12em;
}
.footer-logo span { color: var(--accent); }
.footer-addr { font-size: .8rem; color: var(--text-3); }
.footer-sns { display: flex; gap: 1.2rem; font-size: 1.3rem; }
.footer-sns a { color: var(--text-3); transition: color var(--transition); }
.footer-sns a:hover { color: var(--accent); }
.footer-copy { font-size: .75rem; color: var(--text-3); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .events-layout, .location-layout { grid-template-columns: 1fr; }
  .event-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .map-wrap { height: 340px; }
}

/* ============================================================
   ANJU (안주 메뉴)
   ============================================================ */
.anju-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.anju-item {
  background: var(--bg-card);
  border: 1px solid #1e1e1e;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(14px);
}
.anju-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.anju-item:hover { border-color: rgba(241,196,15,.3); background: var(--bg-card-2); transform: translateY(-3px); }
.anju-item.has-photo { padding: 0; }
.anju-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
}
.anju-body { padding: 1rem 1.1rem 1.2rem; }
.anju-item.has-photo .anju-body { padding: .9rem 1.1rem 1.1rem; }
.anju-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .5rem;
}
.anju-top h4 { font-size: .95rem; font-weight: 700; margin-bottom: .2rem; }
.anju-category {
  display: inline-block;
  padding: .12rem .5rem;
  background: rgba(241,196,15,.12);
  border: 1px solid rgba(241,196,15,.2);
  color: #E8C840;
  border-radius: 12px;
  font-size: .7rem;
  font-weight: 600;
}
.anju-price {
  flex-shrink: 0;
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.anju-desc { font-size: .8rem; color: var(--text-2); line-height: 1.6; margin-bottom: .4rem; }

@media (max-width: 768px) {
  .anju-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}
@media (max-width: 480px) {
  .anju-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE — 768px
   ============================================================ */
@media (max-width: 768px) {

  /* ----- 공통 ----- */
  :root { --nav-h: 60px; }
  .container { padding: 0 16px; }
  section { padding: 60px 0; }
  .section-header { margin-bottom: 36px; }
  .section-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .section-desc { font-size: .92rem; }

  /* ----- 네비바 ----- */
  #navbar { height: var(--nav-h); }
  .nav-inner { padding: 0 16px; }
  .nav-logo { font-size: 1.3rem; }

  /* 햄버거 버튼 — 터치 영역 44×44 확보 */
  .nav-hamburger {
    display: flex;
    width: 44px;
    height: 44px;
    padding: 10px;
    margin-right: -10px;
    justify-content: center;
    align-items: center;
    gap: 5px;
  }

  /* 드롭다운 메뉴 */
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(8,8,8,.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 1.5rem;
    gap: 0;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform .32s cubic-bezier(.4,0,.2,1), opacity .32s ease;
    border-bottom: 1px solid #222;
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }

  /* 각 메뉴 항목 — 최소 54px 터치 영역 */
  .nav-links li { margin: 0; }
  .nav-links a {
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 54px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-2);
    border-bottom: 1px solid #1a1a1a;
    letter-spacing: .03em;
    transition: color var(--transition), background var(--transition);
  }
  .nav-links a:active { background: rgba(255,255,255,.04); color: var(--text); }

  /* 예약하기 CTA */
  .nav-links .nav-cta {
    margin: 1rem 16px 0;
    height: auto;
    padding: .9rem 1rem;
    border-radius: 6px;
    border-bottom: none;
    text-align: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #000 !important;
  }

  /* ----- 히어로 ----- */
  /* 세로 화면에선 side panel 숨김 */
  .hf-right, .hf-left { display: none; }
  .hero-title { font-size: clamp(3.8rem, 18vw, 6.5rem); }
  .hero-desc { font-size: .9rem; line-height: 1.8; }
  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  .hero-btns .btn { width: 100%; justify-content: center; }

  /* ----- About ----- */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-card { padding: 1.8rem 1.4rem; }
  .feature-icon { width: 52px; height: 52px; font-size: 1.3rem; margin-bottom: 1.1rem; }
  .feature-card h3 { font-size: 1.08rem; }
  .feature-card p { font-size: .88rem; }

  /* ----- 메뉴 탭 ----- */
  .menu-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin-bottom: 28px;
  }
  .menu-tabs::-webkit-scrollbar { display: none; }
  .tab-btn {
    flex-shrink: 0;
    padding: .7rem 1.1rem;
    font-size: .85rem;
    white-space: nowrap;
    min-height: 44px;
  }

  /* 무제한 배너 */
  .menu-banner { padding: 1rem 1.2rem; gap: .9rem; }
  .menu-banner strong { font-size: .92rem; }
  .menu-banner span { font-size: .8rem; }

  /* 베이스 필터 */
  .cocktail-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    flex-wrap: nowrap;
    margin-bottom: 1rem;
  }
  .cocktail-filters::-webkit-scrollbar { display: none; }
  .filter-btn {
    flex-shrink: 0;
    padding: .55rem 1rem;
    font-size: .82rem;
    min-height: 40px;
    white-space: nowrap;
  }

  /* 티어 범례 */
  .tier-legend {
    gap: .5rem;
    padding: .7rem .9rem;
    margin-bottom: 1.4rem;
  }
  .tier-legend-note { font-size: .7rem; width: 100%; margin-left: 0; margin-top: .2rem; }

  /* 칵테일 그리드 */
  .cocktail-grid { gap: 1.4rem; }
  .cocktail-items {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .cocktail-card { padding: .85rem .9rem; }
  .cocktail-card h4 { font-size: .85rem; }
  .cocktail-en { font-size: .7rem; }
  .cocktail-recipe { font-size: .75rem; }
  .cocktail-base-tag { font-size: .64rem; padding: .12rem .45rem; }
  .cocktail-method { font-size: .64rem; }
  .tier-group-header { margin-bottom: .7rem; }
  .detail-hint { font-size: .68rem; }

  /* 사진 있는 칵테일 카드 */
  .cocktail-card.has-photo .cocktail-body { padding: .8rem .9rem; }

  /* 시그니처 */
  .signature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .signature-card { padding: 1.4rem; }
  .signature-card h4 { font-size: 1.05rem; }
  .sig-desc { font-size: .85rem; }

  /* 후카 */
  .hookah-intro { padding: 1rem 1.2rem; gap: .8rem; }
  .hookah-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .hookah-item { padding: 1.1rem .8rem; }
  .hookah-item h4 { font-size: .88rem; }
  .hookah-item p { font-size: .74rem; }
  .hookah-icon { width: 40px; height: 40px; font-size: .95rem; margin-bottom: .7rem; }

  /* 메뉴 디테일 모달 — 하단 시트 */
  .menu-detail-overlay { align-items: flex-end; padding: 0; }
  .menu-detail-modal {
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 88vh;
  }
  .menu-detail-body { padding: 1.2rem 1.2rem 2rem; }
  .menu-detail-name { font-size: 1.15rem; }

  /* ----- 이벤트 ----- */
  .event-sidebar { grid-template-columns: 1fr; gap: 16px; }
  .calendar-wrap { padding: 12px; }
  .fc .fc-toolbar-title { font-size: .88rem !important; }
  .fc .fc-button-primary { font-size: .72rem !important; padding: .3rem .55rem !important; }

  /* ----- 예약 ----- */
  .reservation-layout { grid-template-columns: 1fr; gap: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .reservation-form-wrap { padding: 1.4rem 1.2rem; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: .85rem 1rem;
    font-size: .95rem;  /* iOS 자동확대 방지 (16px 이상) */
    min-height: 48px;
  }
  .form-group label { font-size: .8rem; }
  .info-card { padding: 1rem 1.2rem; font-size: 1.1rem; }
  .reservation-notice { padding: 1.1rem; }
  .reservation-notice li { font-size: .8rem; }

  /* ----- 오시는 길 ----- */
  .location-layout { gap: 20px; }
  .map-wrap { height: 260px; }
  .loc-item span { font-size: .88rem; }
  .hours-row { font-size: .84rem; }

  /* ----- 푸터 ----- */
  #footer { padding: 36px 16px; }
  .footer-logo { font-size: 1.5rem; }
  .footer-addr { font-size: .78rem; }
}

/* ============================================================
   MOBILE — 480px (소형 기기)
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  section { padding: 52px 0; }

  /* 히어로 */
  .hero-sub { font-size: .7rem; letter-spacing: .22em; }
  .hero-title { font-size: clamp(3.4rem, 20vw, 5.5rem); }
  .hero-desc { font-size: .85rem; }
  .hero-btns { max-width: 240px; }

  /* 탭/필터 */
  .tab-btn { padding: .65rem .9rem; font-size: .8rem; }
  .filter-btn { padding: .5rem .85rem; font-size: .78rem; }

  /* 칵테일 — 소형 폰에선 1열 */
  .cocktail-items { grid-template-columns: 1fr; }

  /* 후카 */
  .hookah-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* 예약 폼 */
  .reservation-form-wrap { padding: 1.2rem 1rem; }

  /* 지도 */
  .map-wrap { height: 220px; }
}
