/* === CSS RESET & NORMALIZE (mobile-first) === */
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;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F6F3EF;
  color: #5E4635;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #A47854;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #5E4635;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 1em;
}
ul li, ol li {
  margin-bottom: 0.5em;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
:focus {
  outline: 2px dashed #A47854;
  outline-offset: 2px;
}

/*=== VINTAGE RETRO COLOR PALETTE ===*/
:root {
  --primary: #5E4635;
  --secondary: #A47854;
  --accent: #F6F3EF;
  --cream: #F3ECE2;
  --retro-yellow: #FFCF65;
  --retro-red: #DC6943;
  --retro-teal: #98B0A7;
  --retro-navy: #4D566A;
  --retro-green: #5F733D;
  --shadow: rgba(94,70,53,0.12);
}

/* === TYPOGRAPHY RETRO/VINTAGE === */
@import url('https://fonts.googleapis.com/css?family=Quicksand:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  text-shadow: 0 1px 0 #fff4da;
  letter-spacing: 0.035em;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.7rem;
  font-weight: 700;
}
h3 {
  font-size: 1.35rem;
  font-weight: 700;
}
h4 {
  font-size: 1.1rem;
  font-weight: 700;
}
.text-section p,
p, li, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  color: #5E4635;
  font-size: 1.08rem;
  margin-bottom: 15px;
}
strong {
  font-weight: 700;
  color: var(--secondary);
}

/* === RETRO PATTERNS & EFFECTS === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--cream);
  border-radius: 18px;
  box-shadow: 0 6px 28px var(--shadow);
  border: 2px solid #e5d6c8;
  position: relative;
}
.section:nth-child(even) {
  background: var(--accent);
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.text-section {
  padding: 0;
  background: none;
  box-shadow: none;
}

/* === NAVIGATION (VINTAGE MENU) === */
header {
  background: var(--primary);
  padding: 0;
  box-shadow: 0 2px 16px rgba(50,30,20,0.09);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Quicksand', 'Roboto', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.07em;
  font-weight: 700;
  color: #fff8f0;
  border-radius: 24px;
  padding: 7px 18px;
  position: relative;
  transition: background 0.18s, color 0.18s;
}
.main-nav a.cta {
  background: var(--retro-yellow);
  color: var(--primary);
  border: 2px solid #fff4da;
  box-shadow: 0 3px 0 #d1b378;
  margin-left: 14px;
  font-size: 1.08rem;
}
.main-nav a:not(.cta):hover, .main-nav a:not(.cta):focus {
  background: var(--secondary);
  color: #FFFBE7;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: var(--retro-red);
  color: #fffbe7;
  border-color: #ffd1bc;
}

/* === MOBILE BURGER MENU === */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--retro-yellow);
  border-radius: 50%;
  border: 2px solid #e5d6c8;
  font-size: 2rem;
  color: var(--primary);
  margin-left: 14px;
  z-index: 1020;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--retro-red);
  color: #fff;
}
/* Hide menu toggle on desktop */
@media (min-width: 992px) {
  .mobile-menu-toggle { display: none; }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--accent);
  box-shadow: 0 8px 30px rgba(80, 65, 48, 0.26);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px 24px 24px;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.7,0,.4,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--retro-yellow);
  border-radius: 22px;
  border: 2px solid #e5d6c8;
  color: var(--primary);
  font-size: 2rem;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--retro-red);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Quicksand', 'Roboto', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--primary);
  padding: 14px 12px;
  border-radius: 18px;
  transition: background 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--retro-yellow);
  color: var(--retro-navy);
}

/* Hide desktop nav on mobile */
@media (max-width: 991px) {
  .main-nav { display: none; }
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
}

/* === HERO & SECTIONS === */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
@media (max-width: 600px) {
  section {
    padding: 28px 0 28px 0;
    margin-bottom: 36px;
  }
}

/* List with retro bullet icons accessibility */
ul li img, ol li img {
  width: 22px;
  height: 22px;
  margin-right: 10px;
  vertical-align: middle;
  border-radius: 6px;
  box-shadow: 0 1px 5px rgba(158,119,24,0.09);
  background: var(--retro-yellow);
  padding: 2px;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 1.06rem;
  border-bottom: 1px dashed #e3d7c7;
  min-height: 28px;
}
ul li:last-child, ol li:last-child {
  border-bottom: none;
}

/* === CARDS, GRIDS & FLEXBOX LAYOUTS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--accent);
  border: 2px solid #eedbc7;
  border-radius: 13px;
  box-shadow: 0 4px 12px var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 22px; }
  .container { gap: 14px; }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #fffbe7;
  border: 2px solid #dec39d;
  box-shadow: 0 2px 12px rgba(94,70,53,0.10);
  border-radius: 17px;
  margin-bottom: 20px;
  max-width: 570px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.testimonial-card p {
  color: #4D566A;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 8px;
}
.testimonial-author {
  color: var(--primary);
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 0.01em;
  align-self: flex-end;
}

/* === FEATURE LIST & RETRO ITEMS === */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 17px 0;
  border-left: 5px solid var(--retro-yellow);
  padding-left: 15px;
}

/* === BUTTONS (RETRO ROUND CTA) === */
.cta, .btn, .cookie-banner button, .cookie-modal button {
  background: var(--retro-yellow);
  color: var(--primary);
  font-family: 'Quicksand', 'Roboto', sans-serif;
  font-weight: 700;
  border: 2px solid #fad88a;
  box-shadow: 0 3px 0 #d1b378;
  border-radius: 26px;
  font-size: 1.09rem;
  padding: 12px 30px;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  letter-spacing: .04em;
  margin-top: 8px;
  margin-bottom: 10px;
  transition: background .17s, color .17s, box-shadow .22s;
  position: relative;
}
.cta:hover, .cta:focus,
.btn:hover, .btn:focus {
  background: var(--retro-red);
  color: #fffbe7;
  border-color: #edb8a4;
  box-shadow: 0 4px 0 #944d37;
}

/* === FOOTER === */
footer {
  background: var(--primary);
  color: #fffbe7;
  padding: 32px 0 16px 0;
  font-size: 0.99rem;
  margin-top: 40px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 14px;
}
.footer-menu a {
  color: #fffbe7;
  opacity: 0.93;
  padding: 6px 12px;
  border-radius: 17px;
  transition: background 0.17s, color 0.14s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: var(--retro-yellow);
  color: var(--primary);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  justify-content: center;
  align-items: center;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  background: #fffbe7;
  padding: 2.5px;
  border-radius: 6px;
  margin-right: 2px;
}
.footer-brand {
  margin-top: 8px;
  margin-bottom: 4px;
}
.footer-brand img {
  height: 42px;
  width: auto;
}

/* === COOKIE CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #ffe6c7;
  color: var(--primary);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 -2px 18px rgba(70,60,36,0.14);
  z-index: 4000;
  padding: 22px 20px 22px 20px;
  font-family: 'Roboto',sans-serif;
}
.cookie-banner .cookie-text {
  flex: 1;
  font-size: 1.02rem;
  margin-right: 12px;
}
.cookie-banner .btn-group {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  min-width: 108px;
  padding: 9px 22px;
  margin: 0;
  font-size: 1rem;
}
.cookie-banner button:last-child {
  background: var(--retro-red);
  color: #fffbe7;
  border-color: #f3b7a2;
}
.cookie-banner button:last-child:hover,
.cookie-banner button:last-child:focus {
  background: var(--retro-yellow);
  color: var(--primary);
}

/* Cookie settings modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4100;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30, 17, 8, 0.34);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.24s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fffbe7;
  color: var(--primary);
  border-radius: 17px;
  padding: 38px 28px 30px 28px;
  min-width: 340px;
  max-width: 94vw;
  box-shadow: 0 10px 44px rgba(67,55,30,0.20);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: scaleIn 0.28s cubic-bezier(.5,.5,0,1.05);
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.84);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.cookie-modal h3 {
  font-size: 1.35rem;
  font-family: 'Quicksand', 'Roboto', sans-serif;
  margin-bottom: 12px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-modal label {
  font-size: 1.06rem;
  cursor: pointer;
}
.cookie-modal .toggle {
  width: 34px;
  height: 18px;
  margin-right: 7px;
  position: relative;
  background: #e1dabd;
  border-radius: 12px;
  display: inline-block;
  transition: background 0.19s;
}
.cookie-modal .toggle input {
  display: none;
}
.cookie-modal .toggle-slider {
  position: absolute;
  top: 3px;
  left: 2px;
  width: 13px;
  height: 13px;
  background: var(--retro-yellow);
  border-radius: 50%;
  transition: left 0.2s, background 0.19s;
}
.cookie-modal .toggle input:checked + .toggle-slider {
  left: 17px;
  background: var(--retro-green);
}
.cookie-modal .btn-group {
  display: flex;
  gap: 15px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.cookie-modal button {
  font-size: 1rem;
  min-width: 98px;
  padding: 8px 18px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 15px;
  color: var(--primary);
  background: var(--retro-yellow);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.3rem;
  border: 2px solid #d6c099;
  transition: background 0.16s;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  background: var(--retro-red);
  color: #fffbe7;
}

/* Hide cookie modal and overlay by default */
.cookie-modal-overlay { display: none; }
.cookie-modal-overlay.open { display: flex; }
.cookie-banner { display: flex; }
.cookie-banner.hide { display: none; }

/* === DETAILS / SUMMARY (Retro arrow) === */
details {
  border-radius: 13px;
  border: 2px solid #e3be95;
  background: #fffbe7;
  padding: 14px 18px 9px 18px;
  margin: 18px 0;
  box-shadow: 0 3px 12px rgba(245,198,120,0.08);
}
details summary {
  font-family: 'Quicksand', 'Roboto', sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--retro-navy);
  cursor: pointer;
  outline: none;
  position: relative;
}
details[open] summary {
  color: var(--primary);
}

/* === SUMMARY ARROW === */
details summary::after {
  content: '\25BC';
  font-size: 0.92em;
  margin-left: 8px;
  transition: transform 0.2s;
  display: inline-block;
}
details[open] summary::after {
  transform: rotate(180deg);
}

/* === ANIMATIONS & INTERACTIONS === */
.cta, .btn, .main-nav a, .cookie-banner button, .cookie-modal button {
  transition: background 0.15s, color 0.14s, box-shadow 0.19s;
}
.card, .testimonial-card, .section {
  transition: box-shadow 0.18s, border-color 0.12s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(94,70,53,0.21);
  border-color: var(--secondary);
}

/* MICRO-INTERACTIONS: underline on hover for links */
a:not(.cta):not(.btn):hover {
  text-decoration: underline wavy var(--retro-yellow) 2px;
}

/* === SPACING RULES === */
.card, .testimonial-card, .section, .content-wrapper {
  margin-bottom: 20px;
}
.card-container, .content-grid, .footer-menu, .footer-contact {
  gap: 20px;
  margin-bottom: 10px;
}

/* === RESPONSIVE DESIGN: MOBILE FIRST === */
@media (max-width: 500px) {
  html { font-size: 15px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.03rem; }
  .section { padding: 24px 7px; }
  .container { padding: 0 4.5vw; }
  .footer-contact { flex-direction: column; gap: 10px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .container { gap: 12px; }
}
@media (max-width: 991px) {
  .container {
    max-width: 99vw;
    padding-left: 0;
    padding-right: 0;
  }
}

/* === PRINT STYLES === */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #222; }
  section, .section { box-shadow: none; border-radius: 0; border: none; }
}

/* === UTILITY CLASSES === */
.hide {
  display: none !important;
}
.show {
  display: block !important;
}

/* COLOR CONTRAST TESTIMONIALS/REVIEWS */
.testimonial-card,
.cookie-banner .cookie-text, .cookie-modal {
  color: #2a2116;
  background: #fffbe7;
}

/* Ensure adequate z-index layering for mobile menu & cookie modal */
.mobile-menu       { z-index: 2000; }
.cookie-banner     { z-index: 4000; }
.cookie-modal      { z-index: 4200; }

/* VINTAGE RETRO EXTRAS: Patterns or Borders */
.section::before {
  content: '';
  display: block;
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 13px;
  background: repeating-linear-gradient(90deg, #ffe6c7, #ffe6c7 18px, #edb88a 18px, #edb88a 36px);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
.section {
  overflow: hidden; /* for retro pattern */
}
@media (max-width: 600px) {
  .section::before {
    height: 7px;
  }
}

/* LEGACY / ACCESSIBILITY ENHANCEMENTS */
.cookie-modal {
  outline: 2px solid #f6e1a2;
}

/* Hide scroll if mobile menu/cookie modal open */
body.menu-open, body.cookie-modal-open {
  overflow: hidden;
}

