/*
 * Gulfline Systems — shared styles that Tailwind utilities cannot express.
 * Everything else is styled with Tailwind classes (see assets/js/tailwind.config.js).
 */

body {
  font-family: "Inter", sans-serif;
}

/* Material Symbols default rendering (outlined). */
.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* Filled variant, used on the About page value cards. */
.material-symbols-outlined.icon-filled {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* Decorative grid background behind every hero section (pair with `opacity-30`). */
.grid-bg {
  background-image:
    linear-gradient(#e6ebe3 1px, transparent 1px),
    linear-gradient(90deg, #e6ebe3 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Keep the small, page-level Tailwind accents aligned with the logo green. */
.bg-teal-600,
.bg-slate-900,
.bg-\[\#0F172A\] {
  background-color: #1f4327 !important;
}

.hover\:bg-slate-800:hover,
.hover\:bg-\[\#0EA5E9\]:hover,
.hover\:bg-\[\#008cc7\]:hover {
  background-color: #356b3b !important;
}

.text-\[\#0EA5E9\],
.text-\[\#008cc7\] {
  color: #356b3b !important;
}

.group:hover .group-hover\:text-\[\#0EA5E9\],
.group:hover .group-hover\:text-\[\#008cc7\] {
  color: #356b3b !important;
}

.hover\:border-\[\#0EA5E9\]:hover,
.focus\:border-\[\#0EA5E9\]:focus {
  border-color: #356b3b !important;
}

.focus\:ring-\[\#0EA5E9\]:focus {
  --tw-ring-color: #356b3b !important;
}

/* Services page components and reveal motion. */
.service-tag {
  border: 1px solid #c5cec2;
  border-radius: 0.25rem;
  background: #f2f5f0;
  color: #464e45;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  line-height: 1rem;
  padding: 0.25rem 0.5rem;
}

.service-arrow {
  align-self: start;
  align-items: center;
  background: #f2f5f0;
  border: 1px solid #c5cec2;
  border-radius: 0.25rem;
  color: #1f4327;
  display: inline-flex;
  height: 2.75rem;
  justify-content: center;
  transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
  width: 2.75rem;
}

.service-offering:hover .service-arrow,
.service-arrow:focus-visible {
  background: #356b3b;
  color: #ffffff;
  transform: translateX(0.25rem);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3 {
    transition-delay: 0ms;
  }
}
