/* CSS RESET & NORMALIZE */
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,
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 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #222;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  background: transparent;
  transition: color 0.18s cubic-bezier(.5,.2,.5,.8);
}
img, svg {
  max-width: 100%;
  vertical-align: middle;
  border: none;
}
input, button, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Nunito:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');

:root {
  --brand-primary: #325646;
  --brand-secondary: #ffffff;
  --brand-accent: #A13F29;
  --brand-bg: #F2E6D4;
  --text-main: #232323;
  --text-muted: #6a6a6a;
  --border-radius: 12px;
  --shadow-card: 0 2px 16px rgba(44,66,46,0.07);
  --shadow-menu: 0 4px 32px rgba(44,66,46,0.11);
  --transition: all 0.22s cubic-bezier(.4, .1, .3, 1);
}

/* TYPOGRAPHY */
h1, .h1 {
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand-primary);
  letter-spacing: -1px;
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 18px;
  line-height: 1.2;
}
h3, .h3 {
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
}
p, li, span, label {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-main);
}
p {
  margin-bottom: 12px;
}
strong {
  font-weight: 600;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1040px;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--brand-secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
  min-width: 240px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(44,66,46,0.13);
}

.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;
  margin-bottom: 20px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: var(--border-radius);
  background: #fff;
  box-shadow: 0 1px 8px rgba(50,86,70,0.08);
  margin-bottom: 20px;
  min-width: 240px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(44,66,46,0.16);
}
.testimonial-card p {
  font-style: italic;
  color: var(--text-main);
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--text-muted);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* QUICK TIP CARDS */
.quick-tip-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.quick-tip-cards > div {
  background: var(--brand-bg);
  padding: 18px 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 1px 8px rgba(50,86,70,0.07);
  flex: 1 1 220px;
  margin-bottom: 20px;
}

/* ORIGIN TAG */
.origin-tag {
  background: var(--brand-bg);
  color: var(--brand-primary);
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 0.9em;
  margin-left: 12px;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px rgba(44,66,46,0.04);
  position: sticky;
  top: 0;
  z-index: 1003;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 18px 20px;
}
.logo img {
  height: 44px;
  width: auto;
  margin-right: 12px;
  display: block;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 5px 4px 5px 4px;
  border-radius: 4px;
  color: var(--brand-primary);
  position: relative;
  transition: color 0.18s;
}
nav a:hover, nav a:focus {
  color: var(--brand-accent);
  background: var(--brand-bg);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--border-radius);
  padding: 11px 26px;
  box-shadow: 0 1px 8px rgba(44,66,46,0.08);
  margin-left: 18px;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--brand-accent);
  color: #fff;
  box-shadow: 0 6px 24px rgba(50,86,70,0.16);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  color: var(--brand-primary);
  border: none;
  margin-left: 18px;
  z-index: 1011;
  padding: 6px 14px;
  line-height: 1;
  border-radius: 7px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--brand-bg);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1100;
  box-shadow: var(--shadow-menu);
  transition: transform 0.36s var(--transition);
  transform: translateX(-100vw);
  flex-direction: column;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 18px 12px 0 auto;
  font-size: 2rem;
  color: var(--brand-primary);
  background: none;
  border: none;
  border-radius: 50%;
  padding: 7px 13px 7px 13px;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--brand-bg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  margin-top: 36px;
}
.mobile-nav a {
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--brand-primary);
  padding: 14px 0;
  border-radius: 8px;
  width: 90vw;
  text-align: left;
  transition: background 0.14s, color 0.15s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--brand-bg);
  color: var(--brand-accent);
}

/* SHOW/HIDE NAV FOR BREAKPOINTS */
@media (max-width: 1024px) {
  nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- MAIN LAYOUT & SPACING --- */
main {
  min-height: 60vh;
  padding-bottom: 60px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
section > .container {
  background: var(--brand-secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 36px 26px;
}

/* FORM ELEMENTS */
input[type="text"], input[type=email], input, textarea {
  width: 100%;
  border: 1px solid #ddd;
  background: #faf8f4;
  color: var(--text-main);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 1rem;
  margin: 8px 0 16px 0;
  box-sizing: border-box;
  transition: border 0.13s;
}
input[type="text"]:focus, input[type=email]:focus, textarea:focus {
  border: 1.5px solid var(--brand-primary);
  background: #fff;
}
label {
  font-size: 1rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 7px;
  display: inline-block;
}

.sorting-filters {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
}
.sorting-filters button {
  background: var(--brand-bg);
  color: var(--brand-primary);
  border-radius: 6px;
  padding: 7px 18px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-right: 4px;
  border: none;
  transition: background 0.19s, color 0.14s;
}
.sorting-filters button:hover, .sorting-filters button:focus {
  background: var(--brand-primary);
  color: #fff;
}

.recipe-search {
  margin: 18px 0 0 0;
  display: flex;
  gap: 12px;
  align-items: center;
}

/* CONTACT INFO */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 18px 0;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.contact-info img {
  width: 22px;
  height: 22px;
  min-width: 16px;
  opacity: 0.92;
}

.map-embed {
  background: var(--brand-bg);
  border-radius: 9px;
  padding: 16px 18px;
  font-style: italic;
  color: var(--brand-primary);
  margin-top: 8px;
}

/* FOOTER DESIGN */
footer {
  background: var(--brand-bg);
  padding: 46px 0 30px 0;
  border-top: 1.5px solid #ebe7e0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
}
.footer-menu {
  display: flex;
  gap: 20px;
}
.footer-menu a {
  font-size: 0.98rem;
  color: var(--brand-primary);
  opacity: 0.95;
  border-radius: 5px;
  padding: 5px 6px;
  transition: background 0.12s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  background: var(--brand-secondary);
  color: var(--brand-accent);
}
.brand-address {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.97rem;
  color: var(--brand-primary);
}
.brand-address img {
  width: 30px;
  height: 30px;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-links a img {
  width: 24px;
  height: 24px;
  transition: opacity 0.14s, filter 0.17s;
  filter: grayscale(0.4);
}
.social-links a:hover img {
  opacity: 0.93;
  filter: grayscale(0);
}

/* COOKIES BANNER & MODAL */
.cookie-consent-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -1px 24px rgba(44,66,46,0.11);
  padding: 18px 24px;
  z-index: 1200;
  border-top: 1.5px solid #ebe7e0;
  gap: 18px;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.26s, opacity 0.18s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner-message {
  font-size: 1rem;
  color: var(--brand-primary);
  font-family: 'Open Sans', Arial, sans-serif;
  flex: 1 1 auto;
  margin-right: 18px;
}
.cookie-banner-actions {
  display: flex;
  gap: 10px;
}
.cookie-btn {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  border-radius: 17px;
  padding: 8px 20px;
  background: var(--brand-bg);
  color: var(--brand-primary);
  border: 1.5px solid var(--brand-primary);
  transition: background 0.19s, color 0.14s, border 0.12s;
}
.cookie-btn.accept {
  background: var(--brand-primary);
  color: #fff;
  border: none;
}
.cookie-btn.settings {
  background: #faf8f4;
  color: var(--brand-accent);
  border: 1.5px solid var(--brand-accent);
}
.cookie-btn.reject {
  color: var(--brand-accent);
  border-color: var(--brand-accent);
  background: #fff;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: var(--brand-secondary);
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}
.cookie-btn.accept:focus, .cookie-btn.accept:hover {
  background: var(--brand-accent);
  color: #fff;
}

.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(1);
  min-width: 320px;
  max-width: 94vw;
  background: #fff;
  box-shadow: 0 4px 44px rgba(44,66,46,0.18);
  border-radius: var(--border-radius);
  padding: 30px 26px 20px;
  z-index: 1400;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 1;
  pointer-events: auto;
  transition: transform 0.28s, opacity 0.18s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.94);
}
.cookie-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.cookie-modal-header h3 {
  font-size: 1.3rem;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--brand-primary);
  border-radius: 50%;
  padding: 4px 10px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--brand-bg);
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}
.cookie-category-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--brand-bg);
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 1rem;
}
.cookie-category-item input[type=checkbox] {
  width: 19px; height: 19px;
  accent-color: var(--brand-primary);
  margin-bottom: 0;
}
.cookie-category-label {
  font-weight: 500;
  color: var(--brand-primary);
}
.cookie-category-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-left: 5px;
}

/* Responsive Fix for Cookies */
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 16px 10px;
  }
  .cookie-banner-actions {
    gap: 8px;
  }
  .cookie-modal {
    min-width: 225px; padding: 18px 7vw 14px;
    max-width: 99vw;
  }
}

/* TABLETS & PHONE BREAKPOINTS */
@media (max-width: 900px) {
  .container {
    padding: 0 12px;
    max-width: 99vw;
  }
  nav {
    gap: 11px;
  }
  .footer-menu {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .container, section > .container {
    padding: 14px 7vw;
    min-width: 0;
  }
  h1, .h1 {
    font-size: 1.45rem;
  }
  h2, .h2 {
    font-size: 1.16rem;
  }
  .section {
    padding: 25px 0px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .testimonial-card,
  .quick-tip-cards > div,
  .card {
    min-width: 0;
    padding: 14px 7vw;
  }
  .content-grid, .card-container, .quick-tip-cards {
    gap: 12px;
  }
  .footer-menu {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .brand-address, .social-links {
    margin-top: 10px;
  }
}
@media (max-width: 600px) {
  .content-grid, .card-container, .quick-tip-cards {
    flex-direction: column;
    gap: 14px;
  }
  .section, section > .container {
    padding: 16px 4vw 17px 4vw;
  }
}

/* FLEX RESPONSIVE LAYOUTS */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* UTILITY CLASSES */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.gap-20 { gap: 20px !important; }
.gap-15 { gap: 15px !important; }
.rounded { border-radius: var(--border-radius); }
.text-center { text-align: center; }

/* BUTTON ANIMATION & STATES */
button, .cta-btn, .cookie-btn {
  transition: var(--transition);
}

/* LINK FOCUS STYLE */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}

/* SUBTLE SHADOWS */
.card, .testimonial-card, .quick-tip-cards > div {
  box-shadow: var(--shadow-card);
}

/* MINIMALIST COLOR HIERARCHY */
body, html {
  background: var(--brand-secondary);
  color: var(--text-main);
}

/* Animations for Banner & Mobile Menu*/
.mobile-menu {
  transition: transform 0.36s cubic-bezier(.5,.26,.3,1), opacity 0.17s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

/* Hide visually but keep accessible */
.sr-only {
  position: absolute;
  width: 1px; height: 1px; padding:0;
  overflow: hidden; clip:rect(1px,1px,1px,1px);
  white-space: nowrap; border:0;
}

/* Prevent overlap for all key flex layouts */
.content-grid > *, .card-container > *, .quick-tip-cards > *, .footer-menu > *, .mobile-nav > * {
  min-width: 0;
}

/* Prevent unwanted overlap for cards */
.card, .testimonial-card, .quick-tip-cards > div {
  min-width: 180px;
  margin-right: 0;
  margin-bottom: 20px;
}

/* END OF STYLE.CSS */
