/* =========================================================
   Royal Kebab — its own brand (royal-kebab.html only)
   Black background, red and gold. Separate from the
   Dar Al Assil look on purpose: do not mix the two files.
   ========================================================= */

:root {
  /* Colours (Royal Kebab brand) */
  --rk-black: #0B0908;      /* page background */
  --rk-coal: #17110E;       /* raised panels, placeholders */
  --rk-red: #C3161C;        /* main accent: buttons, price tags, band */
  --rk-red-deep: #7E0C10;   /* hover / shadows */
  --rk-gold: #D9A441;       /* lines, labels, highlights */
  --rk-gold-soft: #F0CF86;  /* italic headline words */
  --rk-bone: #F3EBDD;       /* body text on black */
  --rk-mute: rgba(243, 235, 221, .76);
  --rk-line: rgba(217, 164, 65, .28);

  /* Fonts */
  --rk-display: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --rk-sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --rk-max: 1180px;
  --rk-gutter: clamp(16px, 4vw, 40px);
  --rk-section: clamp(80px, 11vw, 150px);
  --rk-ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--rk-black); }
body {
  margin: 0; background: transparent; color: var(--rk-bone);
  font-family: var(--rk-sans); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* fine film grain over everything, so the black never looks flat */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* wrinkled old black-and-white newspaper behind everything (stays still while the page scrolls).
   The dark layer on top keeps the light writing easy to read: raise .74 to make the paper darker, lower it to show more paper. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(11, 9, 8, .62), rgba(11, 9, 8, .86) 85%),
    url("../images/royal-kebab/newspaper-bg.jpg") center / cover no-repeat,
    var(--rk-black);
}
/* soft dark shadow under all writing so it stands out from the newsprint */
h1, h2, h3, p, dt, dd, a, .rk-price { text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 18px rgba(0, 0, 0, .65); }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--rk-gold); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--rk-gold); color: var(--rk-black); padding: 10px 16px; z-index: 200; }
.skip:focus { left: 8px; }
.rk-wrap { width: 100%; max-width: var(--rk-max); margin: 0 auto; padding: 0 var(--rk-gutter); }

/* ---------- Shared type ---------- */
.rk-kicker {
  font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--rk-gold); margin: 0 0 14px;
}
.rk-h2 {
  font-family: var(--rk-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3rem, 9vw, 6.4rem); line-height: .88; letter-spacing: .005em; margin: 0;
}
.rk-h2 em { font-style: normal; color: var(--rk-gold-soft); }

.rk-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 26px;
  background: var(--rk-red); color: var(--rk-bone); text-decoration: none;
  font-family: var(--rk-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background .25s, transform .25s var(--rk-ease);
}
.rk-btn:hover { background: var(--rk-red-deep); transform: translateY(-2px); }

/* ---------- Header: back link · logo in the middle · phone ---------- */
.rk-top {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding: 10px var(--rk-gutter);
  border-bottom: 1px solid var(--rk-line);
}
.rk-top a {
  min-height: 44px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.rk-back { color: var(--rk-mute); justify-self: start; transition: color .25s; }
.rk-back:hover { color: var(--rk-bone); }
.rk-top-logo { justify-self: center; }
.rk-top-logo img { height: 74px; width: auto; transition: transform .35s var(--rk-ease); }
.rk-top-logo:hover img { transform: scale(1.05) rotate(-2deg); }
.rk-top-call { color: var(--rk-gold); justify-self: end; }
.rk-top-call:hover { color: var(--rk-gold-soft); }
.rk-top-call svg { width: 18px; height: 18px; display: none; }
@media (max-width: 600px) {
  .rk-top-logo img { height: 58px; }
  .rk-back-text, .rk-top-call-text { display: none; } /* phones: just the ← arrow and a phone icon */
  .rk-back span[aria-hidden] { font-size: 1.3rem; }
  .rk-top-call svg { display: block; width: 22px; height: 22px; }
  .rk-top a { min-width: 44px; justify-content: center; }
}

/* ---------- Description + videos (side by side on computers) ---------- */
.rk-intro { padding: clamp(56px, 8vw, 110px) 0; }
.rk-intro-grid { display: grid; gap: 44px; align-items: center; }
.rk-intro .rk-h2 { font-size: clamp(2.8rem, 7vw, 5.2rem); margin-bottom: 26px; }
.rk-story-text p { color: var(--rk-mute); max-width: 52ch; margin: 0 0 16px; }
.rk-story-text p:first-child { color: var(--rk-bone); font-size: 1.15rem; line-height: 1.5; }
.rk-story-text strong { color: var(--rk-gold-soft); font-weight: 600; }

/* round "Imported from Germany" stamp */
.rk-stamp { width: 112px; height: 112px; position: relative; color: var(--rk-gold); margin-bottom: 22px; }
.rk-stamp svg { width: 100%; height: 100%; animation: rkSpin 22s linear infinite; overflow: visible; }
.rk-stamp text { fill: currentColor; font: 600 15px var(--rk-sans); }
.rk-stamp span {
  position: absolute; inset: 28%; border: 1px solid var(--rk-gold); border-radius: 50%;
  display: grid; place-items: center; font-family: var(--rk-display); font-weight: 900; font-size: 1.45rem; letter-spacing: .06em;
}
@keyframes rkSpin { to { transform: rotate(360deg); } }

.rk-videos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2.5vw, 28px); align-items: start; }
.rk-ph.rk-ph--video { aspect-ratio: 9 / 16; border: 1px solid var(--rk-line); border-radius: 22px; } /* rounded video corners */
.rk-ph.rk-ph--video:nth-child(2) { margin-top: clamp(28px, 6vw, 70px); }
/* Warmer colour grade on the 2 videos (owner's request 2026-11-21). Done here, on the page,
   so the video files themselves are never re-compressed. To make them warmer/cooler, change
   the numbers: sepia = amount of warmth, the ::after layer = soft amber glow (its opacity). */
.rk-ph--video video { filter: sepia(.24) saturate(1.28) hue-rotate(-8deg) contrast(1.1) brightness(.99); }
.rk-ph--video::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: radial-gradient(120% 90% at 50% 40%, rgba(255, 170, 80, .18), rgba(160, 60, 10, .22));
  mix-blend-mode: soft-light;
}

@media (min-width: 900px) {
  .rk-intro-grid { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); }
}

/* ---------- Placeholders (photo / video spots) ----------
   A labelled box keeps the space. When the real file is added
   at the same path, it covers the box automatically. */
.rk-ph {
  position: relative; margin: 0; overflow: hidden; background: var(--rk-coal);
  aspect-ratio: 4 / 3;
  background-image: repeating-linear-gradient(-45deg, rgba(217, 164, 65, .06) 0 1px, transparent 1px 14px);
}
.rk-ph::before {
  content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center;
  padding: 10px; text-align: center; font-size: .66rem; letter-spacing: .08em; color: var(--rk-mute);
}
.rk-ph img, .rk-ph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rk-ph [hidden] { display: none; }

/* ---------- Menu: the 7 items, straight under the intro ---------- */
.rk-menu { padding: 0 0 var(--rk-section); }
.rk-menu-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px;
  padding-bottom: 14px; border-bottom: 1px solid var(--rk-gold);
}
.rk-menu-head .rk-kicker { margin: 0; font-size: .8rem; }
.rk-menu-call { color: var(--rk-gold-soft); font-size: .85rem; min-height: 44px; display: inline-flex; align-items: center; }
.rk-items { list-style: none; margin: 0; padding: 0; counter-reset: rk; display: grid; }
.rk-item {
  counter-increment: rk; position: relative;
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  --ph: 104px; /* photo width */
  padding: 18px 0; border-bottom: 1px solid var(--rk-line);
}
.rk-item .rk-ph {
  width: calc(var(--ph) * var(--grow, 1)); border-radius: 10px; /* softly rounded corners */
  /* springy, Apple-Dock-like easing: grows quickly, settles softly */
  transition: width .55s cubic-bezier(.22, 1.25, .36, 1), box-shadow .45s var(--rk-ease);
}
/* dish photos: Apple-Dock style hover (computers only, not clickable).
   The photo under the mouse grows big and pushes its text aside;
   the dishes just above and below it grow a little too. */
@media (hover: hover) and (pointer: fine) {
  .rk-item:hover .rk-ph { --grow: 1.8; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .95), 0 0 0 1px var(--rk-gold); }
  .rk-item:hover + .rk-item .rk-ph,
  .rk-item:has(+ .rk-item:hover) .rk-ph { --grow: 1.3; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 960px) {
  /* two columns: the neighbours above/below are two items away */
  .rk-item:hover + .rk-item .rk-ph,
  .rk-item:has(+ .rk-item:hover) .rk-ph { --grow: 1; }
  .rk-item:hover + .rk-item + .rk-item .rk-ph,
  .rk-item:has(+ .rk-item + .rk-item:hover) .rk-ph { --grow: 1.3; }
}
.rk-item-body h3 {
  font-family: var(--rk-display); font-weight: 900; text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(1.55rem, 4vw, 2rem); line-height: 1; margin: 0 0 6px;
}
.rk-item-body h3::before {
  content: counter(rk, decimal-leading-zero); display: block; margin-bottom: 6px;
  font-family: var(--rk-sans); font-size: .68rem; font-weight: 600; letter-spacing: .2em; color: var(--rk-gold);
}
.rk-item-body p { margin: 0; color: var(--rk-mute); font-size: .92rem; line-height: 1.5; }
.rk-price {
  font-family: var(--rk-display); font-weight: 700; font-size: 1.6rem; color: var(--rk-gold-soft);
  align-self: start; padding-top: 18px; white-space: nowrap;
}
.rk-item--star .rk-item-body h3 { color: var(--rk-gold-soft); }
.rk-item--star .rk-price { color: var(--rk-bone); background: var(--rk-red); padding: 2px 10px; margin-top: 16px; }

@media (max-width: 520px) {
  .rk-item { grid-template-columns: auto 1fr; --ph: 84px; }
  .rk-price { grid-column: 2; padding-top: 0; font-size: 1.4rem; }
  .rk-item--star .rk-price { justify-self: start; margin-top: 0; }
}
@media (min-width: 960px) {
  .rk-items { grid-template-columns: 1fr 1fr; column-gap: 64px; }
  .rk-item { --ph: 130px; gap: 24px; padding: 22px 0; }
}

/* ---------- Visit ---------- */
.rk-visit { padding: var(--rk-section) 0; background: linear-gradient(180deg, transparent, rgba(60, 6, 8, .45) 60%, transparent); }
.rk-visit-grid { display: grid; gap: 40px; }
.rk-visit-info p:not(.rk-kicker) { margin: 0 0 26px; font-size: 1.1rem; }
.rk-visit-info a { text-decoration: none; border-bottom: 1px solid var(--rk-line); transition: border-color .25s; }
.rk-visit-info a:hover { border-color: var(--rk-gold); }
.rk-hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 26px; margin: 0; }
.rk-hours dt { color: var(--rk-mute); }
.rk-hours dd { margin: 0; }
@media (min-width: 900px) { .rk-visit-grid { grid-template-columns: 1.3fr 1fr 1fr; align-items: start; } }

/* ---------- Footer ---------- */
.rk-foot { border-top: 1px solid var(--rk-line); padding: 28px 0 100px; font-size: .8rem; color: var(--rk-mute); }
.rk-foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.rk-foot p { margin: 0; }
.rk-foot a { color: var(--rk-bone); }

/* ---------- Scroll-in animation (used by js/main.js) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--rk-ease), transform .9s var(--rk-ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   "Call to order" box — same behaviour as the main site
   (js/main.js section 7), Royal Kebab look: embers instead of clouds
   ========================================================= */
.call-widget {
  position: fixed; right: 32px; bottom: 32px; z-index: 90; /* kept away from the screen edges */
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.call-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px 0 16px;
  border: 1px solid var(--rk-gold); border-radius: 999px; background: var(--rk-red); color: var(--rk-bone);
  font: 700 1.05rem/1 var(--rk-display); letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
  box-shadow: 0 0 0 0 rgba(195, 22, 28, .5), 0 16px 36px -12px rgba(0, 0, 0, .8);
  transition: background .3s;
  animation: rkFloat 4.5s ease-in-out infinite, rkHeat 2.4s ease-in-out infinite;
}
.call-toggle:hover { background: var(--rk-red-deep); }
.call-toggle svg { width: 20px; height: 20px; flex: none; }
.call-toggle .call-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rk-gold-soft); animation: rkBlink 1.4s infinite; }
@keyframes rkFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes rkHeat { 50% { box-shadow: 0 0 26px 2px rgba(195, 22, 28, .45), 0 16px 36px -12px rgba(0, 0, 0, .8); } }
@keyframes rkBlink { 50% { opacity: .25; } }

.call-panel {
  position: relative; width: min(300px, calc(100vw - 32px));
  background: var(--rk-coal); border: 1px solid var(--rk-gold); padding: 22px 22px 20px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9);
  opacity: 0; visibility: hidden; transform: translateY(20px) scale(.6); transform-origin: 85% 100%; filter: blur(6px);
  transition: opacity .35s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1), filter .4s ease, visibility .5s;
}
.call-widget.is-open .call-panel { opacity: 1; visibility: visible; transform: none; filter: none; }
.call-panel::after {
  content: ""; position: absolute; right: 28px; bottom: -7px; width: 14px; height: 14px;
  background: var(--rk-coal); border-right: 1px solid var(--rk-gold); border-bottom: 1px solid var(--rk-gold); transform: rotate(45deg);
}
.call-panel .call-panel-title { font: 900 2rem/1 var(--rk-display); text-transform: uppercase; margin: 0 0 8px; color: var(--rk-gold-soft); }
.call-panel p { font-size: .88rem; margin: 0 0 14px; color: var(--rk-mute); }
.call-number {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  background: var(--rk-red); color: var(--rk-bone); text-decoration: none;
  font: 700 1.5rem/1 var(--rk-display); letter-spacing: .06em;
}
.call-number svg { width: 20px; height: 20px; }
.call-number:hover { background: var(--rk-red-deep); }
.call-panel .call-note { font-size: .76rem; margin: 12px 0 0; text-align: center; }
.call-close {
  position: absolute; top: 6px; right: 6px; width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer; font-size: 1.05rem; color: var(--rk-bone);
}
.call-close:hover { color: var(--rk-gold); }
.call-tap { display: none; }
@media (hover: none) and (pointer: coarse) { .call-tap { display: inline; } }
@media (max-width: 480px) {
  .call-widget { right: 20px; bottom: 22px; }
  .call-toggle { min-height: 48px; padding: 0 18px 0 14px; font-size: .98rem; }
}

/* embers drifting up from the button */
.call-clouds { position: absolute; right: 0; bottom: 0; width: 180px; height: 52px; pointer-events: none; z-index: -1; }
.call-clouds span {
  position: absolute; bottom: 30px; width: 5px; height: 5px; border-radius: 50%; opacity: 0;
  background: var(--rk-gold-soft); box-shadow: 0 0 8px 2px rgba(217, 120, 40, .8);
  animation: rkEmber 3.2s ease-out infinite;
}
.call-clouds span:nth-child(1) { right: 22px; }
.call-clouds span:nth-child(2) { right: 64px; animation-delay: .7s; width: 4px; height: 4px; }
.call-clouds span:nth-child(3) { right: 110px; animation-delay: 1.5s; }
.call-clouds span:nth-child(4) { right: 140px; animation-delay: 2.2s; width: 3px; height: 3px; }
.call-clouds span:nth-child(5) { right: 40px; animation-delay: 2.7s; width: 3px; height: 3px; }
@keyframes rkEmber {
  0% { opacity: 0; transform: translate(0, 0); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(-14px, -70px); }
}
.call-widget.is-open .call-toggle, .call-widget.is-open .call-clouds span { animation-play-state: paused; }

/* ---------- Less motion for people who ask for it ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Phone tab bar (same links as the Dar Al Assil pages, Royal Kebab colours) ---------- */
.tabbar { display: none; }
@media (max-width: 899px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    display: grid; grid-template-columns: repeat(5, 1fr);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgba(11, 9, 8, .92);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--rk-line);
  }
  .tabbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 56px; border-radius: 12px; text-decoration: none; color: var(--rk-mute);
    font: 600 .68rem/1 var(--rk-sans); letter-spacing: .04em; text-transform: uppercase;
    -webkit-tap-highlight-color: transparent; transition: color .25s, transform .2s;
  }
  .tabbar a:active { transform: scale(.92); }
  .tabbar svg {
    width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6;
    stroke-linecap: round; stroke-linejoin: round;
  }
  .tabbar a[aria-current="page"] { color: var(--rk-gold-soft); background: rgba(195, 22, 28, .28); }
  .tabbar-rk img { height: 26px; width: auto; }
  .tabbar-rk span { white-space: nowrap; letter-spacing: 0; font-size: .62rem; }
  .call-widget { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
