/* =========================
   RESET
========================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #f5f8f2;
  color: #1f2d1f;
  line-height: 1.6;
  overflow-x: hidden;
}

/* =========================
   SCROLL PROGRESS
========================= */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;

  width: 0%;
  height: 5px;

  background: #c8f169;

  z-index: 99999;
}

/* =========================
   BACKGROUND EFFECT
========================= */

.grass-bg {
  position: fixed;
  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(
      circle,
      rgba(200, 241, 105, 0.18) 1px,
      transparent 1px
    );

  background-size: 40px 40px;

  animation: floatBg 18s linear infinite;

  z-index: -1;
}

/* =========================
   NAVBAR
========================= */

header {
  position: fixed;
  top: 0;
  width: 100%;

  z-index: 1000;

  background: rgba(16, 42, 20, 0.65);

  backdrop-filter: blur(12px);

  transition: 0.3s ease;
}

header.scrolled {
  background: rgba(16, 42, 20, 0.97);

  box-shadow:
    0 4px 20px rgba(0,0,0,.25);
}

.navbar {
  padding: 20px 8%;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: white;

  font-size: 30px;
  font-weight: bold;
}

.nav-links {
  display: flex;

  gap: 24px;

  align-items: center;

  list-style: none;
}

.nav-links a {
  color: white;

  text-decoration: none;

  font-weight: bold;

  transition: .3s ease;
}

.nav-links a:hover {
  color: #c8f169;
}

.menu-toggle {
  display: none;

  background: none;
  border: none;

  color: white;

  font-size: 30px;

  cursor: pointer;
}

/* =========================
   HERO
========================= */

.hero {
  height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  padding: 0 8%;

  background:
    linear-gradient(
      rgba(0,0,0,.45),
      rgba(0,0,0,.45)
    ),
    url("lawn/hero-bg.jpeg");

  background-size: cover;
  background-position: center;
  background-attachment: fixed;

  color: white;
}

.hero-content {
  max-width: 760px;

  animation: fadeUp 1.2s ease;
}

.hero h1 {
  font-size: 68px;

  line-height: 1.1;

  margin-bottom: 22px;
}

.hero p {
  font-size: 21px;

  margin-bottom: 35px;
}

/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-block;

  background: #c8f169;
  color: #1f2d1f;

  padding: 15px 30px;
  margin: 10px;

  border-radius: 12px;

  text-decoration: none;

  font-weight: bold;

  transition: .3s ease;
}

.btn:hover {
  transform: translateY(-3px);

  background: #ddff8e;
}

.btn.secondary {
  background: white;
}

/* =========================
   SECTIONS
========================= */

.section {
  padding: 100px 8%;
}

.section-title {
  text-align: center;

  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 48px;

  color: #1f5c2e;

  margin-bottom: 18px;
}

.section-title p {
  max-width: 850px;

  margin: auto;

  color: #5f6f5f;

  font-size: 19px;
}

/* =========================
   STATS
========================= */

.stats-section {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(180px, 1fr));

  gap: 25px;

  padding: 55px 8%;

  background: #1f5c2e;

  color: white;

  text-align: center;
}

.stat h2 {
  font-size: 52px;

  color: #c8f169;

  margin-bottom: 10px;
}

/* =========================
   ALL WORK
========================= */

.all-work-section {
  background: #eef7e7;
}

.all-work-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(260px, 1fr));

  gap: 28px;
}

.work-card {
  background: white;

  padding: 36px;

  border-radius: 26px;

  box-shadow:
    0 8px 25px rgba(0,0,0,.08);

  transition: .3s ease;
}

.work-card:hover {
  transform: translateY(-5px);
}

.work-card h3 {
  color: #1f5c2e;

  font-size: 22px;

  margin-bottom: 18px;
}

.work-card p {
  font-size: 18px;
}

/* =========================
   GALLERY
========================= */

.gallery-section {
  background: #eaf3e4;
}

.gallery-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(260px, 1fr));

  gap: 24px;
}

.gallery-img {
  width: 100%;
  height: 300px;

  object-fit: cover;

  border-radius: 22px;

  cursor: pointer;

  box-shadow:
    0 8px 25px rgba(0,0,0,.15);

  transition: .4s ease;
}

.gallery-img:hover {
  transform: scale(1.04);

  filter: brightness(.9);
}

/* =========================
   TEAM
========================= */

.team-section {
  background: white;
}

.team-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(320px, 1fr));

  gap: 35px;

  align-items: stretch;
}

.team-card {
  background: #f5f8f2;

  padding: 30px;

  border-radius: 28px;

  text-align: center;

  box-shadow:
    0 8px 25px rgba(0,0,0,.08);

  display: flex;

  flex-direction: column;

  justify-content: flex-start;

  height: 100%;
}

.team-card img {

  width: 80%;

  height: 80%;

  max-height: 520px;

  object-fit: center;

  object-position: center;

  border-radius: 22px;

  margin-bottom: 24px;

  display: block;

  background: #eef7e7;
}

.team-card h3 {
  color: #1f5c2e;

  font-size: 24px;

  margin-bottom: 18px;
}

.team-card p {
  font-size: 18px;
}

/* =========================
   FAMILY SECTION
========================= */

.family-section {
  background: #eef7e7;
}

.family-container {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(320px, 1fr));

  gap: 40px;

  align-items: center;
}

.family-photo {
  width: 100%;

  height: auto;

  max-height: 650px;

  object-fit: contain;

  border-radius: 24px;

  box-shadow:
    0 10px 30px rgba(0,0,0,.15);

  display: block;

  margin: auto;

  background: #eef7e7;
}

.family-message {
  background: white;

  padding: 40px;

  border-radius: 24px;

  box-shadow:
    0 10px 30px rgba(0,0,0,.08);

  text-align: center;
}

.family-message h3 {
  color: #1f5c2e;

  font-size: 34px;

  margin-bottom: 20px;
}

.family-message p {
  margin-bottom: 18px;

  font-size: 18px;

  color: #334433;
}

/* =========================
   SERVICE AREA
========================= */

.areas-section {
  background: #f5f8f2;
}

.area-box {
  background: white;

  max-width: 800px;

  margin: auto;

  padding: 45px;

  border-radius: 24px;

  text-align: center;

  box-shadow:
    0 8px 25px rgba(0,0,0,.08);
}

/* =========================
   CONTACT
========================= */

.contact-section {
  background: #f5f8f2;

  text-align: center;
}

.contact-box {
  background: white;

  max-width: 720px;

  margin: auto;

  padding: 55px;

  border-radius: 24px;

  box-shadow:
    0 8px 25px rgba(0,0,0,.08);
}

.contact-box h2 {
  font-size: 42px;

  color: #1f5c2e;

  margin-bottom: 16px;
}

.contact-info {
  margin: 35px 0;

  font-size: 20px;
}

.contact-info a {
  color: #1f5c2e;

  font-weight: bold;

  text-decoration: none;
}

/* =========================
   FOOTER
========================= */

footer {
  background: #1f5c2e;

  color: white;

  text-align: center;

  padding: 25px;
}

/* =========================
   FLOATING CALL BUTTON
========================= */

.floating-call {
  position: fixed;

  right: 20px;
  bottom: 20px;

  background: #c8f169;
  color: #1f2d1f;

  padding: 15px 24px;

  border-radius: 999px;

  text-decoration: none;

  font-weight: bold;

  box-shadow:
    0 8px 25px rgba(0,0,0,.25);

  z-index: 9999;
}

/* =========================
   IMAGE MODAL
========================= */

.modal {
  display: none;

  position: fixed;

  inset: 0;

  z-index: 99999;

  background: rgba(0,0,0,.94);

  justify-content: center;
  align-items: center;

  padding: 40px;
}

.modal-content {
  max-width: 92%;
  max-height: 92%;

  border-radius: 18px;

  box-shadow:
    0 10px 40px rgba(0,0,0,.5);

  animation: zoomIn .3s ease;
}

.close-modal {
  position: absolute;

  top: 25px;
  right: 40px;

  color: white;

  font-size: 55px;
  font-weight: bold;

  cursor: pointer;

  transition: .3s ease;
}

.close-modal:hover {
  transform: scale(1.1);
}

/* =========================
   ANIMATIONS
========================= */

.hidden {
  opacity: 0;

  transform: translateY(40px);

  transition: all 1s ease;
}

.show {
  opacity: 1;

  transform: translateY(0);
}

@keyframes fadeUp {

  from {
    opacity: 0;
    transform: translateY(35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

@keyframes zoomIn {

  from {
    transform: scale(.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }

}

@keyframes floatBg {

  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-80px);
  }

}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {

    position: absolute;

    top: 75px;
    right: 8%;

    background:
      rgba(16,42,20,.97);

    flex-direction: column;

    width: 220px;

    padding: 25px;

    border-radius: 18px;

    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero p {
    font-size: 18px;
  }

  .section-title h2 {
    font-size: 38px;
  }

  .floating-call {

    left: 20px;
    right: 20px;

    text-align: center;
  }

}
