/* =========================================================
   Kebab Express — site styles
   Colours come from the logo: ember red + saffron on charcoal.
   ========================================================= */

:root {
  --charcoal: #1a1614;
  --charcoal-2: #24201d;
  --smoke: #3b3430;
  --ember: #bf1e2e;
  --ember-dark: #971523;
  --saffron: #f9a12d;
  --cream: #f6eee1;
  --paper: #fffaf2;
  --ink: #241e1b;
  --muted: #6b5f57;
  --line: #e4d7c4;

  --font-display: "Cinzel", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 72rem;
  --radius: 14px;
  --shadow: 0 10px 30px rgb(26 22 20 / .12);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 8rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.65 var(--font-body);
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--ember); text-underline-offset: .18em; }
a:hover { color: var(--ember-dark); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--charcoal); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-block; margin-bottom: .75rem;
  font: 600 .78rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase;
  color: var(--ember);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 .95rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ember); color: #fff; }
.btn-primary:hover { background: var(--ember-dark); color: #fff; }
.btn-ghost { border-color: currentColor; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--charcoal); }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: var(--smoke); color: #fff; }

/* =========================================================
   Header (CSS-only mobile menu: checkbox + label)
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 3px solid var(--ember);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 5.5rem;
}
.logo { display: block; padding-block: .5rem; }
.logo img { width: 100px; height: auto; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-button {
  display: grid; place-items: center; width: 3rem; height: 3rem; cursor: pointer;
  border-radius: 10px; color: var(--charcoal);
}
.nav-toggle:focus-visible + .nav-button { outline: 3px solid var(--saffron); }
.nav-button span,
.nav-button span::before,
.nav-button span::after {
  display: block; width: 1.5rem; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .25s, background-color .25s;
}
.nav-button span::before, .nav-button span::after { content: ""; position: absolute; left: 0; }
.nav-button span::before { top: -7px; }
.nav-button span::after { top: 7px; }
.nav-toggle:checked + .nav-button span { background: transparent; }
.nav-toggle:checked + .nav-button span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked + .nav-button span::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--cream); border-bottom: 3px solid var(--ember);
  display: none;
}
.nav-toggle:checked ~ .site-nav { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: .5rem 1rem 1.25rem; }
.site-nav a {
  display: block; padding: .8rem .25rem; border-bottom: 1px solid var(--line);
  color: var(--ink); font-weight: 500; text-decoration: none;
}
.site-nav a:hover { color: var(--ember); }
.site-nav .nav-call { margin-top: 1rem; border: 0; justify-content: center; display: flex; color: #fff; }
.site-nav .nav-call:hover { color: #fff; }

/* Current page: set by the class on <body>, so the header HTML stays identical on every page */
.page-home .site-nav a[href="/"],
.page-gallery .site-nav a[href="/gallery/"],
.page-menu .site-nav a[href="/shop/"],
.page-catering .site-nav a[href="/catering/"],
.page-contact .site-nav a[href="/contact/"] { color: var(--ember); font-weight: 700; }

@media (min-width: 60rem) {
  .header-inner { min-height: 7rem; }
  .logo img { width: 132px; }
  .nav-button { display: none; }
  .site-nav { display: block; position: static; background: none; border: 0; }
  .site-nav ul { display: flex; align-items: center; gap: .25rem; padding: 0; }
  .site-nav a { border: 0; padding: .6rem .9rem; border-radius: 999px; }
  .site-nav .nav-call { margin: 0 0 0 .75rem; padding: .7rem 1.2rem; }
  .page-home .site-nav a[href="/"],
  .page-gallery .site-nav a[href="/gallery/"],
  .page-menu .site-nav a[href="/shop/"],
  .page-catering .site-nav a[href="/catering/"],
  .page-contact .site-nav a[href="/contact/"] { background: rgb(191 30 46 / .09); }
}

/* =========================================================
   Home: hero with CSS-only crossfading slides
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(82vh, 44rem);
  display: grid; align-items: end;
  background: var(--charcoal); color: #fff;
}
.slides { position: absolute; inset: 0; z-index: -2; margin: 0; padding: 0; list-style: none; }
.slide { position: absolute; inset: 0; opacity: 0; animation: slide-fade 24s infinite; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide:nth-child(1) { opacity: 1; animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 6s; }
.slide:nth-child(3) { animation-delay: 12s; }
.slide:nth-child(4) { animation-delay: 18s; }
.slide-caption {
  position: absolute; right: 1rem; top: 1rem;
  padding: .35rem .8rem; border-radius: 999px;
  background: rgb(26 22 20 / .65); color: var(--saffron);
  font: 600 .72rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
}
/* 4 slides × 6s: each fades in, holds, fades out */
@keyframes slide-fade {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  25%  { opacity: 1; }
  29%  { opacity: 0; }
  100% { opacity: 0; }
}
.slide:nth-child(1) { animation-name: slide-fade-first; }
@keyframes slide-fade-first {
  0%, 25% { opacity: 1; }
  29%, 96% { opacity: 0; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .slide { animation: none; }
  .slide:not(:first-child) { display: none; }
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(26 22 20 / .25) 0%, rgb(26 22 20 / .55) 45%, rgb(26 22 20 / .92) 100%);
}
.hero-content { padding: 6rem 0 3rem; max-width: 40rem; }
.hero .eyebrow { color: var(--saffron); }
.hero p { font-size: 1.1rem; color: #eee4d8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- Generic sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--charcoal); color: #eee4d8; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--saffron); }
.big-text { font-size: clamp(1.2rem, 3vw, 1.5rem); font-family: var(--font-display); }
.section-head { max-width: 42rem; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }

.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 52rem) { .split { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split-media.portrait img { aspect-ratio: 4 / 5; object-fit: cover; max-height: 34rem; }

.features { display: grid; gap: 1rem; margin-top: 2rem; padding: 0; list-style: none; }
@media (min-width: 36rem) { .features { grid-template-columns: repeat(3, 1fr); } }
.features li { padding: 1rem 1.1rem; border-left: 3px solid var(--saffron); background: var(--cream); border-radius: 0 10px 10px 0; }
.features strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.features span { font-size: .92rem; color: var(--muted); }

/* Dish cards (home) */
.dish-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); padding: 0; margin: 0; list-style: none; }
@media (min-width: 52rem) { .dish-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.dish-grid a { display: block; color: inherit; text-decoration: none; }
.dish-grid img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); width: 100%; transition: transform .3s; }
.dish-grid a:hover img { transform: scale(1.03); }
.dish-grid span { display: block; margin-top: .6rem; font-family: var(--font-display); font-weight: 600; }
.center-cta { text-align: center; margin-top: 2.5rem; }

/* Rewards */
.rewards { text-align: center; }
.rewards .years { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.rewards .years li {
  display: grid; place-items: center; width: 5rem; height: 5rem; border-radius: 50%;
  border: 2px solid var(--saffron); color: var(--saffron);
  font: 700 1.1rem/1 var(--font-display);
}

/* Visit band */
.visit { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .visit { grid-template-columns: 1fr auto; align-items: center; } }
.visit address { font-style: normal; font-size: 1.1rem; }
.visit .hero-actions { margin: 0; }

/* =========================================================
   Page banner (inner pages)
   ========================================================= */
.page-banner {
  background:
    radial-gradient(ellipse at 80% 120%, rgb(249 161 45 / .28), transparent 55%),
    radial-gradient(ellipse at 10% -20%, rgb(191 30 46 / .35), transparent 50%),
    var(--charcoal);
  color: #fff; padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.5rem, 6vw, 3.5rem);
}
.page-banner .eyebrow { color: var(--saffron); }
.page-banner p { color: #e6dacb; max-width: 38rem; margin: 0; }

/* =========================================================
   Menu page
   ========================================================= */
.menu-nav {
  position: sticky; top: calc(5.5rem + 3px); z-index: 40;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
@media (min-width: 60rem) { .menu-nav { top: calc(7rem + 3px); } }
.menu-nav ul {
  display: flex; gap: .5rem; margin: 0; padding: .75rem 0; list-style: none;
  overflow-x: auto; scrollbar-width: none;
}
.menu-nav ul::-webkit-scrollbar { display: none; }
.menu-nav a {
  display: block; white-space: nowrap; padding: .45rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  color: var(--ink); font-size: .9rem; font-weight: 500; text-decoration: none;
}
.menu-nav a:hover { border-color: var(--ember); color: var(--ember); }

.menu-section { padding: 3rem 0; border-bottom: 1px solid var(--line); }
.menu-section:last-of-type { border-bottom: 0; }
.menu-section > .wrap > header { margin-bottom: 1.5rem; }
.menu-section h2 { margin-bottom: .25rem; }
.menu-note { color: var(--muted); font-style: italic; margin: 0; }

/* Photo strip: swipe on phones, grid on larger screens */
.menu-photos {
  display: grid; grid-auto-flow: column; grid-auto-columns: 70%; gap: .9rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 .75rem; margin: 0 0 1.75rem;
  list-style: none;
}
.menu-photos li { scroll-snap-align: start; }
.menu-photos figure { margin: 0; }
.menu-photos img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; width: 100%; background: var(--cream); }
.menu-photos figcaption { margin-top: .45rem; font-size: .88rem; font-weight: 500; color: var(--muted); }
@media (min-width: 40rem) { .menu-photos { grid-auto-columns: 40%; } }
@media (min-width: 60rem) {
  .menu-photos { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; }
}

/* Item list: name ...... price */
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 3rem; }
@media (min-width: 52rem) { .menu-list { grid-template-columns: 1fr 1fr; } }
.item {
  display: flex; align-items: baseline; gap: .75rem;
  padding: .85rem 0; border-bottom: 1px dashed var(--line);
}
.item-name { margin: 0; font: 600 1.05rem/1.35 var(--font-body); }
.item-dots { flex: 1; border-bottom: 2px dotted #cdbda6; transform: translateY(-.3em); min-width: 1rem; }
.item-price { margin: 0; font-weight: 700; color: var(--ember); white-space: nowrap; }
.item-desc { flex-basis: 100%; margin: .15rem 0 0; font-size: .9rem; color: var(--muted); }
.item { flex-wrap: wrap; }
.item .item-name { flex: 0 1 auto; }

/* =========================================================
   Gallery (CSS-only lightbox using :target)
   ========================================================= */
.gallery-grid {
  display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr);
  list-style: none; margin: 0; padding: 0;
}
@media (min-width: 48rem) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 70rem) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid a { display: block; overflow: hidden; border-radius: 12px; background: var(--cream); }
.gallery-grid img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .35s; }
.gallery-grid a:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; place-items: center; padding: 3.5rem 1rem 1rem;
  background: rgb(15 12 11 / .94);
}
.lightbox:target { display: grid; }
.lightbox figure { margin: 0; max-width: min(100%, 68rem); }
.lightbox img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: 8px; }
.lightbox figcaption { color: #e6dacb; text-align: center; margin-top: .75rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: rgb(255 255 255 / .12); color: #fff; font-size: 1.6rem; line-height: 1; text-decoration: none;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--ember); color: #fff; }
.lightbox-close { top: .75rem; right: .75rem; }
.lightbox-prev { left: .75rem; bottom: 1rem; }
.lightbox-next { right: .75rem; bottom: 1rem; }
@media (min-width: 48rem) {
  .lightbox-prev, .lightbox-next { bottom: auto; top: 50%; transform: translateY(-50%); }
}

/* =========================================================
   Contact / catering
   ========================================================= */
.info-cards { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .info-cards { grid-template-columns: repeat(3, 1fr); } }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: 0 2px 0 var(--line);
}
.info-card h2 { font-size: 1.3rem; }
.info-card address { font-style: normal; }
.info-card .btn { margin-top: .75rem; }
.big-link { font-size: 1.35rem; font-weight: 600; text-decoration: none; }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .35rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--charcoal-2); color: #d9cdbf; padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--saffron); }
.site-footer h2 { font-size: 1rem; color: var(--saffron); letter-spacing: .08em; margin-bottom: .75rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 40rem) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60rem) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }
.site-footer address { font-style: normal; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .35rem; }
.footer-logo { display: inline-block; background: var(--cream); padding: .6rem .8rem; border-radius: 12px; margin-bottom: 1rem; }
.footer-logo img { width: 110px; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--smoke); font-size: .85rem; color: #a99c8f; }
