/* ============================================================
   Enhanced Gardens — brand stylesheet
   Palette sampled from the pink impatiens flower supplied by
   the client, harmonised with the existing magenta truck wordmark.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  /* Pinks drawn from the flower photo (#FE34C8 / #FF6BD6 core) */
  --pink:        #d6337f;   /* primary brand pink            */
  --pink-bright: #ff5cc0;   /* highlight / hover             */
  --pink-deep:   #a5185f;   /* deep magenta (truck lettering)*/
  --plum:        #3d0f2a;   /* near-black plum ink           */
  --blush:       #fbe7f2;   /* soft tint background          */
  --cream:       #fff8fb;   /* off-white text                */
  --leaf:        #6f8a5f;   /* muted foliage green accent    */

  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans:  'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --shadow: 0 18px 50px -18px rgba(61, 15, 42, 0.55);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

img { max-width: 100%; height: auto; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* ---------- Full-bleed photo background per page ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

/* Pink-tinted scrim so overlaid text is always legible */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(61,15,42,0.82) 0%, rgba(61,15,42,0.55) 42%, rgba(165,24,95,0.38) 100%),
    linear-gradient(to top, rgba(61,15,42,0.75) 0%, rgba(61,15,42,0.05) 45%);
  z-index: -1;
}

/* per-page images (set on <body class="page-…">) */
.page-home::before    { background-image: url('../images/hero-garden-path.jpg'); }
.page-about::before   { background-image: url('../images/native-garden.jpg'); }
.page-services::before{ background-image: url('../images/garden-tools.jpg'); }
.page-why::before     { background-image: url('../images/lawn-trees.jpg'); }
.page-contact::before { background-image: url('../images/lavender-flowers.jpg'); }
.page-portfolio::before { background-image: url('../images/botanical-detail.jpg'); }

/* ------------------------ Navigation ------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  background: rgba(61, 15, 42, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 92, 192, 0.25);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--cream);
}
.brand .mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: 0.5px;
  line-height: 1;
}
.brand .mark em {
  font-style: italic;
  color: var(--pink-bright);
}
/* Business emblem, left of the wordmark (reversed/white for the dark nav) */
.brand-mark {
  flex: 0 0 auto;
  width: clamp(36px, 3.6vw, 46px);   /* keeps the sticky bar from growing much */
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.4rem, 1.6vw, 1.4rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.2rem;
  position: relative;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--pink-bright);
  transition: width 0.28s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }

/* ------------------------ Layout ------------------------ */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 9vh, 7rem) clamp(1.2rem, 5vw, 3rem) 4rem;
  min-height: calc(100vh - 70px);
  min-height: calc(100dvh - 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--pink-bright);
  margin: 0 0 1rem;
  font-weight: 500;
  line-height: 1.9;   /* body 1.7 leaves two uppercase lines looking cramped */
}

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.02;
  margin: 0 0 1.2rem;
  letter-spacing: 0.5px;
  text-shadow: 0 4px 30px rgba(61,15,42,0.6);
}
h1 em { font-style: italic; color: var(--pink-bright); }

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}
h3 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
  color: var(--pink-bright);
  margin: 0 0 0.4rem;
}

.lead {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  max-width: 42ch;
  color: #fdeef6;
  text-shadow: 0 2px 18px rgba(61,15,42,0.55);
}

p { max-width: 62ch; }
p a { color: var(--pink-bright); }

/* Frosted content panel used on text-heavy pages */
.panel {
  background: rgba(61, 15, 42, 0.34);
  border: 1px solid rgba(255, 92, 192, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}
.panel + .panel { margin-top: 1.6rem; }

/* Divider sprig */
.sprig {
  display: inline-block;
  width: 64px; height: 2px;
  background: linear-gradient(90deg, var(--pink-bright), transparent);
  margin: 0.6rem 0 1.6rem;
  border-radius: 2px;
}

/* ------------------------ Buttons ------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--pink);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 10px 30px -8px rgba(165,24,95,0.7);
  transition: transform 0.18s ease, background 0.2s ease;
}
.btn:hover { background: var(--pink-bright); transform: translateY(-2px); }
.btn.ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  box-shadow: none;
}
.btn.ghost:hover { background: rgba(255,255,255,0.12); }

.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

/* ------------------------ Lists ------------------------ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
  margin-top: 1.6rem;
  list-style: none;
  padding: 0;
}
.feature-grid li {
  background: rgba(255, 248, 251, 0.06);
  border: 1px solid rgba(255, 92, 192, 0.2);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.feature-grid .tick { color: var(--pink-bright); flex: none; font-size: 1.05rem; line-height: 1.5; }
.feature-grid strong { font-weight: 500; color: #fff; }

.service-list {
  columns: 2;
  column-gap: 2.5rem;
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
}
.service-list li {
  break-inside: avoid;
  padding: 0.55rem 0 0.55rem 1.6rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 92, 192, 0.16);
}
.service-list li::before {
  content: "❋";
  position: absolute; left: 0; top: 0.5rem;
  color: var(--pink-bright);
  font-size: 0.9rem;
}

/* ------------------------ Contact ------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 1.8rem;
}
.contact-card {
  background: rgba(255, 248, 251, 0.06);
  border: 1px solid rgba(255, 92, 192, 0.22);
  border-radius: 16px;
  padding: 1.4rem;
}
.contact-card .label {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--pink-bright); display: block; margin-bottom: 0.4rem;
}
.contact-card a { color: var(--cream); text-decoration: none; font-size: 1.15rem; }
.contact-card a:hover { color: var(--pink-bright); }

/* ------------------------ Contact form (Netlify Forms) ------------------------ */
.contact-form { text-align: left; }
/* Honeypot — hidden from people, left visible to bots that ignore CSS */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .field { margin-bottom: 1rem; }
.contact-form label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink-bright);
  margin-bottom: 0.4rem;
}
.contact-form label .opt {
  letter-spacing: 0.03em;
  text-transform: none;
  color: rgba(255, 248, 251, 0.55);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--cream);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 92, 192, 0.35);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form textarea { resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255, 248, 251, 0.4); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--pink-bright);
  box-shadow: 0 0 0 3px rgba(255, 92, 192, 0.18);
}
.contact-form .form-note {
  font-size: 0.82rem;
  color: rgba(255, 248, 251, 0.6);
  margin: 0.6rem 0 0;
}
.contact-form .form-note a { color: var(--pink-bright); text-decoration: none; }
.contact-form .form-note a:hover { text-decoration: underline; }

/* ------------------------ Footer ------------------------ */
.footer {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1rem, 4vw, 2.6rem);
  padding: 2rem 1.2rem 2.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: rgba(255, 248, 251, 0.72);
  background: rgba(61, 15, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 92, 192, 0.2);
}
.footer-text { flex: 1 1 320px; max-width: 60ch; }
.footer-logo {
  flex: 0 0 auto;
  width: clamp(76px, 11vw, 116px);
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}
.footer p { max-width: 60ch; margin-left: auto; margin-right: auto; }
.footer strong { color: var(--pink-bright); font-weight: 500; }
.footer a { color: rgba(255,248,251,0.85); text-decoration: none; }
.footer a:hover { color: var(--pink-bright); }
.footer .tag { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--cream); }

/* ------------------------ About: photo beside bio ------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) 1fr;
  gap: clamp(1.4rem, 4vw, 2.8rem);
  align-items: start;
}
.about-photo { margin: 0; }
.about-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 18px;
  border: 3px solid rgba(255, 92, 192, 0.5);
  box-shadow: var(--shadow);
}
.about-photo figcaption {
  margin-top: 0.9rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--cream);
}
.about-photo .role {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink-bright);
  margin-top: 0.35rem;
}
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 300px; margin: 0 auto; }
}

/* ------------------------ Portfolio grid ------------------------ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 1.8rem;
}
.work-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 92, 192, 0.28);
  box-shadow: 0 12px 34px -16px rgba(61,15,42,0.7);
  cursor: zoom-in;
  background: rgba(61,15,42,0.3);
}
.work-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.work-item:hover img { transform: scale(1.06); }
.work-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem 0.9rem 0.7rem;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(to top, rgba(61,15,42,0.85), transparent);
  transform: translateY(6px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.work-item:hover figcaption { opacity: 1; transform: translateY(0); }
.work-item::after {
  content: "⤢";
  position: absolute;
  top: 0.6rem; right: 0.7rem;
  width: 1.9rem; height: 1.9rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(214, 51, 127, 0.85);
  color: #fff;
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.work-item:hover::after { opacity: 1; }

/* ------------------------ Lightbox ------------------------ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(30, 6, 20, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.open { display: flex; animation: fade 0.25s ease both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.lightbox figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}
.lightbox img {
  max-width: min(1000px, 90vw);
  max-height: 78vh;
  border-radius: 12px;
  border: 3px solid rgba(255, 92, 192, 0.55);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8);
}
.lightbox figcaption {
  color: var(--cream);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  text-align: center;
}
.lb-count {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink-bright);
  margin-top: 0.3rem;
}

.lb-btn {
  position: absolute;
  background: rgba(214, 51, 127, 0.9);
  color: #fff;
  border: none;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lb-btn:hover { background: var(--pink-bright); transform: scale(1.08); }
.lb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lb-prev { left: clamp(0.6rem, 3vw, 2.5rem); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(0.6rem, 3vw, 2.5rem); top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) scale(1.08); }
.lb-next:hover { transform: translateY(-50%) scale(1.08); }
.lb-close { top: clamp(0.8rem, 3vw, 1.6rem); right: clamp(0.8rem, 3vw, 1.6rem); width: 2.7rem; height: 2.7rem; font-size: 1.2rem; }

@media (max-width: 620px) {
  .lb-prev { left: 0.5rem; }
  .lb-next { right: 0.5rem; }
  .lightbox img { max-height: 68vh; }
}

/* ------------------------ Motion ------------------------ */
.reveal { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.reveal.d1 { animation-delay: 0.08s; }
.reveal.d2 { animation-delay: 0.18s; }
.reveal.d3 { animation-delay: 0.30s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------ Responsive ------------------------ */
@media (max-width: 720px) {
  /* Static (not sticky) so the wrapped menu doesn't eat a short screen */
  .nav {
    position: static;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
  }
  .nav-links { justify-content: center; gap: 0.15rem 0.9rem; }
  .nav-links a { padding: 0.55rem 0.4rem; }   /* larger tap target */
  .service-list { columns: 1; }
  main { justify-content: flex-start; }
}

@media (max-width: 460px) {
  /* Full-width, easy-to-tap buttons on small phones */
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; justify-content: center; }
}
