/* =====================================
   GRANDE POINTE FARMERS MARKET
   CLEAN CONFIGURED VERSION
===================================== */

/* ---------- BRAND VARIABLES ---------- */

:root {
  --gp-green: #2f5d3a;
  --gp-green-dark: #244a2f;
  --gp-orange: #c66a2b;
  --gp-orange-dark: #a95520;
  --gp-beige: #e8dfcf;       
  --gp-soft-beige: #ddd1bc;
  --gp-text: #2c2c2c;
  --link-color: #000000;

  --cassiopeia-color-primary: #6b7a52;
  --cassiopeia-color-link: #5a3e2b;
}

/* ---------- GLOBAL BASE ---------- */

body {
  background: var(--gp-beige);
  color: var(--gp-text);
}

body h1 {
  font-family: Georgia, serif;
  font-weight: 700;
  color: var(--gp-text);
}

h2 {
  margin-bottom: 20px;
}

h3 {
  font-weight: 600;
  letter-spacing: .3px;
}

header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #f5f1e8;
  border-bottom: 1px solid rgba(0,0,0,.08);
  backdrop-filter: blur(6px);
}

/* =========================
   HERO SECTION
========================= */

.hero-wrapper {
  position: relative;
  width: 100%;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

/* Heading */
.hero-section h1 {
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 6px 22px rgba(0,0,0,.6);
}

/* Subtext */
.hero-section p {
  font-size: 1.25rem;
  text-shadow: 0 4px 15px rgba(0,0,0,.5);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .hero-section {
    min-height: 480px; /* avoids vh issues */
    background-position: center top;
  }

  .hero-section .hero-content {
    padding: 140px 20px 60px; /* push text below sticky header */
  }

  .hero-section h1 {
    font-size: clamp(2rem, 6vw, 2.6rem);
  }

  .hero-section p {
    font-size: 1rem;
  }
}

/* ---------- BUTTONS ---------- */

.btn-primary {
  background: var(--gp-green);
  border-color: var(--gp-green);
  border-radius: 30px;
  padding: 12px 30px;
  font-weight: 600;
  letter-spacing: .5px;
  transition: all .2s ease;
}

.btn-primary:hover {
  background: var(--gp-green-dark);
  border-color: var(--gp-green-dark);
  transform: translateY(-2px);
}

/* ---------- SECTION RHYTHM ---------- */

.home-layout .home-section {
  padding: 40px 0;
}

.home-section.light {
  background: var(--gp-beige);
}

.home-section {
  border-bottom: 1px solid rgba(0,0,0,.05);
}

/* UNIFIED CONTENT PANELS */

.home-panel,
.bottom-a.card,
.home-layout .card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

/* Reduce spacing specifically for About & Dates */
#about,
#dates {
  padding-top: 35px;
  padding-bottom: 35px;
}

/* ---------- MARKET HIGHLIGHTS ---------- */

.market-highlights {
  padding: 10px 0;
  font-weight: 500;
}

.market-highlights .col-md-3 {
  padding: 15px 10px;
  font-size: 1.05rem;
}

/* ---------- VENDOR CTA ---------- */

.vendor-cta {
  background: white;
  padding: 45px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

.vendor-cta a {
  background: var(--gp-orange);
  color: white;
  padding: 14px 28px;
  display: inline-block;
  border-radius: 6px;
  text-decoration: none;
  transition: all .2s ease;
  font-weight: 500;
}

.vendor-cta a:hover {
  background: var(--gp-orange-dark);
  transform: translateY(-2px);
}

/* ---------- CARDS ---------- */

.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,.05);
  transition: transform .2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

/* ---------- FOOTER ---------- */

footer {
  background-color: #e4d8c6;
  color: #4a3526;
  padding: 0px 0;   /* reduced */
  border-top: 1px solid rgba(0,0,0,.08);
}

footer .container,
footer .grid-child {
  padding-top: 0;
  padding-bottom: 0;
}

/* ---------- SMOOTH SCROLL ---------- */

html {
  scroll-behavior: smooth;
}

/* FIX SCROLL OFFSET FOR STICKY HEADER */

section[id],
div[id] {
  scroll-margin-top: 130px;
}


/* ---------- MOBILE ---------- 

@media (max-width: 768px) {

  .hero-section {
    min-height: 420px;
    height: auto;
  }

}
*/
@media (max-width: 768px) {
  .hero-section {
    min-height: 420px;
    padding: 0; /* remove extra padding */
    margin-top: 0; /* ensure no gap */
    background-position: center top; /* align hero top correctly */
    background-size: cover;
  }


  .vendor-cta {
    padding: 25px;
  }

}
