/* Accessibility Styles */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #2563eb;
  color: white;
  padding: 8px;
  z-index: 10000;
  transition: top 0.3s;
  font-weight: bold;
}

.skip-link:focus {
  top: 0;
}

/* Accessibility Statement Page Styles */
.accessibility-section {
  padding: 120px 0 60px;
  max-width: 800px;
  margin: 0 auto;
}

.accessibility-content {
  margin-top: 2rem;
}

.accessibility-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #333;
  font-weight: 700;
}

.accessibility-content p,
.accessibility-content li {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.accessibility-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Focus visible styles - make keyboard focus more apparent */
:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

/* High contrast mode improvements */
@media (forced-colors: active) {
  .hero-title, .section-title, h1, h2, h3, h4, h5, h6 {
    forced-color-adjust: none;
  }
  
  /* Ensure buttons have good contrast */
  button, .cta-button, .submit-btn {
    border: 2px solid currentColor;
  }
}

/* Ensure good color contrast in general */
.hero-subtitle, p, li {
  color: #333; /* Darker than light gray for better contrast */
}

/* Make focus states more visible on form elements */
input:focus, textarea:focus, select:focus {
  outline: 3px solid #2563eb;
  outline-offset: 0;
}

/* Profile page accessibility enhancements */
.profile-section {
  /* Ensure sufficient spacing for readability */
  line-height: 1.5;
}

.profile-card {
  /* Better focus handling for interactive elements */
  position: relative;
}

.profile-skills ul {
  /* Clear list styling for better screen reader experience */
  list-style-position: inside;
  margin-left: 0;
  padding-left: 0;
}

.profile-skills li {
  /* Enhanced readability */
  margin-bottom: 0.5rem;
}

/* Enhance link accessibility in profile page */
.profile-content a:focus {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
  text-decoration: underline;
}

/* Improve social link accessibility */
.social-links a {
  /* Larger target area for better accessibility */
  min-width: 44px;
  min-height: 44px;
}
