/* == CSS RESET & NORMALIZE == */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  min-height: 100vh;
  font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
  background: #fff8f1;
  color: #2d2d2d;
  line-height: 1.7;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #174a35;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #b07519;
  outline: none;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  color: inherit;
  outline: none;
  border-radius: 0;
}
button {
  cursor: pointer;
}

/* == TYPOGRAPHY & COLORS == */
h1 {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  color: #174a35;
  margin-bottom: 20px;
  font-family: 'Playfair Display', 'Merriweather', Georgia, serif;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #174a35;
  font-family: 'Playfair Display', 'Merriweather', Georgia, serif;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #b07519;
  margin-bottom: 10px;
  font-family: 'Merriweather', Georgia, serif;
}
h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: #174a35;
  font-weight: 600;
}
p, li, blockquote, input, label, span {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.125rem;
  color: #323232;
}
blockquote {
  font-style: italic;
  background: #f6e8d2;
  border-left: 4px solid #b07519;
  padding: 18px 22px;
  margin: 18px 0;
  border-radius: 4px;
}
strong, b {
  font-weight: bold;
}

/* == LAYOUT == */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  background: #ffffff;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 24px rgba(23, 74, 53, 0.06);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff8f1;
  box-shadow: 0 2px 16px rgba(89, 64, 21, 0.07);
  border-radius: 12px;
  margin-bottom: 20px;
  position: relative;
  padding: 24px 22px;
}
.recipe-grid,
.features-grid,
.method-grid,
.seasonal-highlights,
.blog-grid,
.seasonal-tip-grid,
.team-bios,
.next-steps ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.recipe-card,
.feature,
.method-card,
.seasonal-tile,
.blog-post-card,
.tip-card,
.team-member {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  flex: 1 1 260px;
  min-width: 220px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(23, 74, 53, 0.06);
  border: 1px solid #efe8dd;
  transition: box-shadow 0.18s, transform 0.18s;
}
.recipe-card:hover,
.feature:hover,
.method-card:hover,
.seasonal-tile:hover,
.blog-post-card:hover,
.tip-card:hover,
.team-member:hover {
  box-shadow: 0 2px 18px rgba(183, 117, 25, 0.09), 0 2px 16px rgba(23,74,53,0.06);
  transform: translateY(-6px) scale(1.025);
}

.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;
}
.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff8f1;
  border: 1px solid #efe8dd;
  border-radius: 10px;
  padding: 24px 20px;
  gap: 16px;
  min-width: 260px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  box-shadow: 0 2px 18px rgba(183, 117, 25, 0.03);
  transition: box-shadow 0.16s;
}
.testimonial-card .testimonial-rating img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 2px;
}
.testimonial-card .testimonial-author {
  font-size: 1rem;
  color: #174a35;
  font-weight: 700;
  margin-top: 8px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #ffffff;
  border: 1px solid #efe8dd;
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 1px 7px rgba(23, 74, 53, 0.07);
  margin-bottom: 12px;
}

/* == BUTTONS & CTAs == */
.cta-button, .filters-bar button, .pagination a, .mobile-menu-close, .mobile-menu-toggle, .cookie-btn {
  display: inline-block;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.1rem;
  color: #fff;
  background: #174a35;
  border-radius: 25px;
  padding: 12px 28px;
  margin-top: 8px;
  letter-spacing: 0.01em;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 8px rgba(23, 74, 53, 0.08);
  transition: background 0.18s, color 0.18s, transform 0.16s;
}
.cta-button:hover, .filters-bar button:hover, .pagination a:hover, .cookie-btn:hover, .cta-button:focus, .filters-bar button:focus {
  background: #b07519;
  color: #fff;
  transform: translateY(-2px) scale(1.05);
}
.filters-bar button {
  background: #fff8f1;
  color: #174a35;
  border: 1px solid #d9cba3;
  margin-right: 8px;
  margin-bottom: 8px;
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  transition: background 0.14s, color 0.14s, border 0.18s;
}
.filters-bar button.active, .filters-bar button:active {
  background: #b07519;
  color: #fff;
}
.pagination {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
}
.pagination span {
  background: #b07519;
  color: #fff;
  font-weight: bold;
  border-radius: 18px;
  padding: 7px 18px;
  min-width: 32px;
  text-align: center;
}
.pagination a {
  background: #fff8f1;
  color: #174a35;
  border-radius: 18px;
  padding: 6px 15px;
  border: 1px solid #d9cba3;
  font-weight: 600;
}
.pagination a:hover {
  background: #b07519;
  color: #fff;
}

/* == HEADER & NAVIGATION == */
header {
  background: #ffffff;
  box-shadow: 0 2px 14px rgba(23, 74, 53, 0.04);
  border-bottom: 1.5px solid #eedbb6;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 60;
  width: 100%;
}
.logo-area {
  display: flex;
  align-items: center;
  padding: 20px 0 20px 0;
}
header .logo-area img {
  height: 40px;
  width: auto;
}
header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  margin-left: 16px;
}
.main-nav a {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.05rem;
  color: #174a35;
  font-weight: 600;
  padding: 4px 8px;
  transition: color 0.15s, background 0.16s, border-radius 0.14s;
  border-radius: 7px;
}
.main-nav a:hover, .main-nav a.active {
  color: #b07519;
  background: #fff8f1;
}

/* Hamburger Menu Style */
.mobile-menu-toggle {
  display: none;
  background: #174a35;
  color: #fff;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  z-index: 119;
  margin-left: 24px;
  box-shadow: 0 2px 6px rgba(183,117,25,0.07);
  border: 2px solid #fff8f1;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #b07519;
  color: #fff8f1;
}

/* == MOBILE MENU == */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(23,74,53,0.97);
  box-shadow: 0 6px 24px rgba(23,74,53,0.11);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.67, 0, 0.33, 1);
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 36px;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 32px;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: #b07519;
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 200;
  transition: background 0.22s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #174a35;
  color: #fff8f1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 70px 18px 0 36px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.3rem;
  color: #fff8f1;
  padding: 12px 4px;
  border-radius: 9px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #b07519;
  color: #fff;
}

/* == FORMS & INPUTS == */
input[type="text"], input[type="email"] {
  background: #fff8f1;
  border: 1px solid #d9cba3;
  border-radius: 7px;
  font-size: 1rem;
  padding: 10px 16px;
  margin-bottom: 10px;
  transition: border 0.2s, box-shadow 0.18s;
}
input[type="text"]:focus, input[type="email"]:focus {
  border-color: #b07519;
  box-shadow: 0 2px 8px rgba(183,117,25,0.06);
}
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 10px;
  margin-top: 10px;
}
.filters-bar input[type="text"] {
  min-width: 200px;
  margin-right: 18px;
}
.category-filters, .dietary-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.category-filters span, .dietary-filters span {
  color: #b07519;
  font-weight: bold;
  margin-right: 8px;
  font-size: 1rem;
}

/* == FOOTER == */
footer {
  background: #174a35;
  color: #fff8f1;
  padding: 0;
  width: 100%;
}
footer span {
  color: white !important;
}
.footer-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  padding: 36px 10px 24px 10px;
}
.footer-logo img {
  height: 45px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.footer-nav a {
  color: #fff8f1;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  padding: 2px 12px;
  border-radius: 5px;
  transition: background 0.14s, color 0.13s;
}
.footer-nav a:hover {
  background: #b07519;
  color: #fff;
}
.footer-contact {
  font-size: 1rem;
  color: #efe8dd;
  text-align: center;
}
.footer-copy {
  color: #b07519;
  font-size: 0.99rem;
  margin-top: 4px;
  text-align: center;
}

/* == SPECIAL LAYOUTS == */
.team-bios, .community-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.team-member {
  min-width: 220px;
  flex: 1 1 260px;
}
.community-highlights {
  flex-direction: column;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 18px;
}
.contact-list li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.contact-list img {
  width: 22px;
  height: 22px;
}
.expert-quotes blockquote span {
  display: block;
  margin-top: 10px;
  color: #174a35;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
}
.faq-accordion .faq-item h3 {
  color: #174a35;
}

.next-steps ul {
  list-style: disc inside;
  gap: 16px;
}
.next-steps ul li {
  margin-bottom: 10px;
}

.category-list {
  font-size: 1.05rem;
  color: #b07519;
  margin-top: 14px;
}
.category-list a {
  color: #174a35;
  text-decoration: underline;
  margin: 0 3px;
  transition: color 0.16s;
}
.category-list a:hover {
  color: #b07519;
}

/* == COOKIE CONSENT BANNER == */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff8f1;
  color: #174a35;
  box-shadow: 0 -2px 14px rgba(23,74,53,0.09);
  padding: 22px 24px;
  z-index: 1800;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  font-size: 1.08rem;
  animation: banner-fade-in 0.45s ease;
}
@keyframes banner-fade-in {
  from { transform: translateY(100%); opacity: 0.3; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
  flex: 3 1 360px;
  color: #174a35;
}
.cookie-banner-btns {
  display: flex;
  gap: 14px;
  flex: 2 1 140px;
  justify-content: flex-end;
}
.cookie-btn {
  background: #174a35;
  color: #fff;
  border-radius: 20px;
  font-size: 1.08rem;
  padding: 10px 22px;
  font-weight: 600;
  margin: 0;
}
.cookie-btn.settings {
  background: #b07519;
}
.cookie-btn.reject {
  background: #b07519;
}
.cookie-btn:focus, .cookie-btn:hover {
  outline: none;
  background: #2a684b;
}
.cookie-btn.settings:focus, .cookie-btn.settings:hover {
  background: #835100;
}
.cookie-btn.reject:focus, .cookie-btn.reject:hover {
  background: #835100;
}

/* Cookie Modal */
#cookie-modal {
  position: fixed;
  z-index: 2001;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(23,74,53,0.68);
  display: none;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.32s linear;
}
#cookie-modal.open {
  display: flex;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-dialog {
  background: #fff8f1;
  border-radius: 18px;
  max-width: 420px;
  width: 98%;
  margin: 0 auto;
  padding: 36px 30px 26px 30px;
  box-shadow: 0 4px 28px rgba(23,74,53,0.13);
  color: #174a35;
  font-family: 'Merriweather', Georgia, serif;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modal-dialog-fade-in 0.37s cubic-bezier(.53,-0.02,.58,1.38);
}
@keyframes modal-dialog-fade-in {
  from { transform: translateY(60px) scale(.88); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-header {
  font-size: 1.36rem;
  font-weight: bold;
  color: #b07519;
}
.cookie-modal-content ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.08rem;
}
.cookie-toggle-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 12px;
  background: #d9cba3;
  position: relative;
  appearance: none;
  outline: none;
  transition: background 0.18s;
}
.cookie-toggle:checked {
  background: #b07519;
}
.cookie-toggle::after {
  content: '';
  display: block;
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-toggle:checked::after {
  transform: translateX(16px);
}
.cookie-category .desc {
  color: #66624c;
  font-size: 1rem;
  margin-left: 4px;
}
.cookie-modal-footer {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 12px;
}

/* == RESPONSIVE DESIGN (MOBILE FIRST) == */
@media (max-width: 768px) {
  .section {
    padding: 30px 8px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  header {
    flex-direction: row;
    align-items: center;
    padding: 0 8px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-wrapper, .text-section {
    gap: 16px;
  }
  .content-grid, .recipe-grid, .features-grid, .method-grid,
  .seasonal-highlights, .blog-grid, .seasonal-tip-grid, .team-bios {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .testimonial-card, .feature, .method-card, .recipe-card, .tip-card, .blog-post-card, .team-member, .seasonal-tile {
    max-width: 100%;
    min-width: 0;
    flex: 1 1 100%;
    padding: 18px 10px;
  }
  .testimonials-list {
    flex-direction: column;
    gap: 14px;
  }
  .footer-wrapper {
    padding: 28px 4px 18px 4px;
    gap: 12px;
  }
  .footer-nav {
    gap: 12px;
  }
  .logo-area {
    padding: 10px 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .filters-bar {
    flex-direction: column;
    gap: 7px;
    align-items: stretch;
  }
  #cookie-banner {
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
    padding: 15px 8px;
    font-size: 1rem;
    min-height: 82px;
  }
  .cookie-banner-btns {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .cookie-modal-dialog {
    padding: 22px 7px 16px 7px;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  .cta-button, .filters-bar button {
    font-size: 1rem;
    padding: 7px 18px;
  }
}

/* == GENERAL MICRO-INTERACTIONS == */
.card, .feature, .method-card, .recipe-card, .tip-card, .blog-post-card {
  transition: box-shadow 0.15s, transform 0.14s;
}
.card:hover, .feature:hover, .method-card:hover, .recipe-card:hover, .tip-card:hover, .blog-post-card:hover {
  box-shadow: 0 7px 28px rgba(183, 117, 25, 0.13);
  transform: translateY(-2px) scale(1.018);
}
.cta-button, .filters-bar button, .pagination a, .cookie-btn {
  transition: background 0.13s, color 0.13s, transform 0.12s;
}

::-webkit-scrollbar {
  width: 9px;
  background: #efefef;
}
::-webkit-scrollbar-thumb {
  background: #d9cba3;
  border-radius: 4px;
}

/* == HIGHLIGHT BRAND ACCENT == */
highlight, mark {
  background: #f6e8d2;
  color: #7e6421;
  padding: 0 4px;
  border-radius: 3px;
}

/* == UTILITY CLASSES == */
.hide {
  display: none !important;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.text-center {
  text-align: center;
}

/* == Z-INDEX LEVELS == */
.mobile-menu {
  z-index: 150;
}
#cookie-banner {
  z-index: 1800;
}
#cookie-modal {
  z-index: 2001;
}

/* == DEBUG SPACING: ENFORCED GAP/MARGINS == */
.card, .recipe-card, .feature, .method-card, .seasonal-tile, .blog-post-card, .testimonial-card, .tip-card, .team-member {
  margin-bottom: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container { gap: 24px; }
.content-grid { gap: 20px; }
.text-image-section { gap: 30px;}
.testimonial-card { gap: 20px; padding: 20px; }
.feature-item { gap: 15px; }

/* == ENSURE NO OVERLAPPING == */
.section, .card, .feature, .testimonial-card, .recipe-card, .tip-card, .blog-post-card, .method-card {
  box-sizing: border-box;
}
