body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background-color: #f7f7f7;
}
header {
  background:
    linear-gradient(rgba(147, 184, 148, 0.7), rgba(0, 69, 6, 0.7)),
    url('/images/peckfarm_small.jpg') center/cover no-repeat;

  color: white;
  text-align: center;
  padding: 0rem 4rem 2rem 4rem;
}
header h1 {
  margin: 0;
  font-size: 2.5rem;
}
header p {
  margin: 1rem 0 0;
  font-size: 1.3rem;
}
.cta-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2rem;
  background-color: #fff;
  color: #006607;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition:
    background 0.3s,
    color 0.3s;
}
.cta-button:hover {
  background-color: #6c63ff;
  color: #fff;
}
section {
  padding: 2rem;
  max-width: 800px;
  margin: 2rem auto;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
h2 {
  color: #006607;
  margin-top: 0;
}
ul {
  padding-left: 1.2rem;
}
form {
  display: flex;
  flex-direction: column;
}
input,
textarea,
button {
  margin-bottom: 1rem;
  padding: 0.8rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 1rem;
}
button {
  background-color: #006607;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
}
button:hover {
  background-color: #6c63ff;
  color: #fff;
}
footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.about-headshot {
  width: 150px; /* size can be adjusted */
  height: 150px;
  border-radius: 50%; /* makes it a circle */
  object-fit: cover; /* crops and scales nicely */
  border: 2px solid #006607; /* subtle border matches your theme */
  margin-right: 1.5rem; /* spacing from text if inline */
  float: left; /* text wraps nicely around it */
}

#sendButton {
  position: relative;
  padding: 0.5em 1.5em;
  font-size: 1rem;
  cursor: pointer;
  overflow: hidden;
}

#sendButton .spinner {
  display: none;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-top: 2px solid #6c63ff; /* spinner color */
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#sendButton.sending .spinner {
  display: block;
}

#sendButton.sending .button-text {
  visibility: hidden; /* hide text while sending */
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ddd;
  display: block;
}

.gallery-item p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #555;
}

#lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  cursor: pointer;
}

#lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 6px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

#lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
}

/* 2 columns on medium screens, 3 on larger */
@media (min-width: 700px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1100px) {
  .gallery {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.services {
  padding: 2rem;
  max-width: 800px;
  margin: 2rem auto;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.services h2 {
  color: #006607;
  margin-top: 0;
  text-align: center;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 2rem;
  text-align: center;
  color: #555;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.service-card {
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  padding: 1.25rem;
  background: #fff;
}

.service-card h3 {
  margin-top: 0;
  color: #333;
}

.service-card p {
  margin-bottom: 1rem;
}

.price {
  font-weight: bold;
  color: #006607;
}

.service-link {
  font-weight: bold;
  color: #006607;
  text-decoration: none;
}

.service-link:hover {
  color: #6c63ff;
}

.featured {
  border-color: #006607;
}

.support-card {
  background-color: #f9f9ff;
}

@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .header-inner {
    justify-content: space-between;
  }
}

@media (min-width: 1000px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .header-inner {
    justify-content: center;
  }
}

.header-inner {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 50%; /* keeps your circular feel */
  margin-right: 10px;
}

.brand-text {
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
}

.nav a {
  font-weight: 600;
  margin-left: 20px;
  text-decoration: none;
  color: #fff;
  font-size: 0.95rem;

  /* important */
  padding: 6px 10px;
  border-radius: 6px;

  /* smooth transition */
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.nav a:hover {
  background-color: #ffffff;
  color: #006607; /* your green */
}
