/* ============================================
   DAKHLA INVEST AGENCY - CSS RESET
   ============================================ */

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

/* Smooth scroll */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Base body styles */
body {
  font-family: var(--font-corps);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--gris-texte);
  background-color: var(--blanc-casse);
  overflow-x: hidden;
}

/* Typography reset */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-titre);
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--bleu-marine);
}

p {
  margin-bottom: var(--space-4);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* List reset */
ul, ol {
  list-style: none;
}

/* Button reset */
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

/* Input reset */
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--or-saharien);
  outline-offset: 2px;
}

/* Selection */
::selection {
  background-color: var(--or-saharien);
  color: var(--blanc-pur);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--blanc-casse);
}

::-webkit-scrollbar-thumb {
  background: var(--bleu-marine);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--or-saharien);
}
