/* Custom styles that complement Tailwind and inline styles */

/* Smooth scroll offset for fixed nav */
section[id] {
  scroll-margin-top: 80px;
}

/* Ensure all text meets contrast requirements */
.text-plum-200 { color: #e9d5ff; }
.text-plum-300 { color: #d8b4fe; }
.text-plum-400 { color: #c084fc; }

/* Selection color */
::selection {
  background: rgba(251, 191, 36, 0.3);
  color: #fff;
}

/* Focus visible styles */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Image loading placeholder */
img {
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1050 100%);
  min-height: 100px;
}

/* Print styles */
@media print {
  nav, .geometric-shape, .cta-btn::before { display: none; }
  body { background: white; color: black; }
  .text-plum-200, .text-plum-300 { color: #555; }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .fade-section { opacity: 1; transform: none; }
}

/* High contrast mode support */
@media (forced-colors: active) {
  .service-card, .card-hover-lift {
    border: 2px solid ButtonText;
  }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
  #hero { min-height: auto; padding: 100px 0; }
  .stat-card { display: none; }
}

/* Very small screens */
@media (max-width: 360px) {
  .cta-btn { padding: 12px 20px !important; font-size: 14px !important; }
  h1 { font-size: 2rem !important; }
  h2 { font-size: 1.5rem !important; }
}
