/* ============================================
   CLEAR CUT — OUTDOOR PROPERTY ENHANCEMENT
   Stylesheet
   Edit colors/fonts here — everything on the
   site pulls from these variables.
   ============================================ */

:root {
  --green: #5B8C2A;
  --green-dark: #3F6B1D;
  --green-light: #EFF6E7;
  --black: #171712;
  --charcoal: #23241F;
  --gray: #6B6E63;
  --gray-light: #F5F5F1;
  --white: #FFFFFF;

  --font-display: 'Anton', sans-serif;
  --font-body: 'Work Sans', sans-serif;

  --radius: 6px;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

img { max-width: 100%; display: block; }
iframe, embed, object { max-width: 100%; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 14px;
}

p { color: var(--gray); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); }

.btn-outline-dark { border-color: var(--black); color: var(--black); background: transparent; }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }

.btn-outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--black); }

section { padding: 80px 0; }

/* ---------- Placeholder photo slots ---------- */
/* These auto-replace themselves with your real photo the
   instant a correctly-named file exists in /images.
   Until then they show a clearly labeled gray box so the
   site never looks "broken" mid-build. See images/README.md */
.photo-slot {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  background: repeating-linear-gradient(45deg, #E7E7E1, #E7E7E1 10px, #EFEFEA 10px, #EFEFEA 20px);
  border: 1px dashed #B9BBAF;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.photo-slot span {
  background: rgba(23,23,18,0.75);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.photo-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-slot img.loaded ~ span.placeholder-text { display: none; }

.photo-slot img.watermark {
  position: absolute;
  top: auto;
  left: auto;
  right: 8px;
  bottom: 8px;
  height: 22%;
  min-height: 40px;
  max-height: 72px;
  width: auto;
  max-width: 40%;
  object-fit: contain;
  opacity: 0.9;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6));
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}
.logo-wordmark {
  height: 50px;
  width: auto;
  display: block;
}
.logo .logo-mark {
  width: 46px;
  height: 46px;
  min-height: 0;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.footer-brand .logo .logo-mark {
  width: 40px;
  height: 40px;
  min-height: 0;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}
.logo .tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gray);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.nav-links a:hover { color: var(--green); }

/* ---------- Services nav dropdown ---------- */
.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -14px;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  min-width: 230px;
  padding: 8px 0;
  z-index: 150;
  list-style: none;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu li { position: relative; }
.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.82rem;
  text-transform: none;
  font-weight: 600;
  letter-spacing: normal;
  white-space: nowrap;
}
.dropdown-menu a:hover { background: var(--green-light); color: var(--green-dark); }
.soon-tag {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray);
  background: var(--gray-light);
  padding: 2px 6px;
  border-radius: 3px;
  vertical-align: middle;
}
.has-submenu .submenu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  min-width: 200px;
  padding: 8px 0;
  list-style: none;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu { display: block; }

.service-card { scroll-margin-top: 100px; }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-phone {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--charcoal);
  white-space: nowrap;
}
.nav-phone:hover { color: var(--green); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--black); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  min-height: 560px;
}
.hero-copy { padding: 60px 0; position: relative; z-index: 2; }
.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 20px;
}
.hero-copy h1 .accent { color: var(--green); display: block; }
.hero-copy p {
  color: #D8D9D2;
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-photo .photo-slot {
  min-height: 560px;
  border-radius: 0;
  border: none;
}
.hero-photo .mascot-slot {
  background: radial-gradient(ellipse at 50% 100%, #4a7a24 0%, #2f5417 55%, #17300c 100%);
}
.hero-photo .mascot-slot img {
  object-fit: contain;
  object-position: bottom center;
  padding: 20px 20px 0;
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--charcoal);
  color: var(--white);
  padding: 34px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item { display: flex; align-items: flex-start; gap: 14px; }
.trust-item .icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.trust-item h4 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 4px; }
.trust-item p { color: #B7B9AE; font-size: 0.85rem; margin: 0; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-photo .photo-slot { min-height: 380px; }
.about-copy p { margin-bottom: 24px; }

/* ---------- Services ---------- */
.services { background: var(--gray-light); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 46px; }
.section-head p { margin-top: 6px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.service-card:hover { transform: translateY(-4px); }
.service-card .photo-slot { min-height: 160px; border-radius: 0; border: none; }
.service-body { padding: 20px 22px 26px; position: relative; }
.service-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 4;
  background: rgba(23,23,18,0.88);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  line-height: 1.3;
  max-width: calc(100% - 20px);
}
.service-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-body p { font-size: 0.9rem; margin: 0; }
.services-cta { text-align: center; margin-top: 40px; }

/* ---------- Before / After ---------- */
.gallery { background: var(--black); color: var(--white); }
.gallery .section-head p { color: #B7B9AE; }
.ba-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.ba-item { position: relative; aspect-ratio: 4/3; }
.ba-item .photo-slot { border-radius: var(--radius); }
.ba-label {
  position: absolute;
  top: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 3;
}
.ba-label.before { left: 10px; background: rgba(0,0,0,0.7); color: #fff; }
.ba-label.after { right: 10px; background: var(--green); color: #fff; }
.gallery-cta { text-align: center; margin-top: 36px; }

/* ---------- Reviews + Quote form ---------- */
.contact { background: var(--gray-light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.why-list { list-style: none; margin-top: 18px; }
.why-list li {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.95rem;
  margin-bottom: 12px;
}
.why-list li::before {
  content: "✓";
  width: 22px; height: 22px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.review-box { text-align: left; }
.stars { color: #F5A623; font-size: 1.2rem; letter-spacing: 2px; margin: 10px 0 4px; }
.review-score { font-family: var(--font-display); font-size: 1.8rem; }
.review-count { font-size: 0.85rem; color: var(--gray); margin-bottom: 18px; }
.review-quote {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  font-style: italic;
  font-size: 0.92rem;
}
.review-quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--charcoal);
}

.quote-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.quote-form h3 { font-size: 1.1rem; margin-bottom: 18px; text-transform: none; font-family: var(--font-body); font-weight: 800; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #DADAD2;
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  background: var(--white);
}
.quote-form select {
  padding-right: 30px;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}
.quote-form textarea { resize: vertical; min-height: 90px; margin-bottom: 14px; }
.quote-form .full { margin-bottom: 14px; }
.quote-form button { width: 100%; justify-content: center; }
.form-note { font-size: 0.78rem; color: var(--gray); text-align: center; margin-top: 10px; }
.form-success {
  display: none;
  background: var(--green-light);
  border: 1px solid var(--green);
  color: var(--green-dark);
  padding: 12px 14px;
  border-radius: 5px;
  font-size: 0.88rem;
  margin-bottom: 14px;
  font-weight: 600;
}

/* ---------- Footer ---------- */
footer {
  background: var(--black);
  color: #B7B9AE;
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid #333329;
}
.footer-brand .logo { color: var(--white); margin-bottom: 12px; align-items: flex-start; }
.footer-tagline { color: #A9AB9E; }
.footer-brand p { font-size: 0.85rem; max-width: 260px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
footer h4 {
  color: var(--green);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; font-size: 0.9rem; }
footer ul li a:hover { color: var(--white); }
.footer-bottom {
  text-align: center;
  font-size: 0.78rem;
  padding-top: 22px;
  color: #7A7C6F;
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo .photo-slot { min-height: 320px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Header switches to the hamburger menu at the same point
     everything else goes mobile, instead of at 640px — that
     640-900px gap was cramming the full desktop nav (all
     links + dropdowns + phone + CTA button) into a narrower
     header than it was designed for. */
  .nav-phone { font-size: 0.78rem; }
  .dropdown-menu, .has-submenu .submenu {
    display: block !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    box-shadow: none;
    background: transparent;
    padding-left: 16px;
    min-width: 0;
    width: 100%;
  }
  .dropdown-menu a, .submenu a { padding: 8px 0; color: var(--gray); }
  .has-submenu .submenu { padding-left: 14px; }
  .nav-links, .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  header.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    gap: 18px;
    box-shadow: var(--shadow);
  }
  header.nav-open .nav-cta .btn-primary {
    display: inline-flex;
    margin: 0 24px 20px;
  }
}

@media (max-width: 640px) {
  .service-label { font-size: 0.66rem; padding: 4px 8px; }
  .logo-wordmark { height: 38px; }
  section { padding: 56px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Small phones ---------- */
@media (max-width: 480px) {
  .nav { flex-wrap: nowrap; gap: 8px; }
  .nav-cta { gap: 8px; }
  .logo-wordmark { height: 30px; }

  /* Phone number collapses to a tap-to-call icon so it never
     crowds out the logo + hamburger on narrow screens. */
  .nav-phone {
    font-size: 0;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-light);
    border-radius: 50%;
  }
  .nav-phone::before {
    content: "\260E";
    font-size: 1rem;
    color: var(--green-dark);
  }

  .hero-copy h1 { font-size: 2rem; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .trust-grid { grid-template-columns: 1fr; }
  section { padding: 44px 0; }
}

/* Elfsight review widget: make sure it never forces
   horizontal overflow on narrow screens. */
.review-box {
  overflow: hidden;
  max-width: 100%;
}
.review-box [class^="elfsight-app-"] {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
}
.review-box [class^="elfsight-app-"] iframe {
  width: 100% !important;
  max-width: 100% !important;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
