/* ============================================================
   VARIABLES — Oil City Ready Mix Ltd.
   Light Mode · Warm off-white · Dark navy text · Gold accent
   ============================================================ */

:root {

  /* ── Backgrounds ── */
  --color-bg:           #F8F7F3;   /* warm off-white — main */
  --color-bg-secondary: #F1EFEA;   /* section alternate */
  --color-bg-tertiary:  #EAE8E2;   /* deeper alt */
  --color-bg-elevated:  #FFFFFF;   /* cards only */
  --color-surface:      rgba(255, 255, 255, 0.75);

  /* ── Text ── */
  --color-text:         #0A0F1C;   /* deep navy/black — main */
  --color-text-muted:   #2A2F3A;   /* secondary */
  --color-text-subtle:  #6B7280;   /* muted */

  /* ── Brand — Gold ── */
  --color-primary:      #C9A962;   /* gold CTA */
  --color-primary-dark: #B8943F;   /* darker hover */
  --color-primary-glow: rgba(201, 169, 98, 0.18);
  --color-accent:       #E0C27A;   /* light gold hover */

  /* ── Dark navy (for buttons + contrast sections) ── */
  --color-navy:         #0A0F1C;
  --color-navy-hover:   #151C30;

  /* ── Borders ── */
  --color-border:        #E5E7EB;   /* light borders */
  --color-border-hover:  #D1D5DB;   /* stronger separators */
  --color-border-subtle: #EDEBE6;   /* very subtle */

  /* ── Semantic ── */
  --color-success: #16a34a;
  --color-warning: #d97706;
  --color-error:   #dc2626;

  /* ── Fixed ── */
  --color-white: #FFFFFF;
  --color-black: #0A0F1C;

  /* ── Typography ── */
  --font-display: "Inter", system-ui, -apple-system, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;

  /* ── Fluid Font Sizes ── */
  --text-hero:  clamp(4rem, 10vw, 8.5rem);
  --text-h1:    clamp(2.75rem, 5.5vw, 4.75rem);
  --text-h2:    clamp(2rem, 3.8vw, 3.1rem);
  --text-h3:    clamp(1.5rem, 2.4vw, 2rem);
  --text-xs:    0.9375rem;
  --text-sm:    0.9375rem;
  --text-base:  1.0625rem;
  --text-lg:    1.25rem;
  --text-xl:    1.375rem;
  --text-2xl:   1.625rem;
  --text-3xl:   2rem;

  /* ── Font Weights ── */
  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-extrabold: 800;
  --weight-black:    900;

  /* ── Spacing ── */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ── Layout ── */
  --section-py:    clamp(5rem, 10vw, 9rem);
  --container-max: 1280px;
  --container-px:  clamp(1.25rem, 4vw, 2.5rem);
  --header-h:      80px;

  /* ── Border Radius ── */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* ── Shadows (light mode — subtle) ── */
  --shadow-sm:   0 1px 4px rgba(0, 0, 0, 0.05);
  --shadow-md:   0 4px 16px rgba(0, 0, 0, 0.07);
  --shadow-lg:   0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-xl:   0 20px 60px rgba(0, 0, 0, 0.10);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-gold: 0 0 32px rgba(201, 169, 98, 0.30);

  /* ── Transitions ── */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:    150ms;
  --dur-base:    280ms;
  --dur-slow:    500ms;
  --dur-slower:  750ms;

  /* ── Z-index ── */
  --z-base:     0;
  --z-raised:   10;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    400;
  --z-toast:    500;
}

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