/* ======================================================
   GREEN RESILIENCE INVEST (GRI)
   Design System - CSS Variables
   Version: 1.0
   ====================================================== */

:root {
  /* ===============================
     🎨 COLORS – BRAND
     =============================== */

  /* Primary Brand Green */
  --gri-green-primary: #1f7a3f;

  /* Secondary / Transition Green */
  --gri-green-secondary: #6bcf9b;

  /* Dark Green (hover / emphasis) */
  --gri-green-dark: #166233;

  /* Light Green (backgrounds / accents) */
  --gri-green-light: #e6f4ed;

  /* ===============================
     🎨 COLORS – NEUTRALS
     =============================== */

  --gri-black: #111111;
  --gri-gray-dark: #4f4f4f;
  --gri-gray-medium: #8a8a8a;
  --gri-gray-light: #e9ecef;
  --gri-white: #ffffff;

  /* ===============================
     🎯 COLORS – FUNCTIONAL
     =============================== */

  --gri-success: #2ead6b;
  --gri-warning: #f4b740;
  --gri-error: #d64545;
  --gri-info: #3a7bd5;

  /* ===============================
     🔤 TYPOGRAPHY
     =============================== */

  /* Font Families */
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Inter", "Roboto", sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem; /* 12px */
  --text-sm: 0.875rem; /* 14px */
  --text-base: 1rem; /* 16px */
  --text-md: 1.125rem; /* 18px */
  --text-lg: 1.25rem; /* 20px */
  --text-xl: 1.5rem; /* 24px */
  --text-2xl: 2rem; /* 32px */
  --text-3xl: 2.5rem; /* 40px */
  --text-4xl: 3rem; /* 48px */

  /* Font Weights */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* ===============================
     📐 SPACING SYSTEM
     =============================== */

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

  /* ===============================
     🔘 BORDER RADIUS
     =============================== */

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 16px;
  --radius-round: 999px;

  /* ===============================
     🌫️ SHADOWS
     =============================== */

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);

  /* ===============================
     ⚡ TRANSITIONS
     =============================== */

  --transition-fast: 0.2s ease-in-out;
  --transition-base: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;

  /* ===============================
     🧭 LAYOUT
     =============================== */

  --container-max-width: 1200px;
  --container-padding: 1rem;

  /* ===============================
     🔘 BUTTONS
     =============================== */

  --btn-height: 48px;
  --btn-padding-x: 1.5rem;
  --btn-font-size: 0.95rem;

  /* ===============================
     🖼️ IMAGES
     =============================== */

  --image-radius: 12px;
  --overlay-green: rgba(31, 122, 63, 0.15);
}
/* ===============================
   BASE STYLES
   =============================== */

body {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  color: var(--gri-gray-dark);
  background-color: var(--gri-white);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  color: var(--gri-black);
  font-weight: var(--font-semibold);
}

a {
  color: var(--gri-green-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gri-green-dark);
}

.container {
  max-width: var(--container-max-width);
  padding: 0 5%;
  margin: 0 auto;
}
