@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Gruppo&display=swap');

/* Core font and layout */
body {
font-family: 'Gruppo', sans-serif;
  font-weight: bold; /* Forces thicker rendering */
  font-size: 1.1em;   /* Slightly larger */
  letter-spacing: 0.5px;
  color: #222;   margin: 0;
  padding-top: 0;
  
}
main{
  padding: 2.5rem 1.25rem;
  max-width: 60rem;
  margin: auto;
}

/* Replaces previous header styling */
header, footer {
  background-color: #f7f2ed;
  text-align: center;
  
}
header {
  background-color: #f7f2ed;
  text-align: center;
  padding: 20px;
  border-bottom: 2px solid #d4e5b4; /* <== green bar */
}


/* NAVBAR */
nav img {
  height: 90px;
  margin-right: 20px;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
   color: #2c3320;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
  transform: translateY(-2px);
 
  color: #7c8f57;
}



/* Shared elements */
footer {
  font-size: 0.9em;
}

/* Hero section */
.hero {
  background-image: url('/images/farmersmarket.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
   padding-top: 10px;  
   margin-top: 0;
  
}

.hero h1 {
  font-size: 3em;
   margin: 10px 0; 
  margin-bottom: 0.5em;
}

.intro-content {
  display: flex;
  align-items: flex-start;
  gap: 2em;
  flex-wrap: wrap;
}

.intro-text {
  flex: 3;
  min-width: 250px;
}

.intro-image {
  
  flex: 1.9;
  min-width: 200px;
   max-width: 380px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.intro-image img {
  width: 100%;
  height: auto;
  border-radius: 19px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@media (max-width: 600px) {
  .intro-image img {
    max-width: 60%;
  }
}


.image-banner {
  width: 100%;
  overflow: hidden;
  margin-bottom: 0;
  padding-bottom: 0;
}

.banner-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 400px; /* Optional cap */
  object-fit: cover;
    margin-bottom: 0;
  padding-bottom: 0;
}


/* Main content blocks */
.intro, .highlight, .cta {
  padding: 2.5rem 1.25rem;
  max-width: 60rem;
  margin: auto;
}


.highlight {
  background-color: #f1f5f2;
}

/* Call to action */
.cta {
  text-align: center;
  background-color: #ffe8cc;
  padding: 50px 20px;
}

.cta a {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #444;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

/* Animation / utility classes */
* {
  transition: all 0.2s ease-in-out;
}

.fade-in {
  animation: fadeIn 0.8s ease-in forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* About page layout */
.about-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1 1 60%;
}

.about-image {
  flex: 1 1 30%;
  max-width: 20rem;
  height: auto;
  border-radius: 12px;
}


@media (max-width: 768px) {
   body {
    font-family: 'Quicksand', sans-serif;
    font-size: 1em; /* slightly smaller if needed */
    font-weight: 400;
  }
    .about-content {
    flex-direction: column;
    align-items: center;
  }
  .hero h1 {
    font-size: 2rem;
  }

  .banner-img {
    max-height: 250px;
  }
  .about-image {
    width: 100%;
    max-width: 300px; /* Set a good cap */
    height: auto;     /* Let browser preserve aspect ratio */
    margin-top: 1rem;
  }
}
.events-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.event-cards {
  flex: 1;
  min-width: 250px;
}

.event-video {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
}

.event-video video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* Footer */
#footer {
    width: 100%;
    text-align: center;
    padding-bottom: 20px;
    color: #170c0c;
    margin-top: auto; /* Pushes footer to the bottom */
    border-top: 2px solid #d4e5b4; /* <== green bar */
    
}

#footer a {
   color: #000;
    display: inline-block;
    margin: 0 10px;
    border-radius: 50%;
    padding: 5px;
    text-decoration: none
    
}
.footer-inner {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

#footer a:hover {
  color: #f76c5e; /* optional hover color */
}

#footer img {
    border-radius: 20%;
    width: 30px;
    height: 30px;
}

