/* ----------------------
  CSS RESET & BASE STYLES
------------------------ */
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,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
body {
  line-height: 1.55;
  background: #FFF8ED;
  color: #4E2D18;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.02em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #4E2D18;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ad8b4b;
  outline: none;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
button {
  cursor: pointer;
}

/* ----------------------
  VARIABLES (CSS Custom Props, with fallback)
------------------------ */
:root {
  --color-primary: #4E2D18;
  --color-secondary: #E5C990;
  --color-accent: #FFFFFF;
  --color-dark: #3a2210;
  --color-gold-shadow: #ccb57b;
  --font-display: 'Merriweather', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ----------------------
 GLOBAL STRUCTURE/LAYOUT
------------------------ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(78,45,24,0.07);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(78,45,24,0.10);
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 9px 28px rgba(78,45,24,0.18);
  z-index: 2;
}
.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;
  margin-bottom: 20px;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(78,45,24,0.07), 0 1px 0 #E5C990;
  border-left: 5px solid #E5C990;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(78,45,24,0.16);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.section > .container {
  padding: 0;
}

/* ----------------------
  HEADER & NAVIGATION 
------------------------ */
header {
  background: #fff;
  box-shadow: 0 1px 10px rgba(78,45,24,0.07);
  border-bottom: 2.5px solid #E5C990;
  position: relative;
  z-index: 50;
}
.main-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.main-nav ul {
  display: flex;
  gap: 26px;
  align-items: center;
      flex-direction: row;
}
.main-nav li {
  list-style: none;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  color: #4E2D18;
  letter-spacing: 0.012em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color .18s, border 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #ad8b4b;
  border-bottom: 2px solid #E5C990;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: #4E2D18;
  background: linear-gradient(90deg, #E5C990 93%, #ffe9b2);
  border-radius: 24px;
  padding: 10px 32px;
  box-shadow: 0 1.5px 12px rgba(229,201,144,0.10);
  border: 0.5px solid #C2AD76;
  letter-spacing: 0.03em;
  margin-left: 28px;
  transition: 
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
  position: relative;
  z-index: 3;
}
.cta-btn:hover, .cta-btn:focus {
  color: #fff;
  background: #ad8b4b;
  box-shadow: 0 8px 24px rgba(78,45,24,0.09);
  outline: none;
}

@media (max-width: 1100px) {
  .main-nav ul {
    gap: 18px;
  }
  .cta-btn {
    margin-left: 12px;
  }
}

/* --------------  
 MOBILE NAVIGATION
------------------*/
.mobile-menu-toggle {
  display: none;
  font-size: 28px;
  color: #4E2D18;
  background: transparent;
  border: none;
  margin-left: auto;
  z-index: 60;
  padding: 8px 10px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #f7ecd7;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 32px;
  background: #FFF;
  border-left: 3px solid #E5C990;
  position: fixed;
  top: 0;
  right: 0;
  width: 82vw;
  max-width: 375px;
  height: 100vh;
  z-index: 9999;
  box-shadow: -10px 0 32px rgba(78,45,24,0.13);
  transform: translateX(110%);
  transition: transform 0.35s cubic-bezier(.63,0.17,.46,1);
  padding: 34px 32px 40px 26px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 32px;
  color: #4E2D18;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  padding: 6px 12px;
  transition: background 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #f7ecd7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  font-size: 20px;
  font-family: var(--font-display);
  color: #4E2D18;
  border-bottom: 1.5px solid transparent;
  border-radius: 0.5em;
  padding: 12px 0 6px 2px;
  transition: color 0.18s, border 0.18s, background 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background:#E5C990;
  color: #4E2D18;
  border-bottom: 1.5px solid #ad8b4b;
}

@media (max-width: 950px) {
  .main-nav ul,
  .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (min-width: 951px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ----------------------
  HERO/INTRO SECTIONS
------------------------ */
.hero {
  background: #fffaf2;
  border-bottom: 2px solid #E5C990;
  padding: 56px 0 38px 0;
  min-height: 280px;
  position: relative;
  box-shadow: 0 7px 36px rgba(78,45,24,0.10);
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  padding: 0 0 0 8px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 40px;
  color: #4E2D18;
  letter-spacing: 0.01em;
  font-weight: 700;
  margin-bottom: 7px;
}
.hero p {
  font-size: 20px;
  color: #3a2210;
  margin-bottom: 12px;
  font-family: var(--font-body);
  letter-spacing: 0.009em;
}
@media (max-width: 700px) {
  .hero {
    padding: 30px 0 20px 0;
  }
  .hero .content-wrapper {
    padding: 0;
    gap: 22px;
  }
  .hero h1 {
    font-size: 29px;
  }
  .hero p {
    font-size: 16.2px;
  }
}

/* ----------------------
  TYPOGRAPHY & HEADINGS
------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: #4E2D18;
  font-weight: 700;
  line-height: 1.17;
}
h1 {
  font-size: 38px;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h2 {
  font-size: 27px;
  letter-spacing: 0.014em;
  margin-bottom: 16px;
}
h3 {
  font-size: 20px;
  margin-bottom: 13px;
  font-weight: 600;
}
h4 {
  font-size: 17px;
  margin-bottom: 10px;
  font-weight: 600;
}
p, li, blockquote, span, em {
  font-family: var(--font-body);
}
p, li {
  font-size: 16px;
  margin-bottom: 8px;
  color: #3a2210;
  line-height: 1.55;
}
blockquote {
  font-family: var(--font-display);
  font-size: 19px;
  color: #4E2D18;
  font-style: italic;
  border-left: 6px solid #E5C990;
  padding-left: 24px;
  margin-bottom: 8px;
  background: #fffdf7;
  border-radius: 9px;
}
strong {
  font-weight: 700;
  color: #ad8b4b;
  letter-spacing: 0.01em;
  font-family: var(--font-display);
}
em {
  color: #66442a;
}

/* Typography scaling for mobile */
@media (max-width: 700px) {
  h1 {font-size: 25px;}
  h2 {font-size: 20px;}
  h3 {font-size: 17px;}
  p, li {font-size: 15px;}
  blockquote {font-size: 16.1px;}
}

/* ---------------
  UNIVERSAL LIST & ICONS
----------------- */
ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
ul li {
  padding-left: 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 30px;
}
ul li img {
  height: 27px;
  width: 27px;
  min-width: 20px;
  margin-right: 3px;
}
@media (max-width: 700px) {
  ul, ol { gap: 10px; }
  ul li img { height: 18px; width: 18px; }
}

/* ---------------
  TESTIMONIALS
----------------- */
.testimonial-card {
  font-family: var(--font-body);
  color: #4E2D18;
  background: #fff;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(78,45,24,0.11);
  border-left: 5px solid #E5C990;
  min-width: 0;
}
.testimonial-card p {
  margin-bottom: 0;
  font-size: 16px;
  color: #85662a;
}
.testimonial-card strong {
  font-family: var(--font-body);
  color: #4E2D18;
  letter-spacing: 0.01em;
}
@media (max-width: 700px) {
  .testimonial-card { padding: 14px 8px; flex-direction: column; gap:8px; }
}

/* ---------------
  BUTTONS
----------------- */
button, .cta-btn {
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.18s;
}
button:active, .cta-btn:active {
  transform: scale(0.97);
}

/* ---------------
  FOOTER
----------------- */
footer {
  background: #f7f1e4;
  border-top: 2px solid #E5C990;
  font-size: 15px;
  position: relative;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 24px 0 6px 0;
}
.footer-nav a {
  color: #4E2D18;
  font-size: 15px;
  font-family: var(--font-body);
  transition: color 0.16s;
  border-bottom: 1px solid transparent;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #ad8b4b;
  border-bottom: 1px solid #E5C990;
}
footer .text-section {
  text-align: center;
  font-size: 14px;
  color: #6e522a;
  padding: 0 0 18px 0;
  line-height: 1.45;
}

/* ----------------
  COOKIE BANNER
------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  background: #18200eeb;
  color: #FFF;
  font-family: var(--font-body);
  box-shadow: 0 -8px 38px 0 rgba(78,45,24,0.13);
  z-index: 10001;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  font-size: 15.6px;
  animation: banner-slide-in 0.6s cubic-bezier(.5,0,.17,1);
}
.cookie-banner p {
  margin-bottom: 0;
  color: #e5c990
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  min-width: 110px;
  background: #E5C990;
  color: #4e2d18;
  font-weight: 600;
  border-radius: 20px;
  padding: 7px 20px;
  border: none;
  margin: 0 2px;
  font-size: 15px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(229,201,144,0.09);
  transition: background 0.16s,color 0.16s;
}
.cookie-btn.accept {
  background: #ad8b4b;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #ad8b4b;
  border: 1.5px solid #e5c990;
}
.cookie-btn.settings {
  background: #4e2d18;
  color: #e5c990;
  border: 1.5px solid #e5c990;
}
.cookie-btn:hover, .cookie-btn:focus {
  opacity: .92;
}
@keyframes banner-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@media (max-width: 720px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    font-size: 14.6px;
    padding: 18px 12px;
    align-items: flex-start;
  }
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom:0;
  background: rgba(30,22,13,0.63);
  z-index: 10002;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: modal-fade-in 0.3s;
}
@keyframes modal-fade-in {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal-content {
  background: #fff;
  color: #4e2d18;
  min-width: 310px;
  max-width: 94vw;
  border-radius: 14px;
  padding: 32px 28px 20px 28px;
  box-shadow: 0 14px 48px 0 rgba(78,45,24,0.18);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: modal-pop-in 0.44s cubic-bezier(.42,.4,.22,1.06);
}
@keyframes modal-pop-in {
  from { transform: scale(.76); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 23px;
  color: #ad8b4b;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #4e2d18;
}
.cookie-preference-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 16px;
  font-family: var(--font-body);
}
.cookie-category input[type="checkbox"] {
  accent-color: #E5C990;
  width: 19px;
  height: 19px;
  cursor: pointer;
}
.cookie-category.essential label {
  font-weight: 700;
  color: #ad8b4b;
}
.cookie-save-btn {
  background: #ad8b4b;
  color: #fff;
  border-radius: 24px;
  border: none;
  padding: 9px 30px;
  font-size: 16px;
  letter-spacing: 0.03em;
  font-weight: 600;
  align-self: flex-end;
  margin-top: 20px;
  transition: background 0.19s;
}
.cookie-save-btn:hover, .cookie-save-btn:focus {
  background: #4e2d18;
  color: #e5c990;
}
@media (max-width: 510px) {
  .cookie-modal-content { padding: 16px 9vw 14px 9vw; }
  .cookie-category {font-size:15px;}
}

/* ---------------
  RESPONSIVE FLEX LAYOUTS
----------------- */
@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 20px 6px;
    border-radius: 9px;
  }
  .content-grid, .card-container, .text-image-section { flex-direction: column; gap: 16px; }
  .card, .testimonial-card {margin-bottom: 12.5px;}
}
@media (max-width: 495px) {
  .container { padding: 0 5px; }
  .section { padding: 12px 3px; }
  .hero {padding:18px 0 13px 0;}
}

/* ---------------
  FORMS & MODALS (if present)
----------------- */
input[type="email"], input[type="text"], textarea, select {
  border: 1px solid #E5C990;
  background: #f9f6ee;
  font-size: 17px;
  padding: 9px 15px;
  border-radius: 8px;
  margin-bottom: 11px;
  width: 100%;
  color: #3a2210;
  box-shadow: 0 1px 3px #e5c99021;
  font-family: var(--font-body);
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #ad8b4b;
  background: #fff8ed;
}

/* ---------------
  MISC SMALL STYLES
----------------- */
::-webkit-scrollbar {
  width: 9px;
  background: #e5c9902e;
}
::-webkit-scrollbar-thumb {
  background: #ad8b4b;
  border-radius: 13px;
}
span {
  color: #ad8b4b;
  font-weight: 600;
  font-size: 16px;
}
@media (max-width: 380px) {
  span { font-size: 14px; }
}

/* ---------------
  LUXURY PREMIUM EFFECTS & DETAILS
----------------- */
.card,
.section,
.testimonial-card,
.cookie-modal-content {
  box-shadow: 0 3px 14px 0 #e5c9901f, 0 1px #ccb57b60;
}
.card, .section, .testimonial-card, .cookie-modal-content {
  border-radius: 14px;
}
hr {
  border: 0;
  border-top: 1.5px solid #E5C990;
  margin: 22px 0;
}

/* Gold accent lines under headers */
h2::after {
  content: "";
  display: block;
  margin: 8px 0 0 0;
  width: 42px;
  height: 4px;
  background: #E5C990;
  border-radius: 2px;
}
@media (max-width:350px) { h2::after { width: 25px; } }

/* Subtle gold icons */
ul li img {
  filter: drop-shadow(0 0.5px 0 #ccb57b8c);
}

/* ---------------
  PRINT FRIENDLY
----------------- */
@media print {
  .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  header, footer { box-shadow: none; border: none; }
  .section { box-shadow: none; }
}

/*---------------------
FONT FACE (Load via Google Fonts CDN in HTML or import)
-----------------------*/
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Open+Sans:wght@400;600;700&display=swap');
