/* ═══════════════════════════════════════════════════════════════
   VERDIER — 서브 페이지 공통 스타일 (about, menu, reservation)
   ═══════════════════════════════════════════════════════════════ */


/* ──────────────────────────────────────────────────────────────
   페이지 헤더 (서브 페이지 공통)
   ────────────────────────────────────────────────────────────── */

.page-hero {
  position:   relative;
  padding:    calc(var(--header-h) + var(--sp-8)) 0 var(--sp-7);
  text-align: center;
  overflow:   hidden;
  background: var(--dark-900);
}

/* 배경 장식 라인들 */
.page-hero::before {
  content:    '';
  position:   absolute;
  top:        50%;
  left:       50%;
  transform:  translate(-50%, -50%);
  width:      700px;
  height:     700px;
  border-radius: 50%;
  border:     1px solid rgba(194, 122, 52, 0.06);
  pointer-events: none;
}

.page-hero::after {
  content:    '';
  position:   absolute;
  top:        50%;
  left:       50%;
  transform:  translate(-50%, -50%);
  width:      400px;
  height:     400px;
  border-radius: 50%;
  border:     1px solid rgba(194, 122, 52, 0.08);
  pointer-events: none;
}

.page-hero__label {
  display:        block;
  font-family:    var(--font-sans);
  font-size:      var(--text-xs);
  font-weight:    400;
  letter-spacing: var(--ls-xwide);
  text-transform: uppercase;
  color:          var(--brand);
  margin-bottom:  var(--sp-2);
  position:       relative;
  z-index:        1;
}

.page-hero__title {
  font-family:    var(--font-display);
  font-size:      clamp(40px, 6vw, 80px);
  font-weight:    400;
  color:          var(--white);
  letter-spacing: var(--ls-tight);
  line-height:    var(--lh-tight);
  position:       relative;
  z-index:        1;
  margin-bottom:  var(--sp-2);
}

.page-hero__subtitle {
  font-size:      var(--text-base);
  font-weight:    300;
  color:          rgba(255, 255, 255, 0.45);
  max-width:      540px;
  margin:         0 auto;
  line-height:    var(--lh-relaxed);
  position:       relative;
  z-index:        1;
}


/* ──────────────────────────────────────────────────────────────
   MENU 페이지 — 테이스팅 메뉴
   ────────────────────────────────────────────────────────────── */

/* 메뉴 탭 */
.menu-tabs {
  display:          flex;
  justify-content:  center;
  gap:              0;
  border-bottom:    1px solid rgba(255, 255, 255, 0.08);
  margin-bottom:    var(--sp-6);
}

.menu-tab {
  font-family:    var(--font-sans);
  font-size:      var(--text-xs);
  font-weight:    400;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color:          rgba(255, 255, 255, 0.4);
  padding:        16px 32px;
  border-bottom:  2px solid transparent;
  cursor:         pointer;
  transition:     color var(--t-fast), border-color var(--t-fast);
  background:     none;
  border-top:     none;
  border-left:    none;
  border-right:   none;
}

.menu-tab.is-active {
  color:        var(--brand-light);
  border-color: var(--brand);
}

.menu-tab:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* 탭 패널 */
.menu-panel {
  display: none;
}

.menu-panel.is-active {
  display: block;
}

/* 코스 메뉴 레이아웃 */
.course-layout {
  display:    grid;
  grid-template-columns: 1fr 2px 1fr;
  gap:        0 var(--sp-5);
  max-width:  1100px;
  margin:     0 auto;
}

.course-divider {
  background: linear-gradient(to bottom, transparent, rgba(194, 122, 52, 0.3), transparent);
  align-self: stretch;
}

/* 코스 섹션 */
.course-section {
  padding-bottom: var(--sp-5);
}

.course-section__title {
  font-family:    var(--font-sans);
  font-size:      var(--text-xs);
  font-weight:    400;
  letter-spacing: var(--ls-xwide);
  text-transform: uppercase;
  color:          var(--brand);
  margin-bottom:  var(--sp-3);
  padding-bottom: var(--sp-1);
  border-bottom:  1px solid rgba(194, 122, 52, 0.2);
}

/* 메뉴 아이템 */
.menu-item {
  padding:        var(--sp-2) 0;
  border-bottom:  1px solid rgba(255, 255, 255, 0.04);
  display:        flex;
  flex-direction: column;
  gap:            6px;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item__header {
  display:         flex;
  justify-content: space-between;
  align-items:     baseline;
  gap:             var(--sp-2);
}

.menu-item__name {
  font-family:  var(--font-display);
  font-size:    var(--text-lg);
  color:        var(--white);
  line-height:  var(--lh-snug);
}

.menu-item__name-fr {
  font-style: italic;
}

.menu-item__price {
  font-family:  var(--font-display);
  font-size:    var(--text-md);
  color:        var(--brand-light);
  white-space:  nowrap;
  flex-shrink:  0;
}

.menu-item__desc {
  font-size:    var(--text-xs);
  font-weight:  300;
  color:        rgba(255, 255, 255, 0.4);
  line-height:  var(--lh-relaxed);
}

.menu-item__tags {
  display:    flex;
  gap:        6px;
  flex-wrap:  wrap;
}

.menu-tag {
  font-size:      10px;
  font-weight:    400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--warm-400);
  border:         1px solid rgba(170, 152, 138, 0.25);
  padding:        2px 8px;
}

/* 코스 가격 요약 */
.course-summary {
  background:   rgba(194, 122, 52, 0.05);
  border:       1px solid rgba(194, 122, 52, 0.15);
  padding:      var(--sp-3) var(--sp-4);
  text-align:   center;
  max-width:    600px;
  margin:       var(--sp-5) auto 0;
}

.course-summary__label {
  font-size:      var(--text-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color:          rgba(255, 255, 255, 0.4);
  margin-bottom:  8px;
}

.course-summary__price {
  font-family:  var(--font-display);
  font-size:    var(--text-4xl);
  color:        var(--white);
}

.course-summary__note {
  font-size:    var(--text-xs);
  color:        rgba(255, 255, 255, 0.3);
  margin-top:   8px;
}


/* ──────────────────────────────────────────────────────────────
   ABOUT 페이지
   ────────────────────────────────────────────────────────────── */

/* 스토리 섹션 */
.story-section {
  display:    grid;
  grid-template-columns: 1fr 1fr;
  gap:        var(--sp-7);
  align-items: center;
  padding:    var(--sp-7) 0;
}

.story-section--reverse {
  direction: rtl;
}

.story-section--reverse > * {
  direction: ltr;
}

.story-image {
  position:   relative;
  overflow:   hidden;
}

.story-image img {
  width:      100%;
  height:     500px;
  object-fit: cover;
}

/* 이미지 위 황금 테두리 장식 */
.story-image__frame {
  position:   absolute;
  top:        var(--sp-2);
  left:       var(--sp-2);
  right:      calc(-1 * var(--sp-2));
  bottom:     calc(-1 * var(--sp-2));
  border:     1px solid rgba(194, 122, 52, 0.25);
  pointer-events: none;
}

.story-text .eyebrow {
  margin-bottom: var(--sp-1);
}

.story-text .heading-lg {
  color:        var(--white);
  margin-bottom: var(--sp-3);
}

.story-text p {
  font-size:    var(--text-base);
  font-weight:  300;
  line-height:  var(--lh-relaxed);
  color:        rgba(255, 255, 255, 0.5);
  margin-bottom: var(--sp-2);
}

/* 팀 그리드 */
.team-grid {
  display:    grid;
  grid-template-columns: repeat(3, 1fr);
  gap:        var(--sp-3);
  margin-top: var(--sp-5);
}

.team-card {
  text-align: center;
}

.team-card__image {
  width:         100%;
  aspect-ratio:  3 / 4;
  object-fit:    cover;
  margin-bottom: var(--sp-2);
  filter:        grayscale(20%);
  transition:    filter var(--t-normal);
}

.team-card:hover .team-card__image {
  filter: grayscale(0%);
}

.team-card__name {
  font-family:  var(--font-display);
  font-size:    var(--text-xl);
  color:        var(--white);
  margin-bottom: 4px;
}

.team-card__role {
  font-size:      var(--text-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color:          var(--brand);
}

/* 수상 그리드 */
.award-grid {
  display:    grid;
  grid-template-columns: repeat(4, 1fr);
  gap:        var(--sp-2);
  margin-top: var(--sp-5);
}

.award-card {
  padding:    var(--sp-3);
  border:     1px solid rgba(194, 122, 52, 0.15);
  text-align: center;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.award-card:hover {
  border-color: rgba(194, 122, 52, 0.4);
  background:   rgba(194, 122, 52, 0.04);
}

.award-card__year {
  font-family:  var(--font-display);
  font-size:    var(--text-2xl);
  color:        var(--brand-light);
  margin-bottom: 6px;
}

.award-card__title {
  font-size:    var(--text-sm);
  font-weight:  300;
  color:        var(--white);
  line-height:  var(--lh-snug);
  margin-bottom: 4px;
}

.award-card__org {
  font-size:   var(--text-xs);
  color:       rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
}


/* ──────────────────────────────────────────────────────────────
   RESERVATION 페이지
   ────────────────────────────────────────────────────────────── */

.reservation-layout {
  display:    grid;
  grid-template-columns: 1fr 1fr;
  gap:        var(--sp-7);
  align-items: start;
}

/* 예약 정보 패널 */
.reservation-info .heading-lg {
  color:        var(--white);
  margin-bottom: var(--sp-3);
}

.info-block {
  margin-bottom: var(--sp-4);
}

.info-block__title {
  font-family:    var(--font-sans);
  font-size:      var(--text-xs);
  font-weight:    400;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color:          var(--brand);
  margin-bottom:  var(--sp-1);
}

.info-block__content {
  font-size:    var(--text-base);
  font-weight:  300;
  line-height:  var(--lh-relaxed);
  color:        rgba(255, 255, 255, 0.5);
}

.info-block__content strong {
  color:      var(--white);
  font-weight: 400;
}

/* 예약 폼 패널 */
.reservation-form {
  background: var(--dark-700);
  padding:    var(--sp-5);
  border:     1px solid rgba(194, 122, 52, 0.1);
}

.form-title {
  font-family:    var(--font-display);
  font-size:      var(--text-2xl);
  color:          var(--white);
  margin-bottom:  var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom:  1px solid rgba(255, 255, 255, 0.07);
}

.form-row {
  display:    grid;
  grid-template-columns: 1fr 1fr;
  gap:        var(--sp-2);
}

.form-group {
  margin-bottom: var(--sp-2);
}

.form-group label {
  display:        block;
  font-size:      var(--text-xs);
  font-weight:    400;
  letter-spacing: var(--ls-normal);
  text-transform: uppercase;
  color:          rgba(255, 255, 255, 0.5);
  margin-bottom:  8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width:        100%;
  background:   rgba(255, 255, 255, 0.04);
  border:       1px solid rgba(255, 255, 255, 0.1);
  color:        var(--white);
  font-family:  var(--font-sans);
  font-size:    var(--text-sm);
  font-weight:  300;
  padding:      12px 16px;
  outline:      none;
  transition:   border-color var(--t-fast), background var(--t-fast);
  appearance:   none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  background:   rgba(194, 122, 52, 0.04);
}

.form-group select option {
  background: var(--dark-700);
  color:      var(--white);
}

.form-group textarea {
  height:   120px;
  resize:   vertical;
  min-height: 80px;
}

.form-submit {
  width:      100%;
  background: var(--brand);
  color:      var(--dark-900);
  font-family: var(--font-sans);
  font-size:  var(--text-xs);
  font-weight: 400;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  padding:    16px;
  border:     none;
  cursor:     pointer;
  margin-top: var(--sp-2);
  transition: background var(--t-fast);
}

.form-submit:hover {
  background: var(--brand-dark);
}

.form-notice {
  font-size:    var(--text-xs);
  color:        rgba(255, 255, 255, 0.3);
  margin-top:   var(--sp-1);
  line-height:  var(--lh-relaxed);
}

/* 지도/위치 섹션 */
.location-map {
  height:     480px;
  position:   relative;
  overflow:   hidden;
}

/* iframe이 컨테이너를 완전히 채우도록 */
.location-map iframe {
  position: absolute;
  top:      0;
  left:     0;
  width:    100%;
  height:   100%;
  border:   0;
  /* 사이트 다크 웜 톤에 맞춰 어둡고 따뜻하게 보정 */
  filter:   brightness(0.65) saturate(0.75) sepia(20%) contrast(1.05);
}

/* ── 마커 위 툴팁 오버레이 ── */
.map-tooltip {
  position:        absolute;
  /* 구글맵 마커는 지도 중앙에 위치하므로 수평 50%, 수직은 핀 끝이 중앙에 닿도록 조정 */
  left:            50%;
  top:             50%;
  transform:       translate(-50%, calc(-100% - 16px));
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  /* 지도 조작을 방해하지 않도록 */
  pointer-events:  none;
  z-index:         10;
  /* 입장 애니메이션 */
  animation:       tooltipIn 0.5s 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes tooltipIn {
  from { opacity: 0; transform: translate(-50%, calc(-100% - 8px)); }
  to   { opacity: 1; transform: translate(-50%, calc(-100% - 16px)); }
}

/* 말풍선 본체 */
.map-tooltip__card {
  background:   rgba(26, 24, 22, 0.93);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border:       1px solid rgba(194, 122, 52, 0.45);
  padding:      10px 18px 9px;
  display:      flex;
  flex-direction: column;
  align-items:  center;
  gap:          2px;
  white-space:  nowrap;
  /* 가느다란 황금 상단 라인 */
  box-shadow:   0 0 0 0.5px rgba(194, 122, 52, 0.2),
                0 8px 24px rgba(0, 0, 0, 0.5);
}

/* 레스토랑 이름 */
.map-tooltip__name {
  font-family:    var(--font-display);
  font-size:      15px;
  font-weight:    400;
  letter-spacing: 0.25em;
  color:          var(--white);
  line-height:    1;
}

/* 주소 서브라인 */
.map-tooltip__sub {
  font-family:    var(--font-sans);
  font-size:      10px;
  font-weight:    300;
  letter-spacing: 0.12em;
  color:          var(--brand-light);
  line-height:    1;
}

/* 말풍선 꼬리 삼각형 */
.map-tooltip__arrow {
  width:        0;
  height:       0;
  border-left:  7px solid transparent;
  border-right: 7px solid transparent;
  border-top:   8px solid rgba(194, 122, 52, 0.45);
  position:     relative;
}

/* 꼬리 내부 — 배경색과 같은 레이어로 테두리 색만 남기기 */
.map-tooltip__arrow::after {
  content:      '';
  position:     absolute;
  top:          -9px;
  left:         -6px;
  width:        0;
  height:       0;
  border-left:  6px solid transparent;
  border-right: 6px solid transparent;
  border-top:   7px solid rgba(26, 24, 22, 0.93);
}


/* ──────────────────────────────────────────────────────────────
   반응형 — 태블릿
   ────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .story-section {
    grid-template-columns: 1fr;
  }

  .story-section--reverse {
    direction: ltr;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .award-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reservation-layout {
    grid-template-columns: 1fr;
  }

  .course-layout {
    grid-template-columns: 1fr;
  }

  .course-divider {
    display: none;
  }
}


/* ──────────────────────────────────────────────────────────────
   교통 정보 그리드 (반응형 3열)
   ────────────────────────────────────────────────────────────── */

.transport-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   var(--sp-3);
  margin-top:            var(--sp-4);
}

.transport-grid > div {
  text-align: center;
  padding:    var(--sp-3);
  border:     1px solid rgba(255, 255, 255, 0.06);
}


/* ──────────────────────────────────────────────────────────────
   반응형 — 모바일
   ────────────────────────────────────────────────────────────── */

@media (max-width: 767px) {
  .menu-tabs {
    flex-wrap: wrap;
    border-bottom: none;
    gap: 2px;
  }

  .menu-tab {
    flex:       1;
    min-width:  120px;
    text-align: center;
    border:     1px solid rgba(255, 255, 255, 0.08);
    padding:    12px 16px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .award-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .story-image img {
    height: 300px;
  }

  /* 교통 정보 — 모바일에서 1열 세로 나열 */
  .transport-grid {
    grid-template-columns: 1fr;
  }
}
