/* ==========================================================================
   Third Day Horticulture — site styles
   A modern, upscale, image-led design system.
   Overrides the minimal theme + Bootstrap 3 defaults.
   ========================================================================== */

:root {
  --tdh-green-900: #1b3a27;
  --tdh-green-700: #2f5d3a;
  --tdh-green-500: #4c8a5a;
  --tdh-green-50:  #eef4ef;
  --tdh-sand:      #f6f2ea;
  --tdh-cream:     #faf7f1;
  --tdh-ink:       #1a1f1b;
  --tdh-muted:     #5a665d;
  --tdh-rule:      #e3ded3;
  --tdh-white:     #ffffff;
  --tdh-shadow-sm: 0 2px 6px rgba(26, 31, 27, 0.06);
  --tdh-shadow-md: 0 10px 30px rgba(26, 31, 27, 0.10);
  --tdh-shadow-lg: 0 24px 60px rgba(26, 31, 27, 0.18);
  --tdh-radius:    4px;
  --tdh-maxw:      1200px;
  --tdh-gutter:    clamp(20px, 4vw, 48px);
  --tdh-serif:     "Playfair Display", Georgia, "Times New Roman", serif;
  --tdh-sans:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Reset the minimal theme's cramped centered layout. */
html, body { height: auto; }
html body {
  font-family: var(--tdh-sans);
  background-color: var(--tdh-white);
  color: var(--tdh-ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  padding-top: 0;
  display: block;
  text-align: left;
}
main {
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
}
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--tdh-serif);
  font-weight: 600;
  color: var(--tdh-ink);
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p  { margin: 0 0 1em; color: var(--tdh-ink); }
.lead { font-size: 1.15rem; color: var(--tdh-muted); }
a { color: var(--tdh-green-700); text-decoration: none; transition: color 0.2s ease; }
a:hover, a:focus { color: var(--tdh-green-900) !important; text-decoration: underline; }
.eyebrow {
  font-family: var(--tdh-sans);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--tdh-green-700);
  margin: 0 0 1em;
  display: inline-block;
}

/* Layout primitives */
.tdh-container {
  width: 100%;
  max-width: var(--tdh-maxw);
  margin: 0 auto;
  padding-left: var(--tdh-gutter);
  padding-right: var(--tdh-gutter);
}
.tdh-section { padding: clamp(56px, 8vw, 112px) 0; }
.tdh-section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.tdh-section--alt { background: var(--tdh-cream); }
.tdh-section--dark { background: var(--tdh-green-900); color: var(--tdh-white); }
.tdh-section--dark h1,
.tdh-section--dark h2,
.tdh-section--dark h3 { color: var(--tdh-white); }
.tdh-section--dark p { color: rgba(255,255,255,0.86); }
.tdh-section--dark .eyebrow { color: #b9d6bf; }
.tdh-section--dark a { color: #cfe4d3; }

.tdh-center { text-align: center; }
.tdh-narrow { max-width: 720px; margin-left: auto; margin-right: auto; }

/* Grid helpers */
.tdh-grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.tdh-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tdh-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tdh-grid--4 { grid-template-columns: repeat(4, 1fr); }
.tdh-grid--6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 900px) {
  .tdh-grid--3, .tdh-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .tdh-grid--6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .tdh-grid--2, .tdh-grid--3, .tdh-grid--4 { grid-template-columns: 1fr; }
  .tdh-grid--6 { grid-template-columns: repeat(2, 1fr); }
}

/* Buttons */
.tdh-btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.tdh-btn:hover { transform: translateY(-1px); text-decoration: none !important; }
.tdh-btn--primary {
  background: var(--tdh-green-700);
  color: var(--tdh-white) !important;
  border-color: var(--tdh-green-700);
  box-shadow: var(--tdh-shadow-sm);
}
.tdh-btn--primary:hover {
  background: var(--tdh-green-900);
  border-color: var(--tdh-green-900);
  color: var(--tdh-white) !important;
}
.tdh-btn--ghost {
  background: transparent;
  color: var(--tdh-white) !important;
  border-color: rgba(255,255,255,0.8);
}
.tdh-btn--ghost:hover {
  background: var(--tdh-white);
  color: var(--tdh-green-900) !important;
  border-color: var(--tdh-white);
}
.tdh-btn--outline {
  background: transparent;
  color: var(--tdh-green-900) !important;
  border-color: var(--tdh-green-900);
}
.tdh-btn--outline:hover {
  background: var(--tdh-green-900);
  color: var(--tdh-white) !important;
}

/* Navbar (override bootstrap navbar) */
.tdh-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--tdh-rule);
}
.tdh-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.tdh-brand { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.tdh-brand__mark { height: 44px; width: auto; }
.tdh-brand__text {
  font-family: var(--tdh-serif);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--tdh-green-900);
  line-height: 1.1;
}
.tdh-brand__sub {
  display: block;
  font-family: var(--tdh-sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tdh-muted);
  font-weight: 500;
}
.tdh-nav__links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.tdh-nav__links a {
  color: var(--tdh-ink);
  font-weight: 500;
  font-size: 0.97rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.tdh-nav__links a:hover,
.tdh-nav__links a.is-active {
  color: var(--tdh-green-900) !important;
  border-bottom-color: var(--tdh-green-700);
  text-decoration: none;
}
.tdh-nav__cta { display: flex; align-items: center; gap: 12px; }
.tdh-nav__phone {
  font-weight: 600;
  color: var(--tdh-green-900);
  font-size: 0.95rem;
}
.tdh-nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.tdh-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--tdh-ink);
  margin: 4px 0;
  transition: transform 0.2s ease;
}
@media (max-width: 960px) {
  .tdh-nav__links, .tdh-nav__phone { display: none; }
  .tdh-nav__toggle { display: inline-block; }
  .tdh-nav__inner.is-open { flex-wrap: wrap; height: auto; padding-bottom: 16px; }
  .tdh-nav__inner.is-open .tdh-nav__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    border-top: 1px solid var(--tdh-rule);
    padding-top: 10px;
    margin-top: 10px;
  }
  .tdh-nav__inner.is-open .tdh-nav__links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--tdh-rule);
  }
  .tdh-nav__inner.is-open .tdh-nav__phone {
    display: block;
    padding-top: 12px;
  }
}

/* Hero */
.tdh-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  color: var(--tdh-white);
  overflow: hidden;
}
.tdh-hero__media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.tdh-hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,22,14,0.55) 0%, rgba(11,22,14,0.35) 40%, rgba(11,22,14,0.75) 100%);
}
.tdh-hero__inner {
  position: relative; z-index: 1;
  padding: clamp(80px, 14vw, 160px) 0 clamp(64px, 10vw, 120px);
  max-width: 760px;
}
.tdh-hero h1 { color: var(--tdh-white); margin-bottom: 0.3em; }
.tdh-hero p.lead {
  color: rgba(255,255,255,0.92);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  margin-bottom: 1.6em;
}
.tdh-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.tdh-hero__eyebrow {
  color: #cfe4d3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tdh-hero__eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: #cfe4d3;
  display: inline-block;
}

/* Compact page banner for interior pages */
.tdh-banner {
  position: relative;
  padding: clamp(90px, 12vw, 150px) 0 clamp(56px, 8vw, 90px);
  color: var(--tdh-white);
  overflow: hidden;
}
.tdh-banner__media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.tdh-banner__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,22,14,0.55), rgba(11,22,14,0.70));
}
.tdh-banner__inner { position: relative; z-index: 1; max-width: 760px; }
.tdh-banner h1 { color: var(--tdh-white); }
.tdh-banner p { color: rgba(255,255,255,0.9); }

/* Trust bar */
.tdh-trustbar {
  background: var(--tdh-cream);
  padding: 20px 0;
  border-top: 1px solid var(--tdh-rule);
  border-bottom: 1px solid var(--tdh-rule);
}
.tdh-trustbar__inner {
  display: flex; flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
  align-items: center;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tdh-muted);
}
.tdh-trustbar__inner strong { color: var(--tdh-green-900); font-weight: 600; }

/* Cards */
.tdh-card {
  background: var(--tdh-white);
  border-radius: var(--tdh-radius);
  overflow: hidden;
  box-shadow: var(--tdh-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tdh-card:hover { transform: translateY(-2px); box-shadow: var(--tdh-shadow-md); }
.tdh-card__img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}
.tdh-card__body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.tdh-card__body h3 { margin-bottom: 10px; }
.tdh-card__body p { color: var(--tdh-muted); flex: 1; }
.tdh-card__link {
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--tdh-green-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tdh-card__link::after { content: "→"; transition: transform 0.2s ease; }
.tdh-card__link:hover::after { transform: translateX(3px); }

/* Feature / value props */
.tdh-feature { }
.tdh-feature__num {
  font-family: var(--tdh-serif);
  font-size: 2rem;
  color: var(--tdh-green-500);
  display: block;
  margin-bottom: 6px;
}
.tdh-feature h4 { margin-bottom: 8px; }
.tdh-feature p { color: var(--tdh-muted); font-size: 0.98rem; }

/* Segment chips (who we serve) */
.tdh-segments { list-style: none; padding: 0; margin: 0; }
.tdh-segments li {
  background: var(--tdh-white);
  border: 1px solid var(--tdh-rule);
  padding: 28px 22px;
  border-radius: var(--tdh-radius);
  text-align: center;
  font-weight: 500;
}
.tdh-segments li .tdh-segment__icon {
  font-size: 1.4rem;
  color: var(--tdh-green-700);
  display: block;
  margin-bottom: 10px;
}
.tdh-segments li h4 { font-family: var(--tdh-sans); font-size: 1rem; margin: 0 0 4px; }
.tdh-segments li span.small { color: var(--tdh-muted); font-size: 0.88rem; }

/* Split (image + text) */
.tdh-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.tdh-split--reverse .tdh-split__media { order: 2; }
.tdh-split__media {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  border-radius: var(--tdh-radius);
  box-shadow: var(--tdh-shadow-md);
}
@media (max-width: 800px) {
  .tdh-split { grid-template-columns: 1fr; }
  .tdh-split--reverse .tdh-split__media { order: 0; }
  .tdh-split__media { aspect-ratio: 4 / 3; }
}

/* Gallery */
.tdh-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .tdh-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tdh-gallery { grid-template-columns: 1fr; } }
.tdh-gallery__tile {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: var(--tdh-radius);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.tdh-gallery__tile:hover { transform: scale(1.01); }
.tdh-gallery__tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.45));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.tdh-gallery__tile:hover::after { opacity: 1; }
.tdh-gallery__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 18px;
  color: var(--tdh-white);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2;
}
.tdh-gallery__tile:hover .tdh-gallery__caption { opacity: 1; transform: translateY(0); }

/* Gallery filter tabs */
.tdh-filters {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}
.tdh-filter {
  background: transparent;
  border: 1px solid var(--tdh-rule);
  color: var(--tdh-ink);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--tdh-sans);
}
.tdh-filter.is-active,
.tdh-filter:hover {
  background: var(--tdh-green-900);
  color: var(--tdh-white);
  border-color: var(--tdh-green-900);
}

/* Testimonial */
.tdh-quote {
  font-family: var(--tdh-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.45;
  color: var(--tdh-ink);
  font-style: italic;
  position: relative;
  padding-top: 30px;
}
.tdh-quote::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 0;
  font-size: 4rem;
  color: var(--tdh-green-500);
  line-height: 1;
  font-family: var(--tdh-serif);
}
.tdh-quote__attr {
  font-family: var(--tdh-sans);
  font-style: normal;
  font-size: 0.9rem;
  color: var(--tdh-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 18px;
  display: block;
}

/* CTA band */
.tdh-ctaband {
  background: var(--tdh-green-900);
  color: var(--tdh-white);
  padding: clamp(56px, 8vw, 96px) 0;
  text-align: center;
}
.tdh-ctaband h2 { color: var(--tdh-white); }
.tdh-ctaband p { color: rgba(255,255,255,0.85); }
.tdh-ctaband__ctas { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }

/* Lists w/ check */
.tdh-checklist { list-style: none; padding: 0; margin: 0; }
.tdh-checklist li {
  position: relative;
  padding: 8px 0 8px 32px;
  color: var(--tdh-ink);
  border-bottom: 1px solid var(--tdh-rule);
}
.tdh-checklist li:last-child { border-bottom: 0; }
.tdh-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--tdh-green-700);
  font-weight: 700;
}

/* Form */
.tdh-form {
  background: var(--tdh-white);
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--tdh-radius);
  box-shadow: var(--tdh-shadow-md);
  display: grid;
  gap: 18px;
}
.tdh-form label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tdh-muted);
  display: block;
  margin-bottom: 6px;
}
.tdh-form input,
.tdh-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--tdh-rule);
  border-radius: var(--tdh-radius);
  font-family: var(--tdh-sans);
  font-size: 1rem;
  background: var(--tdh-white);
  color: var(--tdh-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tdh-form input:focus,
.tdh-form textarea:focus {
  outline: none;
  border-color: var(--tdh-green-700);
  box-shadow: 0 0 0 3px rgba(47, 93, 58, 0.15);
}
.tdh-form textarea { min-height: 140px; resize: vertical; }
.tdh-form button {
  justify-self: start;
}

/* Contact meta list */
.tdh-meta { list-style: none; padding: 0; margin: 0; }
.tdh-meta li {
  padding: 14px 0;
  border-bottom: 1px solid var(--tdh-rule);
}
.tdh-meta li:last-child { border-bottom: 0; }
.tdh-meta .tdh-meta__label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tdh-muted);
  margin-bottom: 4px;
}
.tdh-meta a { color: var(--tdh-green-900); }

/* Footer */
.tdh-footer {
  background: #0f1a12;
  color: rgba(255,255,255,0.78);
  padding: 72px 0 24px;
  font-size: 0.95rem;
}
.tdh-footer h4 {
  color: var(--tdh-white);
  font-family: var(--tdh-sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}
.tdh-footer a { color: rgba(255,255,255,0.78); }
.tdh-footer a:hover { color: var(--tdh-white) !important; }
.tdh-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 800px) {
  .tdh-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .tdh-footer__grid { grid-template-columns: 1fr; }
}
.tdh-footer__brand img { height: 48px; margin-bottom: 14px; }
.tdh-footer__brand p { color: rgba(255,255,255,0.72); font-size: 0.95rem; }
.tdh-footer ul { list-style: none; padding: 0; margin: 0; }
.tdh-footer ul li { padding: 4px 0; }
.tdh-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* Disarm Bootstrap 3 navbar injected by theme's header, in case it renders. */
.navbar.navbar-default.navbar-fixed-top { display: none !important; }
body { padding-top: 0 !important; }

/* Keep legacy helper classes from old CSS from causing collapse */
.intro { margin: 0; }
