/* Greenwood — custom accents on top of Tailwind CDN */
:root {
  --green-deep: #1a3c2f;
  --green-mid: #2d5a45;
  --green-soft: #4a7c59;
  --green-mist: #e8f0eb;
  --cream: #f7f3ec;
  --sand: #e8dfd0;
  --warm: #c4a574;
  --ink: #1c1917;
  --muted: #57534e;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background-color: var(--cream);
  color: var(--ink);
}

.font-display {
  font-family: Georgia, "Times New Roman", serif;
}

.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--green-soft);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--green-mid);
  font-weight: 600;
}

.btn-primary {
  background: var(--green-deep);
  color: #fff;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26, 60, 47, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--green-deep);
  border: 2px solid var(--green-deep);
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
  background: var(--green-deep);
  color: #fff;
}

.card {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(28, 25, 23, 0.08);
}

.badge-condition {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  background: var(--green-mist);
  color: var(--green-deep);
}

.hero-gradient {
  background:
    linear-gradient(135deg, rgba(26, 60, 47, 0.92) 0%, rgba(45, 90, 69, 0.88) 55%, rgba(74, 124, 89, 0.85) 100%),
    url("https://picsum.photos/id/1015/1600/900") center/cover no-repeat;
}

.category-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--green-mist);
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

footer a:hover {
  color: #fff;
}

#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#mobile-menu.open {
  max-height: 280px;
}

.form-input:focus {
  outline: none;
  border-color: var(--green-soft);
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.2);
}

.price {
  color: var(--green-deep);
  font-weight: 700;
}
