:root {
  --primary-color: #2c5530;
  --secondary-color: #4a7c59;
  --accent-color: #8fbc8f;
  --light-bg: #f8f9fa;
  --dark-text: #2c3e50;
  --warm-white: #fefefe;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
}

/* Custom Bootstrap color overrides */
.bg-primary {
  background-color: var(--primary-color) !important;
}

.btn-primary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  font-weight: 500;
  padding: 12px 30px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 85, 48, 0.3);
}

.btn-light {
  background-color: var(--warm-white);
  border-color: var(--warm-white);
  color: var(--primary-color);
  font-weight: 500;
  padding: 12px 30px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.btn-light:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(143, 188, 143, 0.4);
}

/* Hero section styling */
.hero-section {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://images.unsplash.com/photo-1581244277943-fe4a9c777189?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80")
    center/cover no-repeat;
  opacity: 0.15;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Services section */
.services-card {
  background: var(--warm-white);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: none;
  height: 100%;
}

.services-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(44, 85, 48, 0.15);
}

.services-card .service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--accent-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: white;
}

.services-card h5 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

/* About section */
.about-section {
  background: linear-gradient(
    45deg,
    var(--light-bg) 0%,
    var(--warm-white) 100%
  );
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.owner-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--accent-color);
  margin-bottom: 30px;
}

/* Contact section */
.contact-section {
  background: var(--light-bg);
}

.form-control {
  border-radius: 10px;
  border: 2px solid #e9ecef;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(74, 124, 89, 0.25);
}

/* Footer */
footer {
  background: var(--primary-color) !important;
}

h2 {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 30px;
}

h1.display-4 {
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.lead {
  font-size: 1.3rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Navigation styles */
.navbar {
  transition: all 0.3s ease;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--dark-text) !important;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

/* Testimonials styles */
.testimonial-card {
  background: var(--warm-white);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-text {
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--dark-text);
}

.testimonial-author {
  border-top: 2px solid var(--accent-color);
  padding-top: 15px;
}

.stars {
  font-size: 1.2rem;
}

/* Trust indicators */
.trust-item {
  padding: 20px 10px;
}

.trust-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.trust-item h6 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 5px;
}

/* Rating summary */
.rating-summary {
  font-size: 1.1rem;
  color: var(--dark-text);
}

/* Smooth scrolling for navigation */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px; /* Offset for fixed navbar */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    min-height: 60vh;
  }

  .owner-photo {
    width: 150px;
    height: 150px;
  }

  .services-card {
    margin-bottom: 30px;
  }
}
