/* Simple base presets for a Bootstrap 5 project
   - Small, readable variable set
   - Basic typography and colors
   - A few helper classes (prefixed to avoid BS conflicts)
*/

/* 1) Design tokens */
:root {
  /* Fonts */
  --font-base:"Montserrat", sans-serif;
  --font-heading: "Josefin Sans", sans-serif;
  --font-secondary: "Poppins", sans-serif;

  /* Colors */
  --color-primary: #2B653E; /* brand green */
  --color-secondary: #D0B000; /* gold */
  --color-body: #000000;
  --color-bg: #F9F9F9;
  --color-muted: #6c757d;
  --color-border: #e5e7eb;
  --color-white: #ffffff;
  --color-gray: #cccccc;
  
  --stick-top: 80px; 
  /* Type sizes (fluid with clamp: min, preferred using vw, max)
   * 
   * Desktop sizes (as per Figma):
   * - sm: 14px  | base: 16px  | md: 18px  | lg: 20px  | xl: 24px
   * - 2xl: 30px | 3xl: 34px   | 4xl: 44px | 5xl: 48px
   * 
   * All sizes scale responsively from mobile (~75-85% of desktop) to desktop
   */
  --fs-sm: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);      /* ~12px to 14px */
  --fs-base: clamp(0.875rem, 0.8rem + 0.4vw, 1rem);        /* ~14px to 16px */
  --fs-md: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);          /* ~16px to 18px */
  --fs-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);         /* ~18px to 20px */
  --fs-22: clamp(1.125rem, 1.05rem + 0.65vw, 1.375rem);    /* ~18px to 22px */
  --fs-xl: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);         /* ~20px to 24px */
  --fs-2xl: clamp(1.5rem, 1.3rem + 1vw, 1.875rem);         /* ~24px to 30px */
  --fs-3xl: clamp(1.625rem, 1.4rem + 1.15vw, 2.125rem);    /* ~26px to 34px */
  --fs-4xl: clamp(2rem, 1.65rem + 1.75vw, 2.75rem);        /* ~32px to 44px */
  --fs-5xl: clamp(2.25rem, 1.8rem + 2vw, 3rem);            /* ~36px to 48px */
  
  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;

  /* Corners & shadow */
  --radius: 0.5rem;
  --shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  
  /* Minimal Bootstrap mapping */
  --bs-body-font-family: var(--font-base);
  --bs-body-color: var(--color-body);
  --bs-body-bg: var(--color-bg);
  --bs-link-color: var(--color-primary);
  --bs-primary: var(--color-primary);
  --bs-secondary: var(--color-secondary);
  --bs-border-color: var(--color-border);
  --bs-border-radius: var(--radius);
}
  
/* 2) Base elements */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html{
  font: 16px/1.5 var(--font-base);
}
body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--color-body);
}
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 var(--space-1);
  font-family: var(--font-heading);
  line-height: 1.2;
}
h1 {
  font-size: var(--fs-5xl);  /* 48px desktop */
}
h2 {
  font-size: var(--fs-2xl);  /* 44px desktop */
}
h3 {
  font-size: var(--fs-3xl);  /* 34px desktop */
}
h4 {
  font-size: var(--fs-2xl);  /* 30px desktop */
}
h5 {
  font-size: var(--fs-xl);   /* 24px desktop */
}
h6 {
  font-size: var(--fs-lg);   /* 20px desktop */
}

p {
  margin: 0 0 var(--space-2);
  font-size: var(--fs-base); /* 16px desktop */
}
.lead {
  font-size: var(--fs-lg);
  color: var(--color-muted);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* 3) Simple layout helpers */
.u-section {
  padding: 100px 0;
}
.u-container {
  width: 100%;
  max-width: 1170px;
  margin-inline: auto;
  padding-inline: var(--space-2);
}

/* 4) One basic brand button (use alongside Bootstrap buttons) */
.u-btn-primary {
  display: inline-block;
  padding: 0.65rem 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.u-btn-primary:hover {
  filter: brightness(0.95);
}

/* 5) Tiny utilities (prefixed) */
.u-text-primary {
  color: var(--color-primary) !important;
}
.u-text-secondary {
  color: var(--color-secondary) !important;
}
.u-bg-primary {
  background: var(--color-primary) !important;
}
.u-border {
  border: 1px solid var(--color-border) !important;
}
.u-radius {
  border-radius: var(--radius) !important;
}
.u-shadow {
  box-shadow: var(--shadow) !important;
}

/* 6) Font size utilities (use in HTML or CSS) */
.u-fs-sm { font-size: var(--fs-sm) !important; }      /* 14px desktop */
.u-fs-base { font-size: var(--fs-base) !important; }   /* 16px desktop */
.u-fs-md { font-size: var(--fs-md) !important; }       /* 18px desktop */
.u-fs-lg { font-size: var(--fs-lg) !important; }       /* 20px desktop */
.u-fs-22 { font-size: var(--fs-22) !important; }       /* 22px desktop */
.u-fs-xl { font-size: var(--fs-xl) !important; }       /* 24px desktop */
.u-fs-2xl { font-size: var(--fs-2xl) !important; }     /* 30px desktop */
.u-fs-3xl { font-size: var(--fs-3xl) !important; }     /* 34px desktop */
.u-fs-4xl { font-size: var(--fs-4xl) !important; }     /* 44px desktop */
.u-fs-5xl { font-size: var(--fs-5xl) !important; }     /* 48px desktop */
