/* ============================================================
 * Start Morocco Travel — Accessibility Styles (FIX 6)
 * Skip-to-main link, focus visibility, reduced motion
 * ============================================================ */

/* Skip-to-main link (FIX 6) */
.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  background: #C24E03;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 4px 4px;
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* ============================================================
 * Contact cards — clickable mailto wrappers (FIX C1)
 * ============================================================ */
a.contact-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
a.contact-card:hover,
a.contact-card:focus-visible {
  transform: translateY(-2px);
  border-color: #C24E03 !important;
}
a.contact-card:focus-visible {
  outline: 2px solid #C24E03;
  outline-offset: 3px;
}

/* ============================================================
 * Active page indicator in nav and footer (FIX G1/G2/T1)
 * ============================================================ */
[aria-current="page"] {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
 * Table-of-contents nav on privacy/terms pages (FIX P3/T2)
 * ============================================================ */
.policy-toc {
  margin: 1.5rem 0 2rem;
  padding: 1rem 1.5rem;
  background: rgba(194, 78, 3, 0.05);
  border-left: 3px solid #C24E03;
  border-radius: 4px;
}
.policy-toc ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  list-style: disc;
}
.policy-toc li {
  margin: 0.3rem 0;
}
.policy-toc a {
  color: #C24E03;
  text-decoration: none;
}
.policy-toc a:hover {
  text-decoration: underline;
}

/* Footer logo — make bottom dot white on dark background */
.footer__logo svg circle:last-child {
  fill: #ffffff;
}

/* prefers-reduced-motion (FIX 9) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
