/* ==========================================================================
   Stara Pivnica — Bor
   Dizajn sistem izveden iz enterijera restorana i štampanog menija.
   Boje: espreso drvo, cigla, prašnjava ruža (zavese), tamnozeleni somot
   (stolice), toplo zlato (logo i svetlo lampi), krem (zidovi).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokeni
   -------------------------------------------------------------------------- */
:root {
  /* Paleta */
  --espresso: #2b1d14;
  --near-black: #171512;
  --brick: #9c4e3b;
  --rose: #b98074;
  --green: #1e4638;
  --gold: #c9a24b;
  --gold-light: #ddbd75;
  --cream: #ede3d2;
  --paper: #f6f1e7;

  /* Semantički */
  --ink: #2b1d14;
  --ink-muted: #7a6552;
  --on-dark: #ede3d2;
  --on-dark-muted: #b8a892;
  --rule-light: rgba(43, 29, 20, 0.16);
  --rule-dark: rgba(201, 162, 75, 0.28);

  /* Tipografija */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Italianno", "Cormorant Garamond", cursive;

  /* Ritam */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --wrap: 1240px;
  --wrap-narrow: 760px;
  --gutter: 1.25rem;
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 720px) {
  :root { --gutter: 2rem; }
}
@media (min-width: 1100px) {
  :root { --gutter: 3rem; --header-h: 96px; }
}

/* --------------------------------------------------------------------------
   2. Osnova
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 3.5rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}

p { margin: 0 0 var(--space-5); }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--gold); color: var(--espresso); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -110%);
  z-index: 200;
  background: var(--gold);
  color: var(--espresso);
  padding: 0.75rem 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout pomoćnici
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--dark { background: var(--espresso); color: var(--on-dark); }
.section--cream { background: var(--cream); }

.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--cream); }

/* --------------------------------------------------------------------------
   4. Tipografski elementi
   -------------------------------------------------------------------------- */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brick);
  margin: 0 0 var(--space-4);
}
.section--dark .eyebrow,
.page-hero .eyebrow { color: var(--gold); }

.display-1 { font-size: clamp(2.75rem, 7vw, 5.25rem); font-weight: 500; }
.display-2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.display-3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

.script {
  font-family: var(--font-script);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink);
}
.section--dark .lead { color: var(--on-dark); }

.muted { color: var(--ink-muted); }
.section--dark .muted { color: var(--on-dark-muted); }

/* Tanka zlatna linija ispod naslova — potpis brenda */
.rule {
  display: block;
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: var(--space-5) 0;
  border: 0;
}
.rule--center { margin-inline: auto; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }

/* --------------------------------------------------------------------------
   5. Dugmad
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn--gold {
  background: var(--gold);
  color: var(--espresso);
  border-color: var(--gold);
}
.btn--gold:hover,
.btn--gold:focus-visible {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -14px rgba(23, 21, 18, 0.9);
}

.btn--ghost {
  color: var(--cream);
  border-color: rgba(237, 227, 210, 0.55);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--cream);
  background: rgba(237, 227, 210, 0.1);
  transform: translateY(-2px);
}

.btn--outline {
  color: var(--ink);
  border-color: var(--rule-light);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  border-color: var(--brick);
  color: var(--brick);
  transform: translateY(-2px);
}

.btn--sm { padding: 0.65rem 1.25rem; font-size: 0.68rem; letter-spacing: 0.16em; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brick);
  padding-bottom: 0.3rem;
  border-bottom: 1px solid currentColor;
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}
.link-arrow::after { content: "→"; transition: transform 0.25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--gold); }
.link-arrow:hover { color: var(--gold); }
.section--dark .link-arrow:hover { color: var(--gold-light); }

/* --------------------------------------------------------------------------
   6. Zaglavlje
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  min-height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0px);
  display: flex;
  align-items: center;
  color: var(--cream);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease),
    height 0.4s var(--ease);
}

.site-header.is-stuck {
  background: var(--near-black);
  border-bottom-color: var(--rule-dark);
  animation: header-drop 0.5s var(--ease);
}
@keyframes header-drop {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.site-header__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-5);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  line-height: 1;
  transition: opacity 0.25s var(--ease);
}
.brand__stara {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  transition: font-size 0.4s var(--ease);
}
.brand__mark {
  height: 34px;
  width: auto;
  transition: height 0.4s var(--ease);
}
.site-header.is-stuck .brand__mark { height: 28px; }
.site-header.is-stuck .brand__stara { font-size: 0.55rem; }
.brand:hover { opacity: 0.82; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.1rem); }
.nav--right { justify-content: flex-end; }

.nav__link {
  position: relative;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-block: 0.4rem;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--gold-light); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--gold); }


.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  margin-left: auto;
  border: 1px solid rgba(237, 227, 210, 0.4);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.nav-toggle:hover { background: rgba(237, 227, 210, 0.12); border-color: var(--cream); }
.nav-toggle__bars { display: block; width: 18px; height: 10px; position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 1023px) {
  .site-header__inner { grid-template-columns: auto 1fr; }
  .nav--left, .nav--right { display: none; }
  .brand { align-items: flex-start; }
  .nav-toggle { display: inline-flex; position: relative; z-index: 130; }
}

/* Mobilni meni */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--near-black);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-5);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 2rem) var(--gutter) 3rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1.5rem);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.mobile-nav__list { display: flex; flex-direction: column; gap: 0.35rem; text-align: center; }
.mobile-nav__list a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.25s var(--ease);
}
.mobile-nav__list a:hover,
.mobile-nav__list a[aria-current="page"] { color: var(--gold); }

.mobile-nav__meta {
  margin-top: var(--space-5);
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--on-dark-muted);
  display: grid;
  gap: var(--space-4);
  justify-items: center;
}

/* --------------------------------------------------------------------------
   7. Hero (početna)
   -------------------------------------------------------------------------- */
.hero {
  --font-hero: "Bodoni Moda", "Bodoni 72", "Didot", "Playfair Display", "Times New Roman", serif;
  position: relative;
  min-height: min(100svh, 980px);
  display: flex;
  align-items: center;
  color: var(--cream);
  background:
    radial-gradient(60% 70% at 72% 48%, rgba(156, 78, 59, 0.28) 0%, rgba(43, 29, 20, 0.35) 45%, rgba(23, 21, 18, 0) 75%),
    radial-gradient(90% 60% at 10% 100%, rgba(201, 162, 75, 0.08) 0%, rgba(23, 21, 18, 0) 70%),
    var(--near-black);
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(1rem, 3vh, 2.5rem)) var(--gutter) clamp(1.5rem, 4vh, 3rem);
}

.hero__grid {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-areas: "copy" "show" "meta";
  gap: clamp(2rem, 5vw, 3rem);
  justify-items: center;
  text-align: center;
}
@media (min-width: 1000px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    grid-template-areas: "copy show" "meta show";
    grid-template-rows: 1fr auto;
    align-items: center;
    justify-items: start;
    text-align: left;
    column-gap: clamp(2rem, 4vw, 4rem);
    row-gap: 1.5rem;
  }
}

.hero__copy { grid-area: copy; position: relative; z-index: 2; }

/* naslov u stilu reference: krupan serif, jedna reč u kurzivu */
.hero__title {
  margin: 0;
  font-family: var(--font-hero);
  font-weight: 400;
  font-size: clamp(3.4rem, min(14vw, 15vh), 9.5rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--cream);
}
.hero__line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__line > span { display: inline-block; animation: hero-rise 1.1s var(--ease) both; }
.hero__line--2 > span { animation-delay: 0.12s; }
.hero__title em {
  font-style: italic;
  text-transform: none;
  color: var(--gold);
  font-size: 0.92em;
}
@media (min-width: 1000px) {
  .hero__line--2 { padding-left: 0.9em; white-space: nowrap; }
}
.hero__logo {
  display: block;
  width: clamp(190px, min(30vw, 24vh), 300px);
  margin: clamp(0.5rem, 2vh, 1.25rem) auto 0;
  font-size: 0;
  line-height: 0;
  animation: hero-fade 1.2s var(--ease) 0.35s both;
}
@media (min-width: 1000px) { .hero__logo { margin-left: 1.6em; margin-right: 0; font-size: inherit; } }
.hero__logo img { width: 100%; height: auto; }

.hero__tagline {
  max-width: 30rem;
  margin: clamp(1rem, 3vh, 1.75rem) auto 0;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(237, 227, 210, 0.9);
  animation: hero-fade 1.2s var(--ease) 0.5s both;
}
@media (min-width: 1000px) { .hero__tagline { margin-left: 0; } }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-4);
  justify-content: center;
  margin-top: clamp(1.25rem, 3.5vh, 2rem);
  animation: hero-fade 1.2s var(--ease) 0.65s both;
}
@media (min-width: 1000px) { .hero__actions { justify-content: flex-start; } }
@media (max-width: 479px) {
  .hero__actions { flex-direction: column; align-items: stretch; width: min(100%, 22rem); margin-inline: auto; }
}

/* fotografije jela koje se smenjuju */
.hero__show {
  grid-area: show;
  margin: 0;
  position: relative;
  z-index: 1;
  width: min(86vw, 26rem);
  animation: hero-fade 1.2s var(--ease) 0.2s both;
}
@media (min-width: 1000px) {
  .hero__show { justify-self: center; width: auto; height: min(74vh, 620px); aspect-ratio: 486 / 600; }
}
.hero__frame {
  position: relative;
  animation: hero-reveal 1.4s var(--ease) 0.2s both;
  aspect-ratio: 486 / 540;
  border-radius: 999px 999px 6px 6px;
  overflow: hidden;
  background: var(--espresso);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}
@media (min-width: 1000px) { .hero__frame { height: calc(100% - 3.25rem); aspect-ratio: auto; } }
.hero__show::before {
  content: "";
  position: absolute;
  inset: -12px -12px calc(3.25rem - 12px);
  border: 1px solid rgba(201, 162, 75, 0.45);
  border-radius: 999px 999px 10px 10px;
  pointer-events: none;
}
@media (max-width: 999px) { .hero__show::before { inset: -10px -10px 2.65rem; } }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.3s var(--ease);
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 7s linear;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { transform: scale(1); }

.hero__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.25rem;
  margin-top: 1rem;
}
.hero__dish {
  font-family: var(--font-hero);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--cream);
  transition: opacity 0.4s var(--ease);
}
.hero__dish.is-changing { opacity: 0; }
.hero__dots { display: flex; gap: 0.5rem; }
.hero__dot {
  width: 26px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.hero__dot::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  background: rgba(237, 227, 210, 0.3);
  transition: background 0.3s var(--ease);
}
.hero__dot[aria-current="true"]::after { background: var(--gold); }
.hero__dot:hover::after { background: rgba(237, 227, 210, 0.7); }
.hero__dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.hero__meta {
  grid-area: meta;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(237, 227, 210, 0.62);
  animation: hero-fade 1.2s var(--ease) 0.8s both;
}
.hero__meta a { color: inherit; }
.hero__meta a:hover { color: var(--gold-light); }
.hero__meta > * { display: inline-flex; align-items: center; gap: 0.6rem; }
.hero__meta > * + *::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
@media (min-width: 1000px) { .hero__meta { justify-content: flex-start; align-self: end; } }

@keyframes hero-rise { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes hero-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hero-reveal { from { opacity: 0; clip-path: inset(100% 0 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }

/* --------------------------------------------------------------------------
   8. Zaglavlje podstrane
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  min-height: clamp(320px, 46vh, 460px);
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  background: var(--espresso);
  overflow: hidden;
  padding: calc(var(--header-h) + 3.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.page-hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(23, 21, 18, 0.78) 0%, rgba(23, 21, 18, 0.55) 45%, rgba(23, 21, 18, 0.88) 100%);
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { color: var(--cream); margin-bottom: var(--space-3); }
.page-hero__sub {
  max-width: 40rem;
  color: rgba(237, 227, 210, 0.86);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  margin: 0;
}

/* Mrvice */
.crumbs {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(237, 227, 210, 0.6);
  margin-bottom: var(--space-4);
}
.crumbs a:hover { color: var(--gold); }
.crumbs span { margin-inline: 0.5rem; }

/* --------------------------------------------------------------------------
   9. Dve sale — split
   -------------------------------------------------------------------------- */
.rooms { display: grid; gap: 1px; background: var(--rule-dark); }
@media (min-width: 900px) { .rooms { grid-template-columns: 1fr 1fr; } }

.room {
  position: relative;
  min-height: clamp(420px, 56vh, 620px);
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 4vw, 3.5rem);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.room__media { position: absolute; inset: 0; z-index: -1; }
.room__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.room:hover .room__media img { transform: scale(1.05); }
.room__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23, 21, 18, 0.96) 4%, rgba(23, 21, 18, 0.78) 34%, rgba(23, 21, 18, 0.3) 100%);
}
.room__body { position: relative; max-width: 30rem; }
.room__body h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--cream); }
.room__body p { color: rgba(237, 227, 210, 0.86); font-size: 1rem; }
.room__tag {
  display: inline-block;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
}

/* --------------------------------------------------------------------------
   10. Asimetrični blok (O nama)
   -------------------------------------------------------------------------- */
.feature { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature--offset { grid-template-columns: 0.92fr 1.08fr; }
  .feature--reverse .feature__media { order: 2; }
}
.feature__media { position: relative; }
.feature__media img { width: 100%; }
.feature__media--framed::before {
  content: "";
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  border: 1px solid var(--gold);
  z-index: -1;
}
.feature__body { max-width: 34rem; }

.figure-caption {
  margin-top: var(--space-3);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.section--dark .figure-caption { color: var(--on-dark-muted); }

/* Tekst koji obavija sliku */
.wrap-figure {
  float: right;
  width: min(46%, 420px);
  margin: 0.35rem 0 1.5rem 2.5rem;
  shape-outside: inset(0 0 0 0);
}
.wrap-figure img { width: 100%; }
@media (max-width: 767px) {
  .wrap-figure { float: none; width: 100%; margin: 0 0 var(--space-5); }
}

/* --------------------------------------------------------------------------
   11. Brojevi / činjenice
   -------------------------------------------------------------------------- */
.facts {
  display: grid;
  gap: 1px;
  background: var(--rule-light);
  border: 1px solid var(--rule-light);
}
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.section--dark .facts { background: var(--rule-dark); border-color: var(--rule-dark); }

.fact {
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
}
.section--dark .fact { background: var(--espresso); }
.section--cream .fact { background: var(--cream); }
@media (min-width: 1000px) { .facts--povodi { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 640px) and (max-width: 999px) { .facts--povodi > :first-child { grid-column: 1 / -1; } }
@media (min-width: 640px) { .fact--wide { grid-column: span 2; } }
.fact__num--tel { text-decoration: none; white-space: nowrap; }
.fact__num--tel:hover { color: var(--espresso); }
.fact__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1;
  color: var(--brick);
  display: block;
  margin-bottom: var(--space-2);
}
.section--dark .fact__num { color: var(--gold); }
.fact__label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.section--dark .fact__label { color: var(--on-dark-muted); }

/* --------------------------------------------------------------------------
   12. Izdvojena jela
   -------------------------------------------------------------------------- */
.highlights { display: grid; gap: 1px; background: var(--rule-light); }
@media (min-width: 800px) { .highlights { grid-template-columns: repeat(3, 1fr); } }
.section--dark .highlights { background: var(--rule-dark); }

.highlight {
  background: var(--paper);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.section--dark .highlight { background: var(--espresso); }
.highlight__media {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(156, 78, 59, 0.16), rgba(185, 128, 116, 0.22) 45%, rgba(201, 162, 75, 0.18));
  border: 1px solid var(--rule-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
  margin-bottom: var(--space-2);
}
.section--dark .highlight__media { border-color: var(--rule-dark); }
.highlight__media--photo { padding: 0; overflow: hidden; background: var(--cream); }
.highlight__media--photo picture,
.highlight__media--photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.highlight__media--photo img { transition: transform 0.6s var(--ease); }
.highlight:hover .highlight__media--photo img { transform: scale(1.04); }
.highlight__media span {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  max-width: 18rem;
}
.section--dark .highlight__media span { color: var(--on-dark-muted); }
.highlight h3 { font-size: 1.5rem; margin-bottom: 0; }
.highlight__price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brick);
}
.section--dark .highlight__price { color: var(--gold); }
.highlight p { font-size: 0.95rem; margin: 0; }

/* --------------------------------------------------------------------------
   13. Meni — izgled štampanog menija
   -------------------------------------------------------------------------- */
.tabs {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  border-bottom: 1px solid var(--rule-light);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.tab {
  appearance: none;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 500;
  color: var(--ink-muted);
  padding: 0 0 0.85rem;
  position: relative;
  transition: color 0.25s var(--ease);
}
.tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--brick);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }

.tabpanel[hidden] { display: none; }

.menu-jump {
  position: sticky;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--rule-light);
  margin: 0 calc(var(--gutter) * -1) clamp(2rem, 4vw, 3.25rem);
  padding: 0.85rem var(--gutter);
}
.menu-jump__list {
  display: flex;
  gap: 1.35rem;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
}
.menu-jump__list::-webkit-scrollbar { height: 3px; }
.menu-jump__list::-webkit-scrollbar-thumb { background: var(--rule-light); }
.menu-jump a {
  white-space: nowrap;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-bottom: 0.15rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.menu-jump a:hover,
.menu-jump a.is-active { color: var(--brick); border-bottom-color: var(--brick); }

.menu-columns { column-gap: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 900px) { .menu-columns { column-count: 2; } }

.menu-category {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}
.menu-category__title {
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 400;
  line-height: 0.95;
  color: var(--brick);
  margin: 0 0 0.15rem;
}
.menu-category__note {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--space-4);
}
.menu-subgroup {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: var(--space-5) 0 var(--space-3);
}
.menu-subgroup:first-of-type { margin-top: var(--space-2); }

.menu-item { margin-bottom: 1.05rem; break-inside: avoid; }
.menu-item__row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0;
  line-height: 1.3;
}
.menu-item__name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
}
.menu-item__size {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-left: 0.35rem;
  white-space: nowrap;
}
.menu-item__half {
  color: var(--brick);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  vertical-align: super;
  margin-left: 0.15rem;
}
.menu-item__dots {
  flex: 1 1 auto;
  min-width: 1.5rem;
  border-bottom: 1px dotted rgba(43, 29, 20, 0.4);
  transform: translateY(-0.28em);
}
.menu-item__price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.menu-item__desc {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.4;
  color: var(--ink-muted);
  margin: 0.18rem 0 0;
  max-width: 34rem;
}

.menu-notes {
  border-top: 1px solid var(--rule-light);
  padding-top: var(--space-5);
  margin-top: var(--space-5);
  font-size: 0.85rem;
  color: var(--ink-muted);
  display: grid;
  gap: var(--space-2);
}
.menu-notes strong { color: var(--brick); font-weight: 500; }

/* --------------------------------------------------------------------------
   14. Galerija
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--espresso);
  cursor: zoom-in;
  border: 0;
  padding: 0;
  width: 100%;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.9s var(--ease), opacity 0.4s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); opacity: 0.92; }
.gallery-item--tall img { aspect-ratio: 3 / 4; }
@media (min-width: 800px) {
  .gallery-item--wide { grid-column: 1 / -1; }
  .gallery-item--wide img { aspect-ratio: 16 / 9; }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 13, 11, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}
.lightbox__caption {
  position: absolute;
  bottom: 1.5rem; left: 0; right: 0;
  text-align: center;
  color: var(--on-dark-muted);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.lightbox__btn {
  position: absolute;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(237, 227, 210, 0.35);
  border-radius: 50%;
  color: var(--cream);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.lightbox__btn:hover { background: rgba(237, 227, 210, 0.14); border-color: var(--cream); }
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------------------------------
   15. Kontakt
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.95fr 1.05fr; align-items: start; } }

.call-card {
  background: var(--cream);
  border: 1px solid var(--rule-light);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
}
.call-card__label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: block;
  margin-bottom: var(--space-3);
}
.call-card__number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.25rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: 0.01em;
  transition: color 0.25s var(--ease);
}
.call-card__number:hover { color: var(--brick); }
.call-card .btn { margin-top: var(--space-5); }

.info-list { display: grid; gap: var(--space-5); }
.info-item { display: grid; gap: 0.3rem; }
.info-item__label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brick);
}
.info-item__value { font-size: 1.05rem; }
.info-item a:hover { color: var(--brick); }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td {
  text-align: left;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--rule-light);
  font-weight: 300;
  font-size: 0.98rem;
}
.hours th { font-weight: 400; color: var(--ink); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-muted); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.section--dark .hours th { color: var(--cream); }
.section--dark .hours td { color: var(--on-dark-muted); }
.section--dark .hours th, .section--dark .hours td { border-bottom-color: var(--rule-dark); }

.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border: 1px solid var(--rule-light);
  background: var(--cream);
  overflow: hidden;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.85) contrast(1.02); }

/* --------------------------------------------------------------------------
   16. Traka poziva (CTA)
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  text-align: center;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.cta-band__media { position: absolute; inset: 0; z-index: -1; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(23, 21, 18, 0.9), rgba(43, 29, 20, 0.94));
}
.cta-band h2 { color: var(--cream); }
.cta-band p { max-width: 38rem; margin-inline: auto; color: rgba(237, 227, 210, 0.86); }
.cta-band .btn { margin-top: var(--space-5); }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 var(--space-4); }

/* --------------------------------------------------------------------------
   17. Podnožje
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--near-black);
  color: var(--on-dark-muted);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--rule-dark);
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr; } }

.footer-brand img { width: 220px; margin-bottom: var(--space-4); }
.footer-brand p { font-size: 0.92rem; max-width: 24rem; }

.footer-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--space-4);
}
.footer-list { display: grid; gap: 0.65rem; }
.footer-list a { transition: color 0.2s var(--ease); }
.footer-list a:hover { color: var(--cream); }

.footer-hours { display: grid; gap: 0.5rem; font-variant-numeric: tabular-nums; }
.footer-hours div { display: flex; justify-content: space-between; gap: 1rem; }

.socials { display: flex; gap: 0.75rem; margin-top: var(--space-4); }
.social-link {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule-dark);
  border-radius: 50%;
  color: var(--on-dark-muted);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.social-link:hover { color: var(--espresso); background: var(--gold); border-color: var(--gold); }
.social-link svg { width: 18px; height: 18px; fill: currentColor; }

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(184, 168, 146, 0.75);
}
.footer-bottom a:hover { color: var(--gold); }
.footer-credit { letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.7rem; }
.footer-credit a { color: var(--gold); font-weight: 500; letter-spacing: 0.16em; }
.footer-credit a:hover { color: var(--gold-light); }
@media (min-width: 900px) {
  .footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .footer-bottom > :last-child { justify-self: end; text-align: right; }
}

/* --------------------------------------------------------------------------
   18. Animacije ulaska
   -------------------------------------------------------------------------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   19. Štampa (meni)
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .mobile-nav, .site-footer, .menu-jump, .tabs, .cta-band, .skip-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .tabpanel[hidden] { display: block !important; }
  .menu-columns { column-count: 2; }
  .menu-category__title { color: #000; }
  a { color: #000; }
}
