/* Ada Catering — design tokens ("Nar ve altın" palette).
   Contrast ratios are against --c-cream unless noted. Light theme only (older users, print-like clarity). */

@font-face { font-family: "Rubik"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/rubik-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/rubik-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/rubik-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/rubik-arabic-400-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/rubik-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/rubik-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/rubik-cyrillic-500-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/rubik-arabic-500-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/lora-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/lora-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/lora-cyrillic-500-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  color-scheme: light;

  /* Brand */
  --c-pomegranate: #8c1c2e;       /* primary; white text on it = 9.0:1 */
  --c-pomegranate-dark: #6e1423;  /* hover/pressed */
  --c-pomegranate-tint: #f6e4e3;  /* soft backgrounds, badges (text: --c-pomegranate) */
  --c-gold: #c8962e;              /* DECORATIVE ONLY (2.5:1) — never as text on cream */
  --c-gold-ink: #8a6414;          /* gold-coloured text, 5.1:1 */
  --c-gold-tint: #f7ecd4;
  --c-sage: #6b7f5e;              /* decorative */
  --c-sage-ink: #55664a;          /* sage text (e.g. vegan tag), 5.9:1 */
  --c-sage-tint: #e8eee2;

  /* Neutrals */
  --c-cream: #fff8f0;             /* page background */
  --c-paper: #ffffff;             /* cards */
  --c-sand: #f3e8da;              /* alternate section background */
  --c-line: #e3d3c1;              /* borders/dividers (non-text) */
  --c-line-strong: #947a64;       /* input borders, 4.0:1 on white (WCAG 1.4.11 needs 3:1) */
  --c-ink: #2a1a17;               /* body text, 15.8:1 */
  --c-ink-soft: #5a4640;          /* secondary text, 8.4:1 */
  --c-ink-muted: #6f5a52;         /* captions/hints, 6.1:1 */
  --c-focus: #1d4e89;             /* focus ring (distinct from brand red) */
  --c-danger: #a3231a;            /* error text, 7.1:1 */
  --c-success: #2f6b2f;           /* success text, 6.1:1 */
  --c-whatsapp: #1b7a43;          /* WhatsApp button bg; white text 5.4:1 */
  --c-whatsapp-dark: #145c32;

  /* Typography — base 18px for older users */
  --font-body: "Rubik", system-ui, -apple-system, "Segoe UI", "Noto Sans", "Noto Sans Arabic", Tahoma, sans-serif;
  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --fs-root: 112.5%;              /* 18px when browser default is 16px; respects user font scaling */
  --fs-sm: 0.889rem;              /* 16px */
  --fs-base: 1rem;                /* 18px */
  --fs-md: 1.111rem;              /* 20px */
  --fs-lg: 1.333rem;              /* 24px */
  --fs-xl: 1.667rem;              /* 30px */
  --fs-2xl: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem);
  --lh-body: 1.6;
  --lh-tight: 1.25;

  /* Space & shape */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem; --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --tap: 48px;                    /* minimum touch target (WCAG 2.5.5 wants 44px) */
  --container: 72rem;
  --shadow-card: 0 1px 2px rgba(42, 26, 23, .06), 0 4px 14px rgba(42, 26, 23, .06);
  --shadow-float: 0 -2px 16px rgba(42, 26, 23, .14);
  --focus-ring: 0 0 0 3px var(--c-paper), 0 0 0 6px var(--c-focus);

  --dur: 160ms;
}

:root[dir="rtl"] {
  --lh-body: 1.75;                /* Arabic needs more line height */
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur: 0ms; }
}
