/* -----------------------------
   CSS RESET & NORMALIZATION
----------------------------- */

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-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #FFFDF9;
}

body {
  color: #483319;
  background: #FFFDF9;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-tap-highlight-color: transparent;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #6D4A2B;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}

a:hover, a:focus {
  color: #b07939;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

/* Hide scrollbar for mobile menu overlay */
.mobile-menu::-webkit-scrollbar {
  display: none;
}

/* -----------------------------
   BRAND COLORS & FONTS
----------------------------- */
:root {
  --brand-primary: #6D4A2B;
  --brand-secondary: #FFD276;
  --brand-accent: #E8F0E3;
  --neutral-100: #FFFDF9;
  --neutral-900: #3a2a15;
  --shadow-card: 0 4px 20px rgba(109, 74, 43, 0.08);
  --shadow-soft: 0 2px 8px rgba(255, 210, 118, 0.15);
  --border-radius: 20px;
  --color-positive: #B38A5B;
  --color-danger: #D36836;
  --color-outline: #FFEAB8;
  --transition: 0.2s cubic-bezier(0.77,0,0.175,1);
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  color: #6D4A2B;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h2 {
  font-size: 1.55rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
h4, h5 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

p {
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.7;
}

strong {
  color: #6D4A2B;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* -----------------------------
   MAIN CONTAINER & LAYOUT
----------------------------- */
.container {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fffdfa;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition);
}
.section:last-child {
  margin-bottom: 0;
}

@media (min-width: 800px) {
  .content-wrapper {
    gap: 28px;
  }
  h1 {
    font-size: 2.8rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.25rem;
  }
}

/* -----------------------------
   NAVIGATION
----------------------------- */
header {
  background: var(--neutral-100);
  box-shadow: 0 2px 8px rgba(109,74,43,0.05);
  position: sticky;
  top: 0;
  z-index: 1011;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 14px 0;
}

.logo-link img {
  height: 36px;
  width: auto;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav ul li a {
  font-size: 1rem;
  padding: 6px 13px;
  border-radius: 999px;
  transition: background 0.18s, color 0.18s;
  color: var(--brand-primary);
  position: relative;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  background: var(--brand-secondary);
  color: var(--neutral-900);
}
.main-nav ul li .cta-primary {
  font-weight: 700;
  background: var(--brand-primary);
  color: #fff !important;
  border-radius: 24px;
  padding: 7px 22px;
  margin-left: 10px;
  box-shadow: 0 1px 4px 0 rgba(109,74,43,0.08);
  transition: background 0.18s, box-shadow 0.18s;
}
.main-nav ul li .cta-primary:hover,
.main-nav ul li .cta-primary:focus {
  background: #8a6335;
  color: #FFF !important;
  box-shadow: 0 4px 16px 0 rgba(109,74,43,0.13);
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-primary);
  color: #fff;
  border-radius: 13px;
  padding: 7px 14px;
  font-size: 1.5rem;
  margin-left: 10px;
  z-index: 1200;
  border: none;
  box-shadow: 0 1px 6px 0 rgba(109,74,43,0.13);
  transition: background var(--transition), box-shadow var(--transition);
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--brand-secondary);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(255, 253, 249, 0.97);
  z-index: 2003;
  transition: transform 0.32s cubic-bezier(.6,-0.28,.74,.05);
  transform: translateX(105%);
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0); 
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--brand-primary);
  background: none;
  border: none;
  margin: 20px 24px;
  align-self: flex-end;
  font-weight: 700;
  transition: color var(--transition);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #C38930;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 15px;
}
.mobile-nav a {
  color: var(--brand-primary);
  padding: 13px 40px;
  font-size: 1.22rem;
  font-weight: 500;
  border-radius: 15px;
  background: none;
  transition: background 0.14s, color 0.14s;
  width: 100%;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-secondary);
  color: #3a2a15;
}

@media (max-width: 990px) {
  .main-nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 991px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none; }
}

/* Overlay for Burger menu smooth slide in */
body.menu-open {
  overflow: hidden;
}

/* -----------------------------
   HERO, SECTION, USP, CARDS
----------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fffdfa;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 24px 18px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(109,74,43,0.14);
  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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFFAF1;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 13px rgba(109,74,43,0.08);
  margin-bottom: 20px;
  color: #573b19;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid var(--brand-secondary);
}
.testimonial-card p {
  font-size: 1.06rem;
  color: #573b19;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #6D4A2B;
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 14px;
  margin-bottom: 18px;
  background: #FFF9EC;
  border-radius: 13px;
}
.text-section {
  background: #FFFCF5;
  border-radius: 15px;
  padding: 18px 15px;
  margin-bottom: 14px;
  box-shadow: 0 1px 6px rgba(255,210,118,0.09);
}
.text-section ul {
  margin: 0 0 0 0;
}
.text-section li {
  padding-left: 0;
  line-height: 1.7;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.text-section img {
  height: 23px;
  width: auto;
  margin-right: 2px;
  display: inline-block;
  vertical-align: middle;
}
/* Lists inside .content-wrapper */
.content-wrapper ul {
  margin-left: 0;
  list-style: none;
}
.content-wrapper li {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.7;
  color: #564128;
}
.content-wrapper ul li:before {
  content: '•';
  color: var(--brand-primary);
  font-weight: 700;
  display: inline-block;
  width: 18px;
  margin-left: -18px;
}

/* -----------------------------
   CTA BUTTONS
----------------------------- */
.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 2px 12px 0 rgba(255,210,118,0.11);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform 0.16s;
  text-align: center;
  margin-top: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  outline: none;
}
.cta-primary {
  background: var(--brand-primary);
  color: #fff;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #8C6335;
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(109,74,43,0.15);
  transform: translateY(-2px) scale(1.02);
}
.cta-secondary {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: #ffe2a4;
  color: #61411e;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 210, 118, 0.22);
}

/* -----------------------------
   FOOTER
----------------------------- */
footer {
  background: var(--accent, #E8F0E3);
  color: #594021;
  padding: 28px 0 12px 0;
  border-top: 2px solid var(--brand-secondary);
  margin-top: 50px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--brand-primary);
  padding: 4px 15px;
  font-size: 1rem;
  border-radius: 12px;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: var(--brand-secondary);
  color: #483319;
}
footer p {
  margin: 0;
  font-size: 0.94rem;
  text-align: center;
}

/* -----------------------------
   RESPONSIVE DESIGN
----------------------------- */
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding-left: 6px;
    padding-right: 6px;
  }
  section {
    padding: 26px 0;
    margin-bottom: 35px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .card-container, .content-grid, .text-image-section, .testimonial-card, .feature-item {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch !important;
  }
  .testimonial-card {
    padding: 14px;
    gap: 12px;
  }
  .main-nav ul {
    display: none !important;
  }
  .card, .feature-item, .text-section {
    padding: 15px 8px;
  }
  .footer-nav {
    gap: 9px;
    flex-direction: column;
  }
}

/* -----------------------------
   FOCUS & ACCESSIBILITY
----------------------------- */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--brand-secondary);
}

/* -----------------------------
   COOKIE CONSENT BANNER
----------------------------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 5132;
  width: calc(100% - 28px);
  max-width: 430px;
  background: #fffdfa;
  box-shadow: 0 -2px 18px 0 rgba(109,74,43,0.15);
  border-radius: 19px 19px 4px 4px;
  padding: 26px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: bottom 0.28s cubic-bezier(.6,-0.28,.74,.05), opacity 0.22s;
  opacity: 1;
}
.cookie-banner.hide {
  opacity: 0;
  bottom: -220px;
  pointer-events: none;
}
.cookie-banner strong {
  color: var(--brand-primary);
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cookie-btn {
  border-radius: 999px;
  border: none;
  padding: 9px 22px;
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  cursor: pointer;
  outline: none;
  transition: background var(--transition), color var(--transition);
}
.cookie-btn.accept {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #8C6335;
}
.cookie-btn.reject {
  background: #FFEEBF;
  color: var(--brand-primary);
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #FFE080;
}
.cookie-btn.settings {
  background: #ebe4db;
  color: #865A28;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #FFD276;
  color: #683e1c;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 5232;
  background: rgba(65,32,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.hide {
  opacity: 0; pointer-events: none;
}
.cookie-modal {
  background: #FFFDF9;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(109, 74, 43,0.17);
  max-width: 410px;
  width: 95%;
  padding: 34px 32px 24px 32px;
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #FFF9EC;
  border-radius: 13px;
  padding: 9px 13px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
  color: #6D4A2B;
  margin-bottom: 0;
}
.cookie-category input[type="checkbox"]:not(:disabled) {
  width: 1.25em;
  height: 1.25em;
  accent-color: var(--brand-secondary);
  background: #fff;
  border: 2px solid var(--brand-secondary);
  border-radius: 5px;
  transition: border 0.14s;
  margin-right: 2px;
}
.cookie-category input[disabled] {
  accent-color: #C3B588;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  margin-top: 2px;
}
/* Hide scrollbar on modal */
.cookie-modal {
  overflow-y: auto;
}

@media (max-width: 600px) {
  .cookie-modal {
    padding: 24px 8px 18px 8px;
    max-width: 98vw;
  }
}

/* -----------------------------
   MICRO-INTERACTIONS
----------------------------- */
a, button, .cta-primary, .cta-secondary, .mobile-menu-close, .mobile-nav a, .cookie-btn {
  transition: background 0.14s, color 0.14s, box-shadow 0.15s, transform 0.14s;
}

/* -----------------------------
   ADDITIONAL UTILITIES
----------------------------- */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.spacing-8 { margin-bottom: 8px; }
.spacing-16 { margin-bottom: 16px; }
.spacing-24 { margin-bottom: 24px; }

/* Style Social Links & Icons */
.text-section ul li img {
  margin-right: 7px;
  margin-bottom: 0;
  vertical-align: middle;
  border-radius: 4px;
  border: none;
}

/* Hide empty lists visually (sometimes UL) */
ul:empty, ol:empty { display: none; }

/* Remove selection color for accessibility */
::selection {
  background: #FFEEC8;
  color: #483319;
}

/* Prevent text overlapping */
.card, .section, .testimonial-card, .feature-item, .text-section {
  min-width: 0;
  overflow-wrap: break-word;
}

/* -----------------------------
   PRINT STYLES (MINIMAL)
----------------------------- */
@media print {
  header, nav, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  section, .container, .content-wrapper {
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
  }
}
