/* 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; }
*, *:before, *:after { box-sizing: inherit; }

body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F7FBF4;
  color: #372917;
  min-height: 100vh;
  position: relative;
  font-size: 16px;
  letter-spacing: 0.02em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #32603A;
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover,
a:focus {
  color: #7CA97C;
  text-decoration: underline;
}
strong { font-weight: bold; }
ul, ol { margin-left: 1.5em; }

/* BRAND TYPOGRAPHY */
h1, h2, h3, h4 { font-family: 'Montserrat', Arial, sans-serif; letter-spacing: 0.01em; }
h1 { font-size: 2.75rem; font-weight: 700; margin-bottom: 20px; color: #30302c; text-shadow: 0 2px 0 #cebe9e15; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 18px; color: #42361d; }
h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 14px; color: #565138; }
h4 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }

p { font-size: 1rem; margin-bottom: 14px; color: #372917; }

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  width: 100%;
  background: rgba(255,245,226,0.70);
  border-radius: 20px;
  box-shadow: 0 4px 18px 0 #c7bf9c35;
  padding: 32px 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff8f1;
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 4px 12px 0 #dec9a540;
  border: 2px solid #ebe2cf;
  transition: box-shadow 0.25s, border-color 0.18s;
}
.card:hover {
  box-shadow: 0 6px 22px 0 #b9a97a60;
  border-color: #dcccab;
}
.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: 12px;
  background: #fff9f3;
  border-radius: 16px;
  border: 2px dashed #cdb983;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px 0 #cfb68628;
  font-size: 1.05rem;
  color: #304227;
  transition: border-color 0.17s, box-shadow 0.17s;
}
.testimonial-card strong {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #8C3A2C;
  margin-top: 10px;
  font-weight: 700;
}
.testimonial-card:hover {
  border-color: #7CA97C;
  box-shadow: 0 4px 18px #b9a97a29;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.category-list > div {
  background: #f5ede5;
  border-radius: 12px;
  box-shadow: 0 1px 4px #b9a97a24;
  flex: 1 1 260px;
  padding: 28px 18px 20px 18px;
  min-width: 260px;
  margin-bottom: 20px;
  border: 2px solid #e9dec2;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: box-shadow 0.2s, border-color 0.18s;
}
.category-list > div:hover {
  box-shadow: 0 4px 16px #a9a17332;
  border-color: #c0b083;
}

/* NAVIGATION - HEADER & FOOTER */
header {
  background: #ebe2cf;
  border-bottom: 4px solid #cdb983;
  box-shadow: 0 3px 10px 0 #d7c79310;
  padding: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 10;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  color: #32603A;
  letter-spacing: 0.03em;
  padding: 8px 4px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover,
header nav a:focus {
  background: #e0d6bc;
  color: #8C3A2C;
}
header img {
  width: 42px;
  height: 42px;
  margin-right: 8px;
  border-radius: 10px;
}

footer {
  background: #ebe2cf;
  border-top: 4px solid #cdb983;
  box-shadow: 0 -3px 10px 0 #d7c79310;
  padding: 24px 0 0 0;
  margin-top: 80px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  padding-bottom: 11px;
}
footer nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #42361d;
  padding: 4px 3px;
  transition: color 0.16s;
}
footer nav a:hover {
  color: #7CA97C;
}
footer .text-section {
  text-align: center;
  font-size: 0.94rem;
  color: #7B6A4C;
  padding: 8px 10px 18px 10px;
}

/* BUTTONS, CTA */
.cta-button, .content-wrapper a.cta-button {
  display: inline-block;
  background: #32603A;
  color: #fff8ea;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.07em;
  font-size: 1.2rem;
  padding: 13px 34px;
  border-radius: 20px;
  box-shadow: 0 2px 8px #32603a22;
  margin-top: 8px;
  text-shadow: 0 1px 0 #325a26a1;
  border: none;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.16s;
}
.cta-button:hover, .cta-button:focus {
  background: #7CA97C;
  box-shadow: 0 5px 18px #7CA97C44;
  color: #fff0dc;
  transform: translateY(-2px) scale(1.04);
}

button, select, input[type="button"] {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}
button:focus, .cta-button:focus {
  outline: 2px solid #7CA97C;
  outline-offset: 2px;
}

/* ICONS IN FEATURE/CONTACT LISTS */
ul li img, .content-wrapper li img {
  width: 26px;
  height: 26px;
  vertical-align: middle;
  margin-right: 5px;
}
ul li, .content-wrapper li {
  margin-bottom: 10px;
}
.content-wrapper ul {
  margin-bottom: 14px;
}

/* SELECT (FILTER) */
select {
  background: #fcf4e2;
  border-radius: 6px;
  border: 1.5px solid #cec29a;
  font-size: 1rem;
  padding: 7px 25px 7px 10px;
  margin-left: 8px;
  color: #372917;
  transition: border-color 0.15s;
}
select:focus {
  border-color: #32603A;
}
label[for] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}

/* FORMS (used in future contact forms, fallback) */
input, textarea {
  border-radius: 8px;
  border: 1.5px solid #cecebd;
  font-size: 1rem;
  padding: 10px 12px;
  margin-bottom: 16px;
  width: 100%;
  background: #fffBE8;
  font-family: inherit;
}
input:focus, textarea:focus {
  border-color: #7CA97C;
}

/* ----- MOBILE MENU ----- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 16px;
  background: #7CA97C;
  color: #fff8ea;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 120;
  box-shadow: 0 1px 4px #888a37a7;
  transition: background 0.17s, color 0.13s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #32603A;
  color: #fbd6b6;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff7e6 deepskyblue;
  background: #fbeedd;
  box-shadow: 4px 0 30px #82613830;
  z-index: 4000;
  overflow-y: auto;
  transform: translateX(-100vw);
  transition: transform 0.3s cubic-bezier(.7,.1,.5,1);
}
.mobile-menu.open {
  display: block;
  transform: translateX(0);
}
.mobile-menu-close {
  background: #F4CB8C;
  color: #80616a;
  font-size: 2.4rem;
  font-family: inherit;
  border: none;
  border-radius: 50%;
  position: absolute;
  top: 18px;
  right: 20px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 10px #32444422;
  transition: background 0.15s;
}
.mobile-menu-close:hover {
  background: #e59e63;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: 86px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: #2B4A2B;
  background: #f7ecd3;
  border-radius: 13px;
  padding: 14px 32px;
  transition: color 0.17s, background 0.18s, transform 0.16s;
}
.mobile-nav a:hover {
  color: #8C3A2C;
  background: #ded9bb;
  transform: translateY(-2px) scale(1.06);
}

/* Hide desktop nav on mobile, show hamburger */
@media (max-width: 992px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ----- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 4100;
  background: #fff7e6;
  border-top: 3px solid #f3deb3;
  box-shadow: 0 -2px 16px #98811C15;
  padding: 24px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1.03rem;
  color: #372917;
  animation: cookie-slide-up 0.44s cubic-bezier(.7,0.7,.3,1);
}
@keyframes cookie-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 6px;
}
.cookie-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 14px;
  padding: 9px 26px;
  margin: 0;
  cursor: pointer;
  border: none;
  transition: background 0.16s, color 0.16s;
}
.cookie-btn.accept {
  background: #32603A;
  color: #fff8ea;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #7CA97C;
  color: #fff0df;
}
.cookie-btn.reject {
  background: #EDE4D3;
  color: #8C3A2C;
  border: 1.5px solid #CDB983;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F3C2B6;
  color: #6B352B;
}
.cookie-btn.settings {
  background: #E8E7CD;
  color: #736200;
}
.cookie-btn.settings:hover {
  background: #eab671;
  color: #542015;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4150;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(54,73,30,0.21);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fade-in 0.2s;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: #fffdfa;
  border-radius: 20px;
  padding: 36px 28px 22px 28px;
  box-shadow: 0 9px 38px #cdb98333, 0 1.5px 7px #8c3a2c1a;
  max-width: 97vw;
  min-width: 320px;
  width: 97vw;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
}
.cookie-modal .close-modal {
  position: absolute; top: 13px; right: 20px;
  background: #e8e7cd;
  color: #8C3A2C;
  border: none;
  font-size: 2.06rem;
  border-radius: 50%;
  width: 38px; height: 38px;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal .close-modal:hover { background: #eab671; }
.cookie-modal h3 {
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
  color: #32603A;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
  font-size: 1.04rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: #7CA97C;
  width: 20px; height: 20px;
}
.cookie-category .label-desc {
  flex: 1 1 0%;
}
.cookie-category .essential {
  color: #888; font-size: 0.95em;
}

/* Vintage Patterns & Retro Decorations */
body {
  /* Subtle pattern for vintage effect */
  background-image: repeating-linear-gradient(-45deg, #fffbed 0, #f7fbf4 13px, #fffbed 26px);
}
.content-wrapper, .card, .category-list > div, .testimonial-card {
  /* Paper overlay effect */
  background-image: repeating-linear-gradient(135deg, transparent, transparent 15px, #f9f3e7 17px, transparent 30px);
}

/* --- ANIMATIONS --- */
.cta-button, .card, .category-list > div, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.13s, border-color 0.16s, background 0.15s;
}
.cta-button:active, .category-list > div:active, .card:active {
  transform: scale(0.976);
}

/* ----- RESPONSIVE LAYOUT ----- */
@media (max-width: 1220px) {
  .container { max-width: 98vw; }
}
@media (max-width: 992px) {
  .content-grid, .category-list, .card-container {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 42px;
    padding: 26px 6vw;
  }
  .content-wrapper {
    padding: 24px 8px;
    border-radius: 13px;
  }
  h1 { font-size: 2.03rem; }
  h2 { font-size: 1.36rem; }
  h3 { font-size: 1.13rem; }
  .category-list > div {
    min-width: unset;
    width: 100%;
    align-items: flex-start;
    padding: 18px 10px 14px 10px;
  }
  .card, .testimonial-card {
    border-radius: 10px;
    padding: 16px 7px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 525px) {
  .container { padding: 0 1vw; }
  .section { padding: 10px 3vw; }
  .cookie-modal {
    min-width: 0;
    width: 97vw;
    padding: 23px 6px 14px 6px;
  }
}

/* --- SCROLLBAR for vintage feel --- */
::-webkit-scrollbar {
  width: 13px;
  background: #dfd5b3;
  border-left: 3px solid #b7a76a;
}
::-webkit-scrollbar-thumb {
  background: #a29875;
  border-radius: 9px;
  box-shadow: 0 2px 6px #b9a97a52;
}
/* Firefox */
html {
  scrollbar-color: #a29875 #dfd5b3;
  scrollbar-width: auto;
}

/* --- MISCELLANEOUS VINTAGE RETRO ELEMENTS --- */
.content-wrapper, .card, .testimonial-card, .category-list > div {
  border-bottom: 4px solid #d9c8a7;
  border-top: 2px solid #f8efd6;
  box-shadow: 0 3px 13px #cfb6861f;
}

.testimonial-card {
  /* Polaroid vintage shadow/trims */
  border-left: 7px solid #ecddb7;
  border-right: 5px solid #f1e5c7;
  border-top: 2.3px solid #f3e0ba;
}

.category-list > div h3 {
  color: #8C3A2C;
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}

/* --- VISUAL HIERARCHY & SPACING SYSTEM --- */
.section, .category-list, .card, .testimonial-card {
  margin-bottom: 24px;
}
@media (min-width: 769px) {
  .section, .card-container, .testimonial-card {
    margin-bottom: 60px;
  }
}
.content-wrapper > h2:not(:first-child) {
  margin-top: 38px;
}
ul, ol { margin-bottom: 10px; }

/* --- UTILITY --- */
.text-section, .text-section p {
  font-size: 1.04rem;
  color: #372917;
}
.text-section strong { color: #722d18; }

/* Prevent overlap, ensure no absolute POS for cards etc.*/
.card, .testimonial-card, .category-list > div {
  position: relative;
  z-index: 1;
}

/* --- FOCUS STYLES --- */
a:focus, button:focus, select:focus {
  outline: 2.5px dashed #eab671;
  outline-offset: 2.5px;
}

/* --- VINTAGE BADGE / LABEL example (for future use) --- */
.vintage-badge {
  display: inline-block;
  background: #7CA97C;
  color: #fff8ea;
  border-radius: 19px 2px 19px 2px;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 3px 15px;
  font-size: 1.07rem;
  box-shadow: 0 2.5px 8px #7ca97c29;
}

/* --- Z-INDEX STACKING FOR INTERACTIVE ELEMENTS --- */
.cookie-banner { z-index: 4100; }
.cookie-modal-overlay { z-index: 4150; }
.mobile-menu { z-index: 4000; }

/* END CSS */
