/* DagdaMorrigan.com — Dark Theme Styles */

/* Skip link (WCAG accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  padding: 8px 16px;
  background: #D4A017;
  color: #0a1a2e;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  top: 0;
}

/* Focus-visible styles (WCAG keyboard navigation) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #D4A017;
  outline-offset: 2px;
}

/* Smooth scroll (respects prefers-reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Reduce animations for users who prefer it */
@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;
  }
}

/* Custom scrollbar (dark theme) */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a1a2e; }
::-webkit-scrollbar-thumb { background: #1a3a5c; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #2a4a6c; }

/* Mobile menu animation */
#mobile-menu {
  transition: max-height 300ms ease-out, opacity 200ms ease-out;
}

/* Form select dark bg fix */
select option {
  background: #0a1a2e;
  color: #c8d6e5;
}

/* Print styles */
@media print {
  header, footer, #mobile-menu-btn, .skip-link {
    display: none !important;
  }
  main {
    padding-top: 0 !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
  }
  * {
    box-shadow: none !important;
  }
}
