/* ==========================================================================
   Restoran K2 - dizajn sustav
   Base:   #1C1C1C  (tamni antracit)
   Light:  #F6F4F0  (pergament)
   Accent: #C5A880  (zagasito zlatna)
   Headings: Playfair Display · Body: Montserrat
   ========================================================================== */

:root {
  --clr-base: #1C1C1C;
  --clr-base-soft: #232323;
  --clr-light: #F6F4F0;
  --clr-gold: #C5A880;
  --clr-gold-deep: #A98D63;
  --clr-text-muted: rgba(246, 244, 240, 0.72);
  --clr-dark-muted: rgba(28, 28, 28, 0.75);
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Montserrat", "Segoe UI", Helvetica, Arial, sans-serif;
  --header-h: 84px;
  --ease-lux: cubic-bezier(0.25, 0.8, 0.25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--clr-light);
  background-color: var(--clr-base);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, 1180px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(4rem, 10vw, 7.5rem);
}

/* ---------- Tipografija ---------- */

.section-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
}

.section-lead {
  max-width: 46ch;
  margin-inline: auto;
  color: var(--clr-text-muted);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 1rem;
}

.eyebrow::after {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--clr-gold);
  margin-top: 0.75rem;
  opacity: 0.6;
}

.menu__head .eyebrow::after {
  margin-inline: auto;
}

/* ---------- Gumbi ---------- */

.btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 0.95rem 2.4rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--clr-gold);
  cursor: pointer;
  transition: color 0.45s var(--ease-lux), border-color 0.45s var(--ease-lux);
  z-index: 0;
}

/* fill s lijeva na desno */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease-lux);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: scaleX(1);
}

.btn--gold {
  background: var(--clr-gold);
  color: var(--clr-base);
}

.btn--gold::before {
  background: var(--clr-light);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  border-color: var(--clr-light);
}

.btn--outline {
  background: transparent;
  color: var(--clr-light);
}

.btn--outline::before {
  background: var(--clr-gold);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  color: var(--clr-base);
}

.btn--dark-outline {
  color: var(--clr-gold);
  margin-top: 1.5rem;
}

.btn--dark-outline:hover,
.btn--dark-outline:focus-visible {
  color: var(--clr-base);
}

.btn--small {
  padding: 0.65rem 1.5rem;
  font-size: 0.72rem;
}

/* ---------- Logo (originalni K2 logotip kao SVG simbol) ----------
   Sprite je inline u index.html (<symbol id="k2-logo">), instance koriste
   <use href="#k2-logo">. Svaka putanja ima pathLength="1", pa se
   iscrtavanje animira normaliziranim dash-offsetom 1 -> 0. Varijable
   se nasljeđuju u shadow stablo <use> elementa. */

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

@property --draw {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

@property --ink {
  syntax: "<number>";
  inherits: true;
  initial-value: 1;
}

@property --so {
  syntax: "<number>";
  inherits: true;
  initial-value: 1;
}

.logo {
  display: block;
  overflow: visible;
}

#k2-logo path {
  fill-opacity: var(--ink, 1);
  stroke: var(--logo-stroke, none);
  stroke-width: var(--logo-sw, 0);
  stroke-opacity: var(--so, 1);
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: var(--draw, 0);
}

#k2-logo .logo-ink {
  fill: var(--logo-ink, var(--clr-light));
}

#k2-logo .logo-gilt {
  fill: var(--logo-gilt, var(--clr-gold));
}

.brand__logo {
  height: 68px;
  width: auto;
}

@media (max-width: 767px) {
  :root {
    --header-h: 72px;
  }

  .brand__logo {
    height: 58px;
  }
}

.logo--footer {
  width: 150px;
  height: auto;
  margin-inline: auto;
}

/* ---------- Preloader ---------- */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-base);
  /* pozadina postaje prozirna ODMAH kad logo poleti, da se let vidi preko hero slike */
  transition: background-color 0.7s ease, opacity 0.4s ease;
}

.preloader--fading {
  background-color: rgba(28, 28, 28, 0);
}

.preloader--done {
  opacity: 0;
  pointer-events: none;
}

/* prelet u header traje 1.1 s; logo se pretopi u header-logo na samom kraju leta */
.preloader__logo {
  width: clamp(190px, 44vw, 280px);
  will-change: transform, opacity;
  transition: transform 1.1s var(--ease-lux), opacity 0.2s ease 1s;
}

.preloader--fading .preloader__logo {
  opacity: 0;
}

/* 1. faza: zlatne konture se iscrtavaju (2 s) */
.logo--draw {
  width: 100%;
  height: auto;
  --logo-stroke: var(--clr-gold);
  --logo-sw: 3;
  --draw: 1;
  --ink: 0;
  --so: 1;
  animation: logo-draw 1.4s cubic-bezier(0.4, 0, 0.55, 1) forwards;
}

/* 2. faza: ispuna se "ulijeva" i konture nestaju — tijekom preleta u header */
.logo--draw.is-filling {
  animation: logo-fill 1s ease-in-out forwards;
}

@keyframes logo-draw {
  0% {
    --draw: 1;
    --ink: 0;
    --so: 1;
  }
  100% {
    --draw: 0;
    --ink: 0;
    --so: 1;
  }
}

@keyframes logo-fill {
  0% {
    --draw: 0.06; /* zadnjih par postotaka kontura dovrši se u letu, bez čekanja */
    --ink: 0;
    --so: 1;
  }
  100% {
    --draw: 0;
    --ink: 1;
    --so: 0;
  }
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}

/* ---------- Sticky header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

/* Pozadina headera živi na pseudo-elementu: backdrop-filter na samom headeru
   pretvorio bi ga u containing block za fiksni mobilni izbornik. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(28, 28, 28, 0.94);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(197, 168, 128, 0.25), 0 10px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.site-header--solid::before { opacity: 1; }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 1;
  transition: opacity 0.4s ease;
}

body.is-loading .brand {
  opacity: 0;
}

.brand:hover .brand__logo { --logo-ink: var(--clr-gold); }
.brand__logo { transition: filter 0.4s ease; }
.brand:hover .brand__logo { filter: drop-shadow(0 0 10px rgba(197, 168, 128, 0.35)); }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.site-nav__link {
  position: relative;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-light);
  padding-block: 0.4rem;
  transition: color 0.3s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--clr-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-lux);
}

.site-nav__link:hover {
  color: var(--clr-gold);
}

.site-nav__link:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--clr-gold);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(28, 28, 28, 0.72) 0%, rgba(28, 28, 28, 0.45) 45%, rgba(28, 28, 28, 0.85) 100%);
}

.hero__content {
  padding-top: var(--header-h);
  text-align: center;
  max-width: 60rem;
}

.hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2.1rem, 6.2vw, 4.25rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.hero__subtitle {
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.04em;
  color: var(--clr-text-muted);
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  width: 26px;
  height: 44px;
  border: 1px solid rgba(197, 168, 128, 0.6);
  border-radius: 14px;
}

.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--clr-gold);
  transform: translateX(-50%);
  animation: scroll-hint 1.8s ease-in-out infinite;
}

@keyframes scroll-hint {

  0%,
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  60% {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
}

/* hero sadržaj se otkriva nakon preloadera */
/* hero sadržaj se pojavljuje dok logo leti prema headeru (body.is-flying) */
body.is-loading:not(.is-flying) .hero__content,
body.is-loading:not(.is-flying) .hero__scroll {
  opacity: 0;
}

.hero__content,
.hero__scroll {
  transition: opacity 0.9s ease 0.15s;
}

/* ---------- O nama ---------- */

.about__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about__text p+p {
  margin-top: 1rem;
  color: var(--clr-text-muted);
}

.about__text p:first-of-type {
  color: var(--clr-text-muted);
}

.about__media img {
  width: 100%;
  border: 1px solid rgba(197, 168, 128, 0.35);
  padding: 0.6rem;
}

@media (min-width: 880px) {
  .about__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(3rem, 6vw, 5.5rem);
  }
}

/* ---------- Vizualni meni ---------- */

.menu {
  background: var(--clr-base-soft);
}

.menu__head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.menu__head .eyebrow {
  margin-inline: auto;
}

.menu__grid {
  display: grid;
  gap: 1.5rem;
}

.menu-card__link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.menu-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-lux);
}

/* zoom 3% */
.menu-card__link:hover img,
.menu-card__link:focus-visible img {
  transform: scale(1.03);
}

.menu-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 28, 28, 0) 35%, rgba(28, 28, 28, 0.88) 100%);
  transition: background-color 0.5s ease;
}

.menu-card__link:hover .menu-card__veil,
.menu-card__link:focus-visible .menu-card__veil {
  background-color: rgba(28, 28, 28, 0.45);
}

.menu-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.75rem 1.5rem;
}

.menu-card__body h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.25;
}

.menu-card__body h3::after {
  content: "";
  display: block;
  width: 2.6rem;
  height: 1px;
  background: var(--clr-gold);
  margin-top: 0.6rem;
  transition: width 0.45s var(--ease-lux);
}

.menu-card__link:hover h3::after,
.menu-card__link:focus-visible h3::after {
  width: 4.5rem;
}

.menu-card__body p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-lux), opacity 0.5s ease, margin-top 0.5s ease;
}

.menu-card__link:hover .menu-card__body p,
.menu-card__link:focus-visible .menu-card__body p {
  max-height: 6rem;
  opacity: 1;
  margin-top: 0.75rem;
}

@media (min-width: 700px) {
  .menu__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Obiteljske proslave ---------- */

.celebrations {
  background: var(--clr-light);
  color: var(--clr-base);
}

.celebrations__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.celebrations__media img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center 65%;
  border: 1px solid rgba(28, 28, 28, 0.18);
  padding: 0.6rem;
}

.eyebrow--dark {
  color: var(--clr-gold-deep);
}

.eyebrow--dark::after {
  background: var(--clr-gold-deep);
}

.celebrations__lead {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.celebrations__text>p:not(.celebrations__lead) {
  color: var(--clr-dark-muted);
}

.celebrations__perks {
  margin-block: 1.5rem 2rem;
}

.celebrations__perks li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
  color: var(--clr-dark-muted);
}

.celebrations__perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 1rem;
  height: 1px;
  background: var(--clr-gold-deep);
}

@media (min-width: 880px) {
  .celebrations__grid {
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(3rem, 6vw, 5.5rem);
  }
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid rgba(197, 168, 128, 0.25);
  padding-block: clamp(3.5rem, 8vw, 5.5rem) 2rem;
  text-align: center;
}

.site-footer__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-block: 1.5rem 1.75rem;
}

.site-footer__contact {
  font-style: normal;
  color: var(--clr-text-muted);
}

.site-footer__contact p {
  margin-bottom: 0.35rem;
}

.site-footer__phone {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--clr-gold);
}

.site-footer__contact a:hover {
  color: var(--clr-gold);
}

.site-footer__map {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.site-footer__pin {
  width: 26px;
  height: 26px;
  fill: var(--clr-gold);
  transition: transform 0.4s var(--ease-lux);
}

.site-footer__map:hover .site-footer__pin { transform: translateY(-3px); }

.site-footer__map em {
  position: relative;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-gold);
  padding-bottom: 0.3rem;
}

.site-footer__map em::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--clr-gold);
  transform: scaleX(0.35);
  transform-origin: center;
  transition: transform 0.4s var(--ease-lux);
}

.site-footer__map:hover em::after { transform: scaleX(1); }

.site-footer__hours {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-block: 1.75rem;
  flex-wrap: wrap;
}

.site-footer__hours dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 0.25rem;
}

.site-footer__hours dd {
  color: var(--clr-text-muted);
  white-space: nowrap;
}

.site-footer__hours {
  row-gap: 1.4rem;
}

.site-footer__hours dd span {
  color: rgba(246, 244, 240, 0.45);
  font-size: 0.85em;
  margin-right: 0.35rem;
}

.site-footer__social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.site-footer__social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(197, 168, 128, 0.45);
  border-radius: 50%;
  transition: background-color 0.35s ease, transform 0.35s ease;
}

.site-footer__social svg {
  width: 18px;
  height: 18px;
  fill: var(--clr-gold);
  transition: fill 0.35s ease;
}

.site-footer__social a:hover {
  background: var(--clr-gold);
  transform: translateY(-3px);
}

.site-footer__social a:hover svg {
  fill: var(--clr-base);
}

.site-footer__nav {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}

.site-footer__nav a {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  transition: color 0.3s ease;
}

.site-footer__nav a:hover {
  color: var(--clr-gold);
}

.site-footer__copy {
  font-size: 0.75rem;
  color: rgba(246, 244, 240, 0.4);
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-lux), transform 0.9s var(--ease-lux);
}

.reveal--delay {
  transition-delay: 0.15s;
}

.reveal--delay2 {
  transition-delay: 0.3s;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Mobilna navigacija ---------- */

@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: grid;
    place-items: center;
    background: rgba(28, 28, 28, 0.96);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  body.nav-open { overflow: hidden; }

  .site-nav__list {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .site-nav__link {
    font-size: 1.05rem;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* ---------- Reducirano kretanje ---------- */

/* Smanjeno kretanje (OS postavka "Efekti animacije" isključena):
   uklanjamo pomake, skaliranje i prelete, ali zadržavamo mirna pretapanja
   i iscrtavanje loga, da stranica i dalje djeluje živo. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    transform: none;
  }

  .hero__scroll span {
    animation: none;
  }
}

/* ==========================================================================
   DORADE: cjeloviti jelovnik, WhatsApp rezervacija, plutajući gumb
   ========================================================================== */

/* ---------- Gumbi s ikonom ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
}

.btn__icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ---------- Kartice: CTA na hover ---------- */

.menu-card__cta {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-gold);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-lux), opacity 0.5s ease 0.1s, margin-top 0.5s ease;
}

.menu-card__cta::after {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 1px;
  background: var(--clr-gold);
  margin-left: 0.6rem;
  vertical-align: middle;
  transition: width 0.4s var(--ease-lux);
}

.menu-card__link:hover .menu-card__cta,
.menu-card__link:focus-visible .menu-card__cta {
  max-height: 2rem;
  opacity: 1;
  margin-top: 0.9rem;
}

.menu-card__link:hover .menu-card__cta::after {
  width: 2.6rem;
}

/* ---------- Cjeloviti jelovnik ---------- */

.menu-full {
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(197, 168, 128, 0.08), transparent 70%),
    var(--clr-base);
}

.menu-full__head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.menu-full__head .eyebrow {
  margin-inline: auto;
}

.menu-full__head .eyebrow::after {
  margin-inline: auto;
}

.menu-full__head .section-title {
  margin-bottom: 0.75rem;
}

.ornament {
  display: block;
  width: 180px;
  height: 18px;
  margin: 0 auto 1.25rem;
  fill: var(--clr-gold);
  stroke: var(--clr-gold);
  stroke-width: 1;
  opacity: 0.8;
}

/* Tabovi */

.tabs {
  position: relative;
  display: flex;
  justify-content: safe center;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid rgba(197, 168, 128, 0.2);
  margin-bottom: clamp(2rem, 5vw, 3rem);
  scroll-padding-inline: 1rem;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: 0 0 auto;
  padding: 0.95rem 1.1rem;
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.35s ease;
}

.tab:hover,
.tab:focus-visible {
  color: var(--clr-light);
  outline: none;
}

.tab.is-active {
  color: var(--clr-gold);
}

.tabs__indicator {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-gold);
  box-shadow: 0 0 12px rgba(197, 168, 128, 0.6);
  transition: left 0.55s var(--ease-lux), width 0.55s var(--ease-lux);
}

/* Paneli */

.menu-panel[hidden] {
  display: none;
}

.menu-panel__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(12px);
}

.menu-panel.is-active .menu-panel__title {
  animation: dish-in 0.8s var(--ease-lux) both;
}

.menu-panel__title em {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--clr-text-muted);
}

.menu-panel__title--sub {
  margin-top: 3rem;
}

.menu-panel__note {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--clr-text-muted);
}

.dishes {
  display: grid;
  gap: 1.35rem 3.5rem;
}

@media (min-width: 820px) {
  .dishes {
    grid-template-columns: 1fr 1fr;
  }
}

.dish {
  opacity: 0;
  transform: translateY(22px);
}

/* jela ulaze jedno za drugim; animacija kreće kad jelovnik uđe u vidno polje (JS) */
.menu-panel.is-active .dish {
  animation: dish-in 0.85s var(--ease-lux) both;
  animation-delay: calc(var(--i, 0) * 75ms + 150ms);
}

@keyframes dish-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.dish__row {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
}

.dish__name {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.08rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.dish__name em {
  display: block;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  color: var(--clr-text-muted);
  margin-top: 0.15rem;
}

.dish:hover .dish__name {
  color: var(--clr-gold);
}

.dish__leader {
  position: relative;
  flex: 1;
  min-width: 1.5rem;
  height: 1px;
  margin-bottom: 0.9rem;
}

.dish__name em~.dish__leader {
  margin-bottom: 1.6rem;
}

.dish__leader::after {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 1px dotted rgba(197, 168, 128, 0.45);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s var(--ease-lux);
  transition-delay: calc(var(--i, 0) * 75ms + 450ms);
}

.menu-panel.is-active .dish__leader::after {
  transform: scaleX(1);
}

.dish:hover .dish__leader::after {
  border-bottom-color: rgba(197, 168, 128, 0.9);
}

.dish__price {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--clr-gold);
  white-space: nowrap;
  margin-bottom: 0.1rem;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.6s ease, transform 0.7s var(--ease-lux);
  transition-delay: calc(var(--i, 0) * 75ms + 750ms);
}

/* cijena "sleti" tek nakon što vodilica stigne do nje */
.menu-panel.is-active .dish__price {
  opacity: 1;
  transform: none;
}

.dish__name em~.dish__leader+.dish__price {
  margin-bottom: 0.95rem;
}

.dish__price small {
  font-weight: 500;
  font-size: 0.82rem;
  color: rgba(197, 168, 128, 0.7);
  margin-left: 0.2rem;
}

.dish__desc {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--clr-text-muted);
  max-width: 44ch;
}

.dish--featured .dish__name {
  color: var(--clr-gold);
}

.menu-full__cta {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2.5rem;
  border-top: 1px solid rgba(197, 168, 128, 0.2);
  text-align: center;
}

.menu-full__cta p {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--clr-text-muted);
  margin-bottom: 1.5rem;
}

/* ---------- Footer: akcije ---------- */

.site-footer__lead {
  color: var(--clr-text-muted);
  margin-bottom: 1.5rem;
}

.site-footer__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

/* oba gumba jednake širine — poravnati i na desktopu i kad se slože jedan ispod drugog */
.site-footer__actions .btn {
  flex: 1 1 280px;
  max-width: 340px;
}

.site-footer__hours dd a {
  color: inherit;
  transition: color 0.3s ease;
}

.site-footer__hours dd a:hover {
  color: var(--clr-gold);
}

/* ---------- Plutajući WhatsApp gumb ---------- */

.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 850;
  display: flex;
  align-items: center;
  height: 56px;
  max-width: 56px;
  border-radius: 999px;
  background: rgba(28, 28, 28, 0.92);
  border: 1px solid rgba(197, 168, 128, 0.55);
  color: var(--clr-gold);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.55s var(--ease-lux), background-color 0.35s ease, color 0.35s ease, transform 0.6s var(--ease-lux), opacity 0.6s ease;
}

.wa-float svg {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  padding: 15px;
  fill: currentColor;
}

.wa-float__label {
  padding-right: 1.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.wa-float__ring {
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  border: 1px solid rgba(197, 168, 128, 0.8);
  animation: wa-pulse 2.8s ease-out infinite;
  pointer-events: none;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  70% {
    transform: scale(1.45);
    opacity: 0;
  }

  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.wa-float:hover,
.wa-float:focus-visible {
  max-width: 260px;
  background: var(--clr-gold);
  color: var(--clr-base);
  outline: none;
}

.wa-float:hover .wa-float__ring {
  animation-play-state: paused;
  opacity: 0;
}

body.is-loading .wa-float {
  opacity: 0;
  transform: translateY(24px);
}

@media (max-width: 767px) {
  .wa-float {
    right: 1rem;
    bottom: 1rem;
  }

  /* nagovještaj da se tabovi mogu listati */
  .tabs {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 3.5rem), transparent);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 3.5rem), transparent);
  }

  .tabs.is-at-end {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ---------- Rezervacija (modal) ---------- */

.reserve {
  width: min(100% - 2rem, 580px);
  max-height: min(92vh, 92svh);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--clr-light);
  overflow: visible;
}

.reserve::backdrop {
  background: rgba(16, 16, 16, 0.72);
  backdrop-filter: blur(8px);
}

.reserve[open] {
  animation: reserve-in 0.6s var(--ease-lux);
}

.reserve[open]::backdrop {
  animation: backdrop-in 0.45s ease;
}

.reserve.is-closing {
  animation: reserve-out 0.35s ease forwards;
}

.reserve.is-closing::backdrop {
  animation: backdrop-out 0.35s ease forwards;
}

@keyframes reserve-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes reserve-out {
  to {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes backdrop-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes backdrop-out {
  to {
    opacity: 0;
  }
}

.reserve__panel {
  position: relative;
  background: #212121;
  border: 1px solid rgba(197, 168, 128, 0.4);
  padding: clamp(1.75rem, 5vw, 2.75rem);
  max-height: min(92vh, 92svh);
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

/* dvostruki okvir */
.reserve__panel::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(197, 168, 128, 0.16);
  pointer-events: none;
}

.reserve__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 1;
}

.reserve__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1px;
  background: var(--clr-gold);
  transition: transform 0.35s var(--ease-lux);
}

.reserve__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.reserve__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.reserve__close:hover span:first-child {
  transform: translate(-50%, -50%) rotate(135deg);
}

.reserve__close:hover span:last-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.reserve__eyebrow {
  margin-bottom: 0.75rem;
}

.reserve__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.reserve__lead {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}

.reserve__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.25rem;
  margin-top: 1.75rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field--proslava {
  display: none;
}

.reserve--proslava .field--proslava {
  display: flex;
}

.field__label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-gold);
}

.field__label small {
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--clr-text-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--clr-light);
  background: rgba(246, 244, 240, 0.04);
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: 0;
  padding: 0.8rem 0.9rem;
  outline: none;
  color-scheme: dark;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.field textarea {
  resize: vertical;
  min-height: 3.2rem;
}

.field select option {
  background: #212121;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(246, 244, 240, 0.32);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--clr-gold);
  background: rgba(246, 244, 240, 0.07);
}

.field.is-invalid input,
.field.is-invalid select {
  border-color: #c9655a;
}

.reserve__error {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: #e3a399;
}

.reserve__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.reserve__actions .btn {
  width: 100%;
}

.reserve__alt {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  transition: color 0.3s ease;
}

.reserve__alt:hover {
  color: var(--clr-gold);
}

@media (max-width: 520px) {
  .reserve__grid {
    grid-template-columns: 1fr;
  }
}

/* Smanjeno kretanje: jelovnik i modal koriste samo pretapanja (bez pomaka) */
@media (prefers-reduced-motion: reduce) {
  .dish,
  .dish__price,
  .menu-panel__title {
    transform: none;
  }

  .dish__leader::after {
    transform: scaleX(1);
    transition: none;
  }

  .tabs__indicator {
    transition: none;
  }

  .wa-float__ring {
    animation: none;
    opacity: 0;
  }

  .reserve[open] {
    animation: backdrop-in 0.45s ease;
  }

  .reserve.is-closing {
    animation: backdrop-out 0.3s ease forwards;
  }
}

/* ---------- Fotografija uz jelo: lebdeći pregled (miš) / umetnuta slika (dodir) ---------- */

.dish[data-photo] .dish__row {
  cursor: pointer;
}

.dish[data-photo] .dish__row:focus-visible {
  outline: 1px solid var(--clr-gold);
  outline-offset: 6px;
}

/* zlatna ikona fotoaparata uz naziv jela koje ima fotografiju */
.dish[data-photo] .dish__title::after {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-left: 0.5rem;
  vertical-align: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C5A880' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.35s var(--ease-lux);
}

.dish[data-photo]:hover .dish__title::after,
.dish[data-photo].is-open .dish__title::after {
  opacity: 1;
  transform: translateY(-2px);
}

/* lebdeći pregled koji prati kursor (samo uređaji s mišem) */
.dish-peek {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 950;
  width: 290px;
  aspect-ratio: 3 / 2;
  padding: 6px;
  background: var(--clr-base);
  border: 1px solid rgba(197, 168, 128, 0.6);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  will-change: transform;
}

.dish-peek__inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.94) rotate(-1.5deg);
  transform-origin: top left;
  transition: opacity 0.35s ease, transform 0.5s var(--ease-lux);
}

.dish-peek.is-visible .dish-peek__inner {
  opacity: 1;
  transform: none;
}

.dish-peek img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dish-peek__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 0.9rem 0.6rem;
  background: linear-gradient(180deg, rgba(28, 28, 28, 0), rgba(28, 28, 28, 0.85));
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--clr-light);
}

.dish-peek:not(.is-visible) {
  visibility: hidden;
}

@media (hover: none) {
  .dish-peek {
    display: none;
  }
}

/* umetnuta slika ispod retka (dodir / tipkovnica) */
.dish__photo {
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease-lux), opacity 0.5s ease, margin-top 0.4s ease;
}

.dish.is-open .dish__photo {
  max-height: 360px;
  opacity: 1;
  margin-top: 0.85rem;
}

.dish__photo img {
  display: block;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  padding: 5px;
  border: 1px solid rgba(197, 168, 128, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .dish-peek__inner {
    transform: none;
  }
}
/* ---------- Chef preporučuje (scrollytelling) ---------- */

.chef {
  background: var(--clr-base);
  border-top: 1px solid rgba(197, 168, 128, 0.15);
}

.chef__head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.chef__head .eyebrow {
  margin-inline: auto;
}

.chef__head .eyebrow::after {
  margin-inline: auto;
}

.chef__stage {
  display: grid;
  gap: 1.5rem;
}

/* zalijepljena fotografija: na mobitelu ispod headera, na desktopu desni stupac */
.chef__media {
  position: sticky;
  top: var(--header-h);
  z-index: 2;
  background: var(--clr-base);
  padding: 0.75rem 0;
}

.chef__frame {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 2;
  padding: 6px;
  border: 1px solid rgba(197, 168, 128, 0.45);
  background: var(--clr-base);
  overflow: hidden;
}

.chef__frame::before {
  content: "";
  position: absolute;
  inset: 6px;
  z-index: 2;
  border: 1px solid rgba(197, 168, 128, 0.18);
  pointer-events: none;
}

.chef__img {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: cover;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 0.9s ease, transform 1.8s var(--ease-lux);
}

.chef__img.is-active {
  opacity: 1;
  transform: scale(1);
}

.chef__counter {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 3;
  padding: 0.3rem 0.7rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  color: var(--clr-light);
  background: rgba(28, 28, 28, 0.55);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.chef__counter-current {
  color: var(--clr-gold);
}

.chef__steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.chef__step {
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(197, 168, 128, 0.12);
  opacity: 0.32;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-lux);
  cursor: default;
}

.chef__step:first-child {
  border-top: 0;
}

.chef__step.is-active {
  opacity: 1;
  transform: none;
}

.chef__num {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  color: var(--clr-gold);
  margin-bottom: 0.9rem;
}

.chef__num::after {
  content: "";
  display: inline-block;
  width: 2.5rem;
  height: 1px;
  background: var(--clr-gold);
  margin-left: 0.75rem;
  vertical-align: middle;
  opacity: 0.6;
}

.chef__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.chef__desc {
  color: var(--clr-text-muted);
  max-width: 42ch;
  margin-bottom: 1.5rem;
}

.chef__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.chef__price {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--clr-gold);
}

.chef__price small {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: rgba(197, 168, 128, 0.7);
}

@media (min-width: 900px) {
  .chef__stage {
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }

  .chef__media {
    order: 2;
    top: calc(var(--header-h) + 2rem);
    padding: 0;
    background: transparent;
  }

  .chef__steps {
    order: 1;
  }

  .chef__step {
    min-height: 64vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chef__img {
    transform: none;
  }

  .chef__step {
    transform: none;
  }
}
/* prvi korak poravnat s vrhom fotografije (bez praznine na prvi pogled) */
.chef__step:first-child {
  min-height: 36vh;
  justify-content: flex-start;
  padding-top: 1rem;
}

@media (min-width: 900px) {
  .chef__step:first-child {
    min-height: 56vh;
    padding-top: 0.5rem;
  }
}
/* kompaktniji ritam na desktopu: visina koraka ~ visina fotografije, bez praznina */
@media (min-width: 900px) {
  .chef__step,
  .chef__step:first-child {
    min-height: clamp(280px, 40vh, 390px);
    justify-content: center;
    padding: 1.25rem 0;
  }
}

/* okomita linija s točkama koja povezuje korake */
.chef__steps {
  position: relative;
  padding-left: 2rem;
}

.chef__steps::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 1px;
  background: rgba(197, 168, 128, 0.18);
}

.chef__step {
  position: relative;
}

.chef__step::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -5px;
  border-radius: 50%;
  border: 1px solid var(--clr-gold);
  background: var(--clr-base);
  transition: background-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s var(--ease-lux);
}

.chef__step.is-active::before {
  background: var(--clr-gold);
  box-shadow: 0 0 14px rgba(197, 168, 128, 0.7);
  transform: scale(1.25);
}

@media (max-width: 899px) {
  .chef__step:first-child::before {
    top: 1.75rem;
  }
}