/* High View Rest & Cafe - menu site
   Black and gold, to match the printed menu. Bootstrap 5.3 (RTL build) underneath. */

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

:root {
  --hv-gold: #d9b35b;
  --hv-gold-2: #f3dc9a;
  --hv-gold-deep: #a9823a;
  --hv-ink: #0b0b0b;
  --hv-panel: #141414;
  --hv-panel-2: #1c1c1c;
  --hv-line: rgba(217, 179, 91, .28);
  --hv-text: #ece6d8;
  --hv-muted: #a59f92;
  --hv-nav-h: 112px;
}

html { scroll-behavior: smooth; }

body {
  overflow-x: clip;       /* safety net: nothing may widen the page */
  background: var(--hv-ink);
  color: var(--hv-text);
  font-family: "Vazirmatn", Tahoma, "Segoe UI", Arial, sans-serif;
  padding-top: var(--hv-nav-h);
  -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------------ navbar */
.hv-navbar {
  background: rgba(11, 11, 11, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hv-line);
}
.hv-brand { display: flex; flex-direction: column; line-height: 1.05; text-decoration: none; }
.hv-brand-ku { color: var(--hv-gold); font-weight: 900; font-size: 1.25rem; }
.hv-brand-en { color: var(--hv-muted); font-size: .68rem; letter-spacing: .32em; }

.hv-chips {
  min-width: 0;          /* let the row scroll instead of widening the page */
  max-width: 100%;
  overflow-x: auto;
  gap: .5rem;
  padding-bottom: .15rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hv-chips::-webkit-scrollbar { display: none; }
.hv-chips .nav-link {
  flex: 0 0 auto;
  white-space: nowrap;
  color: var(--hv-text);
  border: 1px solid var(--hv-line);
  border-radius: 999px;
  padding: .38rem .95rem;
  font-size: .9rem;
  transition: background-color .2s, color .2s, border-color .2s;
}
.hv-chips .nav-link:hover { border-color: var(--hv-gold); color: var(--hv-gold-2); }
.hv-chips .nav-link.active {
  background: linear-gradient(135deg, var(--hv-gold-2), var(--hv-gold) 45%, var(--hv-gold-deep));
  color: var(--hv-ink);
  border-color: transparent;
  font-weight: 700;
}

/* ------------------------------------------------------------------ buttons */
.hv-btn-gold {
  background: linear-gradient(135deg, var(--hv-gold-2), var(--hv-gold) 45%, var(--hv-gold-deep));
  color: var(--hv-ink);
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  padding-inline: 1.6rem;
  box-shadow: 0 8px 24px rgba(217, 179, 91, .22);
}
.hv-btn-gold:hover, .hv-btn-gold:focus { color: var(--hv-ink); filter: brightness(1.07); }
.hv-btn-outline {
  color: var(--hv-gold-2);
  border: 1px solid var(--hv-gold);
  border-radius: 999px;
  background: transparent;
  font-weight: 700;
}
.hv-btn-outline:hover, .hv-btn-outline:focus { background: var(--hv-gold); color: var(--hv-ink); }
.hv-dot {
  display: inline-block; width: .5rem; height: .5rem; border-radius: 50%;
  background: #3ddc84; margin-inline-end: .35rem; box-shadow: 0 0 0 3px rgba(61, 220, 132, .2);
}

/* ------------------------------------------------------------------ hero */
.hv-hero {
  position: relative;
  min-height: calc(100svh - var(--hv-nav-h));
  display: flex;
  align-items: center;
  padding: 4rem 0;
  overflow: hidden;
}
.hv-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  transform: scale(1.15); filter: blur(10px) brightness(.7) saturate(1.1);
}
.hv-hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(11, 11, 11, .72) 0%, rgba(11, 11, 11, .94) 70%),
    linear-gradient(to bottom, rgba(11, 11, 11, .2), var(--hv-ink));
}
.hv-kicker {
  color: var(--hv-gold);
  letter-spacing: .35em;
  font-size: .78rem;
  margin-bottom: .6rem;
  text-transform: uppercase;
}
.hv-title {
  font-weight: 900;
  font-size: clamp(2.8rem, 9vw, 5.2rem);
  line-height: 1.05;
  margin: 0;
  background: linear-gradient(180deg, var(--hv-gold-2), var(--hv-gold) 55%, var(--hv-gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hv-title-en {
  display: block;
  font-size: clamp(.9rem, 2.6vw, 1.25rem);
  letter-spacing: .6em;
  margin-top: .6rem;
  -webkit-text-fill-color: var(--hv-text);
  color: var(--hv-text);
}
.hv-ornament {
  display: flex; align-items: center; justify-content: center; gap: .8rem;
  color: var(--hv-gold); font-size: .7rem; margin: 1.1rem auto;
}
.hv-ornament span { height: 1px; width: 70px; background: linear-gradient(90deg, transparent, var(--hv-gold), transparent); }
.hv-ornament-start { justify-content: flex-start; }
@media (max-width: 767.98px) { .hv-ornament-start { justify-content: center; } }
.hv-welcome { color: var(--hv-text); font-size: 1.1rem; margin: 0; }
.hv-cover-link {
  background: none; border: 0; color: var(--hv-muted);
  font-size: .9rem; text-decoration: underline; text-underline-offset: 4px;
}
.hv-cover-link:hover { color: var(--hv-gold-2); }

/* ------------------------------------------------------------------ blocks */
.hv-block { padding: 4rem 0; scroll-margin-top: calc(var(--hv-nav-h) + 12px); }
.hv-heading h2 { font-weight: 900; color: var(--hv-text); margin: 0; font-size: clamp(1.7rem, 4.5vw, 2.4rem); }

/* ------------------------------------------------------------------ section cards */
.hv-card {
  position: relative; display: block; border-radius: 14px; overflow: hidden;
  background: var(--hv-panel); border: 1px solid var(--hv-line);
  text-decoration: none; color: var(--hv-text);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.hv-card img {
  display: block; width: 100%; height: auto; aspect-ratio: 600 / 849;
  object-fit: cover; transition: transform .5s;
}
.hv-card-body {
  position: absolute; inset: auto 0 0 0;
  display: flex; flex-direction: column; gap: .1rem;
  padding: 2.6rem .9rem .8rem;
  background: linear-gradient(to top, rgba(11, 11, 11, .96) 30%, transparent);
}
.hv-card-body strong { font-weight: 700; font-size: 1.02rem; color: var(--hv-gold-2); }
.hv-card-body small { color: var(--hv-muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.hv-card:hover, .hv-card:focus-visible {
  transform: translateY(-4px); border-color: var(--hv-gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .55), 0 0 0 1px rgba(217, 179, 91, .25);
}
.hv-card:hover img { transform: scale(1.04); }

/* ------------------------------------------------------------------ menu pages */
.hv-pages { background: linear-gradient(to bottom, var(--hv-ink), #0f0f0f 20%, #0f0f0f 80%, var(--hv-ink)); }
.hv-page { margin-bottom: 3.2rem; scroll-margin-top: calc(var(--hv-nav-h) + 12px); }
.hv-page-head {
  display: flex; align-items: center; gap: .9rem;
  padding-bottom: .8rem; margin-bottom: 1rem; border-bottom: 1px solid var(--hv-line);
}
.hv-page-head h3 { margin: 0; font-weight: 900; font-size: clamp(1.3rem, 3.6vw, 1.75rem); }
.hv-page-head h3 small {
  display: inline-block; margin-inline-start: .5rem;
  font-size: .78rem; font-weight: 400; color: var(--hv-muted);
  letter-spacing: .14em; text-transform: uppercase;
}
.hv-num {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 1px solid var(--hv-gold); color: var(--hv-gold); font-weight: 700; font-size: .9rem;
}
.hv-page-img {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  border-radius: 14px; overflow: hidden; background: var(--hv-panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .6), 0 0 0 1px var(--hv-line);
  cursor: zoom-in;
}
.hv-page-img img { display: block; width: 100%; height: auto; }
.hv-zoom {
  position: absolute; inset-block-start: .8rem; inset-inline-start: .8rem;
  background: rgba(11, 11, 11, .78); color: var(--hv-gold-2);
  border: 1px solid var(--hv-line); border-radius: 999px;
  padding: .3rem .8rem; font-size: .82rem; font-weight: 700;
  opacity: .92; transition: opacity .2s;
}
.hv-page-img:hover .hv-zoom { opacity: 1; }

/* ------------------------------------------------------------------ footer (page 9) */
.hv-footer {
  padding: 4rem 0 6rem;
  background:
    radial-gradient(ellipse at top, rgba(217, 179, 91, .1), transparent 60%),
    var(--hv-panel);
  border-top: 1px solid var(--hv-line);
}
.hv-closing-img { max-width: 340px; margin-inline: auto; }
.hv-footer-title { font-weight: 900; color: var(--hv-gold); font-size: clamp(1.9rem, 5vw, 2.6rem); margin: 0; }
.hv-footer-title span { display: block; color: var(--hv-text); font-size: .95rem; font-weight: 400; letter-spacing: .3em; margin-top: .3rem; }
.hv-footer-text { color: var(--hv-text); font-size: 1.05rem; }
.hv-footer-small { color: var(--hv-muted); font-size: .9rem; }
.hv-footer-address {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--hv-text); font-size: 1rem; margin-bottom: .35rem;
}
.hv-footer-address svg { color: var(--hv-gold); flex: 0 0 auto; }
.hv-copy { color: #6f6a60; font-size: .8rem; margin: 3rem 0 0; }

/* ------------------------------------------------------------------ floating call */
.hv-fab {
  position: fixed; inset-block-end: 1.1rem; inset-inline-start: 1.1rem; z-index: 1040;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  color: var(--hv-ink);
  background: linear-gradient(135deg, var(--hv-gold-2), var(--hv-gold) 45%, var(--hv-gold-deep));
  box-shadow: 0 10px 28px rgba(0, 0, 0, .55), 0 0 0 4px rgba(217, 179, 91, .18);
  transition: transform .2s;
}
.hv-fab:hover { transform: scale(1.07); color: var(--hv-ink); }

/* ------------------------------------------------------------------ viewer */
.hv-modal { background: #050505; color: var(--hv-text); }
.hv-modal .modal-title { color: var(--hv-gold-2); font-weight: 700; }
.hv-modal .modal-body { overflow: auto; -webkit-overflow-scrolling: touch; }
.hv-modal .modal-body img { display: block; width: 100%; max-width: 1100px; height: auto; margin: 0 auto; }

/* ------------------------------------------------------------------ install (PWA) */
.hv-install {
  position: fixed; inset-block-end: 1.1rem; inset-inline-end: 1.1rem; z-index: 1040;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .7rem 1.15rem; border: 1px solid var(--hv-gold); border-radius: 999px;
  background: rgba(11, 11, 11, .92); color: var(--hv-gold-2); font-weight: 700;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .55);
}
.hv-install:hover { background: var(--hv-gold); color: var(--hv-ink); }
.hv-ios-hint {
  position: fixed; inset-inline: .8rem; inset-block-end: 5.2rem; z-index: 1045;
  background: var(--hv-panel-2); color: var(--hv-text);
  border: 1px solid var(--hv-gold); border-radius: 14px;
  padding: .9rem 1rem; font-size: .95rem; text-align: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .6);
}
.hv-ios-hint b { color: var(--hv-gold-2); }
.hv-ios-hint button {
  display: block; margin: .6rem auto 0; background: none; border: 0;
  color: var(--hv-muted); text-decoration: underline;
}
@media (display-mode: standalone) { .hv-install, .hv-ios-hint { display: none !important; } }

/* ------------------------------------------------------------------ accessibility */
a:focus-visible, button:focus-visible { outline: 2px solid var(--hv-gold-2); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hv-card, .hv-card img, .hv-fab, .hv-chips .nav-link { transition: none; }
}
