/* ====================================================== */
/*                  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,
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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F5F1EE;
  line-height: 1.6;
  color: #233148;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
*, *::before, *::after {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #233148;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style-type: none;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}
button {
  cursor: pointer;
  background: none;
}
.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Google Fonts (assuming linked in HTML) */
/* Montserrat for headlines, Roboto for body */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #233148;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.25;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  line-height: 1.3;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, li, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #2d3b28;
}
p {
  margin-bottom: 16px;
  line-height: 1.7;
}
strong {
  font-weight: 700;
  color: #416639;
}

/* ================ Layout Helpers (Flexbox Only) ================ */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 32px 16px 48px 16px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(35, 49, 72, 0.05);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 24px 48px 16px 24px;
  box-shadow: 0 2px 12px rgba(133, 163, 109, 0.10);
  padding: 24px;
  transition: box-shadow 0.3s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(35, 49, 72, 0.12);
  transform: translateY(-3px) scale(1.01);
}
.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: #f8f6f4;
  border-radius: 28px 12px 40px 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(35,49,72,0.08);
  min-width: 240px;
  max-width: 370px;
  flex: 1 1 300px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ============== Organic Nature Style (Earth Tones & Shapes) ============= */
body {
  background-color: #F5F1EE;
}
.section {
  background: #fff;
  border-radius: 40px 16px 56px 24px;
  box-shadow: 0 2px 16px rgba(133, 163, 109, 0.08);
}
.hero {
  background: #eaf5e3;
  background-image: url('../assets/organic-bg.svg'), linear-gradient(135deg, #F5F1EE 80%, #d0dbc6 120%);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0 0 80px 80px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.hero h1 {
  color: #233148;
  margin-bottom: 16px;
}

.features ul,
.about ul,
.products ul,
.services ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 12px;
}
.features li,
.about li,
.products li,
.services li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  border-radius: 20px;
  padding: 8px 0 8px 0;
  color: #2d3b28;
  background: transparent;
  transition: background 0.18s;
}
.features li img,
.about li img,
.products li img,
.services li img {
  width: 28px; height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
}
.features li:hover,
.about li:hover,
.products li:hover,
.services li:hover {
  background: #eaf5e3;
}

.cta, .cta-return {
  text-align: center;
  background: #eaf5e3;
  border-radius: 40px 48px 20px 16px;
  padding: 32px 12px;
}
.cta-button {
  background: #85A36D;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 32px 48px 20px 16px;
  padding: 14px 36px;
  font-size: 1.125rem;
  border: none;
  box-shadow: 0 1px 6px rgba(133,163,109,0.10);
  transition: background 0.22s, box-shadow 0.22s, transform 0.22s;
  display: inline-block;
  margin-top: 10px;
}
.cta-button:hover,
.cta-button:focus-visible {
  background: #233148;
  color: #fff;
  box-shadow: 0 6px 16px rgba(35,49,72,0.16);
  transform: translateY(-2px) scale(1.03);
}

/* Testimonials */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #f8f6f4;
  color: #233148;
}
.testimonial-card .stars {
  color: #85A36D;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 2px;
  font-weight: 700;
}
.testimonial-card p {
  color: #233148;
  font-size: 1.05rem;
}
.testimonial-card .author {
  font-size: 0.98rem;
  font-style: italic;
  color: #336048;
  font-family: 'Roboto', Arial, sans-serif;
  margin-top: auto;
}

/* Cards & Previews */
.article-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.article-preview {
  background: #fff;
  border-radius: 32px 12px 36px 20px;
  box-shadow: 0 2px 12px rgba(133,163,109,0.09);
  padding: 24px 18px;
  flex: 1 1 260px;
  min-width: 200px;
  max-width: 340px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.21s;
}
.article-preview:hover {
  box-shadow: 0 4px 16px rgba(35,49,72,0.12);
  transform: translateY(-2px) scale(1.01);
}

/* How-to Guides */
.how-to-guides ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.how-to-guides li {
  background: #eaf5e3;
  color: #233148;
  border-radius: 16px 32px 20px 8px;
  padding: 8px 14px;
  font-size: 1rem;
}

/* Contact Details */
.contact-footer,
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  align-items: flex-start;
  color: #233148;
  font-size: 1rem;
}
.contact-footer div,
.contact-details div {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 210px;
}

.opening-hours {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #eaf5e3;
  border-radius: 16px;
  padding: 10px 18px;
  margin-top: 10px;
  font-size: 1rem;
  color: #336048;
}
.location-map {
  background: #eaf5e3;
  border-radius: 24px;
  color: #416639;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 14px 18px;
  margin: 12px 0 6px 0;
}

/* ========================== NAVIGATION ========================== */
header {
  background: #fff;
  box-shadow: 0 3px 12px rgba(133,163,109,0.09);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  background: transparent;
}
.main-nav a {
  color: #233148;
  border-radius: 18px;
  padding: 8px 14px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus-visible {
  background: #eaf5e3;
  color: #336048;
}
.main-nav img {
  height: 44px;
  margin-right: 8px;
}

/* Hide on mobile */
@media (max-width: 950px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block !important;
  }
}

/* ================ MOBILE NAVIGATION ================ */
.mobile-menu-toggle {
  display: none;
  background: #85A36D;
  color: #fff;
  font-size: 2rem;
  padding: 6px 18px;
  border-radius: 50px;
  border: none;
  margin-left: 18px;
  transition: background 0.22s;
  z-index: 102;
}
.mobile-menu-toggle:focus-visible,
.mobile-menu-toggle:hover {
  background: #233148;
  color: #fff;
}

.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,49,72,0.96);
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(.85,.01,.19,1.02);
  z-index: 999;
  display: flex;
  flex-direction: column;
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2rem;
  color: #fff;
  align-self: flex-end;
  background: none;
  margin: 18px 24px 0 0;
  border: none;
  transition: color 0.2s;
  z-index: 1002;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #85A36D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 56px 0 0 0;
  align-items: flex-start;
  padding: 0 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.25rem;
  border-radius: 18px;
  padding: 14px 18px;
  margin: 0;
  background: none;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  background: #85A36D;
  color: #eaf5e3;
}

@media (min-width: 951px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* =================== FOOTER ==================== */
footer {
  background: #eaf5e3;
  padding: 40px 0 18px 0;
  border-radius: 60px 0 0 0;
  margin-top: 48px;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 24px;
}
.footer-nav a {
  color: #233148;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 14px;
  border-radius: 12px;
  transition: background 0.17s, color 0.17s;
}
.footer-nav a:hover,
.footer-nav a:focus-visible {
  background: #85A36D;
  color: #fff;
}

/* =================== LEGAL SECTIONS =================== */
.legal .container {
  padding: 32px 0;
}
.legal .content-wrapper {
  background: #fff;
  border-radius: 32px;
  padding: 32px 24px;
  box-shadow: 0 2px 12px rgba(133,163,109,0.09);
}

/* ============== Cookie Consent Banner & Modal ============== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffefe;
  color: #233148;
  box-shadow: 0 -6px 40px rgba(35,49,72,0.08);
  padding: 26px 14px 18px 14px;
  border-radius: 32px 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  z-index: 2000;
  font-size: 1.05rem;
  transition: transform 0.31s cubic-bezier(.94,-0.09,.31,1.12), opacity 0.26s;
}
.cookie-banner.hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #85A36D;
  color: #fff;
  border: none;
  border-radius: 22px 32px 18px 10px;
  padding: 10px 28px;
  font-size: 1rem;
  margin: 0 2px;
  box-shadow: 0 1px 6px rgba(133,163,109,0.09);
  transition: background 0.2s, color 0.22s, box-shadow 0.2s;
}
.cookie-btn:focus,
.cookie-btn:hover {
  background: #233148;
  color: #eaf5e3;
  box-shadow: 0 6px 12px rgba(35,49,72,0.13);
}
.cookie-btn.secondary {
  background: #F5F1EE;
  color: #233148;
  border: 2px solid #85A36D;
}
.cookie-btn.secondary:hover {
  background: #85A36D;
  color: #fff;
}

/* Cookie Modal (Center Popup) */
.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 200%);
  min-width: 320px;
  max-width: 414px;
  width: 92vw;
  background: #fff;
  box-shadow: 0 14px 48px rgba(35,49,72,0.16);
  border-radius: 32px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  padding: 34px 24px 18px 24px;
  gap: 22px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(.79,-0.13,.27,1.08), opacity 0.22s;
}
.cookie-modal.open {
  transform: translate(-50%, -50%);
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 1rem;
  cursor: pointer;
  color: #233148;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #85A36D;
  width: 19px;
  height: 19px;
}
.cookie-modal .cookie-category[disabled] label {
  opacity: 0.63;
}
.cookie-modal .cookie-actions {
  justify-content: flex-end;
  width: 100%;
  margin-top: 8px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  color: #233148;
  font-size: 1.5rem;
  border: none;
}
.cookie-modal .modal-close:hover {
  color: #85A36D;
}

/* ================== RESPONSIVE DESIGN =================== */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  h3 {
    font-size: 1.08rem;
  }
  .hero {
    padding-top: 36px;
    padding-bottom: 36px;
    border-radius: 0 0 36px 36px;
  }
  .section, .legal .content-wrapper {
    padding: 20px 8px;
    border-radius: 20px 10px 22px 10px;
  }
  .testimonial-card, .card {
    min-width: unset;
    max-width: unset;
    padding: 14px 8px;
    border-radius: 22px 10px 24px 8px;
  }
  .card-container, .content-grid, .article-preview-grid, .testimonials .content-wrapper {
    flex-direction: column;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .contact-footer, .contact-details {
    flex-direction: column;
    gap: 8px;
  }
  .main-nav {
    font-size: 0.98rem;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .cookie-banner {
    padding: 14px 8px;
    font-size: 0.98rem;
  }
  .cookie-modal {
    min-width: 92vw;
    max-width: 97vw;
    padding: 14px 12px 8px 12px;
  }
  .cta-button, .cookie-btn {
    padding: 8px 14px;
    font-size: 1rem;
  }
  .cta, .cta-return {
    padding: 18px 4px;
    border-radius: 20px 18px 12px 12px;
  }
  .section, .legal .content-wrapper {
    padding: 10px 2px;
  }
}

/* =============== Focus Accessibility =============== */
.cta-button:focus-visible,
.main-nav a:focus-visible,
.footer-nav a:focus-visible,
.cookie-btn:focus-visible {
  outline: 2px solid #85A36D;
  outline-offset: 2px;
}

/* ========== Cards, Shadows, Micro-Interactions ========== */
.card, .testimonial-card, .article-preview {
  transition: box-shadow 0.22s cubic-bezier(.82,.01,.15,.9),
              transform 0.18s cubic-bezier(.73,.24,.29,.97);
}
.card:hover, .testimonial-card:hover, .article-preview:hover {
  box-shadow: 0 7px 24px rgba(133,163,109,0.17);
  transform: translateY(-2px) scale(1.02);
}

/* =========== Misc Natural/Organic Elements =========== */
.about .content-wrapper,
.products .content-wrapper,
.features .content-wrapper,  
.services .content-wrapper {
  border-radius: 32px 12px 56px 20px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(133,163,109,0.08);
  margin-bottom: 24px;
}

/* Override for content blocks that don't use default containers */
@media (min-width: 769px) {
  .hero .container, main > .section > .container {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ============== Colors for Accent Elements ============== */
.eco-materials, .location-map, .opening-hours, .how-to-guides li {
  color: #336048;
}

/* =========== THANK YOU PAGE STYLING =========== */
.thank-you .content-wrapper, .cta-return .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
  gap: 16px;
}
.thank-you h1 {
  font-size: 2.1rem;
  margin-bottom: 10px;
  color: #85A36D;
}
.thank-you p {
  text-align: center;
  color: #233148;
}

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