/* Reset CSS - FCx Labs Project */

/* Box sizing reset */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Remove default margins and paddings */
* {
  margin: 0;
  padding: 0;
}

/* HTML and body setup */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Reset lists */
ul, ol {
  list-style: none;
}

/* Reset links */
a {
  text-decoration: none;
  color: inherit;
}

a:focus {
  outline: 2px solid #7ac143;
  outline-offset: 2px;
}

/* Reset buttons */
button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
}

/* Reset images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Reset form elements */
input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
}

/* Reset headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  font-size: inherit;
}

/* Reset table */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
:focus-visible {
  outline: 2px solid #7ac143;
  outline-offset: 2px;
}

/* Remove outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}
