/* General Styles */

.service-item {
  background-color: rgba(0, 0, 0, 0.7); /* matte black with transparency */
  color: #fff8e1; /* creamy white text */
  border: 2px solid gold; /* sparkly gold border */
  padding: 1.5rem;
  border-radius: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.2); /* subtle golden glow */
}

.services-bg-image {
  /* existing styles... */
  filter: blur(1px);
}

.service-item h3 {
  color: #ffd700; /* golden header */
  font-weight: bold;
}

.service-item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.services-section-with-bg {
  position: relative;
  background-color: #2f4f2f; /* matte green fallback */
  overflow: hidden;
}

.services-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/newcastle_lawn_mowing_background.jpg') no-repeat center center;
  background-size: cover;
  animation: flyaround 240s ease-in-out infinite;
  z-index: 0;
  opacity: 0.75;
  pointer-events: none;

}

@keyframes flyaround {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(2) translate(-10px, 10px);
  }
  100% {
    transform: scale(1) translate(0, 0);
  }
}

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

.custom-btn {
  background-color: #b8860b; /* Sparkly gold */
  color: #f5f5dc; /* Creamy white */
  font-weight: bold;
  border: 3px solid #2e8b57; /* Rich earthy green */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  padding: 15px 30px;
  font-size: 1.5rem;
  text-transform: uppercase;
  transition: 0.3s;
}

.custom-btn:hover {
  background-color: #2e8b57; /* Rich earthy green on hover */
  border-color: #b8860b;
  color: #f5f5dc;
}

body {
  font-family: 'Press Start 2P', sans-serif;
  background: linear-gradient(to right, #2e8b57, #3a5a40); /* Deep green gradient */
  color: #b8860b; /* Sparkly gold */
  text-align: center;
  padding: 20px;
}

/* Header */
header {
  background: #000; /* Matte black */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 40px;
}

h1 .logo {
  padding-right: 10px;
  width: 12vw;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
  float: left;
}

h3 {
  text-shadow: 
    -.5px -.5px 0 #000,  
     .5px -.5px 0 #000,  
    -.5px  .5px 0 #000,  
     .5px  .5px 0 #000;
}

.title {
  font-size: 3rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #b8860b;
  text-shadow: 0 0 5px #b8860b;
}

.subtitle {
  font-size: 1.2rem;
  color: #2e8b57;
  text-shadow: 0 0 10px #2e8b57;
}

/* Intro Section */
.intro {
  background-color: #1a1a1a; /* Matte black */
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

.intro h2 {
  font-size: 2.2rem;
  color: #b8860b;
}

.intro p {
  font-size: 1.5rem;
  color: #f5f5dc; /* Creamy white */
}

.cta-button {
  background-color: #b8860b;
  color: #000;
  padding: 12px 25px;
  font-size: 1.2rem;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
  display: inline-block;
}

.cta-button:hover {
  background-color: #f77800;
  color: #f5f5dc;
}

/* Features Section */
.features h2 {
  font-size: 2.5rem;
  color: #b8860b;
  text-shadow: 
    -1px -1px 0 #000,  
     1px -1px 0 #000,  
    -1px  1px 0 #000,  
     1px  1px 0 #000,  
     0 0 15px #b8860b;
  font-weight: bold;
}

/* Service Items */
.service-item {
  background: #1a1a1a; /* Matte black */
  padding: 20px;
  border-radius: 10px;
  color: #f5f5dc; /* Creamy white */
  font-weight: bold;
  text-align: center;
  box-shadow: 1px 1px 4px, 
              -1px -1px 4px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* 3D effect hover */
.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7), 
              -2px -2px 5px rgba(0, 0, 0, 0.7);
}

/* Footer */
footer {
  margin-top: 50px;
  padding: 20px;
  background-color: #000;
  color: #b8860b;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

footer p {
  font-size: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .service-item {
    width: 100%;
  }
    .services-bg-image {
    background: none !important;
    animation: none !important;
    opacity: 0; /* or display: none; if you prefer */
  }
    h1 .logo {
    width: 80px; /* Prevent it from shrinking too small */
    max-width: none;
  }
  .title {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .subtitle {
    font-size: 1rem;
  }

  .intro h2 {
    font-size: 1.6rem;
  }

  .intro p {
    font-size: 1.2rem;
  }

  .features h2 {
    font-size: 1.8rem;
  }
}
