/* ============================== */
/*        CSS RESET & SETUP        */
/* ============================== */
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,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #F4EEE3;
  color: #210A02;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  border: 0;
}

a {
  color: #7E3F0F;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #B94A17;
  text-decoration: underline;
}

/* ============================== */
/*        TYPOGRAPHY              */
/* ============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #7E3F0F;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.375rem; margin-bottom: 14px; }
h4 { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
h5 { font-size: 1rem; font-weight: 600; }
h6 { font-size: 0.9rem; font-weight: 600; }

p, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #7E3F0F;
}

ul, ol {
  padding-left: 1.4em;
  margin-bottom: 24px;
}
li {
  margin-bottom: 8px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 900px) {
  .content-wrapper {
    gap: 36px;
  }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.125rem; }
  h3 { font-size: 1.5rem; }
}

/* ============================== */
/*      NAVIGATION & HEADER       */
/* ============================== */
header {
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(30,23,18,0.07);
  position: sticky;
  top: 0;
  z-index: 101;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 24px 16px 18px 16px;
}
.main-nav img {
  width: 128px;
  margin-right: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #7E3F0F;
  letter-spacing: 0.02em;
  padding: 8px 9px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a.cta-primary {
  background: #D05927;
  color: #FFF;
  padding: 8px 20px;
  margin-left: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px 0 rgba(208,89,39,0.09);
  font-size: 1.025rem;
  transition: background 0.15s, color 0.15s;
}
.main-nav a.cta-primary:hover,
.main-nav a.cta-primary:focus {
  background: #B94A17;
  color: #FFF;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F3DECF;
  color: #B94A17;
}
.main-nav a.active {
  background: #F4EEE3;
  color: #B94A17;
  font-weight: 900;
}

.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 18px;
  padding: 8px 14px 8px 10px;
  font-size: 1.9rem;
  background: #D05927;
  color: #FFF;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 131;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #7E3F0F;
  background: #B94A17;
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 96vw;
  background: #FFF;
  box-shadow: 2px 0 32px 8px rgba(30, 23, 18, 0.14);
  transform: translateX(-110vw);
  transition: transform 0.33s cubic-bezier(.53,1.25,.64,1);
  z-index: 130;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-right: 18px;
  margin-bottom: 25px;
  font-size: 2rem;
  border: none;
  background: none;
  color: #D05927;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:focus {
  color: #7E3F0F;
  outline: 2px solid #7E3F0F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.23rem;
  color: #7E3F0F;
  padding: 12px 0;
  transition: color 0.15s, background 0.15s;
  border-radius: 6px;
  width: 95%;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #FFF;
  background: #D05927;
}

@media (max-width: 1023px) {
  .main-nav a:not(:first-child) { /* logo */
    font-size: 0.98rem;
    padding: 7px 7px;
  }
  .main-nav img {
    width: 108px;
    margin-right: 15px;
  }
  .main-nav {
    gap: 15px;
    padding: 16px 8px 14px 8px;
  }
}
@media (max-width: 900px) {
  .main-nav a:not(:first-child) {
    font-size: 0.97rem;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .main-nav img {
    margin: 0;
  }
}

/* ============================== */
/*        HERO/INTRO SECTION      */
/* ============================== */
.hero {
  background: #FFF;
  border-radius: 0 0 48px 48px;
  box-shadow: 0 6px 24px 0 rgba(30,23,18,0.07);
  margin-bottom: 40px;
  padding: 60px 0 64px 0;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero h1 {
  color: #7E3F0F;
  font-size: 2rem;
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.hero p {
  font-size: 1.19rem;
  margin-bottom: 30px;
  color: #563B24;
  max-width: 540px;
}
.hero .cta-primary {
  margin-top: 12px;
}

@media (max-width: 850px) {
  .hero {
    padding: 34px 0 34px 0;
    border-radius: 0 0 32px 32px;
  }
  .hero .container {
    gap: 12px;
  }
  .hero h1 { font-size: 1.4rem; }
  .hero p { font-size: 1rem; }
}

/* ============================== */
/*            CARDS               */
/* ============================== */
.card-container, .card-grid, .feature-grid, .category-grid, .team-bio-grid, .tips-grid, .recipe-cards, .post-list, .recipe-list, .category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.card, .feature-grid > div, .category-grid > div, .team-bio-grid > div, .tips-grid > div, .recipe-card, .recipe-teaser, .post-list > article, .category-list > div {
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(126,63,15,0.08);
  padding: 28px 22px;
  transition: box-shadow 0.2s, transform 0.15s;
  margin-bottom: 0;
  flex: 1 1 240px;
  position: relative;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.card:hover, .feature-grid > div:hover, .category-grid > div:hover, .recipe-card:hover, .recipe-teaser:hover, .post-list > article:hover {
  box-shadow: 0 4px 32px 0 rgba(126,63,15,0.13);
  transform: translateY(-4px) scale(1.025);
  z-index: 2;
}
.card h3, .feature-grid h3, .category-grid h3, .team-bio-grid h3, .tips-grid h3 {
  font-size: 1.18rem;
  color: #D05927;
  margin-bottom: 12px;
  font-weight: 800;
}
.card p, .feature-grid p, .category-grid p, .team-bio-grid p, .tips-grid p {
  font-size: 0.99rem;
  color: #6C3B18;
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .card-container, .feature-grid, .category-grid, .team-bio-grid, .tips-grid, .recipe-cards, .post-list, .recipe-list, .category-list {
    gap: 14px;
  }
  .card, .feature-grid > div, .category-grid > div, .recipe-card, .recipe-teaser, .post-list > article {
    padding: 18px 12px;
    border-radius: 13px;
    min-width: 160px;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .card-container, .feature-grid, .category-grid, .team-bio-grid, .tips-grid, .recipe-cards, .post-list, .recipe-list, .category-list {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .card, .feature-grid > div, .category-grid > div, .recipe-card, .recipe-teaser, .post-list > article {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
}

/* ============================== */
/*         SECTION STYLES         */
/* ============================== */
.features {
  background: #FFF6EF;
  border-radius: 36px;
  margin-bottom: 60px;
  padding: 50px 0 44px 0;
}
.highlight {
  background: #F4EEE3;
  border-radius: 32px;
  padding: 38px 0 38px 0;
  margin-bottom: 55px;
}
.cta {
  background: #D05927;
  color: #FFF;
  border-radius: 30px;
  margin-bottom: 62px;
  padding: 38px 0 38px 0;
}
.cta h2, .cta p {
  color: #FFF;
  text-shadow: 0 1px 6px rgba(90,22,13,0.04);
}
.cta a.cta-primary {
  background: #FFFFFF;
  color: #D05927;
  font-weight: 800;
}
.cta a.cta-primary:hover {
  background: #F6D9C7;
  color: #B94A17;
}

.address-block address {
  background: #FFF;
  border-radius: 13px;
  padding: 18px;
  border-left: 5px solid #D05927;
  font-style: normal;
  box-shadow: 0 2px 10px rgba(208,89,39,0.06);
}

/* ============================== */
/*      BUTTONS & CBTAs           */
/* ============================== */
.cta-primary, .cta-secondary, .filter-buttons button, .cookie-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 32px;
  border: none;
  background: #D05927;
  color: #FFF;
  padding: 12px 32px;
  box-shadow: 0 2px 16px 0 rgba(208,89,39,0.12);
  cursor: pointer;
  letter-spacing: 0.015em;
  margin-bottom: 0px;
  margin-top: 6px;
  transition: background 0.15s, box-shadow 0.15s, color 0.13s;
}
.cta-primary:hover, .cta-primary:focus,
.cta-secondary:hover, .cta-secondary:focus,
.filter-buttons button:hover, .filter-buttons button:focus,
.cookie-banner-btn:hover, .cookie-banner-btn:focus {
  background: #B94A17;
  color: #FFF3EC;
  box-shadow: 0 4px 24px 0 rgba(208,89,39,0.18) !important;
}
.cta-secondary {
  background: #FFF;
  color: #D05927;
  font-weight: 800;
  border: 2.5px solid #D05927;
  box-shadow: none;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #F3DECF;
  color: #B94A17;
  border-color: #B94A17;
}
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0 8px 0;
}
.filter-buttons button {
  background: #EFE6D9;
  color: #7E3F0F;
  border-radius: 18px;
  border: none;
  padding: 7px 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.13s, color 0.13s;
  box-shadow: 0 2px 7px 0 rgba(208,89,39,0.06);
  cursor: pointer;
}
.filter-buttons button:hover,
.filter-buttons button.active {
  background: #D05927;
  color: #FFF;
}

.tag {
  display: inline-block;
  background: #F3DECF;
  color: #B94A17;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  border-radius: 22px;
  padding: 6px 19px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-top: 10px;
}

/* ============================== */
/*       TESTIMONIAL CARDS        */
/* ============================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 2px 13px 0 rgba(126,63,15,.07);
  gap: 20px;
  padding: 24px 32px;
  margin-bottom: 24px;
  margin-top: 0;
  min-width: 220px;
  max-width: 520px;
  font-size: 1.13rem;
  border-left: 7px solid #D05927;
}
.testimonial-card p {
  margin: 0 0 3px 0;
  color: #3C1F07;
}
.testimonial-card strong {
  color: #B94A17;
  margin-left: 0;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .testimonial-card {
    padding: 20px 15px;
    max-width: 100%;
    font-size: 1.05rem;
  }
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 14px 7px;
    font-size: 0.99rem;
  }
}

/* ============================== */
/*        FOOTER STYLES           */
/* ============================== */
footer {
  background: #FFF6EF;
  margin-top: 48px;
  padding: 40px 0 0 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #7E3F0F;
  font-weight: 700;
  border-radius: 7px;
  padding: 7px 14px;
  transition: color 0.13s, background 0.13s;
}
.footer-nav a:hover {
  background: #D05927;
  color: #FFF;
}
.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 17px;
}
.footer-logo img {
  width: 60px;
  height: auto;
}
.footer-contact {
  text-align: center;
  font-size: 0.96rem;
  margin-bottom: 14px;
  color: #943C13;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .footer-nav {
    gap: 13px;
    font-size: .97rem;
  }
}

/* ============================== */
/*    RESPONSIVE LAYOUTS          */
/* ============================== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* ============================== */
/*           FORMS                */
/* ============================== */
.form .text-section ul {
  margin-bottom: 18px;
  padding-left: 17px;
}
.form .text-section li {
  margin-bottom: 11px;
}

/* ============================== */
/* CONTACT INFO STYLES            */
/* ============================== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 20px;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #7E3F0F;
  font-size: 1.09rem;
}
.contact-info img {
  width: 23px;
  height: 23px;
  margin-right: 3px;
}

/* ============================== */
/*        LEGAL SECTION           */
/* ============================== */
.legal h1, .legal h2 {
  color: #7E3F0F;
}
.legal ul {
  margin-bottom: 16px;
}

/* ============================== */
/*            LISTS               */
/* ============================== */
.list ul {
  margin-bottom: 25px;
  padding-left: 19px;
}
.list li {
  margin-bottom: 15px;
}
.list li strong {
  color: #D05927;
}
.list li p {
  color: #703311;
  margin-bottom: 4px;
}

/* ============================== */
/*     THANK YOU SECTION          */
/* ============================== */
.thank-you h1 {
  color: #D05927;
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 26px;
}
.thank-you p {
  color: #4B3418;
  font-size: 1.16rem;
}

/* ============================== */
/*     COOKIE CONSENT BANNER      */
/* ============================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  right: 0;
  background: #FFF;
  color: #210A02;
  border-top: 3.5px solid #D05927;
  box-shadow: 0 -2px 24px 0 rgba(208,89,39,0.16);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 16px 19px 16px;
  animation: cookieBannerFadeIn 0.4s cubic-bezier(.66,0,0,1) 1;
}
@keyframes cookieBannerFadeIn {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: none; }
}
.cookie-consent-banner p {
  text-align: center;
  margin-bottom: 14px;
  font-size: 1.07rem;
}
.cookie-banner-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: 2px;
}
.cookie-banner-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 44px;
  padding: 8px 24px;
  border: none;
  background: #D05927;
  color: #FFF;
  margin-right: 0;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.cookie-banner-btn.settings {
  background: #FFF6EF;
  color: #D05927;
  border: 2px solid #D05927;
}
.cookie-banner-btn.reject {
  background: #B94A17;
}
.cookie-banner-btn.settings:hover,
.cookie-banner-btn.settings:focus {
  background: #F3DECF;
  color: #B94A17;
}
.cookie-banner-btn.accept:hover,
.cookie-banner-btn.accept:focus {
  background: #B94A17;
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32, 11, 1, 0.18);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: overlayFadeIn 0.38s cubic-bezier(.65,0,0,1) 1;
}
@keyframes overlayFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #FFF6EF;
  border-radius: 22px;
  padding: 38px 27px 26px 27px;
  min-width: 350px;
  max-width: 98vw;
  box-shadow: 0 8px 36px 0 rgba(127,63,16,0.13);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalSlideIn .4s cubic-bezier(.7,0,0,1) 1;
}
@keyframes modalSlideIn {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.3rem;
  color: #7E3F0F;
  margin-bottom: 14px;
  font-weight: 800;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-bottom: 10px;
}
.cookie-modal-category strong {
  margin-right: 6px;
  color: #D05927;
}
.cookie-modal-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #D05927;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 13px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.65rem;
  color: #B94A17;
  cursor: pointer;
}

@media (max-width: 600px) {
  .cookie-modal {
    min-width: unset;
    padding: 19px 7vw 18px 7vw;
    border-radius: 12px;
  }
}

/* Hide elements visually for accessibility (utility) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================== */
/*      UTILITIES & ANIMATIONS    */
/* ============================== */
.rounded-xl { border-radius: 32px; }
.rounded-lg { border-radius: 16px; }
.shadow-sm { box-shadow: 0 2px 8px 0 rgba(208,89,39,0.06); }
.shadow-md { box-shadow: 0 4px 16px 0 rgba(208,89,39,0.11); }

/* Micro Animation for Buttons */
.cta-primary, .cta-secondary, .cookie-banner-btn {
  transition: box-shadow .14s, background .17s, color .17s, transform .09s;
}
.cta-primary:active, .cta-secondary:active, .cookie-banner-btn:active {
  transform: scale(.97);
}

/* Section/Container Spacing */
@media (min-width: 700px) {
  .section { padding: 52px 32px; margin-bottom: 70px; }
  .features, .highlight, .cta { padding-left: 48px; padding-right: 48px; }
}

/* Accessibility focus style */
:focus {
  outline: 2px solid #D05927;
  outline-offset: 1.5px;
}

/* Prevent Overlapping */
.card, .card-container > * { margin-bottom: 20px; }
.card-container > *:last-child { margin-bottom: 0; }
.card:not(:last-child), .card-grid > *:not(:last-child), .feature-grid > *:not(:last-child), .category-grid > *:not(:last-child), .team-bio-grid > *:not(:last-child), .tips-grid > *:not(:last-child), .recipe-cards > *:not(:last-child), .post-list > *:not(:last-child), .recipe-list > *:not(:last-child), .category-list > *:not(:last-child) {
  margin-right: 0;
}

/* High Contrast for Testimonials */
.testimonial-card {
  background: #FFF;
  color: #2A1100;
  border-left: 7px solid #D05927;
}

/* ========================= */
/*  END CSS                  */
/* ========================= */