/*---------------------------------------------------------------------------------

 Theme Name:   Masai Divi Starter
 Theme URI:    https://masaiinteractive.com/
 Description:  
 Author:       Masai Interactive
 Author URI:   https://masaiinteractive.com
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

------------------------------ ADDITIONAL CSS HERE ------------------------------*/

/*
	Typography baseline — clean, legible defaults that play nicely with Divi.
	Lightweight: uses a fast system font stack (no external font requests).
*/

:root {
  /* Font stacks */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", sans-serif;
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;

  /* Colors */
  --text-color: #1a1a1a;
  --muted-color: #555555;
  --link-color: #0f62fe; /* IBM Blue-ish, accessible */
  --link-hover: #0043ce;

  /* Brand palette (extend per project as needed) */
  --color-primary: #0f62fe;
  --color-primary-600: #0043ce;
  --color-secondary: #6f6f6f;
  --color-accent: #ff6f61;
  --color-success: #198754;
  --color-warning: #f1c21b;
  --color-danger: #da1e28;

  /* Neutral scale */
  --gray-50: #f7f7f7;
  --gray-100: #efefef;
  --gray-200: #e5e5e5;
  --gray-300: #d6d6d6;
  --gray-400: #bfbfbf;
  --gray-500: #999999;
  --gray-600: #737373;
  --gray-700: #555555;
  --gray-800: #2e2e2e;
  --gray-900: #1a1a1a;

  /* Spacing scale */
  --space-1: 0.25rem; /* 4px */
  --space-2: 0.5rem; /* 8px */
  --space-3: 0.75rem; /* 12px */
  --space-4: 1rem; /* 16px */
  --space-5: 1.25rem; /* 20px */
  --space-6: 1.5rem; /* 24px */
  --space-8: 2rem; /* 32px */
  --space-10: 2.5rem; /* 40px */
  --space-12: 3rem; /* 48px */
  --space-16: 4rem; /* 64px */

  /* Font sizes */
  --fs-xs: 0.75rem; /* 12px */
  --fs-sm: 0.875rem; /* 14px */
  --fs-base: 1rem; /* 16px */
  --fs-lg: 1.125rem; /* 18px */
  --fs-xl: 1.25rem; /* 20px */
  --fs-2xl: 1.5rem; /* 24px */
  --fs-3xl: 2rem; /* 32px */
  --fs-4xl: 2.5rem; /* 40px */

  /* Line heights and weights */
  --lh-tight: 1.25;
  --lh-normal: 1.5;
  --lh-loose: 1.8;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.16);

  /* Z-index scale */
  --z-base: 1;
  --z-sticky: 100;
  --z-dropdown: 1000;
  --z-modal: 1100;
  --z-toast: 1200;

  /* Transitions */
  --ease-standard: cubic-bezier(0.2, 0.7, 0.2, 1);
  --duration-fast: 150ms;
  --duration: 250ms;
  --duration-slow: 400ms;

  /* Layout */
  --container-max: 1200px;
  --container-padding: 1rem;
}

body {
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ------------------------------------------------------ */
/* Utilities (opt-in, minimal and reusable across projects) */
/* ------------------------------------------------------ */

/* Container */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* Accessibility */
.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Font family */
.font-sans {
  font-family: var(--font-sans) !important;
}
.font-serif {
  font-family: var(--font-serif) !important;
}
.font-mono {
  font-family: var(--font-mono) !important;
}

/* Text sizes */
.text-xs {
  font-size: var(--fs-xs) !important;
}
.text-sm {
  font-size: var(--fs-sm) !important;
}
.text-base {
  font-size: var(--fs-base) !important;
}
.text-lg {
  font-size: var(--fs-lg) !important;
}
.text-xl {
  font-size: var(--fs-xl) !important;
}
.text-2xl {
  font-size: var(--fs-2xl) !important;
}
.text-3xl {
  font-size: var(--fs-3xl) !important;
}
.text-4xl {
  font-size: var(--fs-4xl) !important;
}

/* Font weights */
.fw-regular {
  font-weight: var(--fw-regular) !important;
}
.fw-medium {
  font-weight: var(--fw-medium) !important;
}
.fw-semibold {
  font-weight: var(--fw-semibold) !important;
}
.fw-bold {
  font-weight: var(--fw-bold) !important;
}

/* Line heights */
.leading-tight {
  line-height: var(--lh-tight) !important;
}
.leading-normal {
  line-height: var(--lh-normal) !important;
}
.leading-loose {
  line-height: var(--lh-loose) !important;
}

/* Radius */
.rounded-sm {
  border-radius: var(--radius-sm) !important;
}
.rounded {
  border-radius: var(--radius-md) !important;
}
.rounded-lg {
  border-radius: var(--radius-lg) !important;
}
.rounded-full {
  border-radius: var(--radius-pill) !important;
}

/* Shadow */
.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}
.shadow {
  box-shadow: var(--shadow-md) !important;
}
.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

/* Flow spacing between siblings (opt-in) */
.flow > * + * {
  margin-top: var(--flow-space, 1em);
}
.flow-sm > * + * {
  margin-top: var(--flow-space, 0.5rem);
}
