/* RESET & BASE TYPOGRAPHY -------------------------------------------------- */
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.5; background: #FAF7F3; color: #3B2924; font-family: 'Roboto', serif; font-size: 16px; min-height: 100vh;}
img {max-width: 100%; height: auto; display: block;}
a {color: #3B2924; text-decoration: none; transition: color 0.2s;}
a:hover, a:focus {color: #8b6c4c;}
ul, ol {margin-left: 2em;}
input, button, textarea, select { font-family: inherit; font-size: inherit; }

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

/* BRAND COLOR VARIABLES [With fallback] ------------------------ */
:root {
  --primary: #3B2924;
  --primary-rgb: 59,41,36;
  --secondary: #F4C662;
  --secondary-rgb: 244,198,98;
  --accent: #FFFFFF;
  --muted-bg: #F5F3EF;
  --muted: #DED6CB;
  --card-border: #E6D6BD;
}

/* TYPOGRAPHY STYLES -------------------------------------------- */
h1, .h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.18;
  color: #3B2924;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
h2, .h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  color: #3B2924;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h3, .h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #3B2924;
  margin-bottom: 10px;
}
h4, .h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
}
p, ul, ol {font-family: 'Roboto', serif; color: #3B2924; font-size: 1rem; margin-bottom: 8px;}
.subheadline {
  font-family: 'Roboto', Georgia, serif;
  font-size: 1.2rem;
  color: #6E5B4B;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

b, strong {font-weight: 500;}

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

/* SPACING & SECTION STYLES ------------------------------------- */
section {
  background: var(--accent);
  border-radius: 12px;
  box-shadow: 0 3px 14px -4px rgba(var(--primary-rgb), 0.07);
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
}

@media (max-width: 600px) {
  section {padding: 28px 8px; margin-bottom: 36px;}
}

/* FLEXBOX LAYOUTS (MANDATORY PATTERNS) ------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--accent);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(59, 41, 36, 0.04);
  padding: 24px 18px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 5px 18px -5px rgba(59,41,36,.14);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F5F3EF;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(var(--primary-rgb),0.07);
  border: 1px solid #E3DFC2;
  font-style: italic;
  position: relative;
  transition: box-shadow 0.12s, border 0.12s;
}
.testimonial-card p {
  color: #3B2924;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.08rem;
  margin-right: 14px;
}
.testimonial-card span {
  color: #7A695A;
  font-size: 0.99rem;
  font-family: 'Roboto', serif;
  font-style: normal;
  margin-left: auto;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 22px;
  background: #F5F3EF;
  border-radius: 8px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-bottom: 0;
}
.feature-grid > div {
  flex: 1 1 240px;
  min-width: 230px;
  max-width: 320px;
  background: #F5F3EF;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(59, 41, 36, 0.03);
  padding: 18px 16px;
  margin-bottom: 0;
  transition: box-shadow 0.18s,border 0.15s;
}
.feature-grid > div img {
  width: 44px; height: 44px; margin-bottom: 10px;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 28px -2px rgba(59,41,36,0.11);
  border-color: #F4C66280;
}

/* MAIN NAVIGATION HEADER --------------------------------------- */
header {
  background: var(--accent);
  border-bottom: 1px solid #E6D6BD;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 40;
  margin-bottom: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 80px;
}
header img {
  height: 42px;
  width: auto;
}
nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
nav a {
  font-family: 'Roboto', serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--primary);
  transition: color 0.2s;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
nav a:hover, nav a:focus {
  color: #d0a232;
  border-bottom: 2px solid #F4C662;
}
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 28px;
  padding: 11px 30px 11px 32px;
  margin-left: 12px;
  border: none;
  box-shadow: 0 1.5px 7px rgba(var(--primary-rgb), .10);
  letter-spacing: 0.015em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.21s, color 0.16s, transform 0.13s;
  position: relative;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #53392a;
  color: #F4C662;
  box-shadow: 0 4px 18px -6px #3B2924;
  transform: translateY(-2px) scale(1.04);
}

/* MOBILE NAVIGATION -------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  margin-left: 18px;
  outline: none;
  transition: color 0.13s, transform 0.13s;
}
.mobile-menu-toggle:active {
  color: #C19A43;
  transform: scale(0.98);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(59, 41, 36, 0.94);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.44s cubic-bezier(.22,.68,.61,1.16);
  pointer-events: none;
  opacity: 0.97;
}
.mobile-menu.open {
  transform: translateX(0%);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #fff;
  margin: 22px 22px 0 0;
  cursor: pointer;
  transition: color 0.12s, transform 0.13s;
  z-index: 1150;
}
.mobile-menu-close:active {
  color: #F4C662;
  transform: scale(0.98);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  margin-top: 44px;
  align-items: center;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.35rem;
  font-family: 'Playfair Display', Georgia, serif;
  padding: 12px 0;
  letter-spacing: 0.05em;
  transition: color 0.13s;
  width: 100%;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F4C662;
}

/* Hide desktop nav and show hamburger on mobile ------------ */
@media (max-width: 880px) {
  nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 600px) {
  .mobile-nav a {font-size: 1.1rem;}
}

/* FOOTER ------------------------------------------------------ */
footer {
  background: #F5F3EF;
  border-top: 1px solid #E6D6BD;
  padding: 40px 0 24px 0;
  font-size: 1rem;
  color: #3B2924;
  margin-top: 14px;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav {
  font-family: 'Roboto', serif; font-size: 1rem; color: #715f4a;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #715f4a;
  font-weight: 400;
  padding: 0 4px;
  border-bottom: 2px solid transparent;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #3B2924;
  border-bottom: 2px solid #C9B07D;
}
.footer-contact {
  font-size: 1rem;
  color: #826a46;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.footer-contact img {
  height: 17px;
  margin-bottom: -2px;
  margin-right: 6px;
}
.footer-logo img {
  height: 42px;
}
@media (max-width: 900px) {
  footer .container {flex-direction: column; align-items: flex-start; gap:18px;}
  .footer-logo {margin-top: 12px;}
}

/* CARDS & LISTS ----------------------------------------------- */
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
  font-family: 'Roboto', serif;
  color: #3B2924;
}
.info-box {
  background: #FFF9E5;
  border-left: 4px solid #F4C662;
  border-radius: 8px;
  padding: 19px 24px;
  font-size: 1rem;
  margin: 18px 0;
  font-family: 'Roboto', serif;
  color: #715f4a;
}
.map-placeholder {
  min-height: 120px; background: #EBE2CF; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
  margin-bottom: 12px;
}

/* BLOG --------------------------------------------------------- */
.blog-category {
  display: inline-block;
  background: #E9DED0;
  font-family: 'Roboto', serif;
  color: #3B2924;
  font-size: 0.97rem;
  border-radius: 6px;
  padding: 4px 14px 4px 14px;
  margin-right: 8px;
  margin-bottom: 6px;
}
.featured-article {
  background: #FFF9E5;
  border-radius: 10px;
  padding: 18px 12px;
  margin: 14px 0 18px 0;
  box-shadow: 0 1px 8px rgba(59,41,36,0.06);
  font-family: 'Playfair Display', Georgia, serif;
}
.featured-article h3 { margin-bottom: 9px; font-size: 1.15rem;}
.featured-article a {color: #3B2924; font-weight: 600; padding-left: 4px; text-decoration: underline; }
.featured-article a:hover {color: #C19A43; text-decoration: none;}

/* STAR RATING SUMMARY ------------------------------------------ */
.star-rating-summary {display: flex; align-items: center; gap:12px; font-size: 1rem; color: #8B7044; font-family: 'Roboto', serif; margin-top:6px;}
.star-rating-summary img {height: 24px;}

/* COOKIE CONSENT BANNER AND MODAL ------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 12000;
  background: #F6E8C5;
  color: #443c2d;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 16px;
  box-shadow: 0 -2px 22px -6px rgba(0,0,0,.09);
  gap: 22px;
  flex-wrap: wrap;
  font-family: 'Roboto', serif;
  font-size: 1rem;
  animation: cookiebannerin .33s cubic-bezier(.16,.6,.45,.94);
}
@keyframes cookiebannerin {
  0% {transform: translateY(80px); opacity: 0.45;}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  margin-bottom: 0; font-size: 1rem;
}
.cookie-banner-buttons {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  border-radius: 22px;
  border: none;
  padding: 8px 22px;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
  transition: background 0.14s, color 0.12s, box-shadow 0.16s;
  outline: none;
  box-shadow: 0 0.5px 3px rgba(59,41,36,0.07);
}
.cookie-btn.accept {
  background: #3B2924;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #7E6717;
  color: #F4C662;
}
.cookie-btn.reject {
  background: #fff;
  color: #644926;
  border: 1.5px solid #F4C662;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #f6deb0; color: #3B2924;
}
.cookie-btn.settings {
  background: #F4C662;
  color: #3B2924;
  border: none;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #DBC785; color: #3B2924;
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: #fffefb;
  border-radius: 17px;
  z-index: 14000;
  box-shadow: 0 5px 34px -12px rgba(59,41,36,0.17);
  padding: 38px 32px 27px 32px;
  min-width: 320px; max-width: 95vw;
  max-width: 410px;
  font-family: 'Roboto', serif;
  animation: cookiemodalin .38s cubic-bezier(.22,.61,.61,1.1);
}
@keyframes cookiemodalin {
  0% {opacity:0; transform: translate(-50%,-36%) scale(.91);}
  100% {opacity:1;}
}
.cookie-modal h2 {
  font-size: 1.35rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 18px;
}
.cookie-modal .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
  font-size: 1rem;
}
.cookie-switch {
  width: 38px;
  height: 22px;
  background: #EAE4D6;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-switch input {
  opacity: 0; width: 0; height: 0;
}
.cookie-switch-slider {
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #BAAA87;
  border-radius: 50%;
  transition: left 0.14s, background 0.14s;
}
.cookie-switch input:checked + .cookie-switch-slider {
  left: 19px;
  background: #7E6717;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 20px;
}
.cookie-modal .close {
  position: absolute;
  top: 10px; right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #9B8B75;
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {color: #C19A43;}

@media (max-width: 600px) {
  .cookie-modal {padding: 15px 7vw 16px 7vw; min-width: 200px; }
  .cookie-modal h2 {font-size: 1.1rem;}
}

/* RESPONSIVE -------------------------------------------------- */
@media (max-width: 1024px) {
  .feature-grid {gap: 18px;}
  .card-container, .content-grid, .testimonial-card {gap: 14px;}
  .container {padding: 0 10px;}
}
@media (max-width: 900px) {
  .container {max-width: 98vw;}
}
@media (max-width: 768px) {
  .content-grid, .feature-grid, .card-container {
    flex-direction: column! important;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .content-wrapper {gap: 18px;}
}
@media (max-width: 600px) {
  h1, .h1 {font-size: 2rem;}
  h2, .h2 {font-size: 1.34rem;}
  h3, .h3 {font-size: 1.05rem;}
  .btn-primary {font-size: 1rem; padding: 8px 14px; margin-left: 4px;}
  header img, .footer-logo img {height: 30px;}
}

/* MICRO-INTERACTIONS --------------------------------------------- */
section, .card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.16s, border 0.12s, background 0.2s;
}
section:hover, .card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 7px 24px -7px #C3AD8A33;
}

/* BUTTON FOCUS OUTLINE ------------------------------------------- */
.btn-primary:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #F4C662;
  outline-offset: 2px;
}

/* VISUAL ENHANCEMENTS -------------------------------------------- */
::-webkit-scrollbar {width: 10px; background: #EDE1CC;}
::-webkit-scrollbar-thumb {background: #D0C0A3; border-radius: 7px;}

/* ACCESSIBILITY -------------------------------------------------- */
[tabindex]:focus, a:focus-visible {outline: 2px solid #F4C662; outline-offset: 1.5px; }

/* Z-INDEX STACKING ----------------------------------------------- */
.mobile-menu {z-index: 1050;}
.cookie-banner {z-index: 12000;}
.cookie-modal {z-index: 14000;}
header {z-index: 1000;}

/* PREVENT OVERLAP ----------------------------------------------- */
section, .card, .testimonial-card, .content-wrapper, .feature-grid > div, .info-box {margin-bottom: 20px;}

/* ENSURE ALL DIRECT CHILDREN PROPERLY SPACED --------------------- */
.container > *:not(:last-child) {margin-bottom: 20px;}

/* END OF CSS ---------------------------------------------------- */
