/* ===== PURE SURFACE - NATURE ORGANIC STYLE CSS ===== */

/* ==== 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 { 
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F7F5F3;
  color: #2D373C;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}
:root {
  --primary: #2D373C;
  --secondary: #8BBEB2;
  --accent: #F7F5F3;
  --earth1: #A89F91;  /* warm earthy gray */
  --earth2: #E7D8C9;  /* sandy/taupe */
  --leaf: #98A882;    /* olive green accent */
  --card-bg: #FFF;
  --shadow-light: 0 4px 24px rgba(44,54,60,0.07); 
  --shadow-soft: 0 2px 8px rgba(44,54,60,0.10);
  --border-radius: 20px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ===== General Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  letter-spacing: -1px;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4, h5, h6 { font-size: 1.1rem; font-weight: 600; }

p, li, ul, ol, blockquote, span, a {
  font-family: var(--font-body);
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.7;
}
strong { font-weight: 700; }
em, i { font-style: italic; }


/* ======= LAYOUT: CONTAINERS & SPACING ======= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-radius: var(--border-radius);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  padding: 28px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  max-width: 340px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(44,54,60,0.14);
}

.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;
  align-items: center;
  gap: 20px;
  background: var(--earth2);
  color: var(--primary);
  border-radius: calc(var(--border-radius) * 0.8);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
  min-width: 220px;
  max-width: 540px;
  transition: box-shadow 0.24s, background 0.24s;
}
.testimonial-card p {
  font-size: 1.05rem;
  font-style: italic;
  margin: 0;
}
.testimonial-card span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--leaf);
  align-self: flex-end;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 20px 0;
}
/* Ensure 20px margin between all cards/sections */
section + section, .card + .card, .testimonial-card + .testimonial-card {
  margin-top: 20px;
}

ul, ol {
  margin-bottom: 16px;
  padding-left: 28px;
}
li {
  margin-bottom: 10px;
  font-size: 1rem;
}


/* ========= HERO/BANNER ========= */
.hero {
  background: linear-gradient(120deg, var(--accent) 67%, var(--earth2) 100%);
  border-radius: 0 0 48px 48px;
  box-shadow: 0 4px 40px -16px var(--leaf);
  margin-bottom: 54px;
  padding-bottom: 32px;
}
.hero .content-wrapper {
  align-items: flex-start;
  padding-top: 40px;
  gap: 24px;
}
.hero h1 {
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -2px;
}
.hero p {
  font-size: 1.08rem;
  color: var(--primary);
  margin-bottom: 16px;
}


/* ====== BUTTONS ====== */
.btn-primary, a.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 13px 32px;
  border-radius: 100px 32px 120px 80px / 80px 120px 32px 100px;
  border: none;
  box-shadow: 0 2px 12px rgba(139,190,178,0.12);
  cursor: pointer;
  transition: background 0.24s, box-shadow 0.2s, transform 0.1s;
  margin-top: 8px;
  text-decoration: none;
  letter-spacing: 0.5px;
  gap: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--leaf);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 18px rgba(139,190,178,0.19);
  outline: none;
}
a.btn-primary:visited {
  color: #fff !important;
}

/* ===== LINK STYLES ===== */
a {
  color: var(--secondary);
  text-decoration: underline;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: var(--leaf);
  text-decoration: underline;
  outline: none;
}
nav a {
  text-decoration: none;
  color: var(--primary);
  margin-right: 24px;
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 1.02rem;
  transition: color 0.16s, border-bottom 0.18s;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}
nav a:hover, nav a:focus {
  color: var(--leaf);
  border-bottom: 2px solid var(--leaf);
  outline: none;
}
nav a.btn-primary {
  margin-right: 0;
  padding-bottom: 0;
  border: none;
}


/* ============= HEADER ============= */
header {
  background: var(--accent);
  box-shadow: 0 2px 16px rgba(44,54,60,0.037);
  position: sticky;
  top: 0;
  z-index: 800;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 16px 20px 10px 20px;
}
header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 6px;
}
header img {
  max-height: 52px;
  height: 52px;
  width: auto;
  margin-right: 24px;
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: inline-flex;
  background: var(--leaf);
  color: #fff;
  border: none;
  font-size: 2.1rem;
  border-radius: 50%;
  padding: 8px 14px;
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--earth1);
  transition: background 0.13s, box-shadow 0.15s;
  margin-left: 18px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  box-shadow: 0 2px 12px var(--secondary);
  outline: none;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(45,55,60,0.15);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.78,.04,.52,1.14);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2.2rem;
  padding: 6px 13px;
  margin: 25px 25px 0 0;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(139,190,178,0.19);
  transition: background 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--leaf);
  outline: none;
}
.mobile-nav {
  margin: 48px 0 0 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-end;
  gap: 0px;
}
.mobile-nav a {
  width: 100%;
  padding: 22px 32px 22px 16px;
  font-size: 1.15rem;
  color: var(--primary);
  background: var(--card-bg);
  text-align: right;
  border-bottom: 1px solid #e2e3e2;
  text-decoration: none;
  font-family: var(--font-display);
  letter-spacing: 0.7px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--leaf);
  color: #fff;
}

/* Hide menu/nav elements for desktop/mobile appropriately */
@media (max-width: 990px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none;
  }
  header nav {
    display: flex !important;
  }
}

/* ============== FOOTER ============== */
footer {
  background: var(--earth1);
  color: #fff;
  box-shadow: 0 -2px 30px rgba(44,54,60,0.04);
  padding-top: 32px;
  margin-top: 60px;
  border-radius: 48px 48px 0 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  padding-bottom: 8px;
  color: #fff;
}
footer section {
  flex: 1 1 230px;
}
footer h3 { color: #fff; font-size: 1.11rem; margin-bottom: 12px; }
footer a { color: var(--accent); text-decoration: underline; }
footer a:hover { color: var(--leaf); }
footer ul li img {
  height: 18px;
  width: 18px;
  vertical-align: middle;
  margin-right: 8px;
  filter: grayscale(50%) brightness(2.2);
}

footer nav {
  margin-top: 10px;
  font-size: 0.97rem;
}
footer nav a { margin-right: 14px; }
footer nav a:last-child { margin-right: 0; }
footer .content-wrapper:last-child {
  border-top: 1px solid rgba(247,245,243,0.28);
  padding-top: 16px;
  justify-content: center;
  color: #ede8e1;
  font-size: 0.95rem;
}


/* ======== SPECIAL BLOCKS ======== */
.collection-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px 0;
}
.collection-tags li {
  display: inline-flex;
  align-items: center;
  background: var(--earth2);
  color: var(--leaf);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 22px 8px 22px 8px / 8px 22px 8px 22px;
  padding: 5px 16px;
  margin-bottom: 0;
  border: 1px solid var(--earth1);
  box-shadow: 0 2px 8px rgba(44,54,60,0.07);
}

.info {
  background: var(--earth2);
  color: var(--primary);
  border-radius: var(--border-radius);
  font-size: 0.98rem;
  padding: 17px;
  margin-top: 10px;
  margin-bottom: 6px;
}


/* ====== RESPONSIVE BREAKPOINTS ====== */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .hero .content-wrapper, .content-wrapper {
    padding-top: 20px;
    padding-bottom: 12px;
    gap: 18px;
  }
  .section {
    padding: 25px 9px;
    margin-bottom: 34px;
  }
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  header .container {
    flex-direction: row;
    align-items: flex-start;
    padding-bottom: 7px;
  }
  .card {
    min-width: 90vw;
    max-width: 100vw;
    padding: 17px;
  }
}


/* ====== ORGANIC/DECORATIVE ELEMENTS ====== */
.card, .section, .testimonial-card {
  border-radius: var(--border-radius);
  background-clip: padding-box;
}
.card {
  box-shadow: var(--shadow-light);
  border: 1.5px solid #ECE9E3;
  background: var(--card-bg) url('/assets/organic-texture.png') repeat 0 0; /* fallback/noise overlay */
  background-size: 400px;
}
.testimonial-card {
  background-color: var(--earth2);
  border-left: 6px solid var(--leaf);
  background-image: url('/assets/organic-texture.png');
  background-size: 310px;
}
.section {
  background: rgba(235, 235, 232, 0.32);
}

/* Subtle hover effect on cards */
.card:hover {
  box-shadow: 0 8px 24px 6px rgba(44,54,60,0.18);
  border-color: var(--leaf);
  z-index: 2;
}


/* ====== MICRO-INTERACTIONS & TRANSITIONS ====== */
button, .btn-primary, a {
  transition: background 0.2s, color 0.2s, box-shadow 0.15s, transform 0.13s;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--leaf);
  outline-offset: 2px;
}


/* ========= COOKIE CONSENT BANNER & MODAL ========= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--earth1);
  color: #fff;
  z-index: 3000;
  box-shadow: 0 -3px 24px rgba(44,54,60,0.18);
  padding: 24px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  animation: cookie-slidein 0.6s cubic-bezier(.85,.01,.63,.98);
}
@keyframes cookie-slidein {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1;
  color: #fff !important;
  font-size: 0.98rem;
  line-height: 1.7;
}
.cookie-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  background: var(--leaf);
  color: #fff;
  border: none;
  border-radius: 24px 8px 24px 8px / 8px 24px 8px 24px;
  padding: 8px 20px;
  cursor: pointer;
  margin: 0;
  min-width: 120px;
  box-shadow: 0 2px 8px rgba(139,190,178,0.09);
  transition: background 0.17s, box-shadow 0.2s;
}
.cookie-btn.accept {
  background: var(--secondary);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--leaf);
  border: 1.5px solid var(--leaf);
}
.cookie-btn.settings {
  background: var(--earth2);
  color: var(--primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(0.95) contrast(1.1);
  box-shadow: 0 4px 16px rgba(139,190,178,0.13);
  outline: none;
}

/* Cookie settings modal */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -47%);
  min-width: 90vw; max-width: 410px;
  background: var(--card-bg);
  z-index: 3500;
  box-shadow: 0 6px 48px 12px rgba(44,54,60,0.14);
  border-radius: 32px;
  padding: 38px 28px 24px 28px;
  animation: cookie-modalin 0.45s cubic-bezier(.74,.01,.55,1.04);
  display: flex;
  flex-direction: column;
  gap: 19px;
}
@keyframes cookie-modalin {
  from { transform: translate(-50%,60%) scale(.92); opacity: 0; }
  to   { transform: translate(-50%,-47%) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 0.8em;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 13px;
  font-size: 1.02rem;
  padding: 8px 0;
  border-bottom: 1px solid #ece9e1;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-toggle {
  width: 45px; height: 24px;
  appearance: none;
  background: var(--earth2);
  border: 1.5px solid var(--leaf);
  border-radius: 15px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.22s;
}
.cookie-toggle:checked {
  background: var(--leaf);
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(139,190,178,0.09);
  transition: left 0.22s;
}
.cookie-toggle:checked:before {
  left: 24px;
}
.cookie-modal .cookie-actions {
  margin-top: 15px;
}
.cookie-modal .cookie-btn {
  font-size: 1.02rem;
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 15px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--leaf);
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--secondary);
  outline: none;
}

@media (min-width: 480px) {
  .cookie-modal {
    min-width: 370px;
    max-width: 410px;
  }
}
@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 18px 9px;
  }
}

/* ======= UTILITY CLASSES ======= */
.d-none { display: none !important; }
.text-center { text-align: center; }
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }

/* ======= VISUAL ACCESSIBILITY ======= */
::selection {
  background: var(--secondary);
  color: #fff;
}

/* ======= SCROLLBAR ======= */
body::-webkit-scrollbar {
  width: 10px;
  background: #ECE9E1;
}
body::-webkit-scrollbar-thumb {
  background: var(--earth2);
  border-radius: 12px;
}

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