* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green-900: #0f4c2a;
  --green-800: #175f34;
  --green-700: #24763f;
  --green-500: #4caf50;
  --green-100: #eaf5e8;
  --cream: #fffdf6;
  --yellow: #f4d94e;
  --red: #c94031;
  --text: #243126;
  --muted: #5d6f61;
  --white: #ffffff;
  --max: 1220px;
  --shadow: 0 18px 40px rgba(15, 76, 42, 0.13);
}

html { scroll-behavior: smooth; }
body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #f8fbf6;
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 116px;
  padding: 12px clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid rgba(244,217,78,.85);
  box-shadow: 0 5px 22px rgba(0,0,0,.07);
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 168px; height: auto; display: block; }

nav { display: flex; align-items: center; gap: 10px; }
nav a {
  color: var(--green-900);
  font-weight: 700;
  text-decoration: none;
  padding: 10px 17px;
  border-radius: 999px;
  transition: .2s ease;
}
nav a:hover { background: rgba(244,217,78,.32); transform: translateY(-1px); }

.hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: flex-end;
  background: url('../assets/hero-dishes.png') center 43% / cover no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,31,17,.74) 0%, rgba(7,31,17,.48) 38%, rgba(7,31,17,.10) 67%, rgba(7,31,17,.04) 100%),
    linear-gradient(0deg, rgba(7,31,17,.40), transparent 48%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 76px;
}
.hero-copy { max-width: 650px; color: #fff; }
.eyebrow,
.section-kicker {
  font-size: .88rem;
  letter-spacing: .18em;
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(3.2rem, 6.3vw, 5.8rem);
  line-height: .98;
  margin-bottom: 20px;
  text-shadow: 0 5px 18px rgba(0,0,0,.30);
}
.hero-subtitle {
  font-size: clamp(1.12rem, 2.15vw, 1.42rem);
  line-height: 1.55;
  max-width: 610px;
  margin-bottom: 28px;
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.hero-button {
  display: inline-block;
  color: var(--green-900);
  background: var(--yellow);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(0,0,0,.17);
}

.section-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.about-section {
  position: relative;
  padding: 92px 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(244,217,78,.18), transparent 22%),
    radial-gradient(circle at 90% 82%, rgba(76,175,80,.16), transparent 24%),
    linear-gradient(135deg, #fbfff8, #edf7ea);
}
.about-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 54px;
  align-items: center;
}
.about-copy {
  padding: 18px 0 18px 18px;
}
.about-copy .section-kicker,
.contact-heading .section-kicker,
.membership-heading .section-kicker { color: var(--green-700); }
.about-copy h2,
.membership-heading h2,
.contact-heading h2 {
  color: var(--green-900);
  font-size: clamp(2.25rem, 4vw, 3.7rem);
  line-height: 1.08;
  margin-bottom: 22px;
}
.about-copy > p {
  font-size: 1.08rem;
  color: #405144;
  margin-bottom: 18px;
}
.quality-points { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.quality-points span {
  background: #fff;
  color: var(--green-800);
  border: 1px solid #cfe3d0;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 5px 15px rgba(15,76,42,.06);
}
.about-photo {
  margin: 0;
  padding: 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(76,175,80,.14);
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.about-photo img { width: 100%; display: block; border-radius: 22px; }
.about-photo figcaption {
  padding: 13px 8px 4px;
  color: var(--muted);
  font-size: .94rem;
  text-align: center;
}

.membership-section {
  padding: 90px 0 105px;
  background:
    linear-gradient(rgba(252,255,248,.94), rgba(244,250,239,.96)),
    url('../assets/hero.jpg') center / cover no-repeat;
}
.membership-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 54px; align-items: center; }
.membership-heading { max-width: 430px; }
.membership-heading > p:last-child { color: #4d6352; font-size: 1.1rem; }
.membership-card {
  padding: 15px;
  background: rgba(255,255,255,.92);
  border-radius: 30px;
  border: 1px solid rgba(76,175,80,.15);
  box-shadow: var(--shadow);
}
.membership-card img { display: block; width: 100%; border-radius: 22px; }

.contact-section {
  padding: 92px 0 100px;
  background:
    radial-gradient(circle at 8% 16%, rgba(76,175,80,.14), transparent 20%),
    radial-gradient(circle at 92% 84%, rgba(244,217,78,.14), transparent 22%),
    #f3f8f1;
}
.contact-heading { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 34px; align-items: stretch; }
.contact-details,
.contact-form-card {
  background: #fff;
  border: 1px solid rgba(76,175,80,.13);
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.contact-details { padding: 28px; display: grid; grid-template-columns: 1fr; gap: 18px; align-content: start; }
.info-block {
  padding: 18px;
  background: #f8fbf6;
  border: 1px solid #deebdc;
  border-radius: 18px;
}
.info-block h3,
.contact-form-card h3 { color: var(--green-900); margin-bottom: 7px; }
.hours-block { grid-column: auto; }
.contact-details iframe {
  grid-column: auto;
  width: 100%;
  height: 285px;
  border: 0;
  border-radius: 18px;
}
.contact-form-card { padding: 32px; }
.contact-form-card h3 { font-size: 1.45rem; margin-bottom: 17px; }
.contact-form-card form { display: flex; flex-direction: column; }
.contact-form-card label { color: var(--green-900); font-weight: 800; margin: 7px 0 5px; }
.contact-form-card label span { color: var(--red); }
.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #cfe0cf;
  border-radius: 12px;
  font: inherit;
  background: #fbfdfb;
}
.contact-form-card textarea { min-height: 155px; resize: vertical; }
.contact-form-card input:focus,
.contact-form-card textarea:focus { outline: 0; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(76,175,80,.10); }
.contact-form-card button {
  margin-top: 18px;
  padding: 13px 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-800), var(--green-500));
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(31,107,52,.18);
}
.hidden { display: none; }

footer {
  min-height: 105px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: left;
  background: linear-gradient(90deg, #0f4c2a, #24763f);
  color: #fff;
}
.footer-logo { width: 74px; padding: 4px; background: #fff; border-radius: 12px; }
footer span { opacity: .88; font-size: .92rem; }

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--green-900);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  opacity: 0;
  cursor: pointer;
  transition: .2s ease;
  z-index: 1000;
}
.scroll-top.visible { opacity: 1; }

@media (max-width: 900px) {
  .site-header { min-height: auto; }
  .brand img { width: 145px; }
  .hero { min-height: 590px; background-position: center center; }
  .about-grid,
  .membership-layout,
  .contact-grid { grid-template-columns: 1fr; }
  .membership-heading { max-width: 700px; text-align: center; margin: 0 auto; }
  .contact-details { order: 2; }
}

@media (max-width: 680px) {
  .site-header { flex-direction: column; gap: 7px; padding: 10px 14px; }
  .brand img { width: 135px; }
  nav { gap: 2px; flex-wrap: wrap; justify-content: center; }
  nav a { padding: 7px 11px; font-size: .92rem; }
  .hero { min-height: 520px; align-items: flex-end; }
  .hero-content { width: min(100% - 30px, var(--max)); padding-bottom: 44px; }
  .hero-overlay {
    background: linear-gradient(0deg, rgba(7,31,17,.78) 0%, rgba(7,31,17,.44) 54%, rgba(7,31,17,.08) 100%);
  }
  .hero h1 { font-size: 2.7rem; }
  .section-shell { width: min(var(--max), calc(100% - 26px)); }
  .about-section,
  .membership-section,
  .contact-section { padding: 64px 0; }
  .about-copy { padding: 0; }
  .contact-details { grid-template-columns: 1fr; padding: 18px; }
  .hours-block,
  .contact-details iframe { grid-column: 1; }
  .contact-form-card { padding: 22px; }
  footer { text-align: center; flex-direction: column; }
}

/* Version 6 fit-only corrections: preserve design/layout, prevent grid overflow */
.about-grid,
.membership-layout,
.contact-grid {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
}

.membership-layout {
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
}

.about-copy,
.about-photo,
.membership-heading,
.membership-card,
.contact-details,
.contact-form-card,
.info-block {
  min-width: 0;
  max-width: 100%;
}

.about-copy h2,
.membership-heading h2,
.contact-heading h2,
.info-block h3,
.contact-form-card h3,
.about-copy p,
.membership-heading p,
.info-block p,
.about-photo figcaption {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

.about-photo img,
.membership-card img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.membership-card {
  overflow: hidden;
}

.contact-details,
.contact-form-card {
  overflow: hidden;
}

.contact-form-card input,
.contact-form-card textarea,
.contact-form-card button,
.contact-details iframe {
  max-width: 100%;
}

@media (max-width: 1180px) {
  .about-copy h2,
  .membership-heading h2,
  .contact-heading h2 {
    font-size: clamp(2.1rem, 4.3vw, 3.25rem);
  }

  .about-grid,
  .membership-layout {
    gap: 36px;
  }

  .contact-grid {
    gap: 26px;
  }
}

@media (max-width: 980px) {
  .about-grid,
  .membership-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-copy,
  .membership-heading {
    max-width: none;
  }

  .membership-heading {
    text-align: left;
    margin: 0;
  }

  .contact-details { order: initial; }
}


/* v10 small refinements requested by user */
.contact-details .info-block h3 { font-size: clamp(1.7rem, 2.3vw, 2.5rem); line-height: 1.05; margin-bottom: 10px; }
.contact-details .info-block p { font-size: 1rem; line-height: 1.55; color: #4a5f4f; }
.contact-details .info-block a { color: var(--green-700); text-decoration: none; }
.contact-details iframe { min-height: 285px; }
@media (max-width: 680px) {
  .hero h1 { font-size: 3rem; }
  .hero-subtitle { font-size: 1.08rem; }
}

/* Restaurant membership poster links directly to the contact section */
.membership-poster-link { display: block; text-decoration: none; transition: transform .2s ease; }
.membership-poster-link:hover { transform: translateY(-3px); }
.membership-poster-link:focus-visible { outline: 3px solid #1e7c46; outline-offset: 5px; }
