/* ===== Elijah's Yard Works — styles =====
   Plain CSS, mobile-first. Matches the flyer: lawn greens + patriotic red/white/blue accents. */

:root {
  --green-dark: #1b5e20;
  --green: #2e7d32;
  --green-mid: #43a047;
  --green-light: #66bb6a;
  --red: #d32f2f;
  --blue: #1565c0;
  --cream: #f6fbf2;
  --ink: #1d2b1a;
  --white: #ffffff;
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  font-size: 17px;
}

.hidden { display: none !important; }

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

/* ===== July 4 banner ===== */
.july-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  padding: 10px 44px 10px 16px;
  position: relative;
  text-align: center;
  /* Solid navy keeps white text readable; red top stripe + stars stay festive */
  background: var(--blue);
  border-top: 4px solid var(--red);
  color: #fff;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
}
.july-banner__text { text-shadow: 0 1px 2px rgba(0,0,0,0.35); }
.july-banner__stars { letter-spacing: 2px; color: #ffd24d; }
.july-banner__cta {
  background: #fff;
  color: var(--red);
  text-decoration: none;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.july-banner__close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.25);
  border: 0;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  /* Mowing-stripe lawn effect */
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 26px, rgba(0,0,0,0.05) 26px 52px),
    linear-gradient(160deg, var(--green-mid), var(--green-dark));
  color: #fff;
  text-align: center;
  padding: 40px 20px 48px;
}
.hero__inner { max-width: 620px; margin: 0 auto; }
.hero__eyebrow {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.92;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.hero__title {
  font-family: "Luckiest Guy", cursive;
  font-weight: 400;
  font-size: clamp(2.6rem, 12vw, 4.2rem);
  line-height: 0.95;
  margin: 0;
  letter-spacing: 0.02em;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.25);
}
.hero__tagline {
  font-family: "Fredoka", sans-serif;
  font-size: 1.15rem;
  font-style: italic;
  margin: 10px 0 22px;
  opacity: 0.95;
}
.hero__photo {
  width: 200px;
  height: 200px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: var(--shadow);
  object-fit: cover;
  display: block;
}
.hero__cutout {
  height: 200px;
  width: auto;
  display: block;
  margin: 0 auto 18px;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}
.hero__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  border-style: dashed;
}
.hero__photo--placeholder small { opacity: 0.8; }

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-size: 1.02rem;
  transition: transform 0.06s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--call { background: #fff; color: var(--green-dark); }
.btn--block { width: 100%; }

/* ===== Sections ===== */
.section {
  max-width: 680px;
  margin: 0 auto;
  padding: 44px 20px;
}
.section__title {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  text-align: center;
  margin: 0 0 6px;
  color: var(--green-dark);
}
.section__subtitle {
  text-align: center;
  margin: 0 auto 24px;
  max-width: 460px;
  color: #4b5a47;
  font-size: 0.98rem;
}

/* ===== Why list ===== */
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  max-width: 440px;
  margin-inline: auto;
}
.why-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  font-weight: 700;
  border-left: 6px solid var(--green-mid);
}
.why-list__icon { font-size: 1.4rem; }

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--green-light);
}
.service-card__emoji { font-size: 1.8rem; display: block; }
.service-card h3 {
  font-family: "Fredoka", sans-serif;
  font-size: 1.02rem;
  margin: 8px 0 6px;
}
.service-card__price {
  display: inline-block;
  font-weight: 800;
  color: var(--green-dark);
}
.service-card__price--free {
  font-size: 0.85rem;
  background: var(--blue);
  color: #fff;
  padding: 2px 10px;
  border-radius: 999px;
}

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gallery__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.gallery__item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.gallery__item figcaption {
  padding: 7px 4px;
  text-align: center;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--green-dark);
}

/* ===== Service area ===== */
.section--area { text-align: center; }
.area-text {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  max-width: 480px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ===== Request form ===== */
.request-form {
  display: grid;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.request-form label {
  display: grid;
  gap: 5px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--green-dark);
}
.request-form input,
.request-form select,
.request-form textarea {
  font: inherit;
  padding: 11px 12px;
  border: 2px solid #d6e3cf;
  border-radius: 10px;
  background: var(--cream);
  width: 100%;
}
.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  outline: none;
  border-color: var(--green-mid);
}
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-status { text-align: center; font-weight: 700; margin: 4px 0 0; min-height: 1.2em; }
.form-status--ok { color: var(--green-dark); }
.form-status--err { color: var(--red); }

/* ===== Footer ===== */
.footer {
  background: var(--green-dark);
  color: #fff;
  text-align: center;
  padding: 36px 20px 90px;
  margin-top: 20px;
}
.footer__name {
  font-family: "Luckiest Guy", cursive;
  font-size: 1.5rem;
  margin: 0 0 10px;
}
.footer__contact { margin: 6px 0; }
.footer__contact a { color: #fff; text-decoration: none; font-weight: 700; }
.footer__sep { opacity: 0.5; margin: 0 6px; }
.footer__area { opacity: 0.9; font-size: 0.92rem; margin: 6px 0; }
.footer__tag { font-style: italic; opacity: 0.85; font-family: "Fredoka", sans-serif; }

/* ===== Sticky mobile call button ===== */
.sticky-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  z-index: 50;
}

/* ===== Larger screens ===== */
@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .sticky-call { display: none; } /* desktop has the header buttons */
}
