/* MW Chiptuning — Custom styles */

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 96px;
}

body {
  background-color: #0a0b0f;
  color: #e7e9ec;
}

/* Grid background pattern */
.bg-grid {
  background-image:
    linear-gradient(to right, rgba(249, 115, 22, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(249, 115, 22, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Reveal-on-scroll animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Lucide icon sizing fallback (when JS icons haven't replaced yet) */
i[data-lucide] {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Prevent layout shift for images */
img {
  max-width: 100%;
  height: auto;
}

/* Contact form select arrow fix for dark theme */
select option {
  background-color: #0a0b0f;
  color: #e7e9ec;
}
