/* Custom styles that complement Tailwind */

/* Smooth scrolling for the whole page */
html {
  scroll-behavior: smooth;
}

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

/* Focus visible styles */
*:focus-visible {
  outline: 2px solid #ff6b35;
  outline-offset: 2px;
}

/* Base typography improvements */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Service card gradient on hover */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card:hover::before {
  opacity: 1;
}

/* Navbar scroll state */
.nav-scrolled {
  background: rgba(17, 17, 24, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Image lazy loading placeholder */
img {
  background: linear-gradient(135deg, #1a1a22 0%, #26262e 100%);
}

/* Reduced motion */
@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;
  }
}

/* Print styles */
@media print {
  nav, .mobile-menu, button {
    display: none !important;
  }
  body {
    background: white !important;
    color: black !important;
  }
}
