/* =====================================================================
   THEME.CSS  —  THE ONE FILE THAT CONTROLS ALL WEBSITE COLOURS
   =====================================================================
   If the client wants new colours, change the values below. Every
   page, button, link and border on the site reads from these variables,
   so you never need to search through other CSS files.

   There are two sets:
     1) [data-theme="dark"]  -> Night mode (the default)
     2) [data-theme="light"] -> Day mode

   Tip: the three BRAND colours (primary, primary-hover, accent) can also
   be changed later from Admin > Site Settings with a colour picker.
   Admin values override the ones here, without touching code.
   ===================================================================== */

:root {
  /* ---------- BRAND COLOURS (shared by both modes) ---------- */
  --color-primary: #e50914;        /* Main red: buttons, highlights, active links */
  --color-primary-hover: #ff2a35;  /* Slightly brighter red on hover */
  --color-accent: #f5c518;         /* Gold accent: small details, badges */
  --color-on-primary: #ffffff;     /* Text that sits ON a red button */

  /* ---------- HOME PAGE CIRCLE ----------
     Each home slide can set its own accent + title colour in Admin.
     These are only used when a slide leaves them empty.        */
  --stage-accent: var(--color-primary);         /* dots of the wave, marks, arrow */
  --stage-title: #ffffff;                        /* words inside the circle */
  --stage-dots: rgba(255, 255, 255, 0.45);       /* the grey dotted arc */
  --stage-bg-dark: #050101;                      /* background when a slide has no photo */
  --stage-bg-mid: #240304;
  --stage-bg-glow: #6e0a0c;

  /* ---------- PAGE BANNERS (always over a dark photo) ---------- */
  --hero-text: #ffffff;
  --hero-text-muted: rgba(255, 255, 255, 0.72);
  --hero-overlay: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.15) 100%);
  --hero-overlay-bottom: linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 40%);

  /* ---------- MENU OVERLAY (full-screen menu) ---------- */
  --menu-bg: #080808;
  --menu-text: #ffffff;
  --menu-text-muted: rgba(255, 255, 255, 0.55);

  /* ---------- STATUS COLOURS (forms, messages) ---------- */
  --color-success: #22c55e;
  --color-error: #ef4444;
  --color-warning: #f59e0b;
}

/* ---------------------- NIGHT MODE (default) ---------------------- */
:root,
[data-theme="dark"] {
  --color-bg: #0a0a0a;             /* Page background */
  --color-bg-alt: #121212;         /* Alternate section background */
  --color-surface: #1a1a1a;        /* Cards, panels */
  --color-surface-2: #242424;      /* Raised cards, inputs */
  --color-text: #f2f2f2;           /* Main text */
  --color-text-muted: #a3a3a3;     /* Secondary text */
  --color-border: #2e2e2e;         /* Lines and borders */
  --header-bg: rgba(10, 10, 10, 0.85); /* Header after you scroll */
  --page-texture: url("../images/texture-dark.webp"); /* faint background pattern on inner pages */
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

/* ---------------------- DAY MODE ---------------------- */
[data-theme="light"] {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f5f4;
  --color-surface: #ffffff;
  --color-surface-2: #f0f0ef;
  --color-text: #141414;
  --color-text-muted: #5c5c5c;
  --color-border: #e2e2e0;
  --header-bg: rgba(255, 255, 255, 0.9);
  --page-texture: url("../images/texture-light.webp");
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --color-primary: #d10812;        /* Slightly deeper red reads better on white */
  color-scheme: light;
}
