/* ---------------- 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-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F7F7F7;
  font-family: 'Roboto', Arial, sans-serif;
  color: #3d3321;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #8F711D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #375B45;
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.25em;
}
strong, b {
  font-weight: 700;
}
hr {
  height: 1px;
  border: none;
  background: #b8aa7e40;
  margin: 24px 0;
}

/* -------------- VINTAGE RETRO VARIABLES & COLOR SCHEME -------------- */
:root {
  --vintage-dark: #2D2B23;
  --vintage-bg: #F8F4E3;
  --vintage-green: #375B45; /* brand primary */
  --vintage-accent: #BCA470;
  --vintage-highlight: #8F711D; /* updated brand accent */
  --vintage-cream: #FAEDD6;
  --vintage-red: #C8795C;
  --vintage-blue: #6386A0;
  --vintage-shadow: rgba(60, 40, 2, 0.08);
  --retro-outline: #eedca4;
  --retro-card-border: #bca470; 
  --retro-focus-ring: #BCA47044;
  --white: #fff;
  --black: #272110;
  --dark-text: #2D2B23;
}

/* ----------- TYPOGRAPHY VINTAGE / RETRO ----------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--vintage-green);
  margin-bottom: 0.6em;
  font-weight: 700;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 0.7em;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 0 var(--retro-outline), 0 4px 16px #BCA47015;
}
h2 {
  font-size: 1.7rem;
  letter-spacing: 0.01em;
}
h3 {
  font-size: 1.2rem;
  color: var(--vintage-highlight);
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--vintage-dark);
  font-size: 1.07rem;
  margin-bottom: 1.5em;
}
p, li {
  font-size: 1rem;
  color: var(--vintage-dark);
}

@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1rem; }
  p, li { font-size: 0.97rem; }
}

/* -------------- LAYOUT STRUCTURE -------------- */
.container {
  width: 100%;
  max-width: 1080px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--vintage-bg);
  border-radius: 12px;
}

@media (min-width: 900px) {
  .content-wrapper {
    flex-direction: row;
    gap: 30px;
  }
}

/* -------------- HEADER & NAVIGATION -------------- */
header {
  background: var(--vintage-green);
  color: #fff;
  box-shadow: 0 2px 8px var(--vintage-shadow);
  border-bottom: 6px solid var(--vintage-accent);
}
.logo img {
  height: 44px;
  width: auto;
  margin-right: 12px;
  filter: drop-shadow(2px 4px 0 var(--retro-outline));
  vertical-align: middle;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 24px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--vintage-cream);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 5px 4px;
  border-radius: 4px;
  transition: background 0.18s, color 0.17s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--vintage-green);
  background: var(--vintage-accent);
  outline: 2px dashed var(--vintage-highlight);
}
.header .cta.primary {
  margin-left: 28px;
}

/* MOBILE BURGER BUTTON */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--vintage-bg);
  border: none;
  font-size: 2rem;
  line-height: 1;
  padding: 0 12px;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--retro-focus-ring);
}

@media (max-width: 950px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}


/* -------------- MOBILE MENU OVERLAY -------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--vintage-bg);
  z-index: 1040;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.72,-0.02,.32,1.04);
  box-shadow: 0 0 0 9999px rgba(40,24,3,.21), 0 3px 28px var(--vintage-shadow);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  font-size: 2.2rem;
  color: var(--vintage-green);
  border: none;
  margin: 28px 26px 0 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--vintage-highlight);
  outline: 2px dashed var(--vintage-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin: 60px 0 0 30px;
  gap: 24px;
}
.mobile-nav a {
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--vintage-green);
  padding: 8px 0;
  letter-spacing: 0.012em;
  transition: color 0.13s, background 0.2s;
  border-bottom: 2px solid transparent;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--vintage-accent);
  color: var(--vintage-highlight);
  border-bottom: 2px solid var(--vintage-highlight);
  outline: 0;
}

@media (max-width: 600px) {
  .mobile-nav {
    margin-left: 15px;
  }
}

/* ----------- CTA BUTTONS ----------- */
.cta.primary, button.cta.primary {
  font-family: 'Montserrat', Arial, sans-serif;
  display: inline-block;
  background: var(--vintage-highlight);
  color: #fff !important;
  font-weight: 700;
  border: none;
  border-radius: 32px;
  box-shadow: 0 2px 8px var(--vintage-shadow);
  padding: 0.72em 2.65em;
  margin-top: 10px;
  font-size: 1rem;
  letter-spacing: .03em;
  cursor: pointer;
  outline: none;
  transition: background 0.21s, transform 0.12s, box-shadow 0.18s;
  position: relative;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--vintage-green);
  color: #fff;
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 6px 18px var(--vintage-shadow);
}

/* ---------- SECTIONS LAYOUT: COMMON ---------- */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.hero {
  background: var(--vintage-cream);
  border-bottom: 2px solid var(--retro-outline);
  position: relative;
}
@media (min-width: 900px) {
  .hero .content-wrapper {
    flex-direction: row;
    align-items: center;
    gap: 50px;
  }
}
.features, .services, .testimonials, .about, .contact, .cta, .about-home, .contact-info, .legal, .confirmation {
  background: var(--vintage-bg);
  margin-bottom: 58px;
  padding: 40px 0px;
  border-radius: 12px;
  box-shadow: 0 1px 10px var(--vintage-shadow);
}

.card-container, .feature-grid, .card-grid, .workshop-list, .service-list, .content-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  width: 100%;
}
.card {
  background: var(--white);
  border: 1.5px solid var(--retro-card-border);
  padding: 24px 20px;
  border-radius: 14px;
  box-shadow: 0 1.5px 11px var(--vintage-shadow);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .16s, transform .12s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 30px var(--vintage-shadow);
  border-color: var(--vintage-highlight);
  transform: translateY(-2px) scale(1.02);
}

@media (max-width: 786px) {
  .card-container, .feature-grid, .card-grid, .workshop-list, .service-list, .content-grid, .service-grid {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper {
    flex-direction: column !important;
    gap: 18px;
  }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}

/* ---------- SERVICE CARDS ---------- */
.service-card {
  background: var(--vintage-cream);
  border: 1.5px solid var(--vintage-accent);
  border-radius: 13px;
  padding: 22px 18px 18px 22px;
  box-shadow: 0 2px 12px var(--vintage-shadow);
  min-width: 230px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  position: relative;
  transition: border-color 0.15s, box-shadow 0.18s, transform 0.18s;
}
.service-card:hover, .service-card:focus {
  border-color: var(--vintage-highlight);
  box-shadow: 0 8px 24px var(--vintage-shadow);
  transform: scale(1.03);
  z-index: 2;
}
.price {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--vintage-green);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0.6em 0 0 0;
  display: block;
}

@media (max-width: 600px) {
  .service-card { min-width: 0; flex: 1; }
}

/* --------- FOOTER --------- */
footer {
  background: var(--vintage-green);
  color: var(--white);
  padding: 38px 0 0 0;
  border-top: 6px solid var(--vintage-accent);
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 14px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
}
.footer-brand img {
  width: 48px;
  height: 48px;
}
.footer-contact, .footer-menu, .social-links {
  font-size: 1rem;
  line-height: 1.5;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-menu a {
  color: var(--vintage-cream);
  transition: color 0.21s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--vintage-highlight);
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 4px;
}
.social-links a img {
  width: 28px;
  height: 28px;
  transition: transform 0.2s;
}
.social-links a:hover img, .social-links a:focus img {
  transform: rotate(-5deg) scale(1.15);
  filter: brightness(0.95) drop-shadow(2px 3px 0 var(--retro-outline));
}

@media (max-width: 850px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* ---------- TESTIMONIALS & CARDS ---------- */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-top: 26px;
}
.testimonial-card {
  background: var(--white);
  border: 1.5px solid var(--vintage-accent);
  border-radius: 16px;
  box-shadow: 0 3px 16px var(--vintage-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px 20px 24px;
  min-width: 220px;
  max-width: 355px;
  flex: 1 1 305px;
  margin-bottom: 20px;
  position: relative;
  transition: border-color 0.12s, box-shadow 0.17s, transform 0.11s;
}
.testimonial-card p {
  color: var(--dark-text);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  font-style: italic;
}
.testimonial-card span {
  color: var(--vintage-green);
  font-size: .97rem;
  font-weight: 700;
}
.star-rating {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--vintage-highlight);
  font-size: 1.09em;
  letter-spacing: 0.03em;
}
.testimonial-card:hover, .testimonial-card:focus {
  border-color: var(--vintage-highlight);
  box-shadow: 0 12px 32px var(--vintage-shadow);
  transform: scale(1.03);
}

@media (max-width: 900px) {
  .testimonials .content-wrapper { flex-direction: column; gap: 18px; }
  .testimonial-card { max-width: 100%; }
}

/* ---------- TABLES, LISTS, LEGAL ---------- */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.2em 0 2em 0;
  font-size: 1em;
  background: #fff9e7;
  font-family: 'Roboto', Arial, sans-serif;
}
thead, th {
  background: var(--vintage-accent);
  color: var(--vintage-green);
  font-family: 'Montserrat', Arial, sans-serif;
}
th, td {
  border: 1.2px solid var(--vintage-accent);
  padding: 10px 8px;
  text-align: left;
}
ul, ol {
  margin-bottom: 1.2em;
  padding-left: 1.2em;
}
li {
  margin-bottom: 0.65em;
  line-height: 1.5;
  position: relative;
}
ul li::before {
  content: '◆';
  color: var(--vintage-highlight);
  margin-right: 9px;
  font-size: 0.85em;
  vertical-align: middle;
  font-family: 'Montserrat', Arial, sans-serif;
}

.legal, .confirmation {
  background: var(--vintage-bg);
  border-radius: 12px;
}
.legal h1, .confirmation h1 {
  font-size: 2rem;
  color: var(--vintage-green);
  margin-bottom: 1em;
}

/* ----------- MISCELLANEOUS ----------- */
::-webkit-scrollbar {
  width: 10px;
  background: var(--vintage-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--vintage-accent);
  border-radius: 8px;
}

input, select, textarea, button {
  font-family: inherit;
  outline: none;
}
button:focus, a:focus {
  outline: 2px solid var(--retro-focus-ring);
  outline-offset: 2px;
}

/* -------------- COOKIE BANNER -------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff9e7;
  color: var(--dark-text);
  border-top: 2.5px solid var(--vintage-accent);
  z-index: 1050;
  box-shadow: 0 -8px 36px -16px var(--vintage-shadow);
  padding: 22px 20px 22px 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 1em;
  animation: banner-in 0.85s ease;
}
@keyframes banner-in {
  from { transform: translateY(100%); opacity: 0;} 
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 2 1 380px;
  min-width: 250px;
  margin: 0 0 11px 0;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex: 1;
  min-width: 180px;
}
.cookie-btn, .cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 24px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  background: var(--vintage-highlight);
  color: #fff;
  box-shadow: 0 2px 8px var(--vintage-shadow);
  cursor: pointer;
  margin-right: 8px;
  transition: background .14s, box-shadow .16s, color .18s;
}
.cookie-btn.reject {
  background: var(--vintage-red);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--vintage-green);
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--vintage-green);
  color: #ffe;
  box-shadow: 0 8px 22px var(--vintage-shadow);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #c86c4b;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--vintage-highlight);
}

@media (max-width: 540px) {
  .cookie-banner { flex-direction: column; gap: 16px; }
  .cookie-banner__actions { justify-content: flex-start; }
}

/* COOKIE MODAL (Settings) */
.cookie-modal-overlay {
  position: fixed;
  inset: 0 0 0 0;
  background: rgba(235,215,164,0.77);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.15s;
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--vintage-bg);
  min-width: 314px;
  max-width: 92vw;
  border-radius: 16px;
  box-shadow: 0 2px 38px var(--vintage-shadow);
  padding: 32px 27px 26px 27px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 26px;
  animation: pop-in 0.29s cubic-bezier(.38,-0.23,.62,1.12);
  position: relative;
}
@keyframes pop-in {
  0% { opacity: 0; transform: translateY(44px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.37rem;
  margin-bottom: 6px;
  color: var(--vintage-green);
}
.cookie-modal label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: .97rem;
  margin-left: 8px;
}
.cookie-option-list {
  margin: 10px 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--vintage-green);
  width: 18px;
  height: 18px;
}
.cookie-modal .close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.88rem;
  color: var(--vintage-green);
  cursor: pointer;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  color: var(--vintage-highlight);
  outline: 2px solid var(--vintage-accent);
}
.cookie-modal .cookie-btn {
  margin-top: 14px;
}

@media (max-width: 420px) {
  .cookie-modal { padding: 20px 7px 17px 7px; }
}

/* --------------- ANIMATIONS / MICROINTERACTIONS --------------- */
.cta.primary, .cookie-btn, .service-card, .testimonial-card, .main-nav a, .card {
  transition: background .19s, color .17s, border-color .16s, box-shadow .19s, transform .13s;
}

/* --------------- RETRO/NOSTALGIC PATTERNS --------------- */
/* Subtle pattern for sections */
.section, .features, .services, .testimonials, .cta, .about-home, .legal, .confirmation {
  background-image: repeating-linear-gradient(135deg, transparent, transparent 34px, #F2E3B2 36px, #F2E3B2 40px),
                    repeating-linear-gradient(45deg, transparent, transparent 27px, #E2CFAC 29px, #E2CFAC 31px);
}

/* Decorative lines under h2 for vintage touch */
h2 {
  position: relative;
}
h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  background: var(--vintage-highlight);
  opacity: 0.32;
  border-radius: 1.5px;
  margin: 8px 0 0 0;
}

/* --------------- RESPONSIVE --------------- */
@media (max-width: 1050px) {
  .container { padding: 0 8px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.19rem; }
  h2 { font-size: 1.02rem; }
  h3 { font-size: 0.97rem; }
  .content-wrapper, .section, .features, .services, .testimonials, .cta, .about-home, .contact-info, .legal, .confirmation {
    padding: 24px 0 24px 0;
    margin-bottom: 30px;
    border-radius: 8px;
  }
  .card, .service-card, .testimonial-card { padding: 15px 9px; }
  .mobile-menu {
    padding: 0 0 0 0;
  }
}

/* --------------- VISUAL IMPROVEMENTS FOR RETRO EFFECT --------------- */
.card, .service-card, .testimonial-card {
  border-radius: 13px 13px 20px 13px;
  border: 2px solid var(--retro-card-border);
  background: repeating-linear-gradient(120deg, #fff, #fff 120px, #fcf8ed 140px, #fcf8ed 160px);
  box-shadow: 0 3px 16px var(--vintage-shadow), 0 1.5px 0 #e2cfac inset;
}

/* --------------- FOCUSED/ACCESSIBILITY STYLES --------------- */
:focus-visible {
  outline: 2.5px dashed var(--vintage-accent);
  outline-offset: 2px;
}

/* ENFORCE GAPS AND FLEXBOX LAYOUTS */
.section, .card-container, .card, .content-grid, .text-image-section, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}
.card-container, .content-grid, .feature-grid, .service-grid, .workshop-list, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  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; align-items: flex-start; gap: 20px; }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.content-grid { gap: 20px; }

/* Disable grid/column properties per requirements - none used above */
/* No display:grid, grid-*, column-*, break-inside used anywhere */

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