/* Custom styles that complement Tailwind */

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

/* Selection color */
::selection {
  background: rgba(255, 107, 53, 0.3);
  color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0f0f1e;
}
::-webkit-scrollbar-thumb {
  background: #3d3d56;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ff6b35;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #ff8a50;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Ensure images don't overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Prevent layout shift on loaded images */
img[width][height] {
  object-fit: cover;
}

/* Subtle pattern overlay for sections */
.pattern-overlay {
  background-image: radial-gradient(circle, rgba(255, 107, 53, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Print styles */
@media print {
  nav, .mobile-menu, #menu-toggle {
    display: none !important;
  }
  body {
    background: white !important;
    color: black !important;
  }
  .hero-gradient {
    background: #1a1a2e !important;
  }
}
