/* CSS Reset & Normalize */
html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #FAF8F7;
  color: #253021;
  min-height: 100vh;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #37512B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #A66F3E;
}
ul {
  list-style-type: disc;
  margin-left: 1.5em;
  margin-bottom: 1em;
}
ol {
  list-style-type: decimal;
  margin-left: 1.5em;
  margin-bottom: 1em;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Georgia, serif;
  color: #253021;
  margin-bottom: 20px;
  line-height: 1.1;
}
h1 {
  font-size: 2.5rem;
  font-weight: bold;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
}
p, li, td {
  font-size: 1rem;
}
.subheadline {
  color: #A66F3E;
  font-size: 1.18rem;
  margin-bottom: 18px;
  font-weight: 500;
}

/* Containers & Layouts (Flex only) */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}
.features-grid, .features-section .features-grid, .workshops-list, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.tips-list ul, .gallery-descriptions ul, .topic-tags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.features-grid > .feature, .workshops-list > .workshop, .blog-list article {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px 0 rgba(55,81,43,0.06);
  padding: 32px 28px 24px 28px;
  flex: 1 1 290px;
  min-width: 250px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.features-grid > .feature:hover,
.workshops-list > .workshop:hover,
.blog-list article:hover {
  box-shadow: 0 8px 32px 0 rgba(55,81,43,0.16);
  transform: translateY(-4px) scale(1.025);
}

/* Cards & Card Containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(55,81,43,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 28px 0 rgba(55,81,43,0.12);
  transform: translateY(-3px) scale(1.012);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(120deg, #A66F3E 0%, #F1ECE9 85%, #FFF 100%);
  padding: 64px 0 56px 0;
}
.hero-section .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.hero-section h1 {
  color: #37512B;
  font-size: 2.9rem;
  letter-spacing: -1px;
}
.hero-section .subheadline {
  color: #A66F3E;
}

/* Features Section */
.features-section {
  background: #F1ECE9;
  border-radius: 32px;
  box-shadow: 0 2px 16px 0 rgba(55,81,43,0.05);
}
.features-section .content-wrapper > h2 {
  margin-bottom: 0px;
}
.features-section ul {
  margin-bottom: 0;
}
.feature img {
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
}

/* Workshops List */
.workshops-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.workshops-list .workshop {
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(166,111,62,0.10);
  padding: 28px 24px 22px 24px;
  min-width: 220px;
  flex: 1 1 260px;
  margin-bottom: 20px;
}

/* Testimonial Section & Card */
.testimonials-section {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 2px 16px 0 rgba(55,81,43,0.05);
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.testimonial-card {
  background: #F1ECE9;
  color: #1f2717;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(167,111,62,0.09);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 250px;
  max-width: 370px;
  margin-bottom: 20px;
  font-size: 1rem;
  font-style: italic;
  position: relative;
  transition: box-shadow 0.22s;
}
.testimonial-card span {
  color: #37512B;
  font-style: normal;
  font-size: 0.99rem;
}
.testimonial-card strong {
  color: #A66F3E;
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px 0 rgba(55,81,43,0.15);
}

/* Blog List */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-list article {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(166,111,62,0.08);
  padding: 26px 24px 18px 24px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.blog-list article h3 {
  font-size: 1.09rem;
  margin-bottom: 5px;
}
.blog-list article a {
  color: #A66F3E;
  font-weight: 600;
  margin-top: 7px;
  align-self: flex-start;
  font-size: 0.99rem;
}
.blog-list article a:hover {
  text-decoration: underline;
  color: #37512B;
}

/* CTAs & Buttons */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 36px;
  border-radius: 32px;
  border: none;
  background: linear-gradient(90deg,#37512B 25%, #A66F3E 95%);
  color: #fff!important;
  font-family: 'Roboto Slab', serif;
  font-size: 1.18rem;
  font-weight: 700;
  box-shadow: 0 4px 24px 0 rgba(166,111,62,0.10);
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.19s, transform 0.15s;
  margin-top: 16px;
  margin-bottom: 16px;
  text-decoration: none;
}
.cta-primary:hover,
.cta-primary:focus {
  background: linear-gradient(90deg,#A66F3E 18%, #37512B 85%);
  box-shadow: 0 8px 36px 0 rgba(55,81,43,0.11);
  transform: translateY(-3px) scale(1.03);
  outline: none;
}

/* Topic Tags / Chips */
.topic-tags {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}
.topic-tags span {
  font-size: 1.05rem;
  color: #37512B;
}
.topic-tags ul {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.topic-tags li a {
  background: #F1ECE9;
  color: #37512B;
  border-radius: 14px;
  padding: 7px 18px; 
  font-size: 0.96rem;
  font-weight: 600;
  transition: background 0.18s;
  display: inline-block;
}
.topic-tags li a:hover {
  background: #A66F3E;
  color: #fff;
}

/* Table Styling */
table {
  border-collapse: separate;
  border-spacing: 0 14px;
  width: 100%;
  margin-bottom: 24px;
}
tbody td {
  padding: 10px 8px;
  vertical-align: middle;
}
tbody tr {
  background: #fff;
  border-radius: 12px;
}
td img {
  width: 30px;
  height: 30px;
  margin-right: 9px;
}

/* Footer Layout */
footer {
  background: #37512B;
  color: #fff;
  padding: 0 0 0 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding: 38px 20px 15px 20px;
}
.footer-logo {
  flex: 0 0 100px;
}
.footer-logo img {
  width: 70px;
}
.footer-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.98rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact li img {
  width: 19px;
  height: 19px;
  margin-right: 6px;
  vertical-align: middle;
}
.footer-contact li {
  display: flex;
  align-items: center;
}
.footer-note {
  font-size: 0.93rem;
  color: #F1ECE9;
  margin-top: 15px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #F1ECE9;
  font-size: 1rem;
  padding: 2px 0;
  transition: color 0.18s;
}
.footer-nav a:hover {
  color: #A66F3E;
}

/* Header & Main Navigation */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(55,81,43,0.08);
  position: relative;
  z-index: 13;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 19px 20px 19px 20px;
  gap: 16px;
}
.logo img {
  width: 118px;
  height: auto;
}
.main-nav {
  display: flex;
  gap: 20px;
}
.main-nav a {
  color: #37512B;
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  font-size: 1.07rem;
  padding: 7px 13px;
  border-radius: 18px;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #A66F3E;
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #A66F3E;
  cursor: pointer;
  margin-left: 16px;
  z-index: 18;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #37512B;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-110%);
  transition: transform 0.32s cubic-bezier(.6,.03,.23,1);
  box-shadow: 0 0 0 0 rgba(0,0,0,0);
}
.mobile-menu.active {
  transform: translateX(0);
  box-shadow: 0 0 12px 0 rgba(55,81,43,0.12);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #A66F3E;
  padding: 19px 17px;
  margin-bottom: 20px;
  margin-top: 4px;
  cursor: pointer;
  transition: color 0.17s;
  z-index: 10001;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #37512B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 0 23px;
}
.mobile-nav a {
  color: #37512B;
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  font-size: 1.25rem;
  padding: 13px 0;
  border-radius: 16px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #A66F3E;
  color: #fff;
}


/* Responsive Spacing/Pattern Classes (for content consistency) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Misc Layouts */
.cta-section .content-wrapper {
  align-items: center;
  text-align: center;
}

/* Cookie Consent Banner & Modal */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  justify-content: center;
  background: #fff;
  box-shadow: 0 -2px 22px 0 rgba(55,81,43,0.13);
  padding: 22px 18px 18px 18px;
  transition: transform 0.25s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 700px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.cookie-btn {
  padding: 9px 26px;
  border-radius: 18px;
  border: none;
  font-size: 1rem;
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.19s;
  box-shadow: 0 1px 6px 0 rgba(166,111,62,0.07);
}
.cookie-btn.accept {
  background: #37512B;
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #A66F3E;
}
.cookie-btn.reject {
  background: #A66F3E;
  color: #fff;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #37512B;
}
.cookie-btn.settings {
  background: #F1ECE9;
  color: #37512B;
  border: 1px solid #A66F3E;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #A66F3E;
  color: #fff;
}

.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(37,81,43,0.18);
  animation: none;
}
.cookie-modal.active {
  display: flex;
  animation: fadeIn 0.29s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 28px 0 rgba(166,111,62,0.12);
  padding: 36px 30px 30px 30px;
  max-width: 430px;
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 13px;
  right: 18px;
  background: none;
  border: none;
  color: #A66F3E;
  font-size: 1.9rem;
  cursor: pointer;
  z-index: 10004;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  color: #37512B;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-category label {
  font-weight: 600;
  color: #37512B;
}
.cookie-category input[type="checkbox"] {
  accent-color: #A66F3E;
  width: 22px;
  height: 22px;
}
.cookie-category input[disabled] {
  accent-color: #37512B;
  opacity: 0.55;
  cursor: not-allowed;
}

/* Misc Helper Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.m-0 { margin: 0 !important; }
.mt-1 { margin-top: 10px !important; }
.mt-2 { margin-top: 20px !important; }
.mb-1 { margin-bottom: 10px !important; }
.mb-2 { margin-bottom: 20px !important; }
.pt-1 { padding-top: 14px !important; }
.pb-1 { padding-bottom: 14px !important; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }

/* Animations */
.cta-primary,
.feature, .card, .blog-list article {
  transition: box-shadow 0.2s, transform 0.15s, background 0.16s, color 0.16s;
}

/* --- RESPONSIVE DESIGN (Mobile First) --- */
@media (max-width: 1080px) {
  .container {
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }
  .footer-nav {
    flex-direction: row;
    gap: 18px;
    flex-wrap: wrap;
    padding-top: 7px;
    padding-bottom: 9px;
  }
  .footer-contact ul {
    font-size: 0.95rem;
    gap: 7px;
  }
}
@media (max-width: 768px) {
  /* Reflow main header nav */
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: space-between;
    min-height: 56px;
  }
  .cta-primary {
    padding: 12px 22px;
    font-size: 1.04rem;
  }
  .hero-section,
  .features-section,
  .testimonials-section {
    padding: 32px 9px 32px 9px;
    margin-bottom: 38px;
    border-radius: 22px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .features-grid,
  .workshops-list,
  .testimonials,
  .card-container,
  .blog-list {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .features-grid > .feature,
  .workshops-list > .workshop,
  .testimonial-card,
  .card,
  .blog-list article {
    max-width: 100%;
    min-width: 0;
    padding: 20px 14px;
  }
  .footer-logo {
    flex: 0 0 70px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    padding-top: 22px;
    padding-bottom: 5px;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: stretch;
    gap: 20px;
  }
  .cookie-modal .cookie-modal-content {
    padding: 20px 9px 16px 9px;
  }
}
@media (max-width: 480px) {
  .logo img {
    width: 80px;
  }
  .hero-section h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.23rem;
  }
  h3 {
    font-size: 1.08rem;
  }
  .cta-primary {
    font-size: 0.97rem;
    padding: 10px 15px;
  }
  .cookie-modal .cookie-modal-content {
    font-size: 0.96rem;
  }
}
/* --- Fallback font imports --- */
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:700,600,400|Open+Sans:400,700&display=swap');
