/* Base Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  line-height: 1.6;
  color: #333;
  background: #faf3e0;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* Header */
.site-header {
  background: #a83232;
  color: white;
  padding: 1rem 0;
}

.site-header h1 {
  margin: 0;
  text-align: center;
  font-family: 'Georgia', serif;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0.5rem 0 0;
  padding: 0;
}

.nav-links li {
  margin: 0 1rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.nav-links a:hover {
  color: #ffb347;
}

/* Hero Section */
.hero {
  background: url('/img/strawberry-farm-edmonton-freshly-picked.jpg') no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 5rem 1rem;
  background-blend-mode: multiply;
  background-color: rgba(168, 50, 50, 0.5);
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.home-btn {
  background: #4caf50;
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.home-btn:hover {
  background: #388e3c;
}

/* Sections */
.about,
.features,
.health-benefits,
.tips,
.sustainability,
.farm-to-table,
.fun-facts {
  margin: 2rem 0;
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.features article {
  background: #fff7f7;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #f3cfcf;
}

.features h3 {
  color: #a83232;
}

/* Ad Space */
.ad-space {
  background: #fdfaf6;
  border: 2px dashed #ccc;
  text-align: center;
  padding: 2rem;
  margin: 2rem 0;
  color: #5d3a00;
}

/* Footer */
.site-footer {
  background: #5d3a00;
  color: white;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}

.site-footer a {
  color: #ffb347;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ----------------------------
   Responsive Images (Refactored)
---------------------------- */
img {
  max-width: 100%;   /* Never exceed container width */
  height: auto;      /* Maintain aspect ratio */
  display: block;    /* Remove inline spacing */
  border-radius: 10px;
  margin: 1rem 0;
  object-fit: cover; /* Crop nicely if container is fixed height */
}

/* Specific sections with custom heights */
.features article img {
  height: 200px; /* uniform grid height */
}

.farm-to-table img,
.fun-facts img {
  max-width: 800px;
  height: 250px;
  margin: 1rem auto;
  border-radius: 15px;
}

.farm-education,
.farm-market {
  background-color: #fff8f7;
  border: 1px solid #f3dcdc;
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.farm-education h2,
.farm-market h2 {
  font-size: 1.8rem;
  color: #8a1d08; /* Brownish red like ripe strawberries */
  text-align: center;
  margin-bottom: 1.2rem;
  border-bottom: 2px solid #e56b6f;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.farm-education p,
.farm-market p {
  line-height: 1.7;
  color: #333;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.farm-education img,
.farm-market img {
  width: 100%;
  max-width: 900px;
  border-radius: 10px;
  display: block;
  margin: 1.5rem auto;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.farm-education img:hover,
.farm-market img:hover {
  transform: scale(1.03);
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

.about-body {
  max-width: 900px;
  background: #ffffff;
  margin: 3rem auto;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  border: 1px solid #f3dcdc;
}

/* Headings */
.about-body h1,
.about-body h2 {
  color: #8a1d08; /* rich strawberry red */
  text-align: center;
  margin-bottom: 1rem;
}

.about-body h1 {
  font-size: 2rem;
  border-bottom: 3px solid #e56b6f;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.about-body h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
}

/* Paragraphs */
.about-body p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* Emphasized Quotes */
.about-body p em,
.about-body p strong {
  color: #8a1d08;
}

/* Decorative section dividers */
.about-body::before {
  content: "🍓";
  display: block;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-body::after {
  content: "🌿";
  display: block;
  text-align: center;
  font-size: 2rem;
  margin-top: 2rem;
}

.tips-body {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.07);
  border: 1px solid #f3dcdc;
  line-height: 1.8;
}

/* Headings */
.tips-body h2 {
  color: #8a1d08;
  margin-top: 2rem;
  border-bottom: 2px solid #e56b6f;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.tips-body p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1.2rem;
  text-align: justify;
}

/* Tip sections */
.tip-section {
  margin-bottom: 2.5rem;
  background-color: #fff8f7;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  border: 1px solid #f3dcdc;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.tip-section img {
  width: 100%;
  max-width: 850px;
  border-radius: 10px;
  display: block;
  margin: 1.5rem auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tip-section img:hover {
  transform: scale(1.03);
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

/* Intro section */
.intro img {
  width: 100%;
  max-width: 850px;
  border-radius: 12px;
  margin: 1.5rem 0;
}

/* Button */
.btn {
  display: inline-block;
  background-color: #8a1d08;
  color: #fff;
  padding: 0.8rem 1.8rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #e56b6f;
}

.contact-body {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2.5rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  border: 1px solid #f3dcdc;
  line-height: 1.8;
}

/* Section headings */
.contact-body h2 {
  color: #8a1d08;
  text-align: center;
  border-bottom: 2px solid #e56b6f;
  display: inline-block;
  padding-bottom: 0.3rem;
  margin-bottom: 1.5rem;
}

.contact-body p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1rem;
  text-align: justify;
}

/* Contact info cards */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.info-card {
  background-color: #fff8f7;
  border: 1px solid #f3dcdc;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.info-card h3 {
  color: #8a1d08;
  margin-bottom: 0.8rem;
}

.info-card a {
  color: #e05656;
  text-decoration: none;
}

.info-card a:hover {
  text-decoration: underline;
}

/* Form styling */
.contact-form {
  background-color: #fff8f7;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #f3dcdc;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  margin-bottom: 2.5rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-weight: bold;
  margin-top: 1rem;
  color: #8a1d08;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #e5b4b4;
  border-radius: 8px;
  padding: 0.8rem;
  margin-top: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #8a1d08;
}

/* Submit button */
.contact-form .btn {
  margin-top: 1.5rem;
  background-color: #8a1d08;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 0.9rem;
  border-radius: 25px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.contact-form .btn:hover {
  background-color: #e56b6f;
}

/* Map */
.map-section {
  margin-top: 3rem;
}

.map-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

/* Responsive layout */
@media (max-width: 768px) {
  .contact-body {
    padding: 1.5rem;
    margin: 1rem;
  }

  .contact-form {
    padding: 1.2rem;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}

/* Responsive layout */
@media (max-width: 768px) {
  .tips-body {
    padding: 1.5rem;
    margin: 1rem;
  }

  .tip-section {
    padding: 1rem;
  }

  .tips-body p {
    font-size: 1rem;
  }
}

.footban {
  margin-left: 90rem
}

.whats-new {
  text-align: center;
  margin: 3rem auto;
}

.whats-new-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.whats-new-images figure {
  max-width: 250px;
}

.whats-new-images img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.whats-new-images figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}
.strawberry-news {
  max-width: 70ch;
  margin: 3rem auto;
  line-height: 1.6;
}

.picnic-spot {
  max-width: 60ch;
  margin: 3rem auto;
  text-align: center;
}



/* Links */
.about-body a {
  color: #e05656;
  text-decoration: none;
}

.about-body a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-body {
    padding: 2rem;
    margin: 1.5rem;
  }

  .about-body p {
    font-size: 1rem;
  }

  .about-body h1 {
    font-size: 1.6rem;
  }
}

/* Responsive Layout */
@media (min-width: 768px) {
  .farm-education,
  .farm-market {
    padding: 3rem;
  }

  .farm-education p,
  .farm-market p {
    font-size: 1.1rem;
  }

  .farm-education img,
  .farm-market img {
    max-width: 80%;
  }
}

@media (min-width: 1024px) {
  .farm-education,
  .farm-market {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
  }

  .farm-education h2,
  .farm-market h2 {
    grid-column: 1 / -1;
    text-align: center;
  }

  .farm-education img,
  .farm-market img {
    max-width: 100%;
    margin: 0 auto;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
  }

  .hero h2 {
    font-size: 2rem;
  }

  /* Let all images scale naturally on mobile */
  .features article img,
  .farm-to-table img,
  .fun-facts img {
    height: auto;
  }
}
