/* Prime Fast - Multiservices Custom Styles */

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Base font sizing */
body {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hero reveal animations — below the fold only via JS enhancement */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Service card hover */
.service-card {
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

/* Process step hover */
.process-step {
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-4px);
}

/* Mobile menu transition */
#mobileMenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

#mobileMenu.open {
  max-height: 400px;
}

/* Scroll-reveal animations — progressive enhancement, prefers-reduced-motion safe */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #faf3e8;
}
::-webkit-scrollbar-thumb {
  background: #d9a04a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c48735;
}

/* Selection color */
::selection {
  background: #f8c4b5;
  color: #6a281b;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .service-card,
  .process-step,
  #mobileMenu {
    transition: none;
  }
  .service-card:hover {
    transform: none;
  }
  .process-step:hover {
    transform: none;
  }
}
