/*=============== GLOBAL CSS VARIABLES ===============*/
:root {
  /*========== Layout ==========*/
  --header-height: 4.5rem;
  --container-max-width: 1320px;
  --section-padding: 5rem 0;
  --section-padding-small: 3rem 0;
  
  /*========== Colors ==========*/
  --black-color: #1E1E1E;
  --black-color-light: #323232;
  --white-color: #E1E1E1;
  --text-color: #434343;
  --text-color-light: #A0A0A0;
  --vert-mini: #69FF0A;
  --bleu-mini: #00FFD7;
  --fuschia-mini: #C80CDF;
  
  /*========== Font and typography ==========*/
  --body-font: "Cambria", serif;
  --second-font: "JetBrains Mono", monospace;
  --biggest-font-size: 3.5rem;
  --h1-font-size: 2.5rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.75rem;
  
  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
  
  /*========== Z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
  
  /*========== Breakpoints ==========*/
  --mobile: 550px;
  --tablet: 768px;
  --desktop: 1024px;
  --large: 1152px;
  
  /*========== Spacing ==========*/
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;
  
  /*========== Border radius ==========*/
  --border-radius: 0.5rem;
  --border-radius-large: 1rem;
  --border-radius-small: 0.25rem;
  
  /*========== Transitions ==========*/
  --transition: all 0.3s ease;
  --transition-fast: all 0.2s ease;
  --transition-slow: all 0.5s ease;
  
  /*========== Shadows ==========*/
  --shadow-light: 0 4px 12px hsla(0, 0%, 0%, 0.1);
  --shadow-medium: 0 8px 32px hsla(0, 0%, 0%, 0.15);
  --shadow-heavy: 0 16px 48px hsla(0, 0%, 0%, 0.2);
}

/*=============== BASE STYLES ===============*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--black-color-light);
  color: var(--white-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-bold);
  color: var(--white-color);
  line-height: 1.2;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

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

button {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.section {
  padding: var(--section-padding);
}

.section__title {
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  text-align: center;
  margin-bottom: var(--mb-2);
  color: var(--white-color);
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-3);
  text-align: center;
  color: var(--text-color);
}

/*========== TEXT UTILITIES ==========*/
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--vert-mini); }
.text-secondary { color: var(--bleu-mini); }
.text-accent { color: var(--fuschia-mini); }
.text-muted { color: var(--text-color); }

/*========== MARGIN UTILITIES ==========*/
.mb-0 { margin-bottom: 0; }
.mb-0-25 { margin-bottom: var(--mb-0-25); }
.mb-0-5 { margin-bottom: var(--mb-0-5); }
.mb-0-75 { margin-bottom: var(--mb-0-75); }
.mb-1 { margin-bottom: var(--mb-1); }
.mb-1-5 { margin-bottom: var(--mb-1-5); }
.mb-2 { margin-bottom: var(--mb-2); }
.mb-2-5 { margin-bottom: var(--mb-2-5); }
.mb-3 { margin-bottom: var(--mb-3); }

.mt-0 { margin-top: 0; }
.mt-0-25 { margin-top: var(--mb-0-25); }
.mt-0-5 { margin-top: var(--mb-0-5); }
.mt-0-75 { margin-top: var(--mb-0-75); }
.mt-1 { margin-top: var(--mb-1); }
.mt-1-5 { margin-top: var(--mb-1-5); }
.mt-2 { margin-top: var(--mb-2); }
.mt-2-5 { margin-top: var(--mb-2-5); }
.mt-3 { margin-top: var(--mb-3); }

/*========== DISPLAY UTILITIES ==========*/
.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/*========== FLEX UTILITIES ==========*/
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.align-start { align-items: flex-start; }
.align-center { align-items: center; }
.align-end { align-items: flex-end; }
.align-stretch { align-items: stretch; }

/*========== GRID UTILITIES ==========*/
.grid-1 { grid-template-columns: repeat(1, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/*========== POSITION UTILITIES ==========*/
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }
.position-sticky { position: sticky; }

/*========== VISIBILITY UTILITIES ==========*/
.visible { visibility: visible; }
.invisible { visibility: hidden; }
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-100 { opacity: 1; }

/*========== CURSOR UTILITIES ==========*/
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }

/*========== OVERFLOW UTILITIES ==========*/
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-scroll { overflow: scroll; }

/*========== BORDER UTILITIES ==========*/
.border-none { border: none; }
.border-radius { border-radius: var(--border-radius); }
.border-radius-large { border-radius: var(--border-radius-large); }
.border-radius-small { border-radius: var(--border-radius-small); }
.border-radius-full { border-radius: 50%; }

/*========== TRANSITION UTILITIES ==========*/
.transition { transition: var(--transition); }
.transition-fast { transition: var(--transition-fast); }
.transition-slow { transition: var(--transition-slow); }

/*========== SHADOW UTILITIES ==========*/
.shadow-none { box-shadow: none; }
.shadow-light { box-shadow: var(--shadow-light); }
.shadow-medium { box-shadow: var(--shadow-medium); }
.shadow-heavy { box-shadow: var(--shadow-heavy); }

/*=============== SCROLLBAR STYLES ===============*/
::-webkit-scrollbar {
  width: 0.6rem;
  background-color: var(--black-color-light);
}

::-webkit-scrollbar-thumb {
  background-color: var(--black-color-light);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--vert-mini);
}

/*=============== SELECTION STYLES ===============*/
::selection {
  background-color: var(--vert-mini);
  color: var(--black-color);
}

::-moz-selection {
  background-color: var(--vert-mini);
  color: var(--black-color);
}

/*=============== FOCUS STYLES ===============*/
:focus {
  outline: 2px solid var(--vert-mini);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/*=============== PRINT STYLES ===============*/
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  a, a:visited {
    text-decoration: underline;
  }
  
  a[href]:after {
    content: " (" attr(href) ")";
  }
  
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  
  pre, blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  
  thead {
    display: table-header-group;
  }
  
  tr, img {
    page-break-inside: avoid;
  }
  
  img {
    max-width: 100% !important;
  }
  
  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }
  
  h2, h3 {
    page-break-after: avoid;
  }
}
