/* ===========================================================
   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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.4;
  background-color: #F8F5F2;
	color: #2C3E1F;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a { 
  text-decoration: none; 
  color: inherit; 
}
img {
  max-width: 100%;
  display: block;
}
button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

/* ===========================================================
   FONTS - Vintage/Retro combo (Google Fonts)
   ======================================================== */
@import url('https://fonts.googleapis.com/css?family=Merriweather:700,900|Roboto:400,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background-color: #F8F5F2;
  color: #365028;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #2C3E1F;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 2px 6px rgba(203,139,58,0.05);
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  position: relative;
  text-shadow: 0 1px 4px rgba(203,139,58,0.05);
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: #CB8B3A;
}

p, ul, ol, li, blockquote {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
  color: #2C3E1F;
}

b, strong {
  font-weight: 700;
}

/* Vintage typewriter text style for blockquote */
blockquote {
  font-family: 'Merriweather', serif;
  font-size: 1.12rem;
  background: #FFF8EC;
  border-left: 5px solid #CB8B3A;
  padding: 18px 23px 18px 30px;
  margin: 0 0 12px 0;
  color: #333218;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 2px 7px rgba(44,62,31,0.04);
  position: relative;
}
blockquote b {
  display: block;
  color: #CB8B3A;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-top: 12px;
  font-weight: 700;
  letter-spacing: 0.7px;
}

/* ===========================================================
   LAYOUT CONTAINERS & SPACING
   ======================================================== */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 16px;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 14px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  background: #F8F5F2;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(203,139,58,0.03);
  padding: 20px 28px;
  margin-bottom: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF8EC;
  border: 2px solid #E6D3B3;
  margin-bottom: 20px;
  border-radius: 13px;
  padding: 27px 28px;
  position: relative;
  box-shadow: 0 7px 22px 0 rgba(44,62,31,.10);
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  transform: translateY(-5px) scale(1.014);
  box-shadow: 0 16px 25px 0 rgba(44,62,31,.16), 0 1.5px 6px #CB8B3A33;
}
.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;
  padding: 20px;
  background: #FAEEDC;
  border: 2px dashed #CB8B3A;
  border-radius: 13px;
  box-shadow: 0 3px 8px rgba(44,62,31,0.04);
  margin-bottom: 20px;
  transition: box-shadow 0.2s, background 0.2s;
  color: #2C3E1F;
}
.testimonial-card blockquote {
  margin: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  color: #362614;
}
.testimonial-card:hover {
  background: #FFF8EC;
  box-shadow: 0 9px 28px rgba(44,62,31,.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
  margin-bottom: 10px;
  line-height: 1.6;
}
ul li img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  filter: sepia(0.25) contrast(1.2) brightness(0.96);
}

/* ===========================================================
   NAVIGATION & HEADER
   ======================================================== */
header {
  background: #E6D3B3;
  border-bottom: 4px solid #CB8B3A;
  position: relative;
  z-index: 30;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 15px 0 9px 0;
  flex-wrap: wrap;
}
header nav > a {
  font-family: 'Merriweather', serif;
  font-size: 1.02rem;
  color: #2C3E1F;
  text-shadow: 0 1.5px 8px #FFF5;
  padding: 7px 12px;
  border-radius: 7px;
  transition: background 0.15s, color 0.14s;
  position: relative;
}
header nav > a:hover:not(.btn-primary),
header nav > a:focus:not(.btn-primary) {
  background: #F8F5F2;
  color: #CB8B3A;
  outline: none;
}
header nav > a.btn-primary {
  margin-left: auto;
}
header nav > a img {
  height: 45px;
  width: auto;
  margin-right: 5px;
  margin-bottom: -9px;
}

/* Hamburger (Mobile menu) button */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: #CB8B3A;
  color: #FFF;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 14px;
  right: 24px;
  z-index: 80;
  box-shadow: 0 1px 5px rgba(44,62,31,0.14);
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #B87521;
  outline: none;
}

/* Mobile menu overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #F8F5F2;
  box-shadow: 0 0 0 900px rgba(44,62,31,0.26);
  transform: translateX(-100vw);
  transition: transform 0.31s cubic-bezier(0.76,0.04,0.58,1.04);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 18px 22px 0 0;
  background: #CB8B3A;
  color: #FFF;
  border-radius: 10px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #B87521;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px 32px;
  width: 100vw;
}
.mobile-nav a {
  font-family: 'Merriweather', serif;
  font-size: 1.28rem;
  padding: 7px 6px 7px 2px;
  color: #2C3E1F;
  border-radius: 6px;
  background: none;
  transition: background 0.13s,color 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #CB8B3A33;
  color: #CB8B3A;
}

/* --------------------------------------------------------
   Responsive: Hide desktop nav/show hamburger on mobile
   ---------------------------------------------------- */
@media (max-width: 1020px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1021px) {
  .mobile-menu { display: none !important; }
}

/* ===========================================================
   HERO SECTIONS
   ======================================================== */
.hero {
  background: repeating-linear-gradient(135deg, #E6D3B3 0px, #FAEEDC 40px, #E6D3B3 80px);
  border-radius: 0 0 22px 22px;
  margin-bottom: 52px;
  box-shadow: 0 15px 60px -16px #2C3E1F15;
  border-bottom: 8px dotted #CB8B3A40;
}
.hero .container {
  padding-top: 30px;
  padding-bottom: 22px;
}
.hero .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}
.hero p {
  font-size: 1.2rem;
  font-family: 'Roboto', Arial, sans-serif;
}

/* ===========================================================
   BUTTONS
   ======================================================== */
.btn-primary {
  font-family: 'Merriweather', serif;
  font-weight: bold;
  color: #FFF;
  background: #CB8B3A;
  border-radius: 9px;
  padding: 10px 36px;
  font-size: 1.17rem;
  letter-spacing: 0.04em;
  margin: 10px 0;
  display: inline-block;
  box-shadow: 0 1px 8px #B8752135;
  border: 2px solid #CB8B3A;
  transition: background 0.18s, box-shadow 0.2s, color 0.13s, border-color 0.17s;
  cursor: pointer;
  position: relative;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #A66629;
  border-color: #B87521;
  color: #FFF8EC;
  box-shadow: 0 7px 20px #CB8B3A55;
}

/* For retro outline variant (if needed) */
.btn-outline {
  background: transparent;
  color: #CB8B3A;
  border: 2px solid #CB8B3A;
  border-radius: 9px;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  padding: 10px 26px;
  font-size: 1rem;
  transition: background 0.15s, color 0.14s;
}
.btn-outline:hover, .btn-outline:focus {
  background: #CB8B3A;
  color: #FFF;
}

/* ===========================================================
   FOOTER
   ======================================================== */
footer {
  background: #E6D3B3;
  border-top: 4px solid #CB8B3A;
  box-shadow: 0px -5px 22px #2C3E1F11;
  margin-top: 60px;
  padding-top: 30px;
  padding-bottom: 12px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
footer nav a {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  padding: 7px 11px;
  border-radius: 7px;
  color: #2C3E1F;
  transition: background 0.13s, color 0.13s;
}
footer nav a:hover,
footer nav a:focus {
  color: #CB8B3A;
  background: #FFF8EC;
}
footer p {
  font-size: 0.95rem;
  color: #2C3E1F;
  opacity: 0.8;
}

/* ===========================================================
   COOKIE CONSENT BANNER
   ======================================================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #FAEEDC;
  color: #2C3E1F;
  border-top: 2px solid #CB8B3A;
  box-shadow: 0 -8px 40px #2C3E1F18;
  z-index: 200;
  padding: 22px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform 0.36s cubic-bezier(.43,.92,.42,1), opacity 0.27s;
}
.cookie-consent-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-text {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 11px;
  max-width: 720px;
  text-align: center;
}
.cookie-action-row {
  display: flex;
  flex-direction: row;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  padding: 7px 24px;
  border-radius: 9px;
  border: 2px solid #CB8B3A;
  background: #CB8B3A;
  color: #FFF;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
  transition: background 0.14s, color 0.13s, border-color 0.13s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #A66629;
  border-color: #B87521;
  color: #FFF8EC;
}
.cookie-btn-outline {
  background: transparent;
  color: #CB8B3A;
  border: 2px solid #CB8B3A;
}
.cookie-btn-outline:hover, .cookie-btn-outline:focus {
  background: #CB8B3A55;
  color: #FFF;
}

/* ===================== COOKIE SETTINGS MODAL ============= */
.cookie-modal {
  position: fixed;
  left: 0; right:0; top:0; bottom:0;
  background: rgba(44,62,31,0.48);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-box {
  background: #F8F5F2;
  border-radius: 14px;
  box-shadow: 0 15px 55px #2C3E1F44;
  padding: 38px 32px;
  min-width: 94vw; max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-box h4 {
  font-size: 1.24rem;
  font-family: 'Merriweather', serif;
  color: #2C3E1F;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 8px 0 8px 0;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-switch {
  appearance: none;
  width: 44px;
  height: 25px;
  border-radius: 15px;
  background: #CB8B3A44;
  position: relative;
  outline: none;
  box-shadow: 0 1.5px 7px #CB8B3A22;
  margin-left: 8px;
  transition: background 0.19s;
}
.cookie-switch:checked {
  background: #CB8B3A;
}
.cookie-switch:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 1.5px 3px #2C3E1F13;
  transition: left 0.17s;
}
.cookie-switch:checked:before {
  left: 21px;
}
.cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 1.6rem;
  background: #CB8B3A;
  color: #FFF;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.15s;
}
.cookie-modal-close:hover,.cookie-modal-close:focus{
  background: #A66629;
}

/* ===========================================================
   RETRO/ VINTAGE DECORATIVE ELEMENTS
   ======================================================== */
section, .hero {
  position: relative;
}
section:before {
  content: '';
  display: block;
  position: absolute;
  top: -15px;
  left: 35px;
  width: 85px;
  height: 12px;
  background: repeating-linear-gradient(90deg, #CB8B3A 0, #CB8B3A 18px,transparent 18px, transparent 24px);
  opacity: 0.22;
  z-index: 1;
  border-radius: 7px;
  pointer-events: none;
}
section:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -14px;
  right: 55px;
  width: 68px;
  height: 8px;
  background: repeating-linear-gradient(90deg, #365028 0, #365028 16px,transparent 16px, transparent 23px);
  opacity: 0.09;
  z-index: 1;
  border-radius: 4px;
  pointer-events: none;
}
.hero:before, .hero:after {
  display: none;
}

/* Retro border on inputs if any
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FFF8EC;
  border: 2px solid #CB8B3A88;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 1rem;
  transition: border-color 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #CB8B3A;
  outline: none;
}
*/

/* ===========================================================
   RESPONSIVE DESIGN + FLEX COLUMN TO ROW SWITCH
   ======================================================== */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
  }
  header nav > a {
    font-size: 1rem;
    padding: 6px 9px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 5vw;
  }
  section, .section {
    padding: 30px 2vw;
    margin-bottom: 38px;
  }
  .text-section {
    padding: 13px 6vw;
    font-size: 0.95rem;
  }
  .hero .container {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .content-wrapper, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    padding: 13px;
    flex-direction: column;
    gap: 5px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 18px !important;
  }
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  .btn-primary, .btn-outline {
    padding: 8px 14vw;
    font-size: 1.05rem;
  }
  .card {
    padding: 18px 11px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }
  .container {
    padding: 0 3vw;
  }
  .btn-primary, .btn-outline {
    font-size: 0.97rem;
    padding: 7px 9vw;
  }
}

/* Ensure margins between content cards and sections are at least 20px */
.content-wrapper > *,
.content-grid > *,
.card-container > .card,
section > .testimonial-card,
section > .card,
section > ul,
section > p {
  margin-bottom: 20px;
}

/* Cards last-child margin fix */
.content-wrapper > *:last-child,
section > *:last-child {
  margin-bottom: 0 !important;
}

/* ===========================================================
   MICRO-INTERACTIONS & TRANSITIONS
   ======================================================== */
a, .btn-primary, .btn-outline, input, textarea, select {
  transition: color 0.18s, background 0.16s, border-color 0.15s, box-shadow 0.14s;
}
ul li img {
  transition: filter 0.19s, transform 0.11s;
}
ul li img:hover {
  filter: sepia(0.74) contrast(1.45) brightness(0.99);
  transform: scale(1.13) rotate(-6deg);
}
/* Decorative pattern hover (optional for more retro flavor)
section:before, section:after {
  transition: opacity 0.18s, filter 0.23s;
}
section:hover:before, section:hover:after {
  opacity: 0.33;
  filter: blur(0.5px) brightness(1.07);
}
*/
/* Accessible focus state */
a:focus, button:focus, .btn-primary:focus, .btn-outline:focus {
  outline: 2.5px solid #CB8B3A;
  outline-offset: 2px;
  z-index: 2;
}

/* ===========================================================
   RETRO/VINTAGE PATTERNED DIVIDERS (optional)
   ======================================================== */
h2::after {
  content: '';
  display: block;
  width: 88px;
  height: 5px;
  margin-top: 12px;
  border-radius: 2.5px;
  background: repeating-linear-gradient(90deg,transparent,transparent 12px,#CB8B3A 12px, #CB8B3A 18px);
  opacity: 0.37;
}

/* ===========================================================
   PRINT STYLE (for privacy etc. pages)
   ======================================================== */
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu, .mobile-menu-toggle { display: none !important; }
  .container { max-width: 100vw; padding: 0; }
  body { background: #FFF !important; color: #2C3E1F; }
}
