/* =========================
   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, 
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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  font-size: 16px;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F5F9F6; /* soft background accent */
  color: #1A4852;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15; 
  outline: none;
  border: none;
}

/* =========================
    VARIABLES & SHARED
========================= */
:root {
  --color-primary: #1A4852;
  --color-secondary: #8FC93A;
  --color-accent: #F5F9F6;
  --color-bg: #F4F1EA; /* warm beige, nature stone background */
  --color-brown-light: #E2D9C3;
  --color-brown-mid: #BDAF96;
  --color-earth-deep: #657158;
  --color-green-forest: #587753;
  --color-success: #8FC93A;
  --color-error: #dc3545;
  --color-warning: #FFD86E;

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* =========================
    TYPOGRAPHY
========================= */
h1, .h1 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
h2, .h2 {
  font-family: var(--font-display);
  color: var(--color-green-forest);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: var(--font-display);
  color: var(--color-earth-deep);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 10px;
}
p, li, ul, ol {
  font-family: var(--font-body);
  color: var(--color-primary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 8px;
}
strong, b {
  font-weight: 700;
}

/* =========================
     CONTAINER & SPACING
========================= */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
  border-radius: 36px 44px 28px 24px / 44px 28px 36px 24px;
  /* organic shape: subtle border-radius */
  box-shadow: 0 2px 16px 0 rgba(90,96,86,0.08);
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 32px 40px 18px 22px / 40px 18px 32px 22px;
  box-shadow: 0 2px 14px 0 rgba(90,96,86,0.10);
  padding: 30px 24px;
  min-width: 268px;
  flex: 1 1 320px;
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 32px 42px 22px 30px/42px 22px 32px 30px;
  box-shadow: 0 2px 10px 0 rgba(34,60,56,0.10);
  margin-bottom: 20px;
  max-width: 400px;
  min-width: 220px;
  color: var(--color-primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

/******
    HERO, FEATURES, CTA, ABOUT
******/
.hero {
  margin-bottom: 60px;
  background: linear-gradient(120deg, #F5F9F6 70%, #E2D9C3 100%);
  border-radius: 0 0 44px 44px/ 0 0 60px 60px;
  box-shadow: 0 8px 32px rgba(34,60,56,0.07);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0 10px 0;
}

.features {
  margin-bottom: 60px;
}
.features .content-wrapper {
  gap: 30px;
  flex-wrap: wrap;
}
.features ul, .features ol {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  padding-left: 0;
}
.features li {
  background: #fff;
  box-shadow: 0 2px 8px rgba(131,143,68,0.08);
  border-radius: 32px;
  padding: 18px 24px;
  font-weight: 500;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--color-green-forest);
}
.features li img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.cta {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-secondary);
  border-radius: 28px 42px 40px 20px / 42px 40px 28px 20px;
  box-shadow: 0 2px 12px rgba(143,201,58,0.12);
  text-align: center;
}
.cta .content-wrapper {
  align-items: center;
  gap: 12px;
}
.cta h2 {
  color: #fff;
}
.cta p {
  color: #f7fee9;
  font-size: 1.08rem;
}

/*******
  ABOUT
*******/
.about {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 36px 44px 28px 24px / 44px 28px 36px 24px;
  box-shadow: 0 2px 16px 0 rgba(90,96,86,0.08);
}
.about .content-wrapper {
  gap: 20px;
}

/*******
   SERVICES & LISTS
*******/
.services {
  margin-bottom: 60px;
}
.services .content-wrapper {
  gap: 30px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
}
.service-list > div {
  background: #fff;
  border-radius: 28px 40px 26px 18px / 40px 26px 28px 18px;
  box-shadow: 0 2px 10px 0 rgba(90,96,86,0.08);
  padding: 28px 22px;
  flex: 1 1 260px;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.service-list h3 {
  margin-bottom: 4px;
  color: var(--color-green-forest);
}
.service-list span {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 8px 0 10px 0;
}

/******
  Testimonial Cards
******/
.testimonials {
  margin-bottom: 60px;
  background: linear-gradient(90deg,#E2D9C3 52%, #F5F9F6 100%);
  border-radius: 40px 0 42px 36px / 24px 56px 44px 36px;
  box-shadow: 0 2px 18px 0 rgba(90,96,86,0.08);
  padding: 40px 20px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #fff;
  border-left: 4px solid var(--color-secondary);
  box-shadow: 0 4px 16px rgba(49,104,53,0.07);
}
.testimonial-card .star-rating {
  color: var(--color-secondary);
  font-size: 1.25rem;
  letter-spacing: .05em;
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.testimonial-card p {
  color: var(--color-green-forest);
  font-size: 1.07rem;
  margin-bottom: 6px;
}
.testimonial-card span {
  color: var(--color-earth-deep);
  font-size: .98rem;
  font-style: italic;
}

/*******
  FOOTER
********/
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 48px 0 0 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 28px;
}
.footer-brand {
  flex: 0 1 200px;
  display: flex;
  align-items: center;
  padding-bottom: 10px;
}
.footer-contact ul, .footer-contact li, .footer-contact p {
  font-size: .98rem;
  color: #e2e6e5;
  margin-bottom: 0;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
}
.footer-nav a {
  color: #e2e6e5;
  font-size: .98rem;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--color-secondary); }

.newsletter-signup {
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .98rem;
  background-color: #e2e6e5;
}

/* Footer responsive */
@media (max-width: 900px) {
  footer .container{
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}

/************
  HEADER
*************/
header {
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(90,96,86,0.04);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  position: relative;
  z-index: 110;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
.main-navigation {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
.main-navigation a {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  transition: color .15s;
}
.main-navigation a:after {
  content: "";
  display: block;
  height: 2px;
  background: var(--color-secondary);
  width: 0;
  transition: width .20s;
  position: absolute;
  left: 0;
  bottom: -2px;
}
.main-navigation a:hover {
  color: var(--color-secondary);
}
.main-navigation a:hover:after {
  width: 100%;
}

/******
 CTA BUTTONS
******/
.cta {
  display: inline-block;
  padding: 0;
  margin: 0;
  
  box-shadow: none;
  text-align: inherit;
  border-radius: 0;
}
.cta.primary, .service-list .cta, .service-list a.cta, .cta .cta.primary {
  display: inline-block;
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  padding: 13px 32px;
  border-radius: 24px 36px 18px 28px/36px 18px 24px 28px;
  box-shadow: 0 2px 10px 0 rgba(43,101,55,0.08);
  margin-top: 12px;
  margin-bottom: 8px;
  outline: none;
  border: none;
  cursor: pointer;
  transition: background .22s, color .15s, box-shadow .22s, transform .14s;
}
.cta.primary:hover,
.service-list .cta:hover,
.cta .cta.primary:hover {
  background: var(--color-green-forest);
  color: #fff;
  box-shadow: 0 6px 24px rgba(49,104,53,0.13);
  transform: translateY(-2px) scale(1.038);
}

/**************
   MOBILE MENU
***************/
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #fff;
  font-size: 1.8rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .18s, color .15s;
  outline: none;
  border: none;
  z-index: 501;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-green-forest);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px 32px 32px 32px;
  transform: translateX(100%);
  transition: transform .36s cubic-bezier(.87, .04, .41, .99);
  box-shadow: 0 8px 48px 6px rgba(43,101,55,0.12);
}
.mobile-menu.open {
  transform: translateX(0);
  animation: slideInMenu .32s cubic-bezier(.95, .16, .4, 1) 1;
}
@keyframes slideInMenu {
  from {transform: translateX(100%);}
  to   {transform: translateX(0);}
}
.mobile-menu-close {
  background: var(--color-brown-mid);
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  align-self: flex-end;
  cursor: pointer;
  transition: background .18s, color .13s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-green-forest);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 600;
  padding: 7px 0;
  transition: color .14s;
}
.mobile-nav a:hover,
.mobile-nav a:active {
  color: var(--color-secondary);
}

/******
 Responsive Main Menu
******/
@media (max-width: 1050px) {
  .main-navigation {
    gap: 12px;
  }
}
@media (max-width: 850px) {
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 851px) {
  .mobile-menu { display: none !important; }
}

/******
 Responsive Hero
******/
@media (max-width: 650px) {
  .hero {
    border-radius: 0 0 32px 32px /0 0 44px 44px;
    padding: 18px 10px;
  }
  .section, .about, .cta, .testimonials {
    padding: 22px 6px;
    border-radius: 22px 26px 18px 18px/26px 18px 22px 18px;
  }
}

/*********
 Responsive FLEX CONTAINERS 
**********/
@media (max-width: 768px) {
  .content-wrapper, .card-container, .service-list, .testimonials .content-wrapper, .footer .container, .content-grid, .features ul, .features ol {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }
  .service-list > div, .features li, .card {
    min-width: 90vw;
    max-width: 98vw;
  }
  .testimonial-card {
    min-width: 88vw;
    max-width: 96vw;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }
}

/**********
   MOBILE CTA BUTTON
**********/
@media (max-width: 650px) {
  .cta.primary, .service-list .cta, .cta .cta.primary {
    width: 100%;
    font-size: 1rem;
    padding: 14px 0;
    min-width: 0;
    margin: 0 auto 12px auto;
    text-align: center;
    display: block;
  }
}

/*********
   FORMS
*********/
input, textarea, select {
  border: 1px solid var(--color-brown-mid);
  border-radius: 12px 18px 14px 10px/18px 14px 12px 10px;
  padding: 10px 14px;
  background: #fff;
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
  transition: border .17s, box-shadow .14s;
  box-shadow: 0 2px 8px 0 rgba(90,96,86,0.04);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border: 1.5px solid var(--color-secondary);
  box-shadow: 0 2px 14px 0 rgba(143,201,58,0.12);
}
label {
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 4px;
  display: block;
}

/***********
  LIST ELEMENTS
************/
ul, ol {
  margin-bottom: 12px;
}
ol li {
  margin-bottom: 8px;
}
ul li {
  margin-bottom: 8px;
}

/****
 Cookie Consent Banner
****/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 6000;
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 -6px 40px 0 rgba(90,96,86,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  gap: 20px;
  border-radius: 24px 24px 0 0/36px 36px 0 0;
  font-size: 1rem;
  max-width: 660px;
  width: 98%;
  margin: 0 auto;
  animation: banner-slidein .44s cubic-bezier(.79,.08,.45,1.04);
}
@keyframes banner-slidein {
  from {transform: translateY(150%); opacity:0;}
  to {transform: translateY(0); opacity:1;}
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-banner button,
.cookie-banner .cookie-settings-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 9px 22px;
  border-radius: 18px 14px 22px 12px/14px 22px 18px 12px;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background .14s, color .14s;
  margin-bottom: 0;
}
.cookie-banner .reject {
  background: var(--color-brown-light);
  color: var(--color-earth-deep);
}
.cookie-banner .cookie-settings-btn {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner button:hover,
.cookie-banner .cookie-settings-btn:hover {
  background: var(--color-green-forest);
  color: #fff;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    font-size: .98rem;
    padding:15px 7px;
  }
  .cookie-banner .cookie-banner-buttons {
    gap: 8px;
    width: 100%;
  }
  .cookie-banner button, .cookie-banner .cookie-settings-btn {
    width: 100%;
    min-width: 0;
  }
}

/*****
 Cookie Modal Overlay
******/
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 7000;
  top:0;left:0;right:0;bottom:0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 60, 56, 0.55);
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadeInModal .34s .07s cubic-bezier(.8, .15, .33, 1.1);
}
@keyframes fadeInModal {
  0%{opacity:0;}
  100%{opacity:1;}
}
.cookie-modal {
  background: #fff;
  color: var(--color-primary);
  padding: 34px 32px;
  border-radius: 36px 32px 18px 36px/42px 18px 28px 46px;
  box-shadow: 0 8px 38px 4px rgba(43,101,55,0.22);
  max-width: 440px;
  width: 96vw;
}
.cookie-modal-close {
  background: var(--color-secondary);
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: absolute;
  top: 20px;
  right: 22px;
  cursor: pointer;
  transition: background .15s;
}
.cookie-modal-close:hover{
  background: var(--color-green-forest);
}
.cookie-modal h3 {
  color: var(--color-green-forest);
  font-size: 1.4rem;
  margin-bottom: 12px;
  margin-top: 0;
}
.cookie-modal ul {
  list-style-type: none;
  margin: 0 0 16px 0;
  padding: 0;
}
.cookie-modal li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal label {
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 0;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 19px;
  height: 19px;
  margin-right: 7px;
}
.cookie-modal .cookie-category-desc {
  font-size: .95rem;
  color: var(--color-brown-mid);
  margin-top: 2px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal .modal-actions button {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 16px 22px 14px 22px/18px 12px 14px 18px;
  padding: 10px 24px;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background .13s;
}
.cookie-modal .modal-actions button.cancel {
  background: var(--color-primary);
}
.cookie-modal .modal-actions button:hover {
  background: var(--color-green-forest);
}

/*********
 Animations for micro-interactions
**********/
.cta.primary, .service-list .cta, .cta .cta.primary, .cookie-banner button, .cookie-banner .cookie-settings-btn {
  transition: background 0.22s cubic-bezier(0.5, 0.07, 0.41, 0.98), 
    color 0.15s, box-shadow 0.10s, transform 0.14s;
}
.cta.primary:active, .service-list .cta:active, .cookie-banner button:active, .cookie-banner .cookie-settings-btn:active {
  transform: scale(0.98);
}

/*****
 Accessibility: focus states
*****/
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/*****
  Specials for recipe-filters, etc
******/
.recipe-filters {
  background: var(--color-brown-light);
  border-radius: 24px 32px 22px 18px/32px 22px 24px 18px;
  padding: 18px 18px 8px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.01rem;
}
.recipe-filters ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 6px 0 0 0;
  list-style: none;
}
.recipe-filters li {
  background: var(--color-secondary);
  color: #fff;
  border-radius: 14px 22px 11px 17px/18px 10px 16px 14px;
  padding: 7px 18px;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/*****
 Special for content.html/text block
*****/
.content {
  margin-bottom: 60px;
}
.content .content-wrapper {
  background: #fff;
  border-radius: 30px 38px 22px 26px/32px 22px 28px 26px;
  box-shadow: 0 2px 14px 0 rgba(90,96,86,0.10);
  padding: 30px 22px;
}
@media (max-width: 650px) {
  .content .content-wrapper {
    padding:16px 6px;
  }
}

/*****
 Responsive logo
******/
@media (max-width: 450px) {
  .logo img, .footer-brand img {
    height: 36px !important;
  }
}

/*******
 Misc Accessibility
*******/
::-webkit-scrollbar {
  width: 11px;
  background: var(--color-accent);
  border-radius: 7px;
}
::-webkit-scrollbar-thumb {
  background: var(--color-brown-light);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:active {
  background: var(--color-secondary);
}

/* =========================
 ORGANIC/NATURE DECORATIONS (if you want some organic dot/leaf decorations)
========================= */
.organic-decor {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.13;
  filter: blur(2.5px);
}

/* End of CSS */
