/* =========================
   GLOBAL STYLES
========================= */
body {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #222;
  background-color: #f9f9f9;
}

h1, h2, h3 {
  margin-bottom: 0.5em;
  font-weight: bold;
  line-height: 1.3;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
  margin-top: 1.5rem;
}

p, li {
  font-size: 1.1rem;
}

/* =========================
   HEADER
========================= */
.header {
  background: #004d00; /* Dark Green */
  color: white;
  text-align: center;
  padding: 1.5rem;
}

.header .logo {
  max-width: 680px;
  margin-bottom: 0.5rem;
}

.header h1,
.header p {
  font-size: 1rem;
  margin: 0.3rem 0;
}

/* CTA buttons */
.cta-btn {
  display: inline-block;
  background: #28a745;
  color: white;
  padding: 0.75rem 1.5rem;
  margin: 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #218838;
  transform: translateY(-2px);
}

/* =========================
   HERO SECTION
========================= */
.hero {
  background: url("images/mowing_img - Copy.jpg") center/cover no-repeat;
  height: 350px;
  width: 100%;
}

/* =========================
   SERVICES SECTION
========================= */
.services {
  padding: 2rem;
  background: #fff;
  text-align: center;
}

.services-list ul {
  list-style-type: none;
  padding: 0;
}

.services-list li {
  margin: 0.75rem 0;
  font-size: 1.2rem;
  padding: 0.5rem;
  border-bottom: 1px solid #eee;
}

.services-list li strong {
  color: #004d00;
}

/* =========================
   BEFORE & AFTER CAROUSEL
========================= */
.before-after {
  padding: 2rem;
  background: #f0f8f5;
  text-align: center;
}

#carousel-wrapper {
  position: relative;
  width: 90%;
  max-width: 800px;
  margin: 1rem auto;
  overflow: hidden;
  border-radius: 10px;
}

.carousel-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.carousel-img.active {
  opacity: 1;
  position: relative;
}

.carousel-controls {
  margin: 1rem 0;
}

.carousel-controls button {
  background: #004d00;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  margin: 0 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-controls button:hover {
  background: #006600;
}

/* Thumbnail Carousel */
.thumbnail-carousel {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.thumbnail-carousel img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: border 0.3s ease;
}

.thumbnail-carousel img.active,
.thumbnail-carousel img:hover {
  border: 2px solid #28a745;
}

/* =========================
   CONTACT FORM
========================= */
.contact {
  padding: 2rem;
  background: #fff;
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 1rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #28a745;
}

.contact-form button {
  background: #28a745;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #218838;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #004d00;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 768px) {
  .hero {
    height: 250px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .cta-btn {
    display: block;
    margin: 0.5rem auto;
    width: 80%;
  }

  .thumbnail-carousel img {
    width: 60px;
    height: 45px;
  }
}
