/* ============================================
   AA Lawn Care — Main Stylesheet
   ============================================ */

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

:root {
  --green-dark: #1a3a1f;
  --green-mid: #2d6a35;
  --green-bright: #3d8c47;
  --green-light: #5db366;
  --green-pale: #e8f5e9;
  --gold: #c8a84b;
  --gold-light: #e8c96a;
  --cream: #faf8f3;
  --text-dark: #111810;
  --text-mid: #3a4039;
  --text-light: #6b7a6a;
  --white: #ffffff;
  --radius: 4px;
  --shadow: 0 4px 32px rgba(26, 58, 31, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--cream);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 58, 31, 0.97);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 68px;
  border-bottom: 1px solid rgba(200, 168, 75, 0.25);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-text {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-logo-text span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--green-dark) !important;
  padding: 8px 20px;
  border-radius: 2px;
  font-weight: 500 !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--green-dark) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: 0.3s;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--green-dark);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 5vw 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 80% at 70% 50%,
      rgba(45, 106, 53, 0.4) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 40% at 20% 80%,
      rgba(61, 140, 71, 0.2) 0%,
      transparent 60%
    );
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255, 255, 255, 0.5) 20px,
    rgba(255, 255, 255, 0.5) 21px
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 168, 75, 0.15);
  border: 1px solid rgba(200, 168, 75, 0.4);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}

.hero-badge::before {
  content: "●";
  font-size: 6px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
  display: block;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--green-dark);
  padding: 14px 28px;
  border-radius: 2px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition:
    background 0.2s,
    transform 0.15s;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 14px 28px;
  border-radius: 2px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

.hero-trust {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeUp 0.6s 0.4s ease both;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-num {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.trust-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── SECTION SHARED ── */
section {
  padding: 100px 5vw;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 12px;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--green-bright);
}

.section-sub {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 560px;
  font-weight: 300;
}

/* ── WHY US ── */
.why {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feature-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  background: var(--cream);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.feature-item:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.feature-text h3 {
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text-dark);
}
.feature-text p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.why-image-stack {
  position: relative;
  height: 460px;
}

.img-placeholder {
  position: absolute;
  border-radius: 4px;
  overflow: hidden;
  background: var(--green-pale);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--green-mid);
}

.img-placeholder .ph-icon {
  font-size: 2.5rem;
  opacity: 0.5;
}
.img-placeholder .ph-text {
  font-size: 0.8rem;
  opacity: 0.6;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.img-main {
  width: 78%;
  height: 85%;
  top: 0;
  left: 0;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
}
.img-accent {
  width: 50%;
  height: 48%;
  bottom: 0;
  right: 0;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
}

.img-badge {
  position: absolute;
  bottom: 48%;
  right: 20%;
  transform: translateY(50%);
  background: var(--green-dark);
  color: var(--gold);
  padding: 12px 18px;
  border-radius: 2px;
  z-index: 3;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: var(--shadow);
}

/* ── SERVICES ── */
.services {
  background: var(--cream);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
  cursor: default;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--green-light);
}
.service-card:hover .service-num {
  color: var(--green-bright);
}

.service-num {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green-pale);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.2s;
}

.service-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.service-card h3 {
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.service-card p {
  font-size: 0.87rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ── AREAS ── */
.areas {
  background: var(--green-dark);
  color: var(--white);
}
.areas .section-label {
  color: var(--gold);
}
.areas .section-title {
  color: var(--white);
}
.areas .section-sub {
  color: rgba(255, 255, 255, 0.6);
}

/* ── GALLERY ── */
.gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 220px 220px;
  gap: 12px;
  margin-top: 48px;
}

.gallery-item {
  background: var(--green-pale);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--green-mid);
  position: relative;
  cursor: pointer;
  transition: opacity 0.2s;
}

/* .gallery-item.tall { grid-row: span 2; } */
.gallery-item .ph-icon {
  font-size: 2rem;
  opacity: 0.45;
}
.gallery-item .ph-text {
  font-size: 0.75rem;
  opacity: 0.5;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── QUOTE FORM ── */
.quote {
  background: var(--cream);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}

.quote-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
}

.contact-item h4 {
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}
.contact-item a,
.contact-item p {
  font-size: 1rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 400;
  line-height: 1.5;
}
.contact-item a:hover {
  color: var(--green-bright);
}

.free-est-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-pale);
  border: 1px solid rgba(45, 106, 53, 0.2);
  color: var(--green-mid);
  padding: 12px 18px;
  border-radius: 2px;
  font-size: 0.88rem;
  font-weight: 500;
}

/* FORM */
.quote-form {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.quote-form h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.quote-form .form-sub {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 2px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(61, 140, 71, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-submit {
  width: 100%;
  background: var(--green-dark);
  color: var(--gold);
  border: none;
  padding: 14px;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--green-mid);
}

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 12px;
}

/* ── FOOTER ── */
footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 5vw 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
}

.footer-brand p {
  font-size: 0.87rem;
  line-height: 1.7;
  max-width: 280px;
}

footer h3 {
  font-family: "Playfair Display", serif;
}
.footer-col h4 {
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.87rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--green-dark);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 8px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lightbox-close:hover {
  opacity: 1;
}

.gallery-item img {
  cursor: zoom-in;
}
/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .why-grid,
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-image-stack {
    height: 300px;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item.tall {
    grid-row: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--green-dark);
    padding: 20px;
    gap: 16px;
  }
  .nav-links.open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero-trust {
    gap: 20px;
  }
  section {
    padding: 70px 5vw;
  }
}
