/* Parihar Taxi Service — supplementary styles beyond Tailwind utilities */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Offset scroll targets so the fixed header doesn't cover section headings */
section[id], div[id="home"] {
  scroll-margin-top: 90px;
}

/* Road dash accent line (hero) */
.road-dash {
  background-image: repeating-linear-gradient(
    to right,
    currentColor 0px,
    currentColor 24px,
    transparent 24px,
    transparent 44px
  );
}

/* Road dash background texture (CTA banner) */
.road-dash-bg {
  background-image: repeating-linear-gradient(
    115deg,
    rgba(232, 163, 61, 0.6) 0px,
    rgba(232, 163, 61, 0.6) 2px,
    transparent 2px,
    transparent 34px
  );
}

/* Floating WhatsApp pulse */
.wa-pulse {
  position: relative;
}
.wa-pulse::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: #25D366;
  animation: wa-pulse-ring 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes wa-pulse-ring {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wa-pulse::before { animation: none; }
}

/* Mobile menu link active state */
.mobile-link {
  transition: color 0.2s ease;
}
.mobile-link:hover {
  color: #E8A33D;
}

/* Sticky header shrink-on-scroll polish */
#site-header.scrolled {
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* Focus visibility for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid #E8A33D;
  outline-offset: 2px;
}
