/*
Theme Name: Makizu
Theme URI: https://makizu.co.uk
Author: Makizu
Author URI: https://makizu.co.uk
Description: Custom WordPress theme for Makizu — Pan Asian Street Food & Hand Rolled Sushi, Manchester. Converted 1:1 from the original Makizu Lovable design.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: makizu
*/

/* ==========================================================================
   Makizu design system — ported 1:1 from src/styles.css (Tailwind v4 tokens)
   Brand: olive/bamboo green from the logo, warm rice-paper neutrals,
   charcoal ink for contrast. All colours are oklch tokens.
   ========================================================================== */

:root {
  --radius: 0.75rem;

  /* rice-paper warm neutral base */
  --background: oklch(0.985 0.008 85);
  --foreground: oklch(0.21 0.015 60);

  --card: oklch(1 0 0);
  --card-foreground: oklch(0.21 0.015 60);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.21 0.015 60);

  /* logo green */
  --brand: oklch(0.56 0.095 128);
  --brand-deep: oklch(0.42 0.075 130);
  --brand-foreground: oklch(0.985 0.008 85);

  --primary: var(--brand);
  --primary-foreground: var(--brand-foreground);

  --secondary: oklch(0.945 0.014 88);
  --secondary-foreground: oklch(0.27 0.02 60);

  --muted: oklch(0.955 0.012 88);
  --muted-foreground: oklch(0.49 0.018 70);

  --accent: oklch(0.93 0.03 105);
  --accent-foreground: oklch(0.25 0.02 60);

  /* charcoal ink sections */
  --ink: oklch(0.19 0.012 60);
  --ink-foreground: oklch(0.97 0.01 85);

  /* warm ember for prices / highlights */
  --ember: oklch(0.62 0.16 45);
  --sand: oklch(0.9 0.025 90);

  --destructive: oklch(0.55 0.2 27);
  --destructive-foreground: oklch(0.985 0.008 85);

  --border: oklch(0.9 0.015 85);
  --input: oklch(0.9 0.015 85);
  --ring: var(--brand);

  --shadow-soft: 0 2px 8px -2px oklch(0.21 0.015 60 / 0.08);
  --shadow-card: 0 18px 40px -24px oklch(0.21 0.015 60 / 0.35);
  --shadow-lift: 0 28px 60px -28px oklch(0.21 0.015 60 / 0.45);
  --gradient-brand: linear-gradient(135deg, var(--brand-deep), var(--brand));
  --gradient-ink: linear-gradient(
    180deg,
    oklch(0.19 0.012 60 / 0.05) 0%,
    oklch(0.19 0.012 60 / 0.85) 100%
  );

  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 6px);
  --radius-2xl: calc(var(--radius) + 12px);
  --radius-3xl: calc(var(--radius) + 20px);
  --radius-4xl: calc(var(--radius) + 28px);

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-script: "Caveat", cursive;
  --font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

* {
  border-color: var(--border);
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Custom utilities (from @utility rules in the original Tailwind v4 file) */

.container-page {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1.25rem;
  max-width: 78rem;
}

.script {
  font-family: var(--font-script);
  text-transform: none;
  letter-spacing: 0;
}

.surface-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand-deep);
}

.image-veil {
  background-image: var(--gradient-ink);
}

/* Lucide icon sizing helpers (mirrors Tailwind's size-* utilities used on <svg>) */
.lucide {
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
}

/* Mobile nav */
#mobile-nav {
  display: none;
}
#mobile-nav.open {
  display: block;
}

/* Gallery lightbox */
#lightbox {
  display: none;
}
#lightbox.open {
  display: flex;
}

/* Menu tab panels toggled by JS */
.menu-category {
  scroll-margin-top: 10rem;
}
