/*
 * Custom styles for Your Green Lawn
 *
 * This stylesheet tweaks Bootstrap defaults and adds bespoke styling for
 * the hero section, feature icons, service icons, and overall color palette.
 */

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
}

/* =========================
   Site Header (Thin White Nav)
   ========================= */
.site-nav {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);

  position: sticky;
  top: 0;
  z-index: 1030;
}

/* Make it thinner */
.site-nav .container {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

.site-nav .navbar-brand {
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
  padding: 0;
  color: #111 !important;
}

.site-nav .nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  color: rgba(0, 0, 0, 0.65) !important;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  color: #2e7d32 !important;
  text-decoration: none;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 80vh;

  /* IMPORTANT: keep this relative to style.css so it works on / and /city/ pages */
  background-image:
    linear-gradient(135deg, rgba(46, 125, 50, 0.72) 0%, rgba(102, 187, 106, 0.72) 100%),
    url("images/hero.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

/* Improve readability for the hero subheading + helper text */
.hero-section .text-white-50 {
  color: rgba(255, 255, 255, 0.88) !important;
}

/* City selector box polish (the translucent panel in hero) */
.hero-section .bg-white.bg-opacity-10 {
  background-color: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* Make dropdown easier to read */
.hero-section .form-select {
  background-color: rgba(255, 255, 255, 0.96);
  color: #212529;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-section .form-select:focus {
  border-color: #c8e6c9;
  box-shadow: 0 0 0 0.25rem rgba(200, 230, 201, 0.35);
}

/* Buttons (your HTML uses btn-success) */
.hero-section .btn-success,
.hero-section .btn-primary,
.quote-form-section .btn-success,
.quote-form-section .btn-primary {
  background-color: #388e3c;
  border-color: #388e3c;
}

.hero-section .btn-success:hover,
.hero-section .btn-primary:hover,
.quote-form-section .btn-success:hover,
.quote-form-section .btn-primary:hover {
  background-color: #2e7d32;
  border-color: #2e7d32;
}

/* Optional: make outline-success match your palette a bit better */
.btn-outline-success {
  border-color: #388e3c;
  color: #2e7d32;
}

.btn-outline-success:hover {
  background-color: #2e7d32;
  border-color: #2e7d32;
  color: #fff;
}

.hero-section .hero-phone {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
}

.hero-section .hero-phone:hover {
  color: #c8e6c9;
}

/* Features Section */
.features-section .feature-item {
  padding: 20px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.features-section .feature-item:hover {
  background-color: #f1f8e9;
}

.features-section .icon-wrapper {
  font-size: 2.5rem;
  color: #388e3c;
}

/* Emoji icons */
.emoji-icon {
  font-size: 2.5rem;
  line-height: 1;
  display: inline-block;
}

/* Services Section */
.services-section .service-item {
  padding: 10px 0;
}

.services-section .service-icon {
  font-size: 2rem;
  color: #4caf50;
}

.services-section .fw-semibold {
  margin-bottom: 0;
}

/* Service Area Section */
.service-area-section {
  background-color: #e8f5e9;
}

.service-area-section svg {
  width: 100%;
  height: auto;
}

/* Testimonials Section */
.testimonials-section .testimonial {
  background-color: #ffffff;
  border-left: 4px solid #388e3c;
}

.testimonials-section .testimonial p {
  color: #4e4e4e;
}

.testimonials-section .testimonial h5 {
  color: #2e7d32;
}

/* Quote Form Section */
.quote-form-section {
  background-color: #f9fbe7;
}

.quote-form-section .form-wrapper {
  background-color: #ffffff;
  border-left: 4px solid #388e3c;
}

/* Footer */
footer {
  font-size: 0.9rem;
}

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