/* Base & Utilities */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  overflow-x: hidden;
}

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

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

/* Navbar scroll state */
#navbar.scrolled {
  background: rgba(31, 63, 25, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Mobile menu animation */
#mobileMenu {
  animation: slideDown 0.25s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Gallery image hover */
.rounded-xl {
  overflow: hidden;
}

.rounded-xl img {
  display: block;
}

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

/* Selection */
::selection {
  background: #b5d9a3;
  color: #1a3315;
}
