/* Mile Marker 410 — Custom Styles */

/* Base typography tweaks */
html {
  font-size: 16px;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
  background-color: #047857;
  color: #fffef8;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fefce8;
}
::-webkit-scrollbar-thumb {
  background: #047857;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #065f46;
}

/* Mobile menu transitions */
#mobile-menu {
  will-change: transform;
}

/* Service card stagger animation */
.service-card {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .service-card:nth-child(1) { transition-delay: 0.05s; }
  .service-card:nth-child(2) { transition-delay: 0.1s; }
  .service-card:nth-child(3) { transition-delay: 0.15s; }
  .service-card:nth-child(4) { transition-delay: 0.2s; }
  .service-card:nth-child(5) { transition-delay: 0.25s; }
  .service-card:nth-child(6) { transition-delay: 0.3s; }
}

/* Gallery image hover */
.rounded-2xl.overflow-hidden {
  overflow: hidden;
}

/* Reduce 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;
  }

  .service-card:hover {
    transform: none;
  }

  .rounded-2xl.overflow-hidden img {
    transition: none;
  }

  .rounded-2xl.overflow-hidden img:hover {
    transform: none;
  }
}

/* Print styles */
@media print {
  header,
  #mobile-menu,
  .geo-circle,
  .geo-square,
  .stripe-pattern {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  a {
    color: black;
  }
}
