/* Ynacks Works — Color tokens
   ---------------------------------------------------------------
   The site is a dark, cinematic, multi-brand creative portfolio.
   Each "world" (Music, Web Services, Automation, Product brand) owns
   an accent gradient; the shell is near-black with glass surfaces,
   while the product-brand + contact worlds invert to light.
   Base palette first, semantic aliases at the bottom. */

:root {
  /* ---- Brand anchors ---- */
  --ink: #030213;            /* shadcn primary — near-black, the UI ink */
  --navy: #1c2b4a;           /* YNACKS logo navy (wing mark) */
  --white: #ffffff;
  --black: #000000;

  /* ---- Neutral / slate scale (cool gray, the structural neutral) ---- */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  /* Body text on dark uses zinc, slightly warmer than slate */
  --zinc-300: #d4d4d8;
  --zinc-400: #a1a1aa;

  /* ---- World accents (single hues) ---- */
  --accent-indigo: #6366f1;   /* apps / default */
  --accent-violet: #8b5cf6;   /* tech / automation badge */
  --accent-purple: #a855f7;   /* music world surfaces */
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;     /* web services */
  --accent-emerald: #10b981;  /* automation & tech */
  --accent-amber: #f59e0b;    /* music */
  --accent-orange: #f97316;   /* product brand */
  --accent-yellow: #eab308;
  --accent-pink: #ec4899;
  --accent-red: #ef4444;

  /* ---- Glass surface system (over dark backgrounds) ---- */
  --glass-fill: rgba(255, 255, 255, 0.05);
  --glass-fill-strong: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-strong: rgba(255, 255, 255, 0.18);

  /* ---- Form / input (shadcn) ---- */
  --input-bg: #f3f3f5;
  --muted: #ececf0;
  --muted-foreground: #717182;
  --destructive: #d4183d;

  /* =========================================================
     SEMANTIC ALIASES — prefer these in components
     ========================================================= */

  /* Default world = dark shell */
  --bg: var(--black);
  --surface: var(--glass-fill);
  --surface-strong: var(--glass-fill-strong);
  --border: var(--glass-border);

  --text-strong: var(--white);          /* display headings on dark */
  --text-body: var(--zinc-300);         /* body copy on dark */
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-faint: rgba(255, 255, 255, 0.4);

  /* The "primary" CTA ink (light contexts / shadcn) */
  --primary: var(--ink);
  --primary-foreground: var(--white);

  /* Light world (product brand + contact) overrides — apply on a
     wrapper with [data-world="light"] */
  --light-bg: #ffffff;
  --light-text-strong: var(--slate-900);
  --light-text-body: var(--slate-600);
  --light-border: var(--slate-200);
}

/* Light-world scope: flip the semantic text colors */
[data-world="light"] {
  --bg: var(--light-bg);
  --text-strong: var(--slate-900);
  --text-body: var(--slate-600);
  --text-muted: var(--slate-500);
  --text-faint: var(--slate-400);
  --border: var(--slate-200);
}
