* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #F5F4F0;
}

::-webkit-scrollbar-thumb {
  background: #B8860B;
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: #946F0A;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
  outline: 2px solid #B8860B;
  outline-offset: 2px;
}

/* Smooth transitions for hover effects */
a,
button {
  transition: all 0.2s ease-in-out;
}

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

/* Prevent text selection on buttons */
button {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}
