/* --- CSS RESET & BASE --- */
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, 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: #f8f6f1 url('../assets/nature-bg-light.jpg') repeat; /* fallback to earthy background color if asset missing */
  color: #492c1b;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
}

img, svg {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', 'Times New Roman', serif;
  font-weight: 700;
  color: #492c1b;
  letter-spacing: -1px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; }

p, ul, ol, li {
  font-size: 1rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}

ul, ol {
  margin-bottom: 16px;
  padding-left: 1.3em;
}

strong {
  font-weight: bold;
  color: #3a2114;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* --- LAYOUT SECTIONS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fffbe9;
  border-radius: 32px 14px 24px 42px / 30px 44px 18px 28px;
  box-shadow: 0 4px 26px 0 rgba(60,44,22,0.07);
}

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

.text-section{
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}

.text-section ul{margin-bottom:0;margin-top:0;}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* --- NAVIGATION --- */
header {
  background: #ede5d8;
  box-shadow: 0 2px 12px 0 rgba(40,30,15,0.04);
  position: relative;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  padding: 18px 0 8px 0;
}
.main-nav .logo {
  margin-right: 28px;
  display: flex;
  align-items: center;
  border-radius: 99px;
  background: #e1cfa5;
  padding: 6px 12px;
  transition: box-shadow .15s;
}
.main-nav .logo img {
  height: 40px;
  width: auto;
}
.main-nav a {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  color: #492c1b;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #e1cfa5;
  color: #1b2018;
  outline: none;
}
.main-nav .primary-btn {
  background: #9fc661;
  color: #1b2018;
  box-shadow: 0 2px 12px 0 rgba(111,164,84,0.13);
  margin-left: auto;
  padding: 10px 26px;
  font-size: 1.08rem;
  border-radius: 24px;
  font-family: 'Merriweather', serif;
  border: none;
  cursor: pointer;
  transition: background .16s, box-shadow .14s;
}
.main-nav .primary-btn:hover, .main-nav .primary-btn:focus {
  background: #7ac143;
  color: #fff;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: #7ac143;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(80,120,34,0.14);
  transition: background .2s;
  z-index: 9999;
}
.mobile-menu-toggle:focus {
  outline: 3px solid #9fc661;
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e6efd3;
  z-index: 99990;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.8, 0.04, 0.23, 0.96);
  padding: 34px 22px 22px 22px;
  box-shadow: -3px 0 16px rgba(41,44,18, 0.08);
  overflow-y: auto;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: #cd2026;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 22px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(219, 32, 32, 0.12);
  transition: background .18s;
  z-index: 100001;
}
.mobile-menu-close:focus {
  outline: 3px solid #a11219;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  color: #492c1b;
  background: #f8f7ef;
  font-size: 1.15rem;
  text-decoration: none;
  padding: 13px 18px;
  border-radius: 22px;
  font-weight: 600;
  box-shadow: 0 1px 5px rgba(180,180,120,0.04);
  transition: background .16s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ddf6d1;
  color: #7ac143;
}

/* --- LAYOUT GRIDS & FLEX --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 200px;
  flex: 1 1 240px;
  gap: 8px;
  border-radius: 24px 14px 32px 10px / 18px 29px 14px 24px;
  background: #edf8e7;
  box-shadow: 0 2px 10px rgba(122,193,67,0.08);
  padding: 28px 22px;
  margin-bottom: 20px;
  transition: transform .19s, box-shadow .16s, background .19s;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 6px 18px rgba(112,173,67,0.12);
  background: #d0e5c0;
  transform: translateY(-3px) scale(1.02);
}
.feature img {
  width: 38px; height: 38px; margin-bottom: 15px;
  filter: drop-shadow(0 2px 6px rgba(87,90,35,0.07));
}

.recipe-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
.recipe {
  display: flex;
  flex-direction: column;
  flex: 1 1 270px;
  padding: 26px 18px;
  background: #f2ede6;
  border-radius: 18px 36px 18px 36px / 18px 36px 12px 22px;
  box-shadow: 0 1px 8px rgba(150,110,80,0.09);
  margin-bottom: 20px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 18px;
  margin-bottom: 28px;
}
.service-list li {
  padding: 14px 9px 14px 0;
  background: #f4efe6;
  border-radius: 16px 24px 8px 18px / 17px 20px 8px 13px;
  color: #492c1b;
  box-shadow: 0 1px 4px rgba(70,23,13,0.06);
  font-size: 1.06rem;
  margin-bottom: 10px;
}
.service-price {
  color: #7ac143;
  font-weight: 700;
  font-size: 1.09rem;
  margin-left: 10px;
  letter-spacing: 0.05em;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ede5d8;
  border-radius: 16px 41px 16px 18px / 24px 36px 16px 22px;
  box-shadow: 0 2px 10px rgba(140,120,61,0.10);
  padding: 22px 18px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 900px) {
  .feature-grid, .recipe-list, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .section { margin-bottom: 36px; padding: 22px 5px; }
}

/* --- BUTTONS --- */
.primary-btn {
  display: inline-block;
  font-family: 'Merriweather', serif;
  font-size: 1.12rem;
  font-weight: 700;
  background: #7ac143;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 36px;
  margin-top: 8px;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 3px 15px rgba(122,193,67,0.11);
  transition: background .18s, color .18s, box-shadow .18s, transform .12s;
  text-decoration: none;
}
.primary-btn:hover, .primary-btn:focus {
  background: #87c952;
  color: #312208;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 6px 18px rgba(118,181,55,0.22);
  outline: none;
}

/* --- TESTIMONIALS --- */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: 24px 8px 31px 10px / 18px 14px 33px 20px;
  box-shadow: 0 3px 14px rgba(90,110,44,0.13);
  min-width: 240px;
  max-width: 370px;
  margin-bottom: 20px;
  border: 2px solid #e1cfa5;
  color: #39281b;
  position: relative;
}
.testimonial-card p {
  color: #2b1a0d;
  font-family: 'Merriweather', serif;
  font-size: 1.07rem;
  font-style: italic;
  line-height: 1.4;
}
.testimonial-author {
  color: #7ac143;
  font-weight: 700;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .testimonials {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

/* --- FOOTER --- */
footer {
  background: #e1cfa5;
  margin-top: 40px;
  border-radius: 31px 30px 0 0 / 22px 20px 0 0;
  box-shadow: 0 -1px 20px rgba(140,100,60,0.07);
  padding: 32px 0 18px 0;
}
.footer-nav {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  padding-bottom: 14px;
}
.footer-nav a {
  color: #492c1b;
  text-decoration: none;
  font-size: 1rem;
  padding: 7px 10px;
  border-radius: 10px;
  transition: background .15s, color .15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #fffbe9; color: #7ac143;
}
.footer-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
}
.footer-meta img {
  height: 32px;
  width: auto;
  border-radius: 8px;
  filter: drop-shadow(0 2px 4px #beae7a44);
}
.footer-meta span {
  font-size: 0.95rem;
  color: #6b4b35;
}

@media (max-width: 600px) {
  .footer-nav, .footer-meta {
    flex-direction: column;
    gap: 10px;
  }
 }

/* --- CONTACT DETAILS --- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.04rem;
  margin: 8px 0 18px 0;
}
.contact-details li strong {
  color: #7ac143;
  font-weight: 700;
}

/* --- FORM --- */
input, textarea, select {
  font: inherit;
  font-size: 1rem;
  border-radius: 12px;
  border: 1px solid #d7cbc3;
  padding: 10px 12px;
  background: #f7f6ee;
  margin-bottom: 16px;
  transition: border .13s, box-shadow .13s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #7ac143;
  box-shadow: 0 0 0 2px #d7f3be;
}

/* --- MISC STYLES: ORGANIC & NATURAL --- */
body {
  background: #f8f6f1;
}
.section {
  border: 1.5px solid #e1cfa5;
  background: #fffbe9 url('../assets/nature-texture.png') repeat;
}
.tagline {
  font-size: 1.15rem;
  color: #a67c52;
  font-family: 'Merriweather', serif;
  margin-top: 10px;
  font-style: italic;
}

/* --- SPACING RULES --- */
.section + .section {
  margin-top: 16px;
}
.feature + .feature, .recipe + .recipe, .testimonial-card + .testimonial-card {
  margin-top: 0px;
}
.card + .card {
  margin-top: 0px;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 10px;
  background: #ede5d8;
  border-radius: 16px;
}
::-webkit-scrollbar-thumb {
  background: #bcb58c;
  border-radius: 16px;
}

/* --- COOKIES CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #ede5d8;
  color: #3a2114;
  box-shadow: 0 -2px 16px rgba(120,120,44,0.11);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  padding: 23px 16px 21px 16px;
  gap: 18px;
  transition: transform 0.23s cubic-bezier(0.7,0.04,0.26,1), opacity 0.16s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
}
.cookie-banner-text {
  max-width: 540px;
  font-size: 1.06rem;
}
.cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  background: #7ac143;
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 10px 22px;
  cursor: pointer;
  margin-right: 6px;
  transition: background .15s, color .15s;
}
.cookie-btn.reject {
  background: #cd2026;
  color: #fff;
}
.cookie-btn.settings {
  background: #492c1b;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.05) contrast(1.12);
  outline: none;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.24);
  z-index: 110000;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.show { display: flex; }
.cookie-modal {
  background: #fffbe9;
  color: #3a2114;
  padding: 34px 26px 28px 26px;
  border-radius: 31px 15px 33px 18px / 20px 23px 30px 27px;
  min-width: 310px;
  max-width: 95vw;
  box-shadow: 0 8px 32px rgba(122,193,67,0.15);
  position: relative;
  display: flex;
  flex-direction: column;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #7ac143;
  font-family: 'Merriweather', serif;
}
.cookie-modal-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 14px 0 22px 0;
}
.cookie-modal-list label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-modal-list input[type='checkbox'] {
  width: 20px; height: 20px;
  accent-color: #7ac143;
}
.category-disabled {
  color: #b2a97e;
  font-style: italic;
  font-size: 0.96rem;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: #cd2026;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(219,32,32,0.07);
}
.cookie-modal-close:focus {
  outline: 2px solid #a11219;
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.section, .feature, .recipe, .testimonial-card, .card, .cookie-modal, footer {
  transition: box-shadow .18s, background .18s, border .18s, transform .16s;
}
.primary-btn, .cookie-btn, .main-nav .primary-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background .16s, color .16s, box-shadow .18s, transform .12s;
}

/* --- ORGANIC DETAILS: BORDERS & SHAPES --- */
.feature, .testimonial-card, .recipe, .card, .cookie-modal {
  border-style: solid;
  border-width: 1.2px;
  border-color: #e1cfa5;
}

@media (max-width: 500px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }
  .section { padding: 13px 2px; }
  .feature, .recipe, .testimonial-card, .card {
    padding: 15px 7px;
  }
}

/* Remove last margin from lists */
ul:last-child, ol:last-child {margin-bottom:0;}

/* --- UTILITY: VISUAL HIERARCHY & RESPONSIVE FONT SIZES --- */
@media (max-width: 900px) {
  h1 { font-size:2rem; }
  h2 { font-size:1.33rem; }
  h3 { font-size:1.13rem; }
}

/* --- LINKS --- */
a {
  color: #7ac143;
  transition: color .14s, background .14s;
}
a:hover, a:focus {
  color: #cd2026;
  outline: none;
}

/* --- FEATURE ITEMS LAYOUT --- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* --- PRINT SAFETY --- */
@media print {
  .main-nav, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay, .footer-nav {
    display: none !important;
  }
}

/* == END CSS == */
