/* =====================================================================
   WNY Grassman — site styles
   Template adapted from the orchardparkwater.com layout.

   QUICK BRANDING: change the values in :root below.
   --accent   = the highlight color (blue now; try #3fae2a for grass green)
   Fonts and colors all flow from these variables.
   ===================================================================== */

:root {
  /* Brand colors */
  --bg:          #000000;   /* page background (black) */
  --bg-2:        #111111;   /* slightly lighter panel/section */
  --bg-3:        #000000;   /* header/footer (black) */
  --accent:      #86cf3c;   /* highlight color (Grassman lime green) */
  --accent-dark: #6aa82c;   /* accent hover/pressed */
  --accent-yellow: #f6c51b; /* logo "Lawn & Landscape" yellow — used for the phone */
  --text:        #ffffff;   /* main text on dark */
  --muted:       #a7abb8;   /* secondary/paragraph text */
  --line:        rgba(255,255,255,.10);

  /* Type */
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Mulish", "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --maxw: 1180px;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1rem; color: var(--muted); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section--tight { padding: 60px 0; }
.eyebrow {
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .8rem;
  margin: 0 0 .8rem;
}
.center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  padding: 14px 26px;
  border-radius: 6px;
  transition: background .25s ease, transform .15s ease;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 12px 24px;
}
.btn--ghost:hover { background: var(--accent); color: #fff; }

/* ---------- top phone bar ---------- */
.topbar {
  background: var(--accent);
  text-align: center;
}
.topbar a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px;
  color: #0a0a0a; font-weight: 800;
  font-size: clamp(1rem, 2.6vw, 1.5rem);
  letter-spacing: .01em;
}
.topbar a svg { width: 1.05em; height: 1.05em; }
.topbar .label { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .8em; opacity: .85; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 62px; width: auto; }
.brand .brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 700; font-size: .95rem; color: #d7dae2; transition: color .2s; }
.nav a:hover { color: var(--accent); }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; color: #fff;
}
.header-phone:hover { color: var(--accent); }

/* header layout: logo left, phone centered (bigger), menu right */
.header-inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center;
  gap: 20px; min-height: 82px;
}
.header-inner .brand { justify-self: start; }
.header-inner .header-phone {
  justify-self: center;
  display: inline-flex; align-items: center;
  color: var(--accent-yellow); font-weight: 800; line-height: 1;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: .01em;
}
.header-inner .header-phone:hover { color: #fff; }
.header-inner .nav-zone { justify-self: end; display: flex; align-items: center; }
@media (max-width: 640px) {
  .header-inner { gap: 10px; padding: 0 14px; min-height: 70px; }
  .header-inner .header-phone { font-size: 1.15rem; }
  .header-inner .brand img { height: 44px; }
}

/* mobile nav toggle */
.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(13,16,23,.72), rgba(13,16,23,.92)),
    #000 center/cover no-repeat;
  padding: 110px 0 80px;
  text-align: center;
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: .3em; }
.hero .accent { color: var(--accent); }
.hero p { font-size: 1.15rem; max-width: 640px; margin: 0 auto 1.8rem; }

/* ---------- interior page banner ---------- */
.page-hero {
  position: relative;
  padding: 92px 0 74px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(0,0,0,.62), rgba(0,0,0,.82)),
    #000 center/cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); margin-bottom: .25em; }
.page-hero p { max-width: 640px; margin: 0 auto; color: #d7dae2; }
.breadcrumb { color: var(--muted); font-size: .85rem; margin-top: .6rem; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery a { display: block; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); }
.gallery img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .5s ease; }
.gallery a:hover img { transform: scale(1.07); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

/* nav active state */
.nav a.active { color: var(--accent); }

/* ---------- service cards (hero grid) ---------- */
.grid { display: grid; gap: 26px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px 26px;
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card .icon {
  width: 54px; height: 54px; margin-bottom: 16px;
  display: grid; place-items: center;
  background: rgba(134,207,60,.14); color: var(--accent);
  border-radius: 50%;
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.15rem; margin-bottom: .4em; }
.card p { font-size: .95rem; margin: 0; }

/* ---------- photo placeholder (swap for real photos) ---------- */
.placeholder {
  aspect-ratio: 3/2;
  display: grid; place-items: center; text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(134,207,60,.05) 0 14px, transparent 14px 28px),
    var(--bg-2);
  border: 1px dashed rgba(134,207,60,.4);
  border-radius: 10px;
  color: var(--muted);
}
.placeholder span { font-weight: 700; font-size: .85rem; letter-spacing: .05em; }
.placeholder svg { width: 34px; height: 34px; color: var(--accent); margin-bottom: 8px; opacity: .8; }

/* ---------- image service grid ---------- */
.photo-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.photo-card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.photo-card .body { padding: 20px 22px; }
.photo-card h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.1rem; margin: 0; }

/* ---------- split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: 10px; }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; color: #cfd3dc; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 900;
}

/* ---------- quote band ---------- */
.quote-band { background: var(--bg-3); text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 760px; }
.quote-band .qmark { font-family: var(--font-head); font-size: 3rem; color: var(--accent); line-height: 1; }
.quote-band p.quote { font-family: var(--font-head); font-style: italic; font-size: clamp(1.4rem,3vw,2rem); color: #fff; margin: .3em 0 .6em; }
.quote-band cite { color: var(--muted); font-style: normal; font-weight: 700; letter-spacing: .05em; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; text-align: center; }
.contact-item .icon {
  width: 60px; height: 60px; margin: 0 auto 14px;
  display: grid; place-items: center;
  background: rgba(134,207,60,.14); color: var(--accent); border-radius: 50%;
}
.contact-item .icon svg { width: 30px; height: 30px; }
.contact-item a.icon { transition: background .2s, color .2s, transform .15s; }
.contact-item a.icon:hover { background: var(--accent); color: #0a0a0a; transform: translateY(-3px); }
.contact-item h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.05rem; margin-bottom: .3em; }
.contact-item a, .contact-item p { color: var(--muted); margin: 0; }
.contact-item a:hover { color: var(--accent); }

/* ---------- contact form ---------- */
.form-wrap { max-width: 680px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .85rem; margin-bottom: 6px; color: #cfd3dc; }
.field input, .field select, .field textarea {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  padding: 12px 14px;
  font: inherit;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { color: var(--muted); font-size: .85rem; margin-top: 16px; text-align: center; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer {
  background: var(--bg-3);
  border-top: 1px solid var(--line);
  padding: 34px 0;
  text-align: center;
}
.site-footer p { color: var(--muted); margin: 0; font-size: .9rem; }
.site-footer .social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin: 0 5px 16px;
  border-radius: 50%;
  background: rgba(134,207,60,.14); color: var(--accent);
  transition: background .2s, color .2s, transform .15s;
}
.site-footer .social:hover { background: var(--accent); color: #0a0a0a; transform: translateY(-2px); }
.site-footer .social svg { width: 24px; height: 24px; }

/* section headers */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split.reverse > *:first-child { order: 2; }
  .contact-grid { grid-template-columns: repeat(2,1fr); gap: 34px; }
}
/* collapse menu to a hamburger early enough that the centered phone never
   collides with the menu (the full 5-item menu only shows on wide screens) */
@media (max-width: 1000px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-3); border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .nav.open a { padding: 14px 24px; width: 100%; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .hero { padding: 80px 0 60px; }
}
@media (max-width: 520px) {
  .grid-4, .grid-3, .grid-2, .contact-grid { grid-template-columns: 1fr; }
}
