/* Custom styles for 1 Stop Real Estate Services */

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

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

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Service card hover lift */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Navbar scroll effect */
.nav-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

/* Subtle gradient text for hero accent */
.gradient-accent {
  background: linear-gradient(135deg, #4a7c40, #8dbc82);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f0f5ee;
}

::-webkit-scrollbar-thumb {
  background: #8dbc82;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4a7c40;
}

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

/* Selection color */
::selection {
  background-color: #b8d4b0;
  color: #1f361d;
}
