/* Futuristic green theme */
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #81bb8e;
  color: #ccffcc;
}

.services-container {
  min-height: 500px;
  width: 100vw;
  /* Full viewport width */
  margin: 0;
  /* Remove margin auto */
  padding: 80px 20px;
  background-image: url("curte01.jpg");
  /* Replace with your image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0;
  /* Optional: remove radius if you want full edge-to-edge */
  box-shadow: none;
  /* Optional: remove box shadow */
  position: relative;
  color: white;
}

.services-container>* {
  position: relative;
  z-index: 1;
}

h1 {
  font-size: 3rem;
  color: white;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.2rem;
  color: #aaffcc;
  margin-bottom: 50px;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .card i {
    font-size: 2rem;
  }

  .card h2 {
    font-size: 1.2rem;
  }

  .card p {
    font-size: 0.95rem;
  }
}

.gallery-container {
  max-width: 1200px;
  margin: 50px auto 80px;
  padding: 0 20px;
  text-align: center;
  color: #ccffcc;
}

.gallery-container h2 {
  text-align: center;
  margin-top: 40px;
  font-size: 2em;
  color: #3c6e47;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.gallery-item {
  background: #f0f5f0;
  border-radius: 12px;
  overflow: hidden;
  height: 250px;
  /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 0 35px #66ff99cc;
  /* stronger glow on hover */
  filter: drop-shadow(0 0 12px #66ff99cc);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  display: block;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.caption {
  padding: 12px 10px;
  font-size: 1rem;
  color: #aaffcc;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 0 0 15px 15px;
  user-select: none;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .gallery-container h2 {
    font-size: 1.8rem;
  }

  .caption {
    font-size: 0.9rem;
  }
}

.gallery-container {
  max-width: 1200px;
  margin: 50px auto 80px;
  padding: 0 20px;
  text-align: center;
  color: #ccffcc;
}

.gallery-container h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #66ff99;
  text-shadow: 0 0 8px #33ff77;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  /* softer neutral shadow */
  filter: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
  filter: none;
}

.caption {
  padding: 12px 10px;
  font-size: 1rem;
  color: #aaffcc;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 0 0 15px 15px;
  user-select: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .gallery-container {
    padding: 0 10px;
  }

  .gallery-container h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .caption {
    font-size: 0.9rem;
    padding: 10px 8px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-container h2 {
    font-size: 1.6rem;
  }

  .caption {
    font-size: 0.85rem;
  }
}

/* Before & After Section */
.before-after-section {
  margin: 50px auto;
  padding: 20px;
  max-width: 1200px;
  text-align: center;
}

.before-after-section h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: white;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.before,
.after {
  background: #f0f5f0;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.before h3,
.after h3 {
  margin-bottom: 10px;
  color: #3c6e47;
}

.before img,
.after img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Grass Photos Grid */
.grass-photos-section {
  margin: 50px auto;
  padding: 20px;
  max-width: 1200px;
}

.grass-photos-section h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: white;
  text-align: center;
}

.grass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10px, 1fr));
  gap: 15px;
}

.grass-item {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.grass-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Additional styling to enforce uniform image size */
.before,
.after {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.before img,
.after img {
  width: 100%;
  max-height: 300px;
  /* or any fixed size you prefer */
  object-fit: cover;
}