/* ══════════════════════════════════════════════════════════════
   AsketCuisine — shared site navigation (all pages)
   One menu, one font, one accent. Dark by default, .acn--light on light pages.
   ══════════════════════════════════════════════════════════════ */

/* legacy per-page menus are kept in the HTML (their scripts reference them) but never shown */
.acn-legacy { display: none !important; }

.acn {
  --acn-h: 58px;
  --acn-bg: rgba(10, 10, 8, 0.93);
  --acn-line: rgba(255, 255, 255, 0.06);
  --acn-text: #9a958a;
  --acn-hi: #ede8de;
  --acn-fire: #c4622d;
  --acn-fire2: #d97340;
  --acn-panel: #131311;
  --acn-drop: rgba(16, 16, 13, 0.98);
  --acn-font: 'Syne', system-ui, -apple-system, 'Segoe UI', sans-serif;

  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  height: var(--acn-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 44px;
  background: var(--acn-bg);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--acn-line);
  font-family: var(--acn-font);
  box-sizing: border-box;
}
.acn *, .acn *::before, .acn *::after,
.acn-mob *, .acn-mob *::before, .acn-mob *::after { box-sizing: border-box; }

.acn--light {
  --acn-bg: rgba(250, 248, 243, 0.94);
  --acn-line: rgba(26, 23, 20, 0.10);
  --acn-text: #6b665d;
  --acn-hi: #141410;
  --acn-panel: #faf8f3;
  --acn-drop: rgba(250, 248, 243, 0.99);
}

/* bilingual labels follow <html lang>, independent of each page's own system */
.acn .s, .acn-mob .s { display: none; }
html[lang="sr"] .acn .s, html[lang="sr"] .acn-mob .s { display: inline; }
html[lang="sr"] .acn .e, html[lang="sr"] .acn-mob .e { display: none; }

.acn a { text-decoration: none; }

.acn-logo {
  font-family: var(--acn-font);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--acn-fire);
  white-space: nowrap;
  transition: color 0.2s;
}
.acn-logo:hover { color: var(--acn-hi); }

.acn-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.acn-links > li { position: relative; margin: 0; padding: 0; }
.acn-links a, .acn-dd-btn {
  font-family: var(--acn-font);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--acn-text);
  padding: 4px 0 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.acn-links a:hover, .acn-dd-btn:hover,
.acn-links a.is-active, .acn-dd.is-active > .acn-dd-btn {
  color: var(--acn-hi);
  border-bottom-color: var(--acn-fire);
}
.acn-dd-btn {
  background: none; border-top: 0; border-left: 0; border-right: 0;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.acn-dd-btn .acn-caret { font-size: 8px; transition: transform 0.2s; }

.acn-drop {
  position: absolute; top: calc(100% + 18px); left: -20px;
  min-width: 210px;
  background: var(--acn-drop);
  border: 1px solid var(--acn-line);
  padding: 10px 0;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.acn-drop::before { /* hover bridge */
  content: ''; position: absolute; left: 0; right: 0; top: -20px; height: 20px;
}
.acn-dd:hover .acn-drop, .acn-dd:focus-within .acn-drop, .acn-dd.open .acn-drop {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.acn-dd:hover .acn-caret, .acn-dd.open .acn-caret { transform: rotate(180deg); }
.acn-drop a {
  display: block; padding: 10px 20px;
  border-bottom: 0;
  font-size: 10px; letter-spacing: 0.14em;
}
.acn-drop a .acn-sub {
  display: block; margin-top: 3px;
  font-size: 9px; letter-spacing: 0.06em; text-transform: none;
  color: var(--acn-text); opacity: 0.75;
}
.acn-drop a:hover, .acn-drop a.is-active { color: var(--acn-hi); background: rgba(196, 98, 45, 0.07); }

.acn-right { display: flex; align-items: center; gap: 18px; }

.acn-cta {
  font-family: var(--acn-font);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; background: var(--acn-fire);
  padding: 9px 16px;
  white-space: nowrap;
  transition: background 0.2s;
}
.acn-cta:hover { background: var(--acn-fire2); color: #fff; }

.acn-lang { display: flex; }
.acn-lang button {
  font-family: var(--acn-font);
  font-size: 10px; font-weight: 600; letter-spacing: 0.18em;
  padding: 5px 10px; margin: 0;
  background: none; cursor: pointer;
  color: var(--acn-text);
  border: 1px solid var(--acn-line);
  transition: color 0.2s, border-color 0.2s;
}
.acn-lang button + button { border-left: none; }
html:not([lang="sr"]) .acn-lang .acn-en,
html[lang="sr"] .acn-lang .acn-sr { color: var(--acn-fire); border-color: rgba(196, 98, 45, 0.45); }

.acn-burger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 10px 4px; margin: 0;
  flex-direction: column; gap: 5px;
}
.acn-burger span { display: block; width: 22px; height: 1.5px; background: var(--acn-hi); transition: background 0.2s; }
.acn-burger:hover span { background: var(--acn-fire); }

/* ── mobile panel ── */
.acn-mob {
  position: fixed; inset: 0; z-index: 100000;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  font-family: 'Syne', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.acn-mob.open { opacity: 1; visibility: visible; }
.acn-mob-panel {
  position: absolute; top: 0; right: 0;
  width: 300px; max-width: 86vw; height: 100%;
  background: #131311; color: #ede8de;
  padding: 64px 28px 32px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.acn-mob.open .acn-mob-panel { transform: translateX(0); }
.acn-mob-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; cursor: pointer;
  color: #9a958a; font-size: 22px; line-height: 1; padding: 6px;
}
.acn-mob-close:hover { color: #c4622d; }
.acn-mob ul { list-style: none; margin: 0 0 28px; padding: 0; }
.acn-mob li { border-bottom: 1px solid rgba(255, 255, 255, 0.06); margin: 0; }
.acn-mob a { text-decoration: none; }
.acn-mob li a {
  display: block; padding: 13px 0;
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: #b5b0a5;
}
.acn-mob li a:hover, .acn-mob li a.is-active { color: #ede8de; }
.acn-mob li a.is-active { border-left: 2px solid #c4622d; padding-left: 10px; }
.acn-mob .acn-mob-group {
  padding: 18px 0 6px; border-bottom: 0;
  font-size: 9px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(196, 98, 45, 0.8);
}
.acn-mob .acn-mob-sub a { padding-left: 14px; }
.acn-mob .acn-cta { display: block; text-align: center; margin-bottom: 24px; padding: 14px 16px; font-family: inherit; font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; background: #c4622d; }
.acn-mob-contact { display: flex; flex-direction: column; gap: 10px; }
.acn-mob-contact a { font-size: 12px; color: #9a958a; letter-spacing: 0.02em; }
.acn-mob-contact a:hover { color: #c4622d; }

/* anchor targets clear the fixed bar */
[id] { scroll-margin-top: 76px; }
.acn-spacer { height: 58px; }

@media (max-width: 1180px) {
  .acn { padding: 0 28px; }
  .acn-links { gap: 20px; }
}
@media (max-width: 1060px) {
  .acn { padding: 0 20px; }
  .acn-links { display: none; }
  .acn-right .acn-cta { display: none; }
  .acn-burger { display: flex; }
  .acn-right { gap: 14px; }
}
@media print { .acn, .acn-mob { display: none !important; } }

/* ══════════════════════════════════════════════════════════════
   LANGUAGE — one rule set for every page.
   Only the inactive language is hidden; the active one keeps its natural display
   (block stays block, inline stays inline, flex stays flex).
   ══════════════════════════════════════════════════════════════ */
html:not([lang="sr"]) [data-lang="sr"],
html[lang="sr"] [data-lang="en"],
html:not([lang="sr"]) .lang-sr,
html[lang="sr"] .lang-en,
html:not([lang="sr"]) .sr-text,  html[lang="sr"] .en-text,
html:not([lang="sr"]) .sr-inline, html[lang="sr"] .en-inline,
html:not([lang="sr"]) .cdesc-sr, html[lang="sr"] .cdesc-en { display: none !important; }

/* ══════════════════════════════════════════════════════════════
   SHARED FOOTER
   ══════════════════════════════════════════════════════════════ */
.acf {
  background: #131311; color: #9a958a;
  padding: 64px 44px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'Syne', system-ui, -apple-system, 'Segoe UI', sans-serif;
  position: relative; z-index: 1;
}
.acf *, .acf *::before, .acf *::after { box-sizing: border-box; }
.acf a { text-decoration: none; }
.acf-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px; max-width: 1180px; margin: 0 auto; }
.acf-brand { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #c4622d; }
.acf-desc { margin: 14px 0 0; font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: 13px; line-height: 1.7; color: #8a867c; max-width: 250px; }
.acf-h { font-size: 8px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: #8a867c; margin: 0 0 14px; padding-bottom: 9px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.acf ul { list-style: none; margin: 0; padding: 0; }
.acf li { margin: 0 0 8px; padding: 0; }
.acf li a { font-size: 12px; color: #9a958a; transition: color 0.18s; letter-spacing: 0.02em; }
.acf li a:hover { color: #ede8de; }
.acf-bottom { max-width: 1180px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.06); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11px; color: #7a776e; }
.acf-tag { font-family: Georgia, 'Times New Roman', serif; font-style: italic; }
.acf .s { display: none; }
html[lang="sr"] .acf .s { display: inline; }
html[lang="sr"] .acf .e { display: none; }
@media (max-width: 980px) { .acf { padding: 56px 24px 24px; } .acf-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .acf-top { grid-template-columns: 1fr; gap: 28px; } }
@media print { .acf { display: none; } }

/* WhatsApp button (same on every page) */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 9990; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,0.3); transition: transform 0.25s, box-shadow 0.25s; }
.whatsapp-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
