/* ============ Marotta Landscaping — Wicked Fast Web ============ */

:root {
  --pine: #17331f;
  --pine-deep: #0e2115;
  --moss: #3f6b3f;
  --sage: #7f9c72;
  --sand: #f6f2e9;
  --sand-warm: #efe6d3;
  --terracotta: #c1683a;
  --terracotta-deep: #a2542c;
  --charcoal: #23271f;
  --ink-soft: #4a4f42;
  --font-head: "Fraunces", "Georgia", serif;
  --font-body: "Jost", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--sand);
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-word {
  font-family: var(--font-head);
}

a { text-decoration: none; }

::selection { background: var(--terracotta); color: #fff; }

/* ---------- Navbar ---------- */
.navbar-wfw {
  background: rgba(23, 51, 31, 0.96);
  padding: 0.65rem 0;
  transition: padding 0.25s ease, background 0.25s ease;
}

.navbar-wfw .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff !important;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}

.navbar-wfw .navbar-brand img {
  height: 42px;
  width: auto;
  background: var(--sand);
  border-radius: 8px;
  padding: 4px 6px;
}

.navbar-wfw .nav-link {
  color: rgba(255,255,255,0.88) !important;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0 0.35rem;
  padding: 0.5rem 0.6rem !important;
  position: relative;
}

.navbar-wfw .nav-link:hover { color: #fff !important; }

.navbar-wfw .btn-quote {
  background: var(--terracotta);
  color: #fff;
  font-weight: 600;
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  margin-left: 0.5rem;
  white-space: nowrap;
}

.navbar-wfw .btn-quote:hover { background: var(--terracotta-deep); color: #fff; }

.navbar-toggler { border-color: rgba(255,255,255,0.4); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('img/hero.webp') center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 2.75rem 2rem;
  margin: 0 1rem;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 18px;
}

.hero-eyebrow {
  color: var(--sand);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 600;
  color: #fff;
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  line-height: 1.08;
  margin: 0.6rem 0 1.1rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-subtitle {
  color: #f4f1e8;
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 1.9rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

.hero-btns .btn { margin: 0.3rem; }

.btn-cta {
  background: var(--terracotta);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  letter-spacing: 0.02em;
}
.btn-cta:hover { background: var(--terracotta-deep); color: #fff; }

.btn-cta-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 50px;
}
.btn-cta-outline:hover { background: #fff; color: var(--pine); }

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-size: 1.6rem;
  opacity: 0.85;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%,100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ---------- Section basics ---------- */
section { padding: 6rem 0; }
.section-tight { padding: 4.5rem 0; }

.section-eyebrow {
  color: var(--terracotta-deep);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.8rem;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--pine);
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 700px;
}

.bg-sand-warm { background: var(--sand-warm); }
.bg-pine { background: var(--pine); color: var(--sand); }
.bg-pine .section-title { color: #fff; }
.bg-pine .section-lead { color: rgba(246,242,233,0.85); }

/* ---------- About ---------- */
.about-quote {
  border-left: 4px solid var(--terracotta);
  padding-left: 1.25rem;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--pine);
  margin: 1.75rem 0;
}

.value-pill {
  display: inline-block;
  background: #fff;
  border: 1px solid rgba(23,51,31,0.15);
  color: var(--pine);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  margin: 0.25rem 0.35rem 0.25rem 0;
}

.founder-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(23,51,31,0.08);
  height: 100%;
}
.founder-card img { width: 100%; height: 260px; object-fit: cover; }
.founder-card .founder-body { padding: 1.25rem 1.4rem 1.5rem; }
.founder-card h4 { color: var(--pine); font-size: 1.2rem; margin-bottom: 0.15rem; }
.founder-card .founder-role { color: var(--terracotta-deep); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Services ---------- */
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  height: 100%;
  text-align: center;
  box-shadow: 0 8px 24px rgba(23,51,31,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-top: 3px solid transparent;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(23,51,31,0.14);
  border-top-color: var(--terracotta);
}
.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sand-warm);
  color: var(--pine);
  font-size: 1.6rem;
}
.service-card h3 {
  font-size: 1.1rem;
  color: var(--pine);
  margin-bottom: 0.6rem;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 0.93rem;
  margin-bottom: 0;
}

/* ---------- Gallery ---------- */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(to top, rgba(14,33,21,0.88), transparent);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--sand-warm);
  border-radius: 16px;
  padding: 1.9rem;
  height: 100%;
}
.testimonial-stars { color: var(--terracotta); letter-spacing: 0.15em; margin-bottom: 0.75rem; }
.testimonial-card p.quote { color: var(--charcoal); font-size: 1rem; line-height: 1.6; }
.testimonial-name { color: var(--pine); font-weight: 600; margin-top: 1rem; margin-bottom: 0; }

/* ---------- Service area ---------- */
.town-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(246,242,233,0.08);
  border: 1px solid rgba(246,242,233,0.25);
  color: var(--sand);
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  font-weight: 500;
  margin: 0.3rem;
}

/* ---------- Contact ---------- */
.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(23,51,31,0.06);
}
.contact-line { display: flex; gap: 0.9rem; align-items: flex-start; margin-bottom: 1.4rem; }
.contact-line i { color: var(--terracotta-deep); font-size: 1.25rem; margin-top: 0.15rem; }
.contact-line strong { display: block; color: var(--pine); }

.form-control, .form-select {
  border: 1px solid rgba(23,51,31,0.2);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--moss);
  box-shadow: 0 0 0 0.2rem rgba(63,107,63,0.18);
}
.form-label { color: var(--pine); font-weight: 500; font-size: 0.9rem; }

.map-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(23,51,31,0.1);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--pine-deep);
  color: rgba(246,242,233,0.75);
  padding: 3.5rem 0 2rem;
}
.footer-logo-chip {
  display: inline-block;
  background: var(--sand);
  border-radius: 12px;
  padding: 0.5rem 0.85rem;
  margin-bottom: 1rem;
}
.footer-logo-chip img { height: 44px; width: auto; display: block; }
footer.site-footer a { color: rgba(246,242,233,0.75); }
footer.site-footer a:hover { color: #fff; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(246,242,233,0.1);
  margin-right: 0.5rem;
  color: var(--sand);
}
.footer-social a:hover { background: var(--terracotta); color: #fff; }
.footer-divider { border-color: rgba(246,242,233,0.15); margin: 2rem 0 1.5rem; }
.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(246,242,233,0.6);
  font-size: 0.85rem;
}
.powered-by a { color: var(--sage); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .navbar-wfw { background: var(--pine); }
  section { padding: 4.5rem 0; }
  .hero-content { padding: 2rem 1.4rem; }
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 2.1rem; }
  .founder-card img { height: 220px; }
}
