/* =========================================================
   Restoran Semberski raj
   Rustični stil: tamno drvo, žar, papir i narodni vez
   ========================================================= */

:root {
  --char:   #1c1410;   /* ugalj / tamno drvo */
  --char-2: #2a1d15;
  --wood:   #4a2f1d;
  --paper:  #f1e4c8;   /* stari papir */
  --paper-2:#e7d6b3;
  --ink:    #2b1d13;
  --ink-soft:#5a4434;
  --red:    #a3271f;   /* crvena iz veza */
  --red-dk: #7d1a14;
  --ember:  #e2772d;   /* žar */
  --ember-lt:#f4a259;
  --gold:   #c9a15a;   /* zlato iz logotipa */
  --gold-lt:#e2c48a;

  --f-display: "Vollkorn", Georgia, serif;
  --f-body: "Alegreya Sans", "Trebuchet MS", sans-serif;
  --f-hand: "Caveat", cursive;

  --container: 1180px;
  --gutter: clamp(24px, 6vw, 40px);
  --section-y: clamp(80px, 12vw, 150px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(84px + env(safe-area-inset-top)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(17px, 1.1vw + 10px, 19px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--char);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }

.icon {
  width: 1.15em; height: 1.15em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Površine pretraživača ---------- */
html { scrollbar-color: var(--wood) var(--char); accent-color: var(--red); }
::selection { background: var(--red); color: var(--paper); }
input, textarea { caret-color: var(--red); }
a { text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 1px; }
.paper :focus-visible { outline-color: var(--red); }

.skip-link {
  position: absolute;
  left: var(--gutter); top: 12px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

/* zrnasta tekstura preko cijele stranice */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
}

/* ---------- Pozadine sekcija ---------- */
.paper {
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse at 15% 0%, rgba(255,255,255,.45), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(120,80,40,.14), transparent 60%);
  color: var(--ink);
}
.dark {
  background-color: var(--char);
  background-image:
    radial-gradient(ellipse at 80% 10%, rgba(226,119,45,.10), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(163,39,31,.12), transparent 55%);
  color: var(--paper);
}

/* ---------- Narodni vez (traka) ---------- */
.vez {
  height: 26px;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='26' viewBox='0 0 52 26'%3E%3Cg fill='%23a3271f'%3E%3Cpath d='M13 2l11 11-11 11L2 13z'/%3E%3C/g%3E%3Cpath fill='%23f1e4c8' d='M13 7l6 6-6 6-6-6z'/%3E%3Cg fill='%23a3271f'%3E%3Cpath d='M13 10.5l2.5 2.5-2.5 2.5-2.5-2.5z'/%3E%3Crect x='37' y='4' width='4' height='4'/%3E%3Crect x='37' y='18' width='4' height='4'/%3E%3Crect x='30' y='11' width='4' height='4'/%3E%3Crect x='44' y='11' width='4' height='4'/%3E%3C/g%3E%3Crect x='37' y='11' width='4' height='4' fill='%231c1410'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  border-top: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  position: relative;
  z-index: 2;
}
.vez--thin { height: 18px; background-size: 36px 18px; border-width: 2px; }
/* na telefonu: viši pojas sa tri smaknuta reda; popunjava prostor iza Safari trake */
@media (max-width: 760px) {
  .vez--hero {
    height: max(84px, calc(100lvh - 100svh));
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='56' viewBox='0 0 52 56'%3E%3Cg fill='%23a3271f'%3E%3Cpath d='M13 2l11 11-11 11L2 13z'/%3E%3Cpath d='M39 30l11 11-11 11-11-11z'/%3E%3C/g%3E%3Cg fill='%23f1e4c8'%3E%3Cpath d='M13 7l6 6-6 6-6-6z'/%3E%3Cpath d='M39 35l6 6-6 6-6-6z'/%3E%3C/g%3E%3Cg fill='%23a3271f'%3E%3Cpath d='M13 10.5l2.5 2.5-2.5 2.5-2.5-2.5z'/%3E%3Cpath d='M39 38.5l2.5 2.5-2.5 2.5-2.5-2.5z'/%3E%3Crect x='37' y='4' width='4' height='4'/%3E%3Crect x='37' y='18' width='4' height='4'/%3E%3Crect x='30' y='11' width='4' height='4'/%3E%3Crect x='44' y='11' width='4' height='4'/%3E%3Crect x='11' y='32' width='4' height='4'/%3E%3Crect x='11' y='46' width='4' height='4'/%3E%3Crect x='4' y='39' width='4' height='4'/%3E%3Crect x='18' y='39' width='4' height='4'/%3E%3C/g%3E%3Cg fill='%231c1410'%3E%3Crect x='37' y='11' width='4' height='4'/%3E%3Crect x='11' y='39' width='4' height='4'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 52px 56px;
    background-position: center top;
  }
}

/* ---------- Tipografija sekcija ---------- */
.section-title {
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -.015em;
  margin-bottom: 1.5rem;
}
.section-title em {
  font-style: normal;
  color: var(--red);
}
.dark .section-title em { color: var(--ember-lt); }

.section-head { margin-bottom: clamp(40px, 6vw, 70px); }

.handnote {
  font-family: var(--f-hand);
  font-size: 1.75rem;
  color: var(--red);
  line-height: 1.2;
  transform: rotate(-2deg);
  display: inline-block;
}

/* ---------- Dugmad ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: 1em 1.8em;
  min-height: 48px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn .icon { width: 1.25em; height: 1.25em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--ember {
  background: var(--ember);
  color: var(--char);
  box-shadow: 0 12px 24px -12px rgba(0,0,0,.7);
}
.btn--ember:hover { background: var(--ember-lt); box-shadow: 0 16px 28px -12px rgba(0,0,0,.75); }
.btn--ghost { border-color: rgba(241,228,200,.55); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(241,228,200,.08); }
.btn--red { background: var(--red); color: var(--paper); }
.btn--red:hover { background: var(--red-dk); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }

/* telefon "zazvoni" kad se pređe mišem preko poziva */
@keyframes ring {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-14deg); }
  40% { transform: rotate(12deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(5deg); }
}
.btn:hover .icon,
.nav__call:hover .icon,
.venue__call:hover .icon { animation: ring .6s ease; }

/* ---------- Navigacija ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  /* na iPhone-u se pozadina zaglavlja proteže iza statusne trake */
  padding: calc(16px + env(safe-area-inset-top)) 0 16px;
  transition: background-color .4s, box-shadow .4s, padding .4s;
}
.nav.is-scrolled {
  background: var(--char);
  box-shadow: 0 1px 0 rgba(201,161,90,.25), 0 10px 24px -16px rgba(0,0,0,.8);
  padding: calc(8px + env(safe-area-inset-top)) 0 8px;
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.nav__brand { display: block; line-height: 0; flex-shrink: 0; }
.nav__brand img {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.6));
  transition: height .4s var(--ease);
}
.nav.is-scrolled .nav__brand img { height: 50px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
  margin-left: auto;
}
.nav__links > a {
  color: var(--paper);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}
.nav__links > a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links > a:hover::after { transform: scaleX(1); }
.nav__phones { display: none; }

/* poziv u zaglavlju */
.nav__call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 6px 20px 6px 6px;
  background: var(--ember);
  color: var(--char);
  text-decoration: none;
  border-radius: 2px;
  box-shadow: 0 10px 22px -12px rgba(0,0,0,.8);
  transition: background-color .25s, transform .25s var(--ease);
}
.nav__call:hover { background: var(--ember-lt); transform: translateY(-1px); }
.nav__call-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--char);
  color: var(--ember-lt);
}
.nav__call-icon .icon { width: 19px; height: 19px; }
.nav__call-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-family: var(--f-display);
  font-size: 1.12rem;
  font-weight: 700;
  font-variant-numeric: lining-nums;
}
.nav__call-text small {
  font-family: var(--f-body);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 11px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--paper);
  transition: transform .3s, opacity .3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: -4%;
  z-index: -3;
  background:
    url("../images/hero.jpg") center 30% / cover no-repeat,
    radial-gradient(ellipse at 50% 85%, #8a3a14 0%, #4a1e0e 30%, var(--char) 70%);
  animation: kenburns 28s ease-in-out infinite alternate, firelight 3.8s linear infinite;
  /* paralaksa prati miš (vrijednosti postavlja JS) */
  translate: calc(var(--mx, 0) * -14px) calc(var(--my, 0) * -10px);
}
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.08) translate(-1%, -1.5%); }
}
/* svjetlo vatre: sama fotografija blago treperi */
@keyframes firelight {
  0%, 100% { filter: brightness(1) saturate(1); }
  12% { filter: brightness(1.05) saturate(1.04); }
  21% { filter: brightness(.97) saturate(1); }
  37% { filter: brightness(1.07) saturate(1.06); }
  52% { filter: brightness(1) saturate(1.02); }
  64% { filter: brightness(1.05) saturate(1.05); }
  78% { filter: brightness(.96) saturate(1); }
  90% { filter: brightness(1.03) saturate(1.03); }
}
.hero__shade {
  position: absolute; inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(20,13,9,.9) 0%, rgba(20,13,9,.66) 36%, rgba(20,13,9,.2) 70%, rgba(20,13,9,.08) 100%),
    linear-gradient(180deg, rgba(20,13,9,.75) 0%, transparent 24%, transparent 58%, rgba(20,13,9,.94) 100%);
}

/* dim */
.hero__smoke { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__smoke span {
  position: absolute;
  bottom: -40vmax;
  width: 70vmax; height: 70vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235,215,190,.06) 0%, rgba(235,215,190,.022) 40%, transparent 68%);
  opacity: 0;
  animation: smoke var(--d, 28s) linear var(--delay, 0s) infinite;
}
.hero__smoke span:nth-child(1) { left: -25%; --d: 26s; --delay: 0s; }
.hero__smoke span:nth-child(2) { left: 20%;  --d: 32s; --delay: -11s; }
.hero__smoke span:nth-child(3) { left: 55%;  --d: 29s; --delay: -20s; }
.hero__smoke span:nth-child(4) { left: 5%;   --d: 35s; --delay: -6s; }
@keyframes smoke {
  0%   { transform: translate(0, 0) scale(.55); opacity: 0; }
  20%  { opacity: 1; }
  70%  { opacity: .6; }
  100% { transform: translate(10vw, -95vh) scale(1.35); opacity: 0; }
}

/* varnice (canvas) */
.hero__embers {
  position: absolute; inset: 0;
  z-index: -1;
  width: 100%; height: 100%;
  pointer-events: none;
}

.hero__content { padding-top: 150px; padding-bottom: 170px; }
.hero__title {
  font-size: clamp(2.9rem, 7.2vw, 6rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.025em;
  max-width: 11ch;
  margin-bottom: 30px;
  text-shadow: 0 4px 30px rgba(0,0,0,.45);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: block; animation: lineUp 1.2s var(--ease-out) .15s both; }
.hero__title .line:nth-child(2) > span { animation-delay: .3s; }
.hero__title em { font-style: normal; color: var(--ember-lt); }
@keyframes lineUp {
  from { transform: translateY(105%); }
  to   { transform: none; }
}
.hero__lead {
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  max-width: 44ch;
  margin: 0 0 38px;
  color: rgba(241,228,200,.9);
  animation: fadeUp 1s var(--ease-out) .55s both;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeUp 1s var(--ease-out) .7s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* osnovne informacije pri dnu */
.hero__facts {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  margin: 0 auto;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(24px, 4vw, 48px);
  padding-top: 22px;
  padding-bottom: 32px;
  font-size: .95rem;
  color: rgba(241,228,200,.88);
  animation: fadeUp 1s var(--ease-out) .9s both;
}
.hero__facts::before {
  content: "";
  position: absolute;
  top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px;
  background: linear-gradient(90deg, rgba(201,161,90,.5), rgba(201,161,90,.08));
}
.hero__facts li { display: inline-flex; align-items: center; gap: 10px; }
.hero__facts .icon { width: 20px; height: 20px; color: var(--gold); }

/* ---------- Fotografije ---------- */
.photo {
  background-color: var(--wood);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.photo--about  { background-image: url("../images/o-nama.jpg"),  linear-gradient(160deg, #6a4026, #2a1a10); background-position: center 45%; }
.photo--pecenje{ background-image: url("../images/hero.jpg"), radial-gradient(ellipse at 50% 70%, #a4501f, #3a1a0c 75%); background-size: 185%; background-position: 58% 54%; }
.photo--specijaliteti { background-image: url("../images/specijaliteti.jpg"), radial-gradient(ellipse at 40% 60%, #b8441b, #2e140a 75%); background-position: center 55%; }
.photo--riba { background-image: url("../images/riba.jpg"),  radial-gradient(ellipse at 60% 40%, #7d6a33, #2b2210 75%); background-position: center 78%; }
.photo--sala-1 { background-image: url("../images/sala-1.jpg"), linear-gradient(160deg, #6a4026, #2a1a10); background-position: center 78%; }
.photo--sala-2 { background-image: url("../images/sala-2.jpg"), linear-gradient(160deg, #6a4026, #2a1a10); background-position: center 45%; }
.photo--sala-3 { background-image: url("../images/sala-3.jpg"), linear-gradient(160deg, #6a4026, #2a1a10); background-position: center 55%; }
.photo--sala-4 { background-image: url("../images/sala-4.jpg"), linear-gradient(160deg, #6a4026, #2a1a10); background-position: 42% 30%; }

/* ---------- O nama ---------- */
.about { padding: var(--section-y) 0; position: relative; }
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.about__lead {
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}
.about__text > p:not(.about__lead):not(.handnote) { color: var(--ink-soft); max-width: 52ch; }
.about__text .handnote { margin-top: .5rem; }

.about__photo { margin: 0; position: relative; }
.about__photo .photo {
  aspect-ratio: 4 / 5;
  border: 10px solid #fbf4e4;
  box-shadow: 0 30px 60px -25px rgba(43,29,19,.55), 0 2px 0 rgba(43,29,19,.1);
  transform: rotate(2deg);
  transition: transform .6s var(--ease), var(--reveal);
}
.about__photo:hover .photo { transform: rotate(0deg) scale(1.01); }
.about__photo::before {
  /* traka ljepljive trake */
  content: "";
  position: absolute;
  top: -14px; left: 50%;
  width: 120px; height: 32px;
  margin-left: -60px;
  background: rgba(201,161,90,.55);
  transform: rotate(-4deg);
  z-index: 2;
}
.about__photo figcaption {
  font-family: var(--f-hand);
  font-size: 1.4rem;
  color: var(--ink-soft);
  text-align: right;
  margin-top: 14px;
  transform: rotate(-1deg);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(70px, 10vw, 120px);
  border-top: 1px solid rgba(43,29,19,.2);
}
.pillar {
  padding: 36px 32px 0;
  border-left: 1px solid rgba(43,29,19,.2);
}
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar h3 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 700;
  margin: 0 0 12px;
}
.pillar p { color: var(--ink-soft); margin: 0; }

/* ---------- Specijaliteti ---------- */
.specials { padding: var(--section-y) 0; }
.specials__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}
.dish {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  border-radius: 2px;
}
.dish--tall { grid-row: span 2; min-height: 620px; }
.dish .photo {
  position: absolute; inset: 0;
  transition: transform 1.2s var(--ease), var(--reveal);
}
.dish::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(28,20,16,.55) 55%, rgba(28,20,16,.95) 100%);
}
.dish:hover .photo { transform: scale(1.06); }
.dish__body {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 3vw, 40px);
}
.dish__body h3 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}
.dish--tall .dish__body h3 { font-size: clamp(2.6rem, 5vw, 4.2rem); }
.dish__body p { margin: 0; color: rgba(241,228,200,.85); max-width: 36ch; }
.dish__body h3::after {
  content: "";
  display: block;
  width: 48px; height: 3px;
  background: var(--ember);
  margin-top: 12px;
  transition: width .5s var(--ease);
}
.dish:hover .dish__body h3::after { width: 96px; }

/* ---------- Citat ---------- */
.quote {
  background: var(--red);
  color: var(--paper);
  padding: clamp(60px, 9vw, 110px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote::before, .quote::after {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  border: 2px solid rgba(241,228,200,.15);
  transform: rotate(45deg);
}
.quote::before { left: -170px; top: 50%; margin-top: -170px; }
.quote::after  { right: -170px; top: 50%; margin-top: -170px; }
.quote blockquote { margin: 0; }
.quote p {
  font-family: var(--f-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 auto;
  max-width: 22ch;
}

/* ---------- Meni: tamni jelovnik sa zlatom, kao logotip ---------- */
.menu { padding: var(--section-y) 0; }
.menu__card {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding-bottom: clamp(32px, 5vw, 52px);
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(201,161,90,.12), transparent 70%),
    linear-gradient(180deg, #241912, #18110c);
  color: var(--paper);
  box-shadow: 0 50px 90px -40px rgba(43,29,19,.75), 0 2px 4px rgba(43,29,19,.25);
}
/* zlatni okvir */
.menu__card::before {
  content: "";
  position: absolute;
  inset: 34px 14px 14px;
  border: 1px solid rgba(201,161,90,.35);
  pointer-events: none;
}
.menu__card > .vez { position: relative; z-index: 1; }

.menu__head {
  text-align: center;
  padding: clamp(40px, 5vw, 56px) 24px clamp(26px, 3.5vw, 38px);
}
.menu__crest {
  width: 84px;
  height: auto;
  margin: 0 auto 8px;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.5));
}
.menu__title {
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--gold-lt);
}
.menu__sub {
  margin: 8px 0 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(241,228,200,.62);
}
.menu__sub span { white-space: nowrap; }

.menu__body {
  display: grid;
  grid-template-columns: 240px 1fr;
  margin: 0 clamp(28px, 5vw, 64px);
  border-top: 1px solid rgba(201,161,90,.28);
}

.menu__tabs {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 26px 24px 26px 0;
  border-right: 1px solid rgba(201,161,90,.28);
}
.menu__tab {
  position: relative;
  min-height: 46px;
  padding: 8px 0 8px 24px;
  text-align: left;
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(241,228,200,.66);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color .2s;
}
.menu__tab::before {
  content: "";
  position: absolute;
  left: 4px; top: 50%;
  width: 8px; height: 8px;
  margin-top: -4px;
  background: var(--ember);
  transform: rotate(45deg) scale(0);
  transition: transform .25s var(--ease);
}
.menu__tab:hover { color: var(--paper); }
.menu__tab[aria-selected="true"] { color: var(--gold-lt); }
.menu__tab[aria-selected="true"]::before { transform: rotate(45deg) scale(1); }

.menu__panels {
  padding: 26px 0 0 clamp(26px, 4vw, 48px);
  min-height: 600px;
}
.menu__panel { display: none; }
.menu__panel.is-active { display: block; animation: menuIn .4s var(--ease-out); }
@keyframes menuIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.no-js .menu__tabs { display: none; }
.no-js .menu__body { grid-template-columns: 1fr; }
.no-js .menu__panels { padding-left: 0; min-height: 0; }
.no-js .menu__panel { display: block; margin-bottom: 40px; }

.menu__panel-head { margin-bottom: 18px; }
.menu__panel-head h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 700;
  color: var(--paper);
}
.menu__panel-head p {
  margin: 4px 0 0;
  font-style: italic;
  color: rgba(241,228,200,.72);
}

.menu__panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 44px;
}
.menu__panel li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  break-inside: avoid;
}
.menu__name { font-weight: 500; }
.menu__name small {
  font-size: .85em;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  white-space: nowrap;
}
.menu__panel li i {
  flex: 1;
  min-width: 14px;
  border-bottom: 1px dotted rgba(201,161,90,.45);
  transform: translateY(-4px);
}
.menu__panel li b {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--gold-lt);
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
.menu__sig {
  width: 15px; height: 15px;
  margin-right: 6px;
  vertical-align: -2px;
  fill: rgba(226,119,45,.3);
  stroke: var(--ember-lt);
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.menu__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin: 26px clamp(28px, 5vw, 64px) 0;
  padding-top: 22px;
  border-top: 1px solid rgba(201,161,90,.28);
}
.menu__legend {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-size: .92rem;
  color: rgba(241,228,200,.78);
}
.menu__note { margin: 0; color: var(--ember-lt); font-size: 1.6rem; }

/* ---------- Sala za proslave ---------- */
.venue { padding: var(--section-y) 0; }
.venue__head {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.venue .section-title { margin-bottom: 22px; }
.venue .section-title em { display: block; }
.venue__lead {
  font-size: clamp(1.08rem, 1.4vw, 1.2rem);
  color: rgba(241,228,200,.88);
  max-width: 46ch;
  margin: 0;
}
.venue__facts {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
}
.venue__facts li { display: flex; align-items: center; gap: 12px; color: rgba(241,228,200,.9); }
.venue__facts .icon { width: 20px; height: 20px; color: var(--gold); }

.venue__call {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 28px 12px 12px;
  border: 1px solid rgba(201,161,90,.55);
  border-radius: 2px;
  color: var(--paper);
  text-decoration: none;
  transition: border-color .25s, background-color .25s, transform .25s var(--ease);
}
.venue__call:hover { border-color: var(--gold); background: rgba(201,161,90,.08); transform: translateY(-2px); }
.venue__call-icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--ember);
  color: var(--char);
}
.venue__call-icon .icon { width: 24px; height: 24px; }
.venue__call-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  font-weight: 700;
  font-variant-numeric: lining-nums;
}
.venue__call-text small {
  font-family: var(--f-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.venue__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 270px 270px;
  gap: 14px;
}
.venue__tile { position: relative; margin: 0; overflow: hidden; border-radius: 2px; }
.venue__tile .photo {
  position: absolute; inset: 0;
  transition: transform 1.2s var(--ease), var(--reveal);
}
.venue__tile:hover .photo { transform: scale(1.04); }
.venue__tile--main { grid-column: 1 / 8; grid-row: 1 / 3; }
.venue__tile--wide { grid-column: 8 / 13; grid-row: 1; }
.venue__tile:nth-child(3) { grid-column: 8 / 11; grid-row: 2; }
.venue__tile--tall { grid-column: 11 / 13; grid-row: 2; }

/* ---------- Kontakt ---------- */
.contact { padding: var(--section-y) 0; }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: stretch;
}
.contact__list { margin: 10px 0 36px; }
.contact__list > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(43,29,19,.18);
}
.contact__list dt {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  padding-top: 4px;
}
.contact__list dd { margin: 0; font-size: 1.1rem; }
.contact__list a { text-decoration: none; font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; font-variant-numeric: lining-nums; }
.contact__list a:hover { color: var(--red); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.contact__map {
  min-height: 420px;
  border: 10px solid #fbf4e4;
  box-shadow: 0 30px 60px -30px rgba(43,29,19,.55);
}
.contact__map iframe {
  width: 100%; height: 100%;
  min-height: 400px;
  border: 0;
  display: block;
  filter: sepia(.35) saturate(.9);
}

/* ---------- Footer ---------- */
.footer { background: var(--char); color: rgba(241,228,200,.8); text-align: center; }
.footer__inner { padding: 56px var(--gutter) 40px; }
.footer__logo {
  width: 200px;
  height: auto;
  margin: 0 auto 18px;
}
.footer__meta { font-size: .95rem; margin: 0 0 .35em; }
.footer__meta a { color: var(--ember-lt); text-decoration: none; font-variant-numeric: lining-nums; }
.footer__copy { font-size: .85rem; color: rgba(241,228,200,.62); margin: 24px 0 0; }

/* ---------- Otkrivanje fotografija pri skrolovanju ----------
   Posmatrani element ostaje neisječen (IntersectionObserver u Chrome-u
   uzima clip-path u obzir), pa se odsijecaju njegovi sadržaji. */
:root { --reveal: clip-path 1.1s cubic-bezier(.16, 1, .3, 1) var(--reveal-delay, 0s); }
.reveal > * { transition: var(--reveal); }
.reveal::before, .reveal::after { transition: opacity .6s ease var(--reveal-delay, 0s); }
html.js-reveal .reveal:not(.is-visible) > * { clip-path: inset(100% 0 0 0); }
html.js-reveal .reveal:not(.is-visible)::before,
html.js-reveal .reveal:not(.is-visible)::after { opacity: 0; }

/* ---------- Responzivno ---------- */
@media (max-width: 1100px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    margin: 0;
    padding: calc(90px + env(safe-area-inset-top)) var(--gutter) 40px;
    background: rgba(28,20,16,.98);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s;
  }
  .nav__links > a { font-size: 1.1rem; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav__phones {
    display: grid;
    gap: 12px;
    width: min(340px, 100%);
    margin-top: 14px;
  }
  .nav__phones a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 20px;
    border: 1px solid rgba(201,161,90,.4);
    border-radius: 2px;
    color: var(--paper);
    text-decoration: none;
    font-family: var(--f-display);
    font-size: 1.35rem;
    font-weight: 700;
    font-variant-numeric: lining-nums;
  }
  .nav__phones span {
    font-family: var(--f-body);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
  }
  .nav__call { margin-left: auto; }
  .nav__toggle { position: relative; z-index: 2; }
  .nav__brand { position: relative; z-index: 2; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Tablet: dvije kolone gdje god stanu ---------- */
@media (max-width: 960px) {
  .about__grid,
  .contact__grid,
  .venue__head { grid-template-columns: 1fr; }
  .about__grid { gap: 48px; }
  .about__photo { max-width: 460px; margin: 0 auto; width: 100%; }
  .contact__map, .contact__map iframe { min-height: 340px; }

  .dish--tall { min-height: 520px; }
  .menu__panel ul { columns: 1; }
  .venue__grid { grid-template-rows: 210px 210px; }
}

/* ---------- Telefon: raspored za palac, ne samo slaganje ---------- */
@media (max-width: 760px) {
  :root { --section-y: 72px; }

  /* O nama: kraća fotografija, sažeti stubovi */
  .about__photo { max-width: none; }
  .about__photo .photo { aspect-ratio: 4 / 3; transform: rotate(1deg); }
  .about__photo figcaption { margin-top: 10px; }
  .pillars { grid-template-columns: 1fr; border-top: 0; margin-top: 56px; }
  .pillar, .pillar:first-child {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 14px;
    align-items: baseline;
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid rgba(43,29,19,.2);
  }
  .pillar h3 { font-size: 1.3rem; margin: 0; }
  .pillar p { font-size: .98rem; line-height: 1.5; }

  /* Specijaliteti: red kartica koji se prevlači, sljedeća viri */
  .specials .section-head { margin-bottom: 28px; }
  .specials__grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 4px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .specials__grid::-webkit-scrollbar { display: none; }
  .dish, .dish--tall {
    flex: 0 0 82%;
    min-height: 430px;
    scroll-snap-align: start;
  }
  .dish--tall .dish__body h3, .dish__body h3 { font-size: 2.1rem; }
  .specials__hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 0;
    font-size: .88rem;
    color: rgba(241,228,200,.7);
  }

  /* Meni: kategorije u jednom redu, prikovane ispod zaglavlja */
  .menu .container { padding: 0 10px; }
  .menu__card::before { inset: 26px 6px 6px; }
  .menu__head { padding: 34px 20px 22px; }
  .menu__crest { width: 64px; }
  .menu__title { font-size: 2.4rem; }
  .menu__body { grid-template-columns: 1fr; margin: 0; border-top: 0; }
  .menu__tabs {
    position: sticky;
    top: calc(60px + env(safe-area-inset-top));
    z-index: 5;
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 12px 18px;
    border-right: 0;
    border-top: 1px solid rgba(201,161,90,.28);
    border-bottom: 1px solid rgba(201,161,90,.28);
    background: #1e150f;
  }
  .menu__tabs::-webkit-scrollbar { display: none; }
  .menu__tab {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 8px 16px;
    text-align: center;
    font-size: 1rem;
    white-space: nowrap;
    border: 1px solid rgba(201,161,90,.3);
    border-radius: 2px;
  }
  .menu__tab::before { display: none; }
  .menu__tab[aria-selected="true"] { background: var(--gold-lt); border-color: var(--gold-lt); color: var(--char); }
  .menu__panels { padding: 22px 20px 0; min-height: 0; }
  .menu__panel-head { margin-bottom: 8px; }
  .menu__panel li { padding: 9px 0; }
  .menu__name small { white-space: normal; }
  .menu__foot { margin: 18px 20px 0; justify-content: center; text-align: center; }

  /* Sala: naslov → fotografije → poziv */
  .venue .container { display: flex; flex-direction: column; }
  .venue__head { display: contents; }
  .venue__title { order: 1; margin-bottom: 26px; }
  .venue__grid { order: 2; margin-bottom: 28px; }
  .venue__intro { order: 3; }
  .venue__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: none;
    gap: 8px;
  }
  .venue__tile--main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .venue__tile--wide,
  .venue__tile:nth-child(3),
  .venue__tile--tall { grid-column: auto; grid-row: auto; aspect-ratio: 1; }
  .venue__facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 18px; }
  .venue__call { width: 100%; }

  /* Kontakt: oznaka i vrijednost u istom redu */
  .contact__list { margin-top: 0; }
  .contact__list > div {
    grid-template-columns: 7.5rem 1fr;
    gap: 12px;
    align-items: baseline;
    padding: 14px 0;
  }
  .contact__list dt { padding-top: 0; }
  .contact__list dd { font-size: 1.02rem; }
  .contact__list a { font-size: 1.3rem; }
  .contact__map, .contact__map iframe { min-height: 260px; }

}

@media (max-width: 760px) {
  .nav, .nav.is-scrolled { padding: calc(8px + env(safe-area-inset-top)) 0 8px; }
  .nav__inner { gap: 12px; }
  .nav__brand img, .nav.is-scrolled .nav__brand img { height: 44px; }
  /* poziv: ikonica i broj, uvijek vidljiv i nikad ispod Safari trake */
  .nav__call { min-height: 44px; padding: 4px 14px 4px 4px; gap: 8px; }
  .nav__call-icon { width: 36px; height: 36px; }
  .nav__call-icon .icon { width: 17px; height: 17px; }
  .nav__call-text { font-size: 1.02rem; }
  .nav__call-text small { display: none; }
  .nav__toggle { width: 44px; height: 44px; padding: 10px; }

  .hero__bg { background-position: center 45%, center; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(20,13,9,.82) 0%, rgba(20,13,9,.55) 28%, rgba(20,13,9,.72) 55%, rgba(20,13,9,.96) 100%);
  }
  .hero__content { padding-top: calc(120px + env(safe-area-inset-top)); padding-bottom: 150px; }
  .hero__actions .btn { width: 100%; }
  .hero__facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    font-size: .88rem;
    padding-bottom: 24px;
  }

  .contact__actions .btn { width: 100%; }

  .quote::before, .quote::after { display: none; }
}

/* ---------- Savjet za prevlačenje specijaliteta (telefon) ---------- */
.specials__hint { display: none; }
@media (max-width: 760px) {
  .specials__hint { display: flex; }
  .specials__hint .icon { width: 18px; height: 18px; color: var(--ember-lt); }
}

/* vrlo uski telefoni: poziv ostaje samo ikonica */
@media (max-width: 359px) {
  .nav__call { padding: 4px; }
  .nav__call-text {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* ---------- Dodir: bez efekata koji zavise od miša ---------- */
@media (hover: none) {
  .dish:hover .photo,
  .venue__tile:hover .photo { transform: none; }
  .about__photo:hover .photo { transform: rotate(1deg); }
  .btn:hover, .venue__call:hover, .nav__call:hover { transform: none; }
  .btn:active, .venue__call:active { transform: scale(.98); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero__embers, .hero__smoke { display: none; }
  html.js-reveal .reveal:not(.is-visible) > * { clip-path: none; }
  html.js-reveal .reveal:not(.is-visible)::before,
  html.js-reveal .reveal:not(.is-visible)::after { opacity: 1; }
}
