/* Base styles for Arvo Pest Control website */

/* Color palette */
:root {
  --primary-color: #1c6b33; /* Arvo green */
  --secondary-color: #ffffff; /* white */
  --accent-color: #2e8b57; /* secondary green for highlights */
  --text-color: #333333;
  --light-gray: #f7f7f7;
  --max-width: 1200px;
}

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

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-color);
  background: var(--secondary-color);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

header {
  background: var(--secondary-color);
  border-bottom: 2px solid var(--primary-color);
  padding: 10px 0;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 180px;
  height: auto;
}

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

nav a {
  font-weight: bold;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--accent-color);
}

/* Hero section */
.hero {
  /* Use the new illustration as a hero background */
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/hero.png') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 140px 20px;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.25em;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  margin: 5px;
  border-radius: 4px;
  background: var(--primary-color);
  color: var(--secondary-color);
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn.secondary {
  background: var(--accent-color);
}

.btn:hover {
  background: #0e4a22;
}

/* Sections */
section {
  padding: 60px 0;
}

.services-overview {
  background: var(--light-gray);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.service-item {
  background: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px;
  flex: 1 1 calc(33% - 30px);
  min-width: 260px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.service-item h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.service-item p {
  font-size: 0.95em;
}

/* Service lists for a concise presentation */
.service-item ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  padding-left: 0;
}

.service-item li {
  margin-bottom: 5px;
  font-size: 0.95em;
}

.review {
  text-align: center;
  background: var(--secondary-color);
  padding: 40px 20px;
  border-top: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

.review blockquote {
  font-style: italic;
  margin-bottom: 10px;
}

.review cite {
  display: block;
  color: var(--primary-color);
  font-weight: bold;
}

/* Footer */
footer {
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 20px 0;
  text-align: center;
}

footer a {
  color: var(--secondary-color);
}

/* Forms */
form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--light-gray);
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}

form button {
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background: #0e4a22;
}

/* About page */
.team {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.team-member {
  flex: 1 1 calc(50% - 40px);
  text-align: center;
}

.team-member img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}

.team-member h4 {
  margin: 10px 0 5px;
  color: var(--primary-color);
}

.team-member p {
  font-size: 0.95em;
}

/* Responsive */
@media (max-width: 768px) {
  .services-grid {
    flex-direction: column;
  }
  nav ul {
    flex-direction: column;
    gap: 10px;
  }
  .team-member {
    flex: 1 1 100%;
  }
}