/* ===== 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,
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F4F6EF;
  color: #28231b;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
:focus { outline: 2px dashed #215632; outline-offset: 2px; }
::-webkit-input-placeholder { color: #7a745e; }
::-moz-placeholder { color: #7a745e; }
:-ms-input-placeholder { color: #7a745e; }
::placeholder { color: #7a745e; }

/* ====== VINTAGE RETRO THEME BASICS ======*/
:root {
  --primary: #215632;
  --secondary: #F4F6EF;
  --secondary-dark: #eae7ce;
  --accent: #B3986D;
  --accent-dark: #91723a;
  --card-bg: #fffaf3;
  --border: #deb887;
  --shadow: rgba(33, 86, 50, 0.08);
  --headline: 'Playfair Display', Georgia, serif;
  --body: 'Roboto', Arial, sans-serif;
  --retro-pattern: repeating-linear-gradient(135deg, transparent, transparent 18px, #ebdcc3 18px, #ebdcc3 36px);
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--headline);
  color: #215632;
  letter-spacing: 0.5px;
  font-weight: 700;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.12;
  margin-bottom: 20px;
  text-shadow: 1px 1px 0 #bd9a68;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  text-shadow: 1px 1px 0 #dfceb0;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 7px;
}
p, ul li, ol li {
  font-family: var(--body);
  line-height: 1.7;
  font-size: 1rem;
  color: #28231b;
}
strong { color: var(--accent-dark); font-weight: 700; }
em { color: #947a52; }

/* ====== VINTAGE/RETRO ELEMENTS ====== */
body {
  background-color: var(--secondary);
  /* subtle canvas texture via pattern */
  background-image: var(--retro-pattern);
}

.card, .testimonial-card {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 2px 8px var(--shadow);
  box-sizing: border-box;
  position: relative;
  transition: box-shadow .26s cubic-bezier(.33,.71,.7,.4), transform .18s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 22px rgba(33,86,50,.14);
  transform: translateY(-4px) scale(1.015);
}

/* Retro pattern borders for key sections */
.section, .hero, .features, .testimonials, .cta, .services, .about, .products, .legal {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-top: 10px double var(--border);
  border-bottom: 4px solid var(--accent);
  border-radius: 22px;
  box-shadow: 0 1px 6px var(--shadow);
  box-sizing: border-box;
}

.container {
  max-width: 1060px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 720px;
  margin: 0 auto;
}

/* ========== HEADER AND NAV ========== */
header {
  width: 100%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 72px;
  box-shadow: 0 2px 12px var(--shadow);
}
.logo img {
  height: 48px;
  margin: 9px 0;
  filter: drop-shadow(1px 3px 0 #bd9a68);
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
}
.main-nav a {
  font-family: var(--headline);
  font-size: 1.12rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 8px 6px 8px;
  color: #fff;
  position: relative;
  transition: color .3s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--accent);
}
.mobile-menu-toggle {
  background: var(--accent-dark);
  border-radius: 8px;
  color: #fff;
  width: 44px;
  height: 44px;
  font-size: 2.1rem;
  border: none;
  cursor: pointer;
  display: none;
  margin-left: 20px;
  transition: background .2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--accent);
}

/* =============== MOBILE MENU =============== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 5100;
  background: var(--card-bg);
  box-shadow: 0 8px 30px rgba(33,86,50,.18);
  transform: translateX(100%);
  transition: transform .5s cubic-bezier(.23,.88,.44,.98);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0;
  opacity: 0.98;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  color: var(--primary);
  border: none;
  padding: 24px 22px 10px 18px;
  cursor: pointer;
  align-self: flex-end;
  transition: color .2s;
}
.mobile-menu-close:hover {
  color: var(--accent-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 32px 0 0 32px;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: var(--primary);
  font-family: var(--headline);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 10px 0 6px 0;
  transition: color .2s, background .18s;
  border-radius: 7px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary-dark);
  color: var(--accent-dark);
}

/* HIDE desktop nav/show mobile menu toggle on mobile */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* =============== FOOTER =============== */
footer {
  width: 100%;
  background: #f6ecd6;
  border-top: 6px double var(--border);
  color: #215632;
  padding: 38px 0 20px 0;
  text-align: center;
  font-size: 15px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--accent-dark);
  font-family: var(--headline);
  padding: 4px 12px;
  font-size: 1rem;
  letter-spacing: 0.6px;
  border-radius: 4px;
  transition: background .2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--secondary-dark);
  color: var(--primary);
}

/* ============= BUTTONS (CTA etc) ============= */
.cta-button {
  background: var(--accent-dark);
  color: #fff;
  font-family: var(--headline);
  font-size: 1.07rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 15px 38px;
  border-radius: 18px;
  border: 2px solid var(--accent-dark);
  box-shadow: 0 2px 6px rgba(33,86,50,0.12);
  outline: none;
  cursor: pointer;
  margin-top: 16px;
  transition: background .22s, color .22s, transform .16s;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #fffaf3;
  color: var(--accent-dark);
  border: 2px solid var(--accent-dark);
  transform: translateY(-1px) scale(1.03);
}

/* ============= HERO SECTION ============= */
.hero {
  margin-bottom: 60px;
  padding: 0 0 60px 0;
  background: linear-gradient(90deg, #f8ecd7 0%, #f7f3e6 100%);
  border: 0;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 2px 44px 0 rgba(145,114,58,0.07);
}
.hero .container {
  min-height: 380px;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}
.hero .content-wrapper {
  max-width: 660px;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  gap: 12px;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.8rem;
}
.hero p {
  color: #4f4431;
  font-size: 1.12rem;
}

/* ============= FLEX CONTAINERS ============= */
.card-container, .products .content-wrapper, .features .content-wrapper, .services .content-wrapper, .testimonials .content-wrapper, .cta .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  min-width: 250px;
  flex: 1 1 300px;
  max-width: 340px;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 12px 0;
}

/* ============= LISTS & CARDS ============= */
ul, ol {
  margin-top: 4px;
  margin-bottom: 4px;
  padding-left: 0;
  list-style: none;
}
.features ul, .products ul, .services ul, .about ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 9px 0;
  flex-direction: column;
}
.features ul li, .about ul li, .services ul li, .products ul li {
  background: var(--card-bg);
  border-left: 4px solid var(--accent-dark);
  border-radius: 9px;
  padding: 14px 24px 14px 14px;
  margin-bottom: 8px;
  position: relative;
  font-size: 1.04rem;
  color: #362d21;
  box-shadow: 0 1px 4px rgba(33,86,50,.05);
}
.features ul li img,
.services ul li img,
.products ul li img {
  width: 28px;
  height: 28px;
  vertical-align: middle;
  margin-right: 8px;
}
.products ul li em {
  float: right;
  font-style: italic;
  color: var(--accent-dark);
  font-size: 1.02rem;
  margin-left: 9px;
}

.editor-picks {
  background: var(--secondary-dark);
  border: 1px dashed var(--accent-dark);
  border-radius: 10px;
  padding: 18px 16px;
}

.special-occasions, .service-highlights {
  background: #fffdfa;
  border: 1px solid #ecd2a5;
  border-radius: 10px;
  padding: 13px 18px;
  color: #826524;
  font-family: var(--headline);
  font-size: 1.08rem;
  margin-top: 6px;
}

/* =============== TESTIMONIALS =============== */
.testimonials {
  background: #f5ecd4;
  border-top: 8px double #b79e6d;
  border-bottom: 4px solid var(--accent-dark);
  border-radius: 18px;
  box-shadow: 0 1px 15px #eadcb028;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonials .content-wrapper {
  flex-wrap: wrap;
  flex-direction: row;
  gap: 32px;
  justify-content: center;
}
.testimonial-card {
  background: #fffdfa;
  color: #2B2620;
  border: 2px solid #e1cfb0;
  border-radius: 16px;
  font-size: 1.08rem;
  box-shadow: 0 2px 10px rgba(164,145,87,.11);
  min-height: 160px;
  min-width: 250px;
  max-width: 380px;
  padding: 23px 22px 18px 20px;
  position: relative;
}
.testimonial-card blockquote {
  font-family: var(--headline);
  font-size: 1.13rem;
  line-height: 1.5;
  margin-bottom: 13px;
  color: #215632;
  quotes: "\201C" "\201D" "\2018" "\2019";
  position: relative;
}
.testimonial-card strong {
  font-weight: 700;
  color: var(--accent-dark);
}
.testimonial-card:before {
  content: '"';
  font-family: var(--headline);
  position: absolute;
  top: 16px;
  left: 12px;
  font-size: 2.3rem;
  color: #d2b290;
  opacity: 0.17;
  z-index: 0;
  pointer-events: none;
}

.testimonial-card p {
  margin: 0;
  color: #594e3a;
  font-size: 0.96rem;
}
/* Ensure dark text on light bg for readability */
.testimonial-card,
.testimonials .testimonial-card {
  background: #fffdfa;
  color: #2B2620;
}

/* =============== CTA SECTION =============== */
.cta {
  background: linear-gradient(96deg, #f2eedc 54%, #efe1c0 95%);
  border: 4px dashed #91723a;
  margin-bottom: 60px;
  border-radius: 24px;
  box-shadow: 0 2px 5px rgba(33,86,50,.06);
}
.cta .content-wrapper {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* =============== SOCIAL LINKS =============== */
.social-links {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.social-links li {
  display: flex;
  align-items: center;
  font-family: var(--headline);
  color: var(--primary);
  font-size: 1.08rem;
  gap: 7px;
}
.social-links img {
  width: 22px; height: 22px; filter: grayscale(0.2) sepia(0.18) saturate(1.05);
}

/* ========== FORMS (Only if forms present) ========== */
input[type=text], input[type=email], textarea {
  border: 2px solid #DEB887;
  border-radius: 9px;
  background: #fffbf2;
  padding: 13px 14px;
  width: 100%;
  margin-bottom: 18px;
  font-size: 1.03rem;
  color: #28231b;
  box-shadow: 0 1px 2px #c7b0761d;
  transition: border .19s;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus {
  border: 2px solid var(--accent);
}
@media (max-width: 768px) {
  .section, .hero, .features, .testimonials, .cta, .services, .about, .products, .legal {
    padding: 24px 6vw;
    margin-bottom: 39px;
    border-radius: 10px;
  }
  .container {
    padding: 0;
    max-width: 100vw;
  }
  .content-wrapper,
  .features ul, .products ul, .services ul, .about ul {
    gap: 13px;
  }
  .card-container, .products .content-wrapper, .features .content-wrapper, .services .content-wrapper, .testimonials .content-wrapper, .cta .content-wrapper {
    gap: 13px;
  }
  .text-image-section, .content-grid {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 14px;
  }
  .testimonials .content-wrapper {
    gap: 16px;
    flex-direction: column;
    align-items: center;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
    padding: 18px 10px;
  }
  header {
    flex-direction: row;
    padding: 0 12px;
    height: 58px;
  }
  .logo img { height: 36px; }
}

/* ========== RESPONSIVE HEADINGS SCALING ========== */
@media (max-width: 520px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.23rem; }
  .hero h1 { font-size: 1.4rem; }
  .hero .content-wrapper { padding: 0; }
}

/* ========== CARD/SECTION FLEX WRAPS ========== */
.card-container,
.products .content-wrapper,
.features .content-wrapper,
.services .content-wrapper,
.testimonials .content-wrapper,
.cta .content-wrapper {
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin: 0 -6px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}

/* ========== LEGAL SECTIONS ========== */
.legal {
  background: #fcf7e9;
  border: 2.5px dashed #ecd2a5;
  border-radius: 14px;
  margin-bottom: 50px;
  box-shadow: 0 1px 8px rgba(145,114,58,0.06);
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 4000;
  background: #fefae2;
  border-top: 3.5px solid var(--border);
  box-shadow: 0 -2px 16px #b3986d0f;
  padding: 22px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 36px;
  transition: transform .32s cubic-bezier(.33,.71,.7,.4);
  font-size: 1rem;
  font-family: var(--body);
}
.cookie-banner__text {
  max-width: 400px;
  color: #49524b;
}
.cookie-banner__buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
}
.cookie-banner button,
.cookie-banner .btn {
  font-family: var(--headline);
  border-radius: 9px;
  background: var(--accent-dark);
  border: none;
  color: #fff;
  padding: 9px 22px;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: background .18s, color .17s;
  cursor: pointer;
}
.cookie-banner button:hover,
.cookie-banner .btn:hover {
  background: var(--primary);
}
.cookie-banner .btn-settings {
  background: #f6ecd6;
  color: var(--accent-dark);
  border: 2px solid var(--accent-dark);
  padding: 8px 18px;
  transition: background .17s, color .17s;
}
.cookie-banner .btn-settings:hover {
  background: var(--accent-dark);
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    padding: 16px 6vw;
    font-size: 0.97rem;
    left: 0;
  }
  .cookie-banner__buttons {
    gap: 8px;
  }
}

/* ===== COOKIE MODAL ===== */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(33,86,50,0.65);
  z-index: 5200;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal__dialog {
  background: #fffdfa;
  border: 2.5px solid #ecd2a5;
  border-radius: 19px;
  max-width: 96vw;
  width: 370px;
  padding: 33px 26px 28px 26px;
  box-shadow: 0 6px 34px #b3986d1f;
  position: relative;
  animation: modalFadeIn .35s cubic-bezier(.6,.3,.19,1.05);
  font-family: var(--body);
  color: #28231b;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}
.cookie-modal__header {
  font-family: var(--headline);
  font-size: 1.31rem;
  color: var(--accent-dark);
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed #e6d3b8;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category .cookie-toggle {
  accent-color: var(--primary);
  width: 22px; height: 22px;
  margin-left: 7px;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 20px;
}
.cookie-modal__close {
  position: absolute; right: 14px; top: 13px;
  background: none;
  font-size: 1.6rem;
  color: var(--accent-dark);
  border: none;
  cursor: pointer;
  transition: color .18s;
}
.cookie-modal__close:hover {
  color: var(--primary);
}

/* =====================================
   VINTAGE RETRO ACCENTS (Borders, Lines)
   ===================================== */
.retro-line {
  width: 58px; height: 6px;
  margin: 18px auto;
  border-radius: 22px;
  background: repeating-linear-gradient(135deg, #B3986D, #B3986D 14px, #F4F6EF 14px, #F4F6EF 28px);
  opacity: 0.74;
}

/* ========== MICRO-INTERACTIONS ========== */
.card, .testimonial-card, .cta-button, .footer-nav a,
.main-nav a, .mobile-nav a, .cookie-banner button, .cookie-banner .btn, .cookie-banner .btn-settings {
  transition: box-shadow .20s, color .20s, background .20s, transform .15s;
}

.card:active, .testimonial-card:active, .cta-button:active {
  transform: scale(0.98);
}

/* =============== UTILITIES =============== */
.hide { display: none !important; }

/* ========== Z-INDEX LAYERING ========== */
.mobile-menu { z-index: 5100; }
.cookie-modal { z-index: 5200; }
.cookie-banner { z-index: 4000; }

/* ================ MISC ================ */
::-webkit-scrollbar { width: 8px; background: #efe8da; }
::-webkit-scrollbar-thumb { background: #b3986d; border-radius: 99px; }

/* ========== PREVENT CONTENT OVERLAP ========== */
.section, .hero, .card, .testimonial-card, .features ul li, .footer-nav a, .cookie-banner {
  margin-bottom: 20px;
}

/* Prevent accidental image overflow in cards */
.card img, .testimonial-card img {
  border-radius: 12px;
}

/* ========== ACCESSIBILITY/FOCUS ENHANCEMENT ========== */
:focus-visible {
  outline: 3px dashed var(--primary);
  outline-offset: 2px;
}
