/* ==========================================================================
   VARIABLES.CSS — Shumokh Design Token System
   Complete CSS custom property foundation for the Shumokh brand.
   All visual decisions flow from these tokens.
   ========================================================================== */

:root {
  /* -----------------------------------------------------------------------
     COLOR PALETTE
     ----------------------------------------------------------------------- */

  /* Primary Brand Greens */
  --green-primary: #006C34;
  --green-secondary: #41B576;
  --green-glow: #41B57640;
  --green-deep: #004D25;
  --green-light: #5FCF8E;

  /* Green Gradients */
  --green-gradient: linear-gradient(135deg, var(--green-primary) 0%, var(--green-secondary) 100%);
  --green-gradient-reverse: linear-gradient(135deg, var(--green-secondary) 0%, var(--green-primary) 100%);
  --green-gradient-subtle: linear-gradient(135deg, var(--green-primary) 0%, rgba(65, 181, 118, 0.6) 100%);
  --green-gradient-radial: radial-gradient(circle, var(--green-secondary) 0%, var(--green-primary) 100%);

  /* Background Layers */
  --bg-primary: #0A110D;
  --bg-secondary: #0D1711;
  --bg-card: radial-gradient(circle at top right, rgba(0, 108, 52, 0.35) 0%, #020202 55%);
  --bg-card-hover: radial-gradient(circle at top right, rgba(65, 181, 118, 0.4) 0%, #050505 60%);
  --bg-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(65, 181, 118, 0.08) 100%);
  --bg-glass-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(65, 181, 118, 0.15) 100%);
  --bg-overlay: rgba(5, 5, 5, 0.85);
  --bg-overlay-heavy: rgba(5, 5, 5, 0.95);

  /* Text Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0A0;
  --text-muted: #666666;
  --text-disabled: #444444;
  --text-inverse: #0A0A0A;

  /* Gold Accent */
  --gold-accent: #C8A96E;
  --gold-light: #DBBF8A;
  --gold-glow: rgba(200, 169, 110, 0.35);
  --gold-gradient: linear-gradient(135deg, var(--gold-accent) 0%, var(--gold-light) 50%, var(--gold-accent) 100%);

  /* Border Colors */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(65, 181, 118, 0.3);
  --border-active: rgba(65, 181, 118, 0.6);
  --border-card: rgba(65, 181, 118, 0.2);

  /* Semantic Colors */
  --color-success: #41B576;
  --color-warning: #C8A96E;
  --color-error: #E05555;
  --color-info: #5B8DEF;

  /* -----------------------------------------------------------------------
     TYPOGRAPHY
     ----------------------------------------------------------------------- */

  /* Font Families */
  --ff-heading: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --ff-body: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --ff-accent: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --ff-mono: 'Cairo', 'Segoe UI', Tahoma, sans-serif;

  /* Font Sizes — Responsive with clamp() */
  --fs-hero: clamp(2.5rem, 6vw, 5rem);
  --fs-display: clamp(2rem, 5vw, 4rem);
  --fs-h1: clamp(2rem, 4.5vw, 3.5rem);
  --fs-h2: clamp(1.8rem, 4vw, 3rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.5rem);
  --fs-h4: clamp(1.05rem, 1.8vw, 1.25rem);
  --fs-body: clamp(0.95rem, 1.5vw, 1.1rem);
  --fs-body-lg: clamp(1rem, 1.8vw, 1.2rem);
  --fs-small: clamp(0.8rem, 1.2vw, 0.9rem);
  --fs-eyebrow: clamp(0.7rem, 1vw, 0.8rem);
  --fs-caption: clamp(0.65rem, 0.9vw, 0.75rem);

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

  /* Line Heights */
  --lh-tight: 1.15;
  --lh-heading: 1.3;
  --lh-body: 1.7;
  --lh-relaxed: 1.9;

  /* Letter Spacing */
  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.05em;
  --ls-wider: 0.1em;
  --ls-eyebrow: 0.3em;

  /* -----------------------------------------------------------------------
     SPACING SCALE
     ----------------------------------------------------------------------- */
  --space-3xs: 0.25rem;   /*  4px */
  --space-2xs: 0.5rem;    /*  8px */
  --space-xs: 0.75rem;    /* 12px */
  --space-sm: 1rem;       /* 16px */
  --space-md: 1.5rem;     /* 24px */
  --space-lg: 2rem;       /* 32px */
  --space-xl: 3rem;       /* 48px */
  --space-2xl: 4rem;      /* 64px */
  --space-3xl: 6rem;      /* 96px */
  --space-4xl: 8rem;      /* 128px */

  /* Section-specific spacing */
  --section-padding-block: clamp(4rem, 10vw, 8rem);
  --section-padding-inline: clamp(1rem, 4vw, 2rem);

  /* -----------------------------------------------------------------------
     BORDER RADIUS
     ----------------------------------------------------------------------- */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 50px;
  --radius-circle: 50%;

  /* -----------------------------------------------------------------------
     TRANSITIONS & ANIMATIONS
     ----------------------------------------------------------------------- */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-premium: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Specific transition properties */
  --hover-lift: translateY(-8px);
  --hover-lift-sm: translateY(-4px);
  --hover-scale: scale(1.03);
  --hover-scale-sm: scale(1.01);

  /* -----------------------------------------------------------------------
     SHADOWS
     ----------------------------------------------------------------------- */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-green: 0 8px 32px rgba(0, 108, 52, 0.25);
  --shadow-green-lg: 0 12px 48px rgba(0, 108, 52, 0.35);
  --shadow-gold: 0 8px 32px rgba(200, 169, 110, 0.2);
  --shadow-glow: 0 0 20px var(--green-glow);
  --shadow-glow-lg: 0 0 40px var(--green-glow), 0 0 80px rgba(65, 181, 118, 0.15);

  /* -----------------------------------------------------------------------
     Z-INDEX LAYERS
     ----------------------------------------------------------------------- */
  --z-behind: -1;
  --z-base: 0;
  --z-raised: 1;
  --z-dropdown: 10;
  --z-sticky: 20;
  --z-header: 50;
  --z-overlay: 100;
  --z-modal: 200;
  --z-toast: 300;
  --z-cursor: 9999;

  /* -----------------------------------------------------------------------
     LAYOUT
     ----------------------------------------------------------------------- */

  /* Container widths */
  --container-xs: 480px;
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  --container-2xl: 1400px;

  /* Grid */
  --grid-gap: 1.5rem;
  --grid-gap-lg: 2rem;

  /* Header */
  --header-height: 80px;
  --header-height-scrolled: 64px;

  /* -----------------------------------------------------------------------
     EFFECTS
     ----------------------------------------------------------------------- */

  /* Backdrop filters */
  --blur-sm: blur(8px);
  --blur-md: blur(16px);
  --blur-lg: blur(20px);
  --blur-xl: blur(40px);

  /* Glassmorphism */
  --glass-bg: radial-gradient(circle at top left, rgba(0, 108, 52, 0.2) 0%, rgba(8, 8, 8, 0.8) 70%);
  --glass-border: rgba(65, 181, 118, 0.15);
  --glass-blur: blur(20px);

  /* Gradients for sections */
  --gradient-dark-fade: linear-gradient(180deg, var(--bg-primary) 0%, transparent 100%);
  --gradient-dark-fade-up: linear-gradient(0deg, var(--bg-primary) 0%, transparent 100%);
  --gradient-section-subtle: radial-gradient(ellipse at 50% 0%, rgba(0, 108, 52, 0.08) 0%, transparent 60%);
  --gradient-mesh: radial-gradient(at 20% 80%, rgba(0, 108, 52, 0.1) 0%, transparent 50%),
                   radial-gradient(at 80% 20%, rgba(65, 181, 118, 0.06) 0%, transparent 50%);
}

/* Dark mode is default — but we can provide explicit prefers-color-scheme */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
  }
}
