/* ===== BASE ===== */
html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== NAVBAR ===== */
#navbar {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(253, 252, 250, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(26, 86, 50, 0.08);
}

/* ===== SERVICE CARDS ===== */
.service-card {
  border: 1px solid rgba(26, 86, 50, 0.06);
}

.service-card:hover {
  border-color: rgba(26, 86, 50, 0.15);
}

/* ===== GALLERY ===== */
.gallery-item {
  cursor: pointer;
}

.gallery-item img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  border: 1px solid rgba(26, 86, 50, 0.06);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 8rem;
  font-family: 'Lora', serif;
  color: rgba(26, 86, 50, 0.04);
  line-height: 1;
  pointer-events: none;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== MOBILE MENU ===== */
.mobile-link {
  transition: color 0.2s;
}

.mobile-link:hover {
  color: #1a5632;
}

.mobile-link:active {
  color: #2f7538;
}

/* ===== BUTTON HOVER EFFECTS ===== */
a, button {
  transition: all 0.25s ease;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .gallery-item img,
  .service-card,
  .testimonial-card {
    transition: none;
  }

  .gallery-item img:hover {
    transform: none;
  }

  .animate-bounce {
    animation: none;
  }
}

/* ===== FOCUS STYLES ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #1a5632;
  outline-offset: 2px;
  border-radius: 4px;
}
