/* Forest green & cream palette */
:root {
  --forest: #2F4A36;
  --forest-dark: #223628;
  --sage: #8FA67E;
  --walnut: #3E2F25;
  --walnut-light: #6B5343;
  --cream: #FAF7F0;
  --linen: #EFE9DC;
  --ink: #222222;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

a { color: var(--forest); }

/* Header & menu */
.site-header {
  background: var(--forest);
  border-bottom: 4px solid var(--sage);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.brand {
  display: flex;
  flex-direction: column;
  color: var(--cream);
  text-decoration: none;
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.15;
}
.brand-line1 { font-style: italic; font-size: 1.5rem; }
.brand-line2 { font-weight: 700; font-size: 1.9rem; }
.menu { display: flex; gap: 6px; flex-wrap: wrap; }
.menu a {
  color: var(--cream);
  font-weight: bold;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 4px;
  font-family: Arial, Helvetica, sans-serif;
}
.menu a:hover { background: var(--forest-dark); }
.menu a.active { background: var(--cream); color: var(--forest); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border-bottom: 1px solid var(--linen);
  text-align: center;
  padding: 70px 16px 90px;
}
/* Landscape from the logo, kept near its real size (it is a small photo)
   with a slight soften and edges fading into the cream background */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  aspect-ratio: 412 / 166;
  transform: translateX(-50%);
  background: url("images/valley.jpg") center / cover no-repeat;
  filter: blur(1.5px);
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%);
}
.hero-card {
  position: relative;
  display: inline-block;
  background: rgba(255, 255, 255, 0.82);
  border-top: 6px solid var(--forest);
  box-shadow: 0 2px 10px rgba(47, 74, 54, 0.15);
  padding: 28px 32px;
  border-radius: 6px;
  max-width: 700px;
}
.hero h1 { margin: 0 0 10px; color: var(--forest); font-size: 2.2rem; }
.hero p { margin: 0 0 18px; font-size: 1.15rem; text-wrap: balance; }
.hero .button { margin: 4px; }

.button {
  display: inline-block;
  background: var(--forest);
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 4px;
  border: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  cursor: pointer;
}
.button:hover { background: var(--forest-dark); }
.button.secondary { background: var(--walnut-light); color: #fff; }
.button.secondary:hover { background: var(--walnut); }

/* Content */
main { max-width: 1100px; margin: 0 auto; padding: 36px 16px; }
h2 { color: var(--forest); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card {
  background: #fff;
  border-left: 5px solid var(--sage);
  padding: 18px 20px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(47, 74, 54, 0.15);
}
.card h3 { margin-top: 0; color: var(--walnut); }

/* Marketplace link card */
.link-card {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 760px;
  margin: 28px auto;
  padding: 24px;
  background: #fff;
  border-top: 6px solid var(--forest);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(47, 74, 54, 0.18);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.link-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(47, 74, 54, 0.25); }
.link-card:hover .button { background: var(--forest-dark); }
.link-card img { width: 206px; height: auto; border-radius: 4px; flex-shrink: 0; }
.link-card-text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 1.05rem; }
.link-card-title { font-size: 1.4rem; font-weight: bold; color: var(--forest); }

/* Subscribe (Constant Contact inline form) */
.subscribe-box {
  background: #fff;
  max-width: 560px;
  min-height: 120px;
  padding: 8px;
  border-top: 6px solid var(--forest);
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(47, 74, 54, 0.15);
}

/* Footer */
.site-footer {
  background: var(--walnut);
  color: var(--cream);
  border-top: 4px solid var(--sage);
  text-align: center;
  padding: 24px 16px;
  font-family: Arial, Helvetica, sans-serif;
}
.site-footer a { color: var(--linen); }
.site-footer p { margin: 4px 0; }

@media (max-width: 600px) {
  .header-inner { justify-content: center; }
  .hero h1 { font-size: 1.7rem; }
  .brand { align-items: center; }
  .brand-line1 { font-size: 1.25rem; }
  .brand-line2 { font-size: 1.6rem; }
  .link-card { flex-direction: column; text-align: center; }
  .link-card-text { align-items: center; }
}

.site-footer .credit {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(250, 247, 240, 0.2);
  font-size: 0.85rem;
  opacity: 0.85;
}
