/* ===== CUSTOM STYLES ===== */

html {
  scroll-behavior: smooth;
}

/* Nav scroll state */
.nav-scrolled {
  background: rgba(254, 253, 248, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(20, 60, 30, 0.08);
}

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

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

/* Service cards */
.service-card {
  border: 1px solid rgba(220, 232, 221, 0.6);
}

.service-card:hover {
  border-color: rgba(69, 128, 74, 0.2);
}

/* Gallery */
.gallery-item {
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 50px rgba(20, 60, 30, 0.15);
}

.gallery-img {
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.06);
}

/* Testimonials */
.testimonial-card {
  border: 1px solid rgba(220, 232, 221, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
}

/* Scroll reveal (below-fold only, 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; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
  .reveal-delay-6 { transition-delay: 0.6s; }
}

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

/* Selection */
::selection {
  background: #bcd5be;
  color: #1f3b23;
}
