/* 
 * Global Reset & Base Styles
 * Clean CSS reset for consistent cross-browser baseline
 */

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

/* Document */
html {
  font-size: 100%;
  scroll-behavior: smooth;
}

/* Body */
body {
  overflow-x: hidden;
  font-family: var(--font-family, sans-serif);
  font-size: var(--fs-base, 1rem);
  line-height: var(--lh-normal, 1.5);
  color: var(--text-primary);
  background: var(--color-gray-100);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Form elements */
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

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

/* Links */
a {
  text-decoration: none;
  color: inherit;
}

/* Utility classes (consider moving to separate file) */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.flex {
  display: flex;
  gap: var(--spacing-md);
}

/* Layout */
.container {
  /* max-width: 80%; */
  margin: 0 auto;
  padding: var(--spacing-lg);
}

main {
  margin-top: var(--navbar-height);
}

/* Add to base/reset.css or create analytics.css */
.matomo-tracker {
  border: 0 !important;
  position: absolute;
  left: -9999px;
}

/* Default: Mobile Styles (0px and up) */
.container {
  padding: 1rem;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .container {
    padding: 1.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
