html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

body {
  color: #333;
  background-color: #f9f9f9;
  width: 100vw;
}

h2 {
  font-size: 2rem;
}

.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
}

/* Navbar */
.navbar {
  width: 100vw;
  position: absolute;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 20px 50px;
  color: #fff;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar a {
  text-decoration: none;
  font-weight: 500;
  background-color: white;
  padding: 8px 12px;
  border-radius: 24px;
  transition: 0.15s ease-in-out;
}

.navbar a:hover {
  background-color: rgb(232, 232, 232);
}

.navbar a:active, .navbar a:visited {
  color: rgba(0, 0, 0, 1);
}

/* Hero Section */
.hero {
  background-image: url("assets/grass.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-content {
  display: flex;
  gap: 18px;
  padding: 30px;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 15px;
  filter: drop-shadow(2px 2px 2px black);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  background-color: #2e7d32;
  color: #fff;
  padding: 12px 28px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #296d2c;
}

/* Sections */
.demo, .services, .contact {
  padding: 60px 40px;
  text-align: center;
}

.demo {
  background-color: rgb(238, 254, 234);
}

.contact {
  height: 100vh;
  background-color: #2e7d32;
  color: white;
}

.demo h2, .services h2, .contact h2 {
  color: #2e7d32;
  margin-bottom: 36px;
}

.contact h2 {
  color: white;
}

/* Service Cards */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  overflow: hidden;
  text-align: left;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  margin: 15px;
  color: #2e7d32;
}

.card p {
  margin: 0 15px 20px;
  color: #555;
}

.contacts {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon {
  width: 32px;
  height: 32px;
}

.services-description {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 64px;
  padding: 0px 100px;
}

.services-description li ~ li {
  margin-top: 26px;
}

#bluebird {
  width: 300px;
}

.hero-content img {
  width: 400px;
}

#current-image {
  min-width: 600px;
  min-height: 200px;
  max-width: 800px;
  max-height: 400px;
}

#map {
  width: 300px;
  border-radius: 24px;
}

.contacts ~ .contacts {
  margin-top: 20px;
}

.contacts a, .contacts a:visited {
  color: white;
  text-decoration: none;
}

@media (max-width: 600px) {
  html {
    width: 100vw;
  }

  #current-image {
    min-width: 400px;
    max-width: 450px;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .navbar {
    justify-content: center;
  }

  .hero-content > img {
    display: none;
  }

  .services-description {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
  }

  .services-description ul {
    width: 100vw;
  }

  .services-description img {
    justify-self: start;
  }

  .wrapper {
    flex-wrap: wrap;
    gap: 40px;
  }

  .contact {
    height: 150vh;
  }
}