/* =============================================================
   reset.css – Modern CSS reset for SimonaSpace
   ============================================================= */

/* 1. Box-sizing: all elements use border-box */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin and padding */
* {
  margin: 0;
  padding: 0;
}

/* 3. Root defaults */
html {
  /* Prevent font-size inflation on mobile */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* 4. Body sensible defaults */
body {
  min-height: 100vh;
  /* NOTE: overflow-x: hidden is intentionally omitted here — it masks layout
     overflow rather than fixing it. Proper width constraints (max-width: 100%,
     box-sizing: border-box) are used in main.css to prevent overflow. */
}

/* 5. Images – responsive by default, block to remove inline gap */
img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  display: block;
}

/* 6. Buttons – remove browser styling, ensure pointer cursor */
button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}

/* 7. Normalise list styles */
ul,
ol {
  list-style: none;
}

/* 8. Anchor defaults */
a {
  color: inherit;
  text-decoration: none;
}

/* 9. Form elements inherit font */
input,
textarea,
select {
  font: inherit;
}

/* 10. Remove text-decoration from headings inside links */
h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  font-size: inherit;
}
