/* =========================================================
   RESET & BASELINE STYLES
========================================================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F3F8F1;
  color: #22553A;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  line-height: 1.7;
  font-size: 1rem;
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #22553A;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #466f57;
  text-decoration: none;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
li + li {
  margin-top: 0.5em;
}
section ul, section ol {
  margin-bottom: 2.2em;
}

/* ===============================================
   TYPOGRAPHY
================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #22553A;
  margin-bottom: 0.7em;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.2;
}
h2 {
  font-size: 1.8rem;
  line-height: 1.23;
}
h3 {
  font-size: 1.38rem;
  line-height: 1.28;
}
h4 {
  font-size: 1.15rem;
}
p, ul, ol, li, blockquote {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
blockquote {
  font-style: italic;
  color: #22553A;
  border-left: 3px solid #8FB48C;
  padding-left: 18px;
  margin-bottom: 0.8em;
  background: #f7faf7;
}
strong {
  font-weight: 700;
  color: #22553A;
}
.privacy-note {
  font-size: 0.92rem;
  color: #466f57;
  margin-top: 8px;
}

/* =============================
   CONTAINERS & LAYOUT
============================= */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(34,85,58,0.04), 0 0.5px 1.5px rgba(143,180,140,0.08);
}

/* =========================
   FLEXBOX LAYOUTS
========================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(34,85,58,0.06);
  margin-bottom: 20px;
  padding: 24px 20px;
  flex: 1 1 280px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 8px rgba(34,85,58,0.06);
  padding: 20px 18px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 5px solid #8FB48C;
  transition: box-shadow 0.2s;
}
.event-card:hover {
  box-shadow: 0 2px 16px rgba(34,85,58,0.09);
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f7faf7;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(34,85,58,0.07);
  margin-bottom: 20px;
  font-size: 1rem;
  color: #22553A;
}
.testimonial-card blockquote {
  background: none;
  border: none;
  margin: 0;
  padding-left: 0;
}
.testimonial-card p {
  font-weight: 400;
  color: #466f57;
  font-size: 0.97em;
}

/* ===== Spacing for card-like sections (section, card, testimonial) */
section + section {
  margin-top: 40px;
}
.card + .card, .testimonial-card + .testimonial-card, .event-card + .event-card {
  margin-top: 20px;
}

/* ================================
   HEADER & NAVIGATION
================================ */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(34,85,58,0.025);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
header nav a {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.04rem;
  color: #22553A;
  text-decoration: none;
  padding: 7px 0px;
  transition: color 0.18s;
  position: relative;
}
header nav a::after {
  content: '';
  display: block;
  height: 2px;
  border-radius: 1px;
  margin: 0 auto;
  width: 0%;
  background: #8FB48C;
  transition: width 0.21s;
  position: absolute;
  left: 0; right: 0; bottom: 0;
}
header nav a:hover, header nav a:focus {
  color: #8FB48C;
}
header nav a:hover::after, header nav a:focus::after {
  width: 80%;
}

header img {
  height: 45px;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #22553A;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-left: 10px;
  transition: color 0.2s;
  padding: 7px;
  border-radius: 8px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #e2ede7;
  color: #4f785d;
  outline: none;
}
/* Hide mobile toggle on desktop */
.mobile-menu-toggle {
  display: none;
}

/* =============
   MOBILE MENU
=============== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,85,58,0.98);
  color: #fff;
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.77,.2,.13,.96);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px 22px 22px 22px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 23px;
  right: 22px;
  cursor: pointer;
  z-index: 1001;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #3a7561;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 60px;
}
.mobile-nav a {
  font-family: 'Georgia', serif;
  color: #fff;
  font-size: 1.3rem;
  text-decoration: none;
  letter-spacing: 0.015em;
  padding: 10px 0;
  transition: color 0.18s, background 0.15s, padding-left 0.19s;
  border-radius: 7px;
}
.mobile-nav a:active, .mobile-nav a:hover {
  color: #8FB48C;
  background: rgba(143,180,140,0.09);
  padding-left: 14px;
}

/* =============
   SHOW/HIDE NAV
=============== */
@media (max-width: 1020px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ========================
   HERO SECTION
======================== */
.hero {
  background: #E9F1EB;
  padding-top: 48px;
  padding-bottom: 48px;
  border-radius: 0 0 18px 18px;
  margin-bottom: 40px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  text-align: left;
}
.hero h1 {
  font-size: 2.6rem;
  font-family: 'Georgia', serif;
  color: #22553A;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.17rem;
  max-width: 600px;
  color: #22553A;
}

/* =========================
   BUTTONS
========================= */
.btn {
  font-family: 'Montserrat', 'Georgia', serif;
  display: inline-block;
  border: none;
  border-radius: 24px;
  font-weight: 600;
  padding: 10px 34px;
  font-size: 1.07em;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  transition: background 0.19s, color 0.19s, box-shadow 0.19s;
  box-shadow: 0 1.5px 7px rgba(143,180,140,0.13);
  margin-top: 8px;
}
.btn-primary {
  background: #22553A;
  color: #fff;
  border: 1px solid #22553A;
}
.btn-primary:hover, .btn-primary:focus {
  background: #315b43;
  color: #fff;
  box-shadow: 0 0 0 4px #8FB48C33;
}
.btn-secondary {
  background: #fff;
  color: #22553A;
  border: 1px solid #22553A;
}
.btn-secondary:hover, .btn-secondary:focus {
  color: #fff;
  background: #8FB48C;
  border-color: #8FB48C;
  box-shadow: 0 0 0 4px #8FB48C33;
}

/* =========================
   FOOTER
========================= */
footer {
  background: #E9F1EB;
  border-top: 1.5px solid #dbe5de;
  padding: 38px 0 24px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-right: 20px;
  margin-bottom: 14px;
}
footer nav a {
  font-size: 1.05em;
  color: #22553A;
  text-decoration: none;
  transition: color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: #8FB48C;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}
.social-links a {
  display: flex;
  align-items: center;
  border-radius: 50%;
  padding: 6px;
  background: none;
  transition: background 0.15s;
}
.social-links a:hover, .social-links a:focus {
  background: #d3e5d8;
}
.social-links img {
  width: 24px;
  height: 24px;
}
.contact-snippet {
  margin-top: 0.4em;
  color: #22553A;
  font-size: 0.96em;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.contact-snippet strong {
  font-family: 'Georgia', serif;
}

/* ===========================================================
   COOKIES BANNER (fixed bottom)
=========================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: #fff;
  color: #22553A;
  box-shadow: 0 -4px 24px rgba(34,85,58,0.07);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-radius: 18px 18px 0 0;
  transition: transform 0.25s ease, opacity 0.2s;
}
.cookie-banner.hide {
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #22553A;
  text-align: center;
}
.cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-banner .btn {
  min-width: 120px;
  font-size: 1em;
}

/* Cookie Modal (Overlay & Modal Window) */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,85,58,0.64);
  z-index: 99996;
  display: none;
}
.cookie-modal-backdrop.open {
  display: block;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.98);
  background: #fff;
  color: #22553A;
  z-index: 99997;
  width: 98vw;
  max-width: 450px;
  padding: 32px 22px 22px 22px;
  border-radius: 19px;
  box-shadow: 0 6px 24px rgba(34,85,58,0.11);
  display: none;
  flex-direction: column;
  gap: 22px;
  animation: fadeInPop 0.23s cubic-bezier(.5,.29,.33,1.39);
}
@keyframes fadeInPop {
  from { opacity: 0; transform: translate(-50%,-44%) scale(.93); }
  to   { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-title {
  font-size: 1.30rem;
  font-family: 'Georgia', serif;
  font-weight: 700;
  margin-bottom: 4px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
}
.cookie-category input[type=checkbox] {
  accent-color: #8FB48C;
  width: 18px;
  height: 18px;
  margin-right: 3px;
}
.cookie-category label {
  font-size: 1rem;
  color: #22553A;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-category .always-on {
  color: #466f57;
  font-size: 0.99em;
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .btn {
  min-width: 110px;
}

/* ============================
   RESPONSIVE ADJUSTMENTS
============================ */
@media (max-width: 900px) {
  .hero h1 { font-size: 2.1rem; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.4rem; }
}
@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .section {
    margin-bottom: 36px;
    padding: 27px 9px;
    border-radius: 14px;
  }
  .hero {
    padding-top: 30px;
    padding-bottom: 32px;
    border-radius: 0 0 11px 11px;
  }
  .hero .content-wrapper {
    gap: 16px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
  }
  .footer .content-wrapper, .footer .container, footer .content-wrapper, footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
@media (max-width: 550px) {
  h1, .hero h1 {
    font-size: 1.3rem;
  }
  h2 {
    font-size: 1.06rem;
  }
  .btn, .cookie-banner .btn {
    font-size: .97em;
    padding: 8px 16px;
  }
  .cookie-modal {
    padding: 23px 7vw 18px 7vw;
  }
  .section {
    padding-left: 4px;
    padding-right: 4px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
  }
}
/* Ensuring left/top align for .content-wrapper on mobile */
@media (max-width: 650px) {
  .content-wrapper {
    align-items: flex-start !important;
    text-align: left !important;
  }
}

/* ========================
   MISC ELEMENTS & EFFECTS
======================== */
section {
  margin-bottom: 40px;
  margin-top: 0;
  border-radius: 12px;
}
.text-section img {
  height: 1.2em;
  width: auto;
  margin-right: 7px;
  display: inline-block;
  vertical-align: middle;
}
.text-section p, .text-section li {
  display: flex;
  align-items: center;
}

/* Microinteractions for cards and buttons */
.card, .event-card {
  transition: box-shadow 0.22s, transform 0.17s;
}
.card:hover, .event-card:hover, .card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(34,85,58,0.11);
  transform: translateY(-3px) scale(1.015);
}

/* List icons (when available) */
li img {
  margin-right: 11px;
  height: 1.07em;
}

/* ==============
   UTILITY CLASSES
=============== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.ml-0 { margin-left: 0 !important; }
.mr-0 { margin-right: 0 !important; }
.text-center { text-align: center !important; }

/* =============
   PRINT SUPPORT
=============== */
@media print {
  header, footer, .cookie-banner, .mobile-menu {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #222 !important;
  }
}

/* =======================
   FOCUS VISIBLE SUPPORT
======================= */
:focus-visible {
  outline: 2px solid #8FB48C;
  outline-offset: 2px;
}

/* =======================
   SPECIAL CARD LAYOUTS FOR HOME
======================= */
@media (min-width: 650px) {
  .text-section {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
  }
  .text-section > article {
    flex: 1 1 280px;
    min-width: 250px;
    background: #fff;
    border-radius: 13px;
    box-shadow: 0 1.5px 8px rgba(34,85,58,0.05);
    padding: 22px 16px 19px 16px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow 0.13s;
  }
  .text-section > article:hover {
    box-shadow: 0 5px 20px 0 rgba(34,85,58,0.073);
  }
}

/* =============================
   FORMS (newsletter, contact)
============================= */
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 10px 12px;
  border: 1px solid #8FB48C;
  border-radius: 7px;
  margin-bottom: 16px;
  outline: none;
  background: #fff;
  transition: border-color 0.18s, box-shadow 0.16s;
  color: #22553A;
}
input:focus, textarea:focus, select:focus {
  border-color: #22553A;
  box-shadow: 0 0 0 3px #8FB48C33;
}
@media (max-width: 550px) {
  input, textarea, select {
    font-size: .93rem;
    padding: 8px 7px;
  }
}

/* =========================
   Z-INDEX
======================== */
header { z-index: 100; }
.mobile-menu { z-index: 9999; }
.cookie-modal-backdrop { z-index: 99996; }
.cookie-modal { z-index: 99997; }
.cookie-banner { z-index: 99999; }

/* ==========================
   OVERRIDES/FIXES
========================== */
@media (max-width: 450px) {
  footer .content-wrapper, footer .container {
    padding-left: 3vw !important;
    padding-right: 3vw !important;
  }
  .cookie-modal {
    max-width: 98vw;
  }
}

/* ==========================
   NO GRID/COLUMNS CONFIRMATION
========================== */
/* All layouts are flex-based only. No display:grid, column-count, columns, or grid-* used. */
