/* ============================================================
   COOB'S LANDSCAPING — Main Stylesheet
   Brand: #be1e2d (red accent) | #1c2b1a (dark green)
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --red:        #be1e2d;
  --red-dark:   #9a1825;
  --green-dark: #1c2b1a;
  --charcoal:   #2d2d2d;
  --mid-gray:   #666;
  --light-gray: #e0dfd9;
  --off-white:  #f7f6f2;
  --white:      #ffffff;

  --font-head: 'Montserrat', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max-w: 1160px;
  --pad-section: 88px 24px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--charcoal); background: var(--white); line-height: 1.65; font-size: 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
/* p { max-width: 68ch; } */

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.625rem); }
h4 { font-size: 1.125rem; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section      { padding: var(--pad-section); }
.section--alt  { background: var(--off-white); }
.section--dark { background: var(--green-dark); color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; font-family: var(--font-head); font-weight: 700;
  font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em;
  border-radius: 4px; border: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); }
.btn--outline-white { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn--outline-white:hover { background: var(--white); color: var(--charcoal); }
.btn--outline-red { border: 2px solid var(--red); color: var(--red); background: transparent; }
.btn--outline-red:hover { background: var(--red); color: var(--white); }

/* ---------- Section header ---------- */
.section-header { text-align: center; margin-bottom: 52px; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: 0.7rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--red); margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--mid-gray); max-width: 580px; margin: 0 auto; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; transition: background .3s, box-shadow .3s;
}
.nav--scrolled { background: var(--white); box-shadow: 0 2px 16px rgba(0,0,0,.09); }

.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 46px; transition: opacity .2s; }
.nav__logo .logo-white { display: block; }
.nav__logo .logo-color { display: none; }
.nav--scrolled .nav__logo .logo-white { display: none; }
.nav--scrolled .nav__logo .logo-color { display: block; }

.nav__menu { display: flex; align-items: center; gap: 6px; }
.nav__item { position: relative; }
.nav__link {
  font-family: var(--font-head); font-size: 0.775rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.07em; color: rgba(255,255,255,.92);
  padding: 8px 14px; border-radius: 4px; display: block; transition: color .2s;
}
.nav--scrolled .nav__link { color: var(--charcoal); }
.nav__link:hover { color: var(--red) !important; }

/* Dropdown */
.nav__dropdown-toggle::after {
  content: ' ▾'; font-size: 0.6rem; vertical-align: middle;
}
.nav__dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); min-width: 220px;
  box-shadow: 0 8px 28px rgba(0,0,0,.12); border-radius: 6px;
  padding: 8px 0; border-top: 3px solid var(--red);
  margin-top: 0;
}
.nav__item:hover .nav__dropdown-menu { display: block; }
.nav__dropdown-menu a {
  display: block; padding: 10px 20px;
  font-family: var(--font-head); font-size: 0.775rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--charcoal) !important; transition: color .15s, background .15s;
}
.nav__dropdown-menu a:hover { color: var(--red) !important; background: var(--off-white); }

.nav__cta {
  font-family: var(--font-head); font-size: 0.775rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  background: var(--red); color: var(--white) !important;
  padding: 10px 20px; border-radius: 4px; margin-left: 8px;
}
.nav__cta:hover { background: var(--red-dark); color: var(--white) !important; }

/* Hamburger */
.nav__hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav__hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: .3s;
}
.nav--scrolled .nav__hamburger span { background: var(--charcoal); }
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav__mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--white); overflow-y: auto; padding: 24px;
  flex-direction: column; z-index: 199;
}
.nav__mobile-menu.is-open { display: flex; }
.nav__mobile-link {
  display: block; padding: 14px 0;
  font-family: var(--font-head); font-size: 0.875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--charcoal);
  border-bottom: 1px solid var(--light-gray);
}
.nav__mobile-link:hover { color: var(--red); }
.nav__mobile-submenu { padding-left: 16px; }
.nav__mobile-submenu .nav__mobile-link { font-size: 0.8rem; color: var(--mid-gray); }
.nav__mobile-cta { margin-top: 24px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; height: 100vh; min-height: 620px;
  display: flex; align-items: center;
  background: var(--green-dark);
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 40%;
  opacity: .5;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(28,43,26,.7) 0%, rgba(0,0,0,.3) 100%);
}
.hero__content {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto 0 8%; padding: 0 32px;
}
.hero .eyebrow { color: #f0a0a0; }
.hero h1 { color: var(--white); margin-bottom: 20px; max-width: 14ch; }
.hero__sub { color: rgba(255,255,255,.85); font-size: 1.125rem; max-width: 480px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero__phone {
  font-family: var(--font-head); font-size: 1.0625rem; font-weight: 700;
  color: rgba(255,255,255,.9);
}
.hero__phone:hover { color: var(--white); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: var(--red); padding: 28px 24px; }
.stats-bar__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px;
}
.stat { text-align: center; color: var(--white); }
.stat__num { font-family: var(--font-head); font-size: 2rem; font-weight: 800; display: block; }
.stat__label { font-size: 0.8125rem; opacity: .88; }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px;
}
.service-card {
  border: 1px solid var(--light-gray); border-radius: 8px; overflow: hidden;
  background: var(--white); transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(0,0,0,.1); }
.service-card__img { height: 196px; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.service-card:hover .service-card__img img { transform: scale(1.06); }
.service-card__body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { font-size: 1rem; margin-bottom: 8px; }
.service-card p { font-size: 0.9rem; color: var(--mid-gray); flex: 1; margin-bottom: 18px; max-width: none; }
.service-card__link {
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--red);
  align-self: flex-start;
}
.service-card__link::after { content: ' →'; }
.service-card__link:hover { color: var(--red-dark); }

/* ============================================================
   BEFORE / AFTER
   ============================================================ */
.ba-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px;
}
.ba-pair { border-radius: 8px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.07); }
.ba-pair__row { display: grid; grid-template-columns: 1fr 1fr; }
.ba-side { position: relative; }
.ba-side img { width: 100%; height: 200px; object-fit: cover; display: block; }
.ba-label {
  position: absolute; bottom: 8px; left: 8px;
  background: rgba(0,0,0,.6); color: var(--white);
  font-family: var(--font-head); font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  padding: 3px 9px; border-radius: 2px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about__img img { border-radius: 8px; width: 100%; height: 500px; object-fit: cover; object-position: top; }
.about__text p { color: var(--mid-gray); margin-bottom: 16px; }
.about__sig { font-family: var(--font-head); font-weight: 700; margin-top: 24px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px;
}
.testimonial {
  background: var(--white); border-radius: 8px; padding: 32px;
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
}
.testimonial__stars { color: var(--red); font-size: 1.1rem; margin-bottom: 14px; }
.testimonial__quote { font-style: italic; color: var(--mid-gray); margin-bottom: 20px; max-width: none; }
.testimonial__name { font-family: var(--font-head); font-weight: 700; font-size: 0.875rem; }
.testimonial__loc { font-size: 0.8125rem; color: var(--mid-gray); }

/* ============================================================
   AREAS SERVED
   ============================================================ */
.areas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.areas__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.areas__list li a {
  display: flex; align-items: center; gap: 10px; padding: 14px 0;
  font-family: var(--font-head); font-size: 0.875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em; color: var(--charcoal);
  border-bottom: 1px solid var(--light-gray); transition: color .2s;
}
.areas__list li a::before { content: '→'; color: var(--red); }
.areas__list li a:hover { color: var(--red); }
.areas__map,
.map-wrap { border-radius: 8px; overflow: hidden; }
.areas__map iframe,
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ============================================================
   INSTAGRAM PLACEHOLDER
   ============================================================ */
.instagram-placeholder {
  background: var(--light-gray); border-radius: 8px; padding: 56px 32px;
  text-align: center; color: var(--mid-gray);
}
.instagram-placeholder p { max-width: none; margin: 0 auto 12px; }
.instagram-placeholder small { font-size: 0.8125rem; opacity: .7; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { background: var(--green-dark); padding: 80px 24px; text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 540px; margin: 0 auto 36px; }
.cta-band__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; align-items: center; }
.cta-band__phone {
  font-family: var(--font-head); font-size: 1.0625rem; font-weight: 700;
  color: rgba(255,255,255,.9);
}
.cta-band__phone:hover { color: var(--white); }

/* ============================================================
   CONTACT FORM + INFO
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }

.contact-info__item { display: flex; gap: 16px; margin-bottom: 32px; }
.contact-info__icon { font-size: 1.375rem; flex-shrink: 0; margin-top: 2px; }
.contact-info__label {
  display: block; font-family: var(--font-head); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--mid-gray); margin-bottom: 4px;
}
.contact-info__value { font-size: 1.0625rem; font-weight: 500; }
.contact-info__value a:hover { color: var(--red); }

.form-group { margin-bottom: 20px; }
label {
  display: block; font-family: var(--font-head); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--charcoal); margin-bottom: 8px;
}
input, textarea, select {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--light-gray); border-radius: 4px;
  font-family: var(--font-body); font-size: 1rem; color: var(--charcoal);
  background: var(--white); transition: border-color .2s;
  appearance: none;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--red); }
textarea { height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative; padding: 140px 24px 72px;
  background: var(--green-dark); text-align: center; overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .28;
}
.page-hero__content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); }
.page-hero .eyebrow { color: #f0a0a0; }
.page-hero__sub { color: rgba(255,255,255,.8); font-size: 1.125rem; max-width: 580px; margin: 14px auto 0; }

/* ============================================================
   SERVICE PAGE CONTENT
   ============================================================ */
.service-body { max-width: 780px; margin: 0 auto; }
.service-body p { font-size: 1.0625rem; color: var(--charcoal); margin-bottom: 18px; }
.service-body ul { margin: 0 0 18px 0; }
.service-body ul li {
  font-size: 1.0625rem; color: var(--charcoal); padding: 6px 0 6px 28px;
  position: relative; border-bottom: 1px solid var(--light-gray);
}
.service-body ul li::before { content: '✓'; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.service-body strong { color: var(--charcoal); }

.service-cta-inline {
  background: var(--off-white); border-radius: 8px; padding: 28px 32px;
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
  margin: 32px 0; border-left: 4px solid var(--red);
}
.service-cta-inline p { flex: 1; min-width: 180px; margin: 0; font-weight: 600; max-width: none; }
.service-cta-inline__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.service-cta-inline__phone { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--charcoal); white-space: nowrap; }
.service-cta-inline__phone:hover { color: var(--red); }

/* Gallery grids */
.gallery-ba {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px;
}
.gallery-ba__label {
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--mid-gray); margin-bottom: 8px;
}
.gallery-ba img { width: 100%; height: 250px; object-fit: cover; border-radius: 6px; }

.photo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px;
  margin: 32px 0;
}
.photo-grid img { width: 100%; height: 210px; object-fit: cover; border-radius: 6px; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar { background: var(--off-white); padding: 40px 24px; }
.trust-bar__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 32px;
}
.trust-item { text-align: center; min-width: 160px; }
.trust-item__icon { font-size: 2rem; margin-bottom: 8px; }
.trust-item__title {
  font-family: var(--font-head); font-weight: 700; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 4px;
}
.trust-item__sub { font-size: 0.8125rem; color: var(--mid-gray); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #1a1a1a; color: rgba(255,255,255,.65); padding: 72px 24px 32px; }
.footer__grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px;
}
.footer__logo { height: 40px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer__about { font-size: 0.9375rem; line-height: 1.7; margin-bottom: 20px; max-width: none; }
.footer__phone { font-family: var(--font-head); font-size: 1.125rem; font-weight: 700; color: var(--white); }
.footer__phone:hover { color: var(--red); }
.footer__col-title {
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .15em; color: var(--white); margin-bottom: 20px;
}
.footer__links li { margin-bottom: 10px; }
.footer__links a { font-size: 0.9rem; color: rgba(255,255,255,.65); transition: color .2s; }
.footer__links a:hover { color: var(--red); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); max-width: var(--max-w); margin: 0 auto;
  padding-top: 24px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; font-size: 0.8125rem;
}

/* ============================================================
   AREA PAGE SPECIFICS
   ============================================================ */
.area-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 32px 0; }
.area-service-item {
  padding: 20px; border: 1px solid var(--light-gray); border-radius: 6px;
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--charcoal);
  transition: border-color .2s, color .2s;
}
.area-service-item:hover { border-color: var(--red); color: var(--red); }
.area-service-item::before { content: '→ '; color: var(--red); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid  { grid-template-columns: 1fr; gap: 40px; }
  .areas-grid  { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  :root { --pad-section: 64px 20px; }

  .nav__menu { display: none; }
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .nav { padding: 0 20px; }

  .hero h1 { font-size: 2rem; }
  .hero__sub { font-size: 1rem; }

  .stats-bar__inner { gap: 28px; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .ba-grid { grid-template-columns: 1fr; }

  .gallery-ba { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
}
