/* ==========================================================================
   CSS SYSTEM - YAYASAN RUMAH YATIM ARRAHIMAH ABU HURAIRAH INDRAMAYU
   BASE.CSS - CSS Variables, Custom Reset, Typography
   ========================================================================== */

/* DESIGN TOKENS */
:root {
  /* Brand Color Palette */
  --lime: #A6CE39;
  --lime-hover: #92b82e;
  --lime-light: #f2f9db;
  --green: #2E5A1C;
  --green-hover: #234615;
  --green-dark: #1F3D11;
  --white: #FFFFFF;
  --cream: #F7F8F3;
  --ink: #1F2421;
  --muted: #5B6660;
  
  /* System Gray Scale */
  --gray-100: #F7FAFC;
  --gray-200: #EDF2F7;
  --gray-300: #E2E8F0;
  --gray-400: #CBD5E0;
  --gray-600: #718096;
  --gray-800: #2D3748;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(31, 36, 33, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(31, 36, 33, 0.08), 0 2px 4px -1px rgba(31, 36, 33, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(31, 36, 33, 0.1), 0 4px 6px -2px rgba(31, 36, 33, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(31, 36, 33, 0.12), 0 10px 10px -5px rgba(31, 36, 33, 0.04);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  
  /* Border Radius Shapes */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* CUSTOM RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  scroll-behavior: smooth;
  color: var(--ink);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white);
}

/* HTML5 ELEMENT DEFAULTS */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
  background: none;
}

ul, ol {
  list-style: none;
}

/* BASE TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  color: var(--green-dark);
  font-weight: 800;
  line-height: 1.25;
}

p {
  color: var(--muted);
  font-weight: 400;
}
