/*
 * site.css: the only stylesheet for mkzxpress.uk.
 *
 * Sections, in order:
 *   1. Tokens        colours, fonts, spacing, breakpoints (custom properties)
 *   2. Fonts         @font-face for self-hosted fonts
 *   3. Base          reset and element defaults
 *   4. Layout        container, sections, columns
 *   5. Components    one block per component: "=== Component: <name> ==="
 *   6. Pages         rare page-specific rules: "=== Page: <path> ==="
 *   7. Utilities     a handful of helpers
 *
 * Breakpoints (the original's Elementor defaults; media queries can't use custom properties):
 *   mobile  ≤ 767px    tablet 768px–1024px    desktop ≥ 1025px
 *   The menu collapses to the hamburger dropdown at ≤ 1024px (as the original).
 *
 * Editing: change tokens to restyle the site; add new components as new blocks;
 * add modifier classes (.button--x) instead of changing a component for one page.
 */

/* ============ 1. Tokens ============ */
:root {
  /* Colours (from the original's Elementor kit and page CSS) */
  --color-primary: #ff7a30;      /* orange: nav, tagline, buttons, outlines, footer text */
  --color-black: #000000;        /* page, header and footer background; button text */
  --color-white: #ffffff;        /* "Our menu" heading fill */
  --color-text: #000000;

  /* Typography
   * --font-display replaces the original custom font "Absender" (no licence on file:
   * decision d10). Share Tech is the closest Google Font; the letter-spacing and the
   * thin stroke (faux bold) bring its width and weight close to Absender.
   * To go back to the original font, see "2. Fonts" below (one line). */
  --font-display: "Share Tech", "Absender", sans-serif;
  --display-tracking: 0.06em;
  --display-stroke: 0.04em;      /* set to 0 to drop the faux bold */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --text-nav: 20px;
  --text-button: 24px;
  --text-lead: 26px;             /* tagline, about/app text, outlet names */
  --text-heading: 74px;          /* outlined section headings */
  --text-footer: 20px;

  /* Spacing and shape */
  --container: 1140px;
  --gutter: 10px;                /* Elementor column padding */
  --radius-card: 20px;
  --header-h: 66px;              /* sticky header height (anchor scroll offset) */
  --heading-stroke: 5px;
  --heading-shadow: 0 0 10px rgb(0 0 0 / 0.3);

  /* Motion */
  --duration: 300ms;
  --ease: ease;
}
@media (max-width: 1024px) {
  :root { --text-lead: 20px; --header-h: 62px; }
}
@media (max-width: 767px) {
  :root { --header-h: 116px; }
}

/* ============ 2. Fonts ============ */
/* Share Tech (OFL, Google Fonts), latin subset: replaces Absender (decision d10). */
@font-face { font-family: "Share Tech"; src: url("/assets/fonts/share-tech-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
/* Original font, kept at its original upload URL but not loaded. To switch back:
 * uncomment this line and change --font-display to: "Absender", sans-serif
 * (and set --display-tracking and --display-stroke to 0). */
/* @font-face { font-family: "Absender"; src: url("/wp-content/uploads/2023/09/absender.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; } */
/* Inter (OFL, Google Fonts), variable, latin subset: footer (400, 600). */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ============ 3. Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.5; color: var(--color-text); background: var(--color-black); }
img, svg, video, iframe { max-width: 100%; }
img, video { height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1; }
p { margin: 0; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--duration) var(--ease); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--color-white); outline-offset: 2px; }

/* ============ 4. Layout ============ */
.container { width: min(100%, var(--container)); margin-inline: auto; }
/* Elementor-style columns: each column has a 10px gutter on every side. */
.col { padding: var(--gutter); min-width: 0; }
.cols { display: flex; }
@media (max-width: 767px) {
  .cols { flex-direction: column; }
}

/* ============ 5. Components ============ */

/* === Component: skip-link === */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; padding: 8px 16px; background: var(--color-primary); color: var(--color-black); }
.skip-link:focus { left: 16px; }

/* === Component: display-text (the Absender look: tagline, nav, buttons, lead text) === */
.display-text {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--display-tracking);
  -webkit-text-stroke: var(--display-stroke) currentColor;
}

/* === Component: icon-sprite (SVG symbols, defined once in the header) === */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* === Component: social-icon (orange circle, black Facebook "f") === */
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--color-primary); color: var(--color-black); transition: opacity var(--duration) var(--ease); }
.social-icon:hover { opacity: 0.9; }
.social-icon svg { width: 13px; height: 21px; }

/* === Component: site-header (sticky black bar: empty | nav | Facebook) === */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--color-black); }
.site-header__inner { display: flex; align-items: flex-start; position: relative; }
.site-header__start { width: 25%; }
.site-header__middle { width: 49.664%; padding: var(--gutter); }
.site-header__end { width: 25%; padding: var(--gutter); display: flex; justify-content: center; }
.nav-toggle { display: none; }
.site-nav__list { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
  position: relative; display: block; padding: 13px 20px;
  font-family: var(--font-display); font-size: var(--text-nav); line-height: 20px; font-weight: 400;
  text-transform: uppercase; letter-spacing: var(--display-tracking); -webkit-text-stroke: var(--display-stroke) currentColor;
  color: var(--color-primary);
}
/* Underline pointer (Elementor "underline" + "fade") on hover and on the section in view */
.site-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--color-primary); opacity: 0; transition: opacity var(--duration) var(--ease); }
.site-nav__list a:hover::after, .site-nav__list a:focus-visible::after, .site-nav__list a.is-active::after { opacity: 1; }

@media (max-width: 1024px) {
  .site-header__inner { align-items: center; position: static; }
  .site-header__middle { display: flex; justify-content: center; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 33px; height: 33px; padding: 5.5px; border: 0; border-radius: 0; cursor: pointer;
    background: transparent; color: var(--color-primary);
    transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease);
  }
  .nav-toggle:hover, .nav-toggle:focus-visible, .nav-toggle[aria-expanded="true"] { background: var(--color-primary); color: var(--color-black); }
  .nav-toggle__close { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
  /* Full-width dropdown that slides down over the page (grid 0fr -> 1fr) */
  .site-nav {
    position: absolute; left: 0; right: 0; top: calc(var(--toggle-bottom, 53px));
    display: grid; grid-template-rows: 0fr; align-items: stretch;
    background: var(--color-black); visibility: hidden;
    transition: grid-template-rows var(--duration) var(--ease), visibility 0s linear var(--duration);
  }
  .site-nav.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows var(--duration) var(--ease), visibility 0s; }
  .site-nav.is-instant { transition: none; }
  .site-nav__clip { overflow: hidden; min-height: 0; }
  .site-nav__list { display: block; }
  .site-nav__list a { padding: 10px 20px; text-align: center; min-height: 40px; }
  .site-nav__list a::after { display: none; }
  .site-nav__list a:hover, .site-nav__list a:focus-visible { background: var(--color-primary); color: var(--color-black); }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .site-header__middle, .site-header__end { padding-block: var(--gutter); }
}
@media (max-width: 767px) {
  .site-header__inner { flex-direction: column; align-items: stretch; }
  .site-header__start { width: 100%; height: 1px; }
  .site-header__middle, .site-header__end { width: 100%; }
  .site-nav { --toggle-bottom: 54px; }
}

/* === Component: button (orange block, black display text) === */
.button {
  display: inline-block; padding: 12px 18px;
  font-family: var(--font-display); font-size: var(--text-button); line-height: 24px; font-weight: 400;
  text-transform: uppercase; letter-spacing: var(--display-tracking); -webkit-text-stroke: var(--display-stroke) currentColor;
  color: var(--color-black); background: var(--color-primary);
  transition: opacity var(--duration) var(--ease);
}
.button:hover { opacity: 0.9; }
.button-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 21px; list-style: none; margin: 0; padding: 0; }
.button-group--tight { gap: 14px; }
@media (max-width: 767px) {
  .button-group { gap: 22px; }
  .button-group--tight { gap: 9px; }
}

/* === Component: outline-heading (big display heading, filled + orange outline) === */
.outline-heading {
  font-family: var(--font-display); font-size: var(--text-heading); line-height: 1; font-weight: 400;
  text-transform: uppercase; letter-spacing: var(--display-tracking); text-align: center;
  color: var(--color-black);
  -webkit-text-stroke: var(--heading-stroke) var(--color-primary);
  text-shadow: var(--heading-shadow);
  /* Share Tech is lighter than Absender: drawing the stroke under the fill keeps the full
     letter weight (newer browsers; older ones show the original centred stroke). */
  paint-order: stroke fill;
}
.outline-heading--hollow { paint-order: normal; }
.outline-heading--light { color: var(--color-white); }
@media (max-width: 1024px) {
  .outline-heading { --text-heading: 56px; --heading-stroke: 2px; }
  .outline-heading--light { --heading-stroke: 3px; }
  .outline-heading--large { --text-heading: 70px; --heading-stroke: 5px; }
}

/* === Component: lead-text (display text block: tagline, about/app copy) === */
.lead-text { font-size: var(--text-lead); line-height: 23px; text-align: center; }

/* === Component: tile-bg (orange burger watermark tile; seam at 1280px is in the source images) === */
.tile-bg { background-color: var(--color-primary); background-image: url("/wp-content/uploads/2023/09/watermark_bg-1.png"); }

/* === Component: round-image (decorative circular food photos, alt="" as the original) === */
.round-image { width: 100%; height: auto; }

/* === Component: video (native, autoplay muted loop: as the original) === */
.video { width: 100%; max-width: 300px; margin-inline: auto; aspect-ratio: 9 / 16; object-fit: cover; background: var(--color-black); }

/* === Component: outlet-card (orange tile card with a map) === */
.outlet-card { margin: 10px; padding: var(--gutter); border-radius: var(--radius-card); background-color: var(--color-primary); background-image: url("/wp-content/uploads/2023/09/watermark_bg-1.png"); background-position: center; background-size: cover; background-repeat: repeat; }
.outlet-card__name { margin: 26px 0 46px; font-size: var(--text-lead); line-height: 1px; text-align: center; color: var(--color-black); }
.outlet-card__map { border: 6px solid var(--color-primary); border-radius: var(--radius-card); overflow: hidden; }
@media (max-width: 1024px) {
  .outlet-card__name { margin: 20px 30px 40px; }
}

/* === Component: map === */
.map { display: block; width: 100%; height: 460px; border: 0; }
@media (max-width: 1024px) {
  .map { height: 380px; }
}

/* === Component: contact-email (kept for a future form; the original has none) === */
.contact-email { display: grid; gap: 16px; justify-items: center; text-align: center; font-family: var(--font-body); color: var(--color-primary); }
.contact-email__address { font-weight: 600; word-break: break-word; }

/* === Component: site-footer (5 columns: logo, quick links, two addresses, hours) === */
.site-footer { background: var(--color-black); font-family: var(--font-body); color: var(--color-primary); }
.site-footer__grid { display: grid; grid-template-columns: repeat(5, 1fr); padding-block: 50px; }
.site-footer__col { padding: var(--gutter); min-width: 0; }
.site-footer__col--logo img { margin-inline: auto; }
.site-footer__heading { margin-bottom: 20px; font-size: var(--text-footer); line-height: 1; font-weight: 600; color: var(--color-primary); }
.site-footer__list { list-style: none; margin: 0; padding: 0; font-size: var(--text-footer); line-height: normal; }
.site-footer__list a { color: var(--color-primary); }
.site-footer__list + .social-icon { margin-top: 20px; }
.site-footer__list a:hover { opacity: 0.85; }
.site-footer__bar { padding: var(--gutter); }
.site-footer__copyright { margin-block: 1em; font-size: var(--text-footer); line-height: 23px; text-align: center; }
.site-footer__copyright a { color: inherit; }
@media (max-width: 767px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__col { text-align: center; }
}

/* === Component: intro (home: logo + tagline on black, pulled up under the sticky header as the original) === */
.intro { background: var(--color-black); margin-top: -71px; }
.intro__inner { display: flex; flex-direction: column; align-items: center; padding: 153px var(--gutter) 80px; text-align: center; }
.intro__logo { width: 17%; margin: 0 auto 20px; }
.intro__tagline { margin-block: 1em; color: var(--color-primary); }
@media (max-width: 1024px) {
  .intro__logo { width: 23%; }
}
@media (max-width: 767px) {
  .intro { margin-top: -156px; }
  .intro__inner { padding-top: 223px; }
  .intro__logo { width: 47%; }
}

/* === Component: order-band (home: food photo band with the two order buttons, half a screen tall) === */
.order-band { position: relative; z-index: 20; display: flex; align-items: center; justify-content: center; min-height: 50vh; padding: var(--gutter); background: url("/wp-content/uploads/2023/09/Rectangle-9.png") center / cover no-repeat; }

/* === Component: about (home: three columns, circular photos bleeding off the edges; clipped to the section) === */
.about { overflow: hidden; }
.about__col { flex: 1 1 0; min-width: 0; padding: var(--gutter); display: flex; flex-direction: column; }
.about__left-image { width: 100%; margin: -130px 0 0 -130px; }
.about__col--middle { padding: 48px 0; justify-content: center; align-items: center; gap: 20px; }
.about__text { color: var(--color-text); }
.about__col--right { justify-content: flex-end; }
.about__right-image { margin: 0 -182px -178px 0; }
@media (max-width: 1024px) {
  .about__left-image { margin: -53px; }
  .about__col--right { margin-top: 154px; }
}
@media (max-width: 767px) {
  .about__col--left { align-items: center; padding-bottom: 20px; }
  .about__left-image { margin: -82px 0 0; width: 100%; max-width: 393px; }
  .about__right-image { margin: -111px; }
  .about__right-image img { width: 66%; margin-inline: auto; }
}

/* === Component: menu-band (home: "Our menu" on dark food photo, photos on an orange diagonal) === */
.menu-band { background-image: url("/wp-content/uploads/2023/09/Rectangle-5.png"); }
.menu-band__text, .menu-band__image { flex: 1 1 0; min-width: 0; }
.menu-band__text { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 80px var(--gutter) 110px; }
.menu-band__image img { width: 100%; }
@media (max-width: 1024px) {
  .menu-band__text { padding-block: 30px 70px; }
}

/* === Component: app-promo (home: "Download our app" text, store badges, phone mock-up) === */
.app-promo__text, .app-promo__image { flex: 1 1 0; min-width: 0; }
.app-promo__text { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; padding: 80px var(--gutter); }
.app-promo__copy { color: var(--color-text); }
.app-promo__image img { width: 85%; margin-inline: auto; }
@media (max-width: 1024px) {
  .app-promo__text { padding-block: 40px 80px; }
  .app-promo__copy { margin-inline: 30px; }
  .app-promo__image img { width: 100%; }
}

/* === Component: outlets (home: heading + two map cards) === */
.outlets__heading { padding: 60px var(--gutter) 30px; }
.outlets__col { flex: 1 1 0; min-width: 0; }

/* === Component: not-found (404 page) === */
.not-found { padding: 120px 20px; text-align: center; background: var(--color-black); }
.not-found .lead-text { color: var(--color-primary); margin: 30px auto; max-width: 600px; }

/* ============ 6. Pages ============ */

/* ============ 7. Utilities ============ */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-center { text-align: center; }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
