/* --- RESET & BASE STYLES --- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #FFFFFF;
  color: #2B4238;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button, select, input {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}

/* --- BRAND COLORS --- */
:root {
  --primary: #2B4238;
  --accent: #C95E2E;
  --secondary: #FFFFFF;
  --offwhite: #F9F4EE;
  --feature-bg: #F9F4EE;
  --card-bg: #FFFFFF;
  --shadow1: 0 4px 24px 0 rgba(41,50,65,0.07);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.1;
}
h1 {
  font-size: 2.75rem;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}
p, li, blockquote, label, input, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
}
strong, b { font-weight: 700; }
blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 16px;
  font-style: italic;
  color: var(--primary);
  background: var(--offwhite);
  margin: 12px 0;
}

/* --- SPACING/CONTAINER --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px 40px 20px;
  background: none;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

/* --- HEADER --- */
header {
  background: var(--secondary);
  box-shadow: 0 2px 12px 0 rgba(41,65,50,0.03);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
header nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
header nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: var(--accent);
}

.cta-button {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  background: var(--accent);
  color: var(--secondary);
  border-radius: 36px;
  padding: 14px 32px;
  margin-left: 20px;
  box-shadow: 0 2px 16px 0 rgba(201,94,46,0.11);
  transition: background 0.2s, transform 0.13s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: #a24d2b;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 5px 24px 0 rgba(201,94,46,0.22);
}

/* --- BURGER MENU --- */
.mobile-menu-toggle {
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--primary);
  display: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--offwhite);
}

@media (max-width: 1020px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
  position: fixed;
  z-index: 110;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(41,65,50,0.94);
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.33s cubic-bezier(0.86,0,0.07,1), opacity 0.18s;
}
.mobile-menu.active {
  pointer-events: auto;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 2.2rem;
  background: transparent;
  border: none;
  color: #fff;
  z-index: 120;
  cursor: pointer;
  transition: background 0.12s;
  border-radius: 7px;
  padding: 4px 9px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: rgba(255,255,255,0.11);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 64px;
  padding: 30px 32px;
  gap: 28px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 10px 0;
  letter-spacing: 0.5px;
  border-radius: 5px;
  transition: background 0.13s, color 0.16s;
  display: block;
  width: 100%;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--accent);
  color: #fff;
}

@media (min-width: 1021px) {
  .mobile-menu,
  .mobile-menu-close {
    display: none;
  }
}

/* --- MAIN SECTION LAYOUTS --- */
main {
  width: 100%;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section {
    padding: 30px 6px;
    margin-bottom: 36px;
  }
}

/* --- FEATURE GRID & CARDS --- */
.feature-grid, .category-grid, .region-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 20px;
  margin-bottom: 20px;
}
.feature, .category, .region {
  background: var(--feature-bg);
  border-radius: 18px;
  box-shadow: var(--shadow1);
  padding: 26px 24px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  transition: transform 0.17s, box-shadow 0.19s;
}
.feature:hover,
.category:hover,
.region:hover {
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 8px 24px 0 rgba(41,65,50,0.11);
}
.feature img {
  height: 44px;
  width: 44px;
  margin-bottom: 9px;
}

/* --- RECIPE CARDS --- */
.recipe-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  margin-top: 8px;
}
.recipe-card {
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: var(--shadow1);
  flex: 1 1 256px;
  min-width: 230px;
  max-width: 350px;
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  transition: transform 0.14s, box-shadow 0.18s;
  border: 2.5px solid transparent;
}
.recipe-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px 0 rgba(201,94,46,0.18);
  transform: scale(1.04) translateY(-3px);
}

/* --- QUICK LINKS / BUTTONS --- */
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.link-button {
  padding: 14px 34px;
  border-radius: 32px;
  background: var(--primary);
  color: #fff;
  font-family: 'Lora', serif;
  font-weight: 700;
  box-shadow: 0 2px 8px 0 rgba(41,66,56,0.11);
  font-size: 1.1rem;
  transition: background 0.14s, color 0.14s, transform 0.14s;
  margin-bottom: 20px;
  cursor: pointer;
  text-align: center;
}
.link-button:hover, .link-button:focus {
  background: var(--accent);
  color: #fff;
  transform: scale(1.035);
}

/* --- CARDS GENERAL SPACING (MANDATORY PATTERNS) --- */
.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;
  background: #fff;
  box-shadow: 0 3px 18px 0 rgba(41,65,50,0.12);
  border-radius: 16px;
  margin-bottom: 24px;
  flex-direction: row;
  min-width: 230px;
  max-width: 630px;
  border-left: 7px solid var(--accent);
}
.testimonial-card p {
  color: #232926;
  font-weight: 500;
  font-size: 1.05rem;
  margin-right: 12px;
}
.testimonial-card span {
  color: #7b5a49;
  font-size: 0.97rem;
  font-weight: 700;
}
@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
    gap: 10px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- FAQ / DID-YOU-KNOW, FILTERS, etc. --- */
.search-filter, .filter-by-time {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 12px 0 22px 0;
}
.search-filter input, .filter-by-time select {
  border-radius: 12px;
  padding: 10px 16px;
  border: 2px solid var(--primary);
  background: #fff;
  font-size: 1rem;
  color: var(--primary);
  margin-left: 8px;
  transition: border 0.18s, box-shadow 0.17s;
}
.search-filter input:focus, .filter-by-time select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px #ecd3c8;
}

.quick-tricks {
  background: #fff6e6;
  border-left: 5px solid var(--accent);
  border-radius: 10px; 
  padding: 16px 18px;
  font-weight: 600;
  margin: 20px 0;
}

.short-articles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.short-articles article {
  background: var(--feature-bg);
  padding: 18px 18px 18px 20px;
  border-radius: 14px;
  flex: 1 1 220px;
  box-shadow: var(--shadow1);
}
.did-you-know-facts {
  background: #fffde4;
  border-radius: 10px;
  margin-bottom: 12px;
  padding: 18px 24px;
}

.unique-values {
  background: var(--offwhite);
  padding: 24px 22px;
  border-radius: 12px;
  margin-bottom: 18px;
}
.user-benefits {
  background: var(--feature-bg);
  padding: 20px 20px;
  border-radius: 12px;
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.team-member {
  background: var(--feature-bg);
  border-radius: 14px;
  box-shadow: var(--shadow1);
  padding: 20px 20px 18px 22px;
  flex: 1 1 230px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.text-section, .mission-statement { width: 100%; }
.mission-statement {
  background: var(--feature-bg);
  border-radius: 13px;
  padding: 22px 20px 18px 22px;
}

.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-details img { width: 22px; height: 22px; }

.map-embed {
  margin-top: 16px;
  background: #e5fcf6;
  border-radius: 10px;
  padding: 16px;
  font-weight: 600;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: #fff;
  width: 100%;
  padding-top: 36px;
  padding-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}
footer nav a {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  margin: 0 7px;
  transition: color 0.14s;
}
footer nav a:hover {
  color: var(--accent);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
  color: #f3e6db;
  font-size: 0.98rem;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-contact img {
  width: 18px; height: 18px;
  filter: brightness(10);
}
footer small {
  color: #dcc4b1;
  font-size: 0.92rem;
  margin-top: 16px;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: #fffaf4;
  color: #2B4238;
  box-shadow: 0 -2px 24px 0 rgba(41,66,56,0.11);
  padding: 22px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  z-index: 9999;
  font-size: 1rem;
  border-top: 3px solid var(--accent);
  transition: transform 0.28s cubic-bezier(0.86,0,0.07,1), opacity 0.21s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  margin-bottom: 8px;
}
.cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 32px;
  padding: 12px 28px;
  margin-bottom: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.17s, transform 0.14s;
}
.cookie-accept {
  background: var(--accent);
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #a24d2b;
  transform: scale(1.04);
}
.cookie-reject {
  background: #fff;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #ffe8d7;
  color: #a24d2b;
  transform: scale(1.04);
}
.cookie-settings {
  background: var(--primary);
  color: #fff;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #293622;
  transform: scale(1.04);
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(41,50,65,0.52);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 40px 0 rgba(41,66,56,0.19);
  padding: 34px 32px 28px 32px;
  min-width: 290px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  animation: modalIn 0.33s cubic-bezier(0.82, 0, 0.18, 1);
}
@keyframes modalIn {
  0% { transform: scale(0.93) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-header { 
  font-family: 'Lora', serif;
  font-weight: 700; 
  font-size: 1.3rem; 
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 10px 0;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--accent);
  width: 22px; height: 22px;
  cursor: pointer;
}
.cookie-modal .cookie-actions {
  justify-content: flex-end;
  width: 100%;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
}
.cookie-category.disabled label {
  opacity: 0.7;
  cursor: default;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .feature-grid, .category-grid, .region-grid, .quick-links, .recipe-cards, .team-list, .content-grid, .card-container, .short-articles {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .category-grid, .region-grid, .quick-links, .recipe-cards, .team-list, .content-grid, .card-container, .short-articles {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .feature, .category, .region, .team-member {
    max-width: 100%;
  }
  header .cta-button { margin-left: 0; }
  .footer-contact { flex-direction: column; gap: 10px; }
}
@media (max-width: 520px) {
  .cookie-modal-dialog {
    padding: 22px 7vw 18px 7vw;
  }
}

/* --- MICRO-INTERACTIONS --- */
button, .cta-button, .link-button, .cookie-btn {
  transition: background 0.16s, color 0.17s, transform 0.14s, box-shadow 0.17s;
}
a, .cta-button, .link-button, .cookie-btn, button {
  outline: none;
}
a:focus-visible, .cta-button:focus-visible, .link-button:focus-visible, .cookie-btn:focus-visible, button:focus-visible {
  box-shadow: 0 0 0 3px #efd4be44;
  border-radius: 5px;
}

/* --- MISC --- */
::-webkit-input-placeholder { color: #bcad9c; }
::-moz-placeholder { color: #bcad9c; }  /* Firefox 19+ */
:-ms-input-placeholder { color: #bcad9c; }  /* IE 10+ */
::placeholder { color: #bcad9c; }

hr { border: none; border-top: 2px solid #eee3d2; margin: 20px 0; }

/* Hide scrollbars in mobile menu overlay */
.mobile-menu { -ms-overflow-style: none; scrollbar-width: none; overflow-y: auto; }
.mobile-menu::-webkit-scrollbar { display: none; }

/* --- END OF CSS --- */