/* ============================================================
   ZONA Shisha Bar — Stilovi
   ============================================================ */

:root {
  --bg:        #120d0a;
  --bg-2:      #1a1310;
  --panel:     #1e1611;
  --panel-2:   #241b14;
  --gold:      #c8a063;
  --gold-2:    #e2c592;
  --gold-deep: #9c7a43;
  --text:      #f3ece1;
  --muted:     #b8a890;
  --muted-2:   #8a7c69;
  --line:      rgba(200, 160, 99, 0.22);
  --line-soft: rgba(200, 160, 99, 0.12);

  --maxw: 1180px;
  --radius: 14px;
  --radius-lg: 20px;
  --nav-h: 76px;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: clamp(56px, 9vw, 120px) 0; position: relative; }
.section--alt { background: var(--bg-2); }

/* Dekorativni palm listovi u pozadini sekcija */
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 100% 0%, rgba(200,160,99,0.05), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(200,160,99,0.04), transparent 40%);
}

/* ---------- Tipografija / zajedničko ---------- */
.heading {
  font-weight: 300;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin: 0;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 18px;
}
.heading--center { justify-content: center; }
.heading__deco { color: var(--gold); font-size: 0.7em; letter-spacing: 0.1em; }
.heading__line {
  height: 1px;
  flex: 0 0 64px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section__head--center { justify-content: center; text-align: center; }

/* ---------- Dugmad ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  padding: 15px 30px;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 10px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-deep));
  color: #2a1d0e;
  box-shadow: 0 12px 28px rgba(200, 160, 99, 0.28);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(200, 160, 99, 0.4); }
.btn--outline {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border: 1px solid var(--line);
  backdrop-filter: blur(2px);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }
.btn--block { width: 100%; }

.link-underline {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
  padding-bottom: 6px;
  position: relative;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 46px; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.link-underline:hover::after { width: 100%; }

.round-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
}
.round-btn svg { width: 20px; height: 20px; }
.round-btn:hover { border-color: var(--gold); color: var(--gold-2); }
.round-btn:disabled { opacity: 0.3; cursor: default; }

/* ============================================================
   NAVIGACIJA
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s, backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(15, 11, 8, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo { height: 34px; width: auto; }
.nav__links {
  display: flex;
  gap: 34px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav__links a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover,
.nav__links a.active { color: var(--gold-2); }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__cta { padding: 12px 24px; font-size: 0.74rem; }

.nav__burger {
  display: none;
  width: 42px; height: 42px;
  background: transparent;
  border: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__burger span {
  width: 24px; height: 1.6px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,7,5,0.7) 0%, rgba(10,7,5,0.25) 30%, rgba(10,7,5,0.45) 65%, rgba(10,7,5,0.92) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp 1.1s var(--ease) both;
}
.hero__logo {
  width: min(460px, 80vw);
  height: auto;
  filter: drop-shadow(0 8px 40px rgba(0,0,0,0.6));
}
.hero__tagline {
  margin: 22px 0 38px;
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 300;
}
.hero__btns { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  z-index: 2;
  animation: bob 2.4s ease-in-out infinite;
}
.hero__scroll svg { width: 30px; height: 30px; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 9px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ============================================================
   O NAMA
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.about__p {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
  margin: 26px 0 30px;
  max-width: 30ch;
}
.about__img {
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-soft);
}

/* ============================================================
   KOKTELI
   ============================================================ */
.cocktails__row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-deep) transparent;
}
.cocktails__row::-webkit-scrollbar { height: 6px; }
.cocktails__row::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 99px; }
.cocktails__row::-webkit-scrollbar-track { background: transparent; }

.cocktail {
  scroll-snap-align: start;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.cocktail:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.cocktail__img {
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  position: relative;
}
.cocktail__ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
}
.cocktail__ph svg { width: 46%; height: 46%; opacity: 0.9; }
.cocktail__body { padding: 30px 24px 30px; min-height: 138px; }
.cocktail__name {
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 10px;
  font-weight: 400;
  line-height: 1.3;
}
.cocktail__desc { margin: 0; color: var(--muted); font-size: 0.96rem; line-height: 1.6; }

/* ============================================================
   MENI
   ============================================================ */
.menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.menu-cat {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.menu-cat__name {
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.menu-cat__list { list-style: none; margin: 0; padding: 0; }
.menu-cat__item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  color: var(--muted);
  font-size: 0.96rem;
}
.menu-cat__price { color: var(--gold); white-space: nowrap; }
.menu__note {
  text-align: center;
  color: var(--muted-2);
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.05rem;
  margin: 34px auto 0;
  max-width: 50ch;
}

/* Kartice kategorija (slika + naziv) — naslovna i meni stranica */
.mcat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.mcat-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 4 / 3.3;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--panel);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.mcat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.mcat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,5,3,0.92) 0%, rgba(8,5,3,0.4) 48%, rgba(8,5,3,0.12) 100%);
}
.mcat-card__body { position: relative; z-index: 2; padding: 22px 24px; width: 100%; }
.mcat-card__name {
  display: block;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 300;
}
.mcat-card__count { display: block; margin-top: 7px; color: var(--gold-2); font-size: 0.82rem; letter-spacing: 0.12em; }
.mcat-card__count em { font-style: normal; display: inline-block; transition: transform 0.25s var(--ease); }
.mcat-card:hover .mcat-card__count em { transform: translateX(5px); }

/* Stavke unutar kategorije (svaka sa slikom) */
.mitem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.mitem-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.mitem-card:hover { transform: translateY(-5px); border-color: var(--line); box-shadow: var(--shadow); }
.mitem-card__img { aspect-ratio: 3 / 4; background-size: cover; background-position: center; position: relative; }
.mitem-card__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.8); }
.mitem-card__ph svg { width: 38%; height: 38%; }
.mitem-card__body { padding: 28px 22px 28px; min-height: 134px; }
.mitem-card__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.mitem-card__name { font-size: 1.06rem; letter-spacing: 0.04em; margin: 0; font-weight: 400; line-height: 1.3; }
.mitem-card__price { color: var(--gold); white-space: nowrap; font-size: 1rem; }
.mitem-card__desc { margin: 10px 0 0; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

/* ---------- Nedostupni artikli ---------- */
.cocktail, .mitem-card { position: relative; }
.cocktail.is-unavailable .cocktail__img,
.mitem-card.is-unavailable .mitem-card__img {
  filter: grayscale(0.8) brightness(0.5) blur(2.5px);
}
.cocktail.is-unavailable .cocktail__name,
.mitem-card.is-unavailable .mitem-card__name { color: var(--muted-2); }
.cocktail.is-unavailable .cocktail__desc,
.mitem-card.is-unavailable .mitem-card__desc { opacity: 0.65; }
.unavail-badge {
  position: absolute;
  top: 30%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  background: rgba(10, 7, 5, 0.82);
  color: var(--gold-2);
  border: 1px solid var(--gold-deep);
  padding: 9px 17px;
  border-radius: 9px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

/* ---------- Slike kartica (lazy load + popunjavanje) ---------- */
.card-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.mcat-card__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.cocktail__img, .mitem-card__img { background-color: #241b14; }

/* ---------- Meni stranica (meni.html) ---------- */
/* .menupage.container -> veća specifičnost da `.container` (čak i u media upitu) ne resetuje gornji razmak */
.menupage.container { padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 90px)); padding-bottom: clamp(56px, 9vw, 110px); }
.menupage__head { text-align: center; margin-bottom: clamp(30px, 5vw, 56px); }
.menupage__title { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: 0.3em; text-transform: uppercase; font-weight: 200; margin: 0; }
.menupage__sub { color: var(--muted); margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.menu-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 26px;
  padding: 9px 16px 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.menu-back:hover { color: var(--gold-2); border-color: var(--gold); background: rgba(200, 160, 99, 0.06); }
.menu-back svg { width: 18px; height: 18px; }

/* Fiksno dugme „nazad na meni" (unutar kategorije) */
.float-back {
  position: fixed;
  left: 18px; bottom: 18px;
  z-index: 60;
  display: none;
  align-items: center;
  gap: 7px;
  padding: 11px 18px 11px 13px;
  border-radius: 999px;
  background: rgba(18, 13, 9, 0.92);
  border: 1px solid var(--gold);
  color: var(--gold-2);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  transition: transform 0.2s var(--ease), background 0.2s;
}
.float-back.show { display: inline-flex; }
.float-back:hover { transform: translateY(-2px); background: rgba(30, 22, 14, 0.96); }
.float-back svg { width: 18px; height: 18px; }

/* Dugme "Pogledaj dostupne ukuse" u kategoriji */
.ukusi-cta { text-align: center; margin: -4px 0 34px; }
.ukusi-cta .btn { display: inline-flex; }

/* ============================================================
   DOGAĐAJI
   ============================================================ */
.events__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.event {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
  padding: 46px 28px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.event:hover {
  border-color: var(--line);
  transform: translateY(-5px);
  background: linear-gradient(180deg, rgba(200,160,99,0.06), transparent);
}
.event__icon { color: var(--gold); margin-bottom: 22px; display: inline-flex; }
.event__icon svg { width: 50px; height: 50px; }
.event__title {
  font-size: 1.15rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 12px;
  line-height: 1.35;
}
.event__sub {
  color: var(--gold-2);
  letter-spacing: 0.22em;
  font-size: 0.92rem;
}

/* ============================================================
   FOOTER / KONTAKT
   ============================================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  padding: clamp(44px, 6vw, 70px) 0 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.fitem {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 26px 8px 0;
  position: relative;
}
.fitem:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 40px;
  background: var(--line-soft);
}
.fitem__icon {
  color: var(--gold);
  flex: 0 0 auto;
  display: inline-flex;
}
.fitem__icon svg { width: 26px; height: 26px; }
.fitem__label { color: var(--muted-2); font-size: 0.78rem; letter-spacing: 0.08em; margin-bottom: 3px; }
.fitem__value { color: var(--text); font-size: 0.98rem; }
.fitem a.fitem__value:hover { color: var(--gold-2); }
.footer__bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  color: var(--muted-2);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

/* ============================================================
   MODAL (rezervacija)
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 5, 3, 0.72);
  backdrop-filter: blur(6px);
}
.modal__card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 34px 34px;
  box-shadow: var(--shadow);
  animation: modalIn 0.35s var(--ease) both;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute;
  top: 14px; right: 18px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.8rem;
  line-height: 1;
  transition: color 0.2s;
}
.modal__close:hover { color: var(--gold-2); }
.modal__title {
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 1.3rem;
  margin: 0 0 8px;
}
.modal__text { color: var(--muted); margin: 0 0 24px; font-size: 0.95rem; }

.rform { display: flex; flex-direction: column; gap: 16px; }
.rform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rform label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
.rform input {
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.96rem;
  transition: border-color 0.2s;
}
.rform input:focus { outline: none; border-color: var(--gold); }
.modal__alt { margin-top: 18px; text-align: center; color: var(--muted-2); font-size: 0.88rem; }
.modal__alt a { color: var(--gold-2); }

/* ============================================================
   REVEAL animacija
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   GALERIJA / LIGHTBOX / PROMO / LOADING
   ============================================================ */
.btn--ghost { background: transparent; color: var(--muted); border: 1px solid transparent; }
.btn--ghost:hover { color: var(--gold-2); transform: none; }

.menu-loading { display: flex; justify-content: center; padding: 90px 0; }
.spinner {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--line-soft); border-top-color: var(--gold);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Galerija */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery__item {
  position: relative; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line-soft); background-color: #241b14; padding: 0; cursor: zoom-in;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery__item:hover img { transform: scale(1.07); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 220; display: none; align-items: center; justify-content: center;
  padding: 24px; background: rgba(6, 4, 3, 0.92); backdrop-filter: blur(6px); cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox__img { max-width: 94vw; max-height: 90vh; border-radius: 10px; box-shadow: var(--shadow); }
.lightbox__close { position: absolute; top: 16px; right: 22px; background: transparent; border: none; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; }

/* Promo popup */
.promo { position: fixed; inset: 0; z-index: 240; display: none; align-items: center; justify-content: center; padding: 20px; }
.promo.open { display: flex; }
.promo__backdrop { position: absolute; inset: 0; background: rgba(6, 4, 3, 0.78); backdrop-filter: blur(6px); }
.promo__card {
  position: relative; width: 100%; max-width: 460px; min-height: 340px; display: flex;
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); animation: modalIn 0.4s var(--ease) both;
}
.promo__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.promo__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,7,5,0.35) 0%, rgba(10,7,5,0.85) 100%); }
.promo__card.no-image { background: linear-gradient(160deg, var(--panel-2), var(--bg)); }
.promo__card.no-image .promo__overlay { display: none; }
.promo__x {
  position: absolute; top: 12px; right: 14px; z-index: 4;
  background: rgba(0,0,0,0.4); border: none; color: #fff; font-size: 1.7rem; line-height: 1;
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer; transition: background 0.2s;
}
.promo__x:hover { background: rgba(0,0,0,0.65); }
.promo__content { position: relative; z-index: 2; margin-top: auto; width: 100%; padding: 36px 30px 30px; text-align: center; }
.promo__title { font-size: clamp(1.4rem, 3vw, 1.95rem); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 300; margin: 0 0 12px; color: #fff; }
.promo__text { color: var(--text); font-size: 1rem; line-height: 1.6; margin: 0 0 22px; }
.promo__btns { display: flex; flex-direction: column; gap: 10px; }
.promo__btns .btn { width: 100%; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .menu__grid,
  .mcat-grid,
  .mitem-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .events__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .fitem:nth-child(2)::after { display: none; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    transform: none;
    flex-direction: column;
    gap: 0;
    background: rgba(15, 11, 8, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-soft);
    padding: 10px 24px 26px;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.4s var(--ease);
  }
  .nav__links.open { clip-path: inset(0 0 0 0); }
  .nav__links a { padding: 15px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.9rem; }
  .nav__links a::after { display: none; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { order: -1; }
  .about__p { max-width: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .heading { letter-spacing: 0.22em; gap: 12px; }
  /* Na mobilnom: 2 kategorije / 2 stavke u redu */
  .menu__grid,
  .mcat-grid,
  .mitem-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .mcat-card { aspect-ratio: 1 / 1; }
  .mcat-card__body { padding: 14px; }
  .mcat-card__name { font-size: 1rem; letter-spacing: 0.08em; }
  .mcat-card__count { font-size: 0.7rem; margin-top: 4px; }
  .mitem-card__body { padding: 20px 14px 22px; min-height: 104px; }
  .mitem-card__name { font-size: 0.95rem; }
  .mitem-card__price { font-size: 0.9rem; }
  .mitem-card__desc { font-size: 0.84rem; margin-top: 7px; line-height: 1.55; }
  .unavail-badge { font-size: 0.58rem; padding: 6px 10px; letter-spacing: 0.1em; }
  .cocktail__body { padding: 22px 16px 24px; min-height: 110px; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section__head--center { align-items: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .fitem { padding-right: 0; }
  .fitem::after { display: none !important; }
  .fitem { border-bottom: 1px solid var(--line-soft); padding-bottom: 16px; }
  .fitem:last-child { border-bottom: none; }
  .hero__btns { width: 100%; }
  .hero__btns .btn { flex: 1 1 auto; }
  .rform__row { grid-template-columns: 1fr; }
  .btn { padding: 14px 24px; }
}
