/* Custom overrides and additions beyond Tailwind */

/* Smooth scroll offset for fixed nav */
html {
  scroll-padding-top: 80px;
}

/* Selection color */
::selection {
  background: #d4552a;
  color: #fdfbf7;
}

/* Focus visible styles */
*:focus-visible {
  outline: 2px solid #d4552a;
  outline-offset: 2px;
}

/* Nav link underline on hover */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d4552a;
  transition: width 0.25s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* Mobile links */
.mobile-link {
  position: relative;
}
.mobile-link:hover {
  background: rgba(212, 85, 42, 0.06);
  color: #d4552a !important;
}

/* Input autofill */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #fdfbf7 inset !important;
  -webkit-text-fill-color: #1a2744 !important;
}

/* Subtle pattern on hero stats */
.hero-bg::before {
  animation: slowZoom 30s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

/* Testimonial card hover */
.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(26, 39, 68, 0.1);
}

/* Area card hover */
#areas .rounded-xl:hover {
  transform: translateY(-2px);
}

/* Footer link hover */
footer a:hover {
  color: rgba(253, 251, 247, 0.9) !important;
}
