/* Reset and base settings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
  background-color: #f7f7f7;
  color: #222;
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-bottom: 0.5em;
  color: #333;
}

p {
  margin-bottom: 1rem;
  line-height: 1.5;
}

a {
  color: #5e452b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
a {
  cursor: pointer;
}

a:focus,
button:focus {
  outline: 2px dashed #a3cf64;
  outline-offset: 3px;
}

header,
footer {
  background-color: #333;
  color: #fff;
  padding: 1.5rem 0;
  text-align: center;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #a3cf64;
  color: #fff;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #8bb14d;
}

/* Hero Section */
.hero {
  background: url("/resources/images/squirrelOnTree.jpg") center center/cover
    no-repeat;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.hero-content {
  color: #fff;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #a3cf64;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-phone {
  display: inline-block;
  color: #fff;
  background-color: #a3cf64;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.hero-phone:hover {
  background-color: #8bb14d;
}

.phone-icon {
  margin-right: 0.5rem;
}

.testimonials {
  background-color: #fff;
  padding: 4rem 1rem;
  text-align: center;
}

.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #5e452b;
}

.testimonial {
  background-color: #f2f2f2;
  border-left: 5px solid #a3cf64;
  margin: 1.5rem auto;
  padding: 1.5rem;
  max-width: 700px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 0.75rem;
  color: #333;
}

.testimonial span {
  font-weight: bold;
  color: #5e452b;
  display: block;
}

.area-served {
  background: url("/resources/images/mapBackGroundJim.jpg") center center/cover
    no-repeat;
  position: relative;
  padding: 4rem 1rem;
  color: #fff;
  text-align: center;
}

.area-served .overlay {
  background-color: rgba(0, 0, 0, 0.5); /* darken background for legibility */
  padding: 3rem 1rem;
}

.area-served h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #a3cf64;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.town-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 500px;
  font-size: 1.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.town-list li {
  text-align: left;
  padding-left: 1.5rem;
  position: relative;
  color: #fff;
}

.town-list li::before {
  content: "📍";
  position: absolute;
  left: 0;
  top: 0;
}

.why-choose-us {
  background-color: #fff;
  padding: 4rem 1rem;
  text-align: center;
}

.why-choose-us h2 {
  font-size: 2rem;
  color: #5e452b;
  margin-bottom: 2rem;
}

.benefits {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  font-size: 1.1rem;
}

.benefits li {
  text-align: left;
  position: relative;
  padding-left: 1.5rem;
  color: #333;
}

.benefits li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #a3cf64;
  font-weight: bold;
}

.target-species {
  background-color: #f7f7f7;
  padding: 4rem 1rem;
  text-align: center;
}

.target-species h2 {
  font-size: 2rem;
  color: #5e452b;
  margin-bottom: 2rem;
}

.species-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  font-size: 1.2rem;
}

.species-list li {
  text-align: left;
  padding-left: 1.5rem;
  position: relative;
  color: #333;
}

.species-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
}

.call-jim {
  background-color: #fff;
  padding: 4rem 1rem;
  text-align: center;
}

.call-jim h2 {
  font-size: 2rem;
  color: #5e452b;
  margin-bottom: 2rem;
}

.reasons-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}

.reasons-list li {
  text-align: left;
  position: relative;
  padding-left: 1.5rem;
  color: #333;
}

.site-footer {
  background-color: #333;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}

.site-footer a {
  color: #a3cf64;
  text-decoration: none;
  font-weight: bold;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-info p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-bottom {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #ccc;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .town-list {
    grid-template-columns: 1fr;
    text-align: center;
    padding-left: 0;
  }

  .town-list li {
    text-align: center;
    padding-left: 0;
  }

  .town-list li::before {
    position: static;
    margin-right: 0.5rem;
  }
  /* Why choose us */
  .benefits {
    grid-template-columns: 1fr;
    font-size: 1rem;
  }

  .benefits li {
    text-align: center;
    padding-left: 0;
  }

  .benefits li::before {
    position: static;
    margin-right: 0.5rem;
  }

  /* Species List */
  .species-list {
    grid-template-columns: 1fr;
    font-size: 1rem;
  }

  .species-list li {
    text-align: center;
    padding-left: 0;
  }

  .species-list li::before {
    display: none;
  }

  /* Reasons to call Jim */
  .reasons-list {
    grid-template-columns: 1fr;
    font-size: 1rem;
  }

  .reasons-list li {
    text-align: center;
    padding-left: 0;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-phone {
    width: 90%;
    max-width: 300px;
    display: block;
    margin: 0 auto;
  }

  .btn {
    width: 90%;
    max-width: 300px;
    display: block;
    margin: 0.5rem auto;
  }
}
