/* Base layout */
body {
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  background-color: #ffffff; /* Clean white background */
  color: #333333; /* Dark readable text */
}

/* Header */
header {
  background-color: #0972e3; /* Navy blue */
  color: white;
  padding: 1.5rem;
  text-align: center;
}

/* Post 2 images */
.image-right {
  float: right;
  margin-left: 1rem;
  margin-bottom: 1rem;
}

.service-image {
  width: 120px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* grocery image banner and caption applied to all pages */
.shared-banner {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.banner-caption {
  text-align: center;
  font-size: 0.95rem;
  color: #555;
  margin-top: 0.5rem;
}

/* blog image banner and caption */
.blog-banner {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.banner-caption {
  text-align: center;
  font-size: 0.95rem;
  color: #555;
  margin-top: 0.5rem;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.blog-banner {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.banner-caption {
  text-align: center;
  font-size: 0.95rem;
  color: #555;
  margin-top: 0.5rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  text-align: center;
}

.blog-card h3 {
  margin: 1rem 0 0.5rem;
  color: #2e8b57;
}

.blog-card p {
  margin-bottom: 1rem;
  line-height: 1.5;
}

.post-date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.post-image {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* Navigation */
nav a {
  color: white;
  margin: 0 12px;
  text-decoration: none;
  font-weight: bold;
}
nav a:hover {
  color: #90ee90; /* Light green hover */
  text-decoration: underline;
}

/* Main content */
main {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin: 1rem 0;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button-green {
  background-color: #2e8b57; /* Smart green */
  color: white;
}
.button-green:hover {
  background-color: #3cb371;
}

.button-orange {
  background-color: #ff7f50; /* Energetic orange */
  color: white;
}
.button-orange:hover {
  background-color: #ff6347;
}

/* Blog Post Layout */
article {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.post-date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

article h2 {
  color: #2e8b57; /* Green for post title */
  margin-bottom: 0.5rem;
}

article h3 {
  color: #003366; /* Blue for subheadings */
  margin-top: 2rem;
}

blockquote {
  font-style: italic;
  color: #555;
  border-left: 4px solid #2e8b57;
  padding-left: 1rem;
  margin: 1.5rem 0;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
  background-color: #2e8b57;
  color: white;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #3cb371;
}

/* Blog Post Styling */
main {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

main h2 {
  color: #2e8b57; /* Green for post title */
  margin-bottom: 1rem;
}

main h3 {
  color: #003366; /* Blue for subheadings */
  margin-top: 1.5rem;
}

main p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

main a {
  color: #2e8b57;
  font-weight: bold;
  text-decoration: none;
}

main a:hover {
  text-decoration: underline;
  color: #ff7f50; /* Orange hover for CTA feel */
}

.button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #2e8b57;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1.5rem;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #3cb371;
}

/* Contact Page Styles */
.container {
  max-width: 500px;
  margin: 40px auto;
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.container h2 {
  text-align: center;
  color: #2e8b57; /* Match your green theme */
}

label {
  display: block;
  margin-top: 16px;
  margin-bottom: 6px;
  font-weight: bold;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #cfd8dc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

button {
  margin-top: 18px;
  background: #2e8b57;
  color: #fff;
  border: none;
  padding: 12px 0;
  width: 100%;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background: #3cb371;
}

.note {
  font-size: 13px;
  color: #888;
  margin-top: 10px;
  text-align: center;
}

.subtitle {
  text-align: center;
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
}

.alt-contact {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: #444;
}

.success-message {
  background-color: #e6ffe6;
  color: #2e8b57;
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
  margin-top: 1rem;
  display: none; /* toggle with JS */
}

.contact-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 2rem;
  border-radius: 8px;
}

/* Post 1 images */
.service-image {
  display: block;
  max-width: 200px;
  height: auto;
  margin: 1rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.image-right {
  float: right;
  margin-left: 1rem;
  margin-bottom: 1rem;
}

.service-image {
  width: 120px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Post 2 images */

/* Additional styles can be added here for other pages as needed. */

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  color: #666;
  margin-top: 2rem;
}
