/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

/* Focus styles for accessibility */
*:focus {
  outline: 2px solid #007acc;
  outline-offset: 2px;
}

/* Skip link for keyboard navigation */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #007acc;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header and Navigation */
.header {
  background: #2c3e50;
  color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-title-strikethrough {
  text-decoration: line-through;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0; 
  max-width: 900px;
  margin: 0 auto;
}

.nav-logo {
  text-decoration: none;
  color: white;
}

.nav-logo h1 {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
}

.page-indicator--good {
  background: #28a745;
  color: white;
}

.page-indicator--bad {
  background: #dc3545;
  color: white;
}

.icon {
  display: inline-block;
  margin-right: 0.25rem;
}

.icon--good {
  color: #28a745;
}

.icon--bad {
  color: #dc3545;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
  background-color: rgba(255,255,255,0.1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Main content */
.main {
  margin: 0 auto;
  max-width: 900px
}


/* Footer */
.footer {
  background: #2c3e50;
  color: white;
  padding: 2rem 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
}

.footer a,
.header a {
  color: white;
}

.page-links {
  display: flex;
  gap: 1rem;
}

.page-links .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}