/* CSS RESET & NORMALIZATION */
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, menu, 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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #F5E6C8;
  color: #174346;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #B82528;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #174346;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 24px;
}
li {
  margin-bottom: 10px;
  line-height: 1.7;
}
strong {
  font-weight: bold;
}

/* FONT-FACE for vintage/retro style fonts */
@import url('https://fonts.googleapis.com/css?family=Merriweather:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* COLOR PALETTE (retro/vintage inspired extension) */
:root {
  --primary: #174346;
  --secondary: #F5E6C8;
  --background: #F5E6C8;
  --accent: #B82528;
  --vintage-gold: #E1B97A;
  --vintage-brown: #8F6E45;
  --vintage-green: #3B715C;
  --vintage-blue: #578a99;
  --white: #ffffff;
  --black: #28221c;
}

/* BASE CONTAINER */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: var(--primary);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  line-height: 1.15;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 24px;
  text-shadow: 1px 1px 0 var(--vintage-gold);
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  text-shadow: 1px 1px 0 var(--vintage-gold);
  text-transform: uppercase;
}
h3 {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 10px;
  text-shadow: 0.5px 0.5px 0 var(--vintage-gold);
  text-transform: uppercase;
}
.subheadline {
  font-size: 1.2rem;
  color: var(--vintage-brown);
  margin-bottom: 18px;
  font-weight: 500;
}
p {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.author {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  color: var(--accent);
  font-weight: 700;
  margin-top: 8px;
  letter-spacing: 0.05em;
}

/* LAYOUT: FLEX PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(24,17,6,0.06);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  box-shadow: 0 2px 12px 0 rgba(39,36,27,0.07);
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px;
  min-width: 260px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 24px 0 rgba(39,36,27,0.14);
  transform: translateY(-5px) scale(1.03);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-left: 8px solid var(--accent);
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(88,60,26,0.06);
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 400px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px 0 rgba(88,60,26,0.17);
  transform: scale(1.025);
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURE CARD GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  justify-content: flex-start;
}
.feature {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(88,60,26,0.09);
  border: 2px dashed var(--vintage-gold);
  padding: 24px 20px 18px 20px;
  min-width: 225px;
  max-width: 300px;
  flex: 1 1 225px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.21s, transform 0.15s;
  position: relative;
}
.feature img {
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  filter: sepia(0.32) hue-rotate(-10deg) saturate(0.7);
}
.feature:hover {
  box-shadow: 0 4px 24px 0 rgba(139,66,39,0.17);
  transform: scale(1.035);
}
.feature h3 {
  color: var(--accent);
  font-size: 1.17rem;
  margin-bottom: 8px;
  text-shadow: 0.5px 0.5px 0 var(--vintage-gold);
}

/* RETRO PATTERNS: POLKA-DOTS & HERRINGBONE (as backgrounds) */
.section, .hero, .footer {
  background-image: repeating-linear-gradient(135deg, transparent, transparent 19px, #efdbb7 21px, transparent 22px),
    radial-gradient(circle at 6px 6px, #e1b97a 1px, transparent 7px);
  background-size: 34px 34px, 22px 22px;
  background-repeat: repeat;
  background-position: 0 0, 0 0;
}
.hero {
  background: var(--background);
  background-image: linear-gradient(135deg, #f5e6c8 86%, #e1b97a 100%);
  border-radius: 0 0 26px 26px;
  box-shadow: 0 10px 36px 0 rgba(88,60,26,0.11);
  min-height: 280px;
  margin-bottom: 60px;
  padding: 44px 0 40px 0;
}

/* HEADER & NAVIGATION */
header {
  background: var(--primary);
  border-bottom: 4px solid var(--accent);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding-top: 0;
  padding-bottom: 0;
}
.logo img {
  height: 54px;
  width: auto;
  margin-right: 12px;
}
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  color: var(--secondary);
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  padding: 2px 0;
  position: relative;
  transition: color 0.17s;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  background: var(--accent);
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  transform: scaleX(0);
  transition: transform 0.2s;
  border-radius: 2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
}
.main-nav a:hover:after, .main-nav a:focus:after {
  transform: scaleX(1);
}
.btn-primary {
  font-family: 'Merriweather', Georgia, serif;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 32px 16px 32px 16px;
  padding: 12px 32px;
  font-size: 1.09rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 3px rgba(24,67,70,0.15);
  box-shadow: 0 3px 12px rgba(184,37,40,0.13);
  cursor: pointer;
  transition: background 0.21s, color 0.15s, box-shadow 0.18s, transform 0.15s;
  margin-left: 24px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 4px 24px rgba(184,37,40,0.19);
  transform: translateY(-2px) scale(1.05);
  outline: none;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 7px;
  font-size: 2.2rem;
  padding: 2px 16px 4px 16px;
  margin-left: 12px;
  cursor: pointer;
  z-index: 1020;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--primary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--secondary);
  z-index: 1300;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  box-shadow: 4px 0 32px 0 rgba(27,20,13,0.19);
  padding: 34px 26px 20px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--accent);
  color: var(--white);
  border: none;
  font-size: 2.0rem;
  border-radius: 7px;
  align-self: flex-end;
  margin-bottom: 22px;
  padding: 1px 14px 2px 14px;
  cursor: pointer;
  z-index: 1400;
  transition: background 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Merriweather', serif;
  font-weight: bold;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  padding: 13px 0 9px 0;
  border-bottom: 1px dashed var(--vintage-gold);
  transition: color 0.13s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--accent);
  background: var(--vintage-gold);
  outline: none;
}


/* HERO SECTION */
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 0 0 0;
  gap: 12px;
}

/* CTA SECTION (Call To Action) */
.cta {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  border-radius: 26px;
  box-shadow: 0 4px 24px 0 rgba(184,37,40,0.13);
}
.cta h2 {
  color: var(--white);
  text-shadow: 1px 1px 0 #95302F;
}
.cta .btn-primary {
  background: var(--primary);
  color: var(--accent);
  margin: 0 auto;
}
.cta .btn-primary:hover {
  background: var(--white);
  color: var(--primary);
}

/* ABOUT, SERVICES, CONTACT DETAILS */
.about, .services, .contact {
  background: var(--background);
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(51,38,12,0.04);
}
.contact-details {
  list-style: none;
  padding: 0;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.contact-details li {
  display: flex;
  align-items: center;
  font-size: 1.07rem;
  color: var(--vintage-green);
  font-weight: 500;
  gap: 12px;
}
.contact-details img {
  height: 24px;
  width: 24px;
}

/* FOOTER */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 36px 0 24px 0;
  width: 100%;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
}
footer .logo img {
  height: 38px;
  margin-right: 0;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: var(--white);
  font-family: 'Merriweather', serif;
  font-size: 1.06rem;
  text-decoration: none;
  transition: color 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--vintage-gold);
  text-decoration: underline;
}
.footer-contact {
  font-size: 0.95rem;
  color: #e6e0d9;
  max-width: 240px;
  margin-top: 10px;
  letter-spacing: 0.01em;
}

/* PAGINATION or OL/LIST RESETS */
ol, ul {
  color: var(--primary);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  margin-left: 18px;
  margin-bottom: 20px;
}

/* FORMS (for future expansion) */
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 14px;
  border: 1.5px solid var(--vintage-gold);
  border-radius: 7px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 1px 5px 0 rgba(39,34,28,0.04);
  transition: border 0.14s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  outline: none;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--primary);
  box-shadow: 0 -3px 16px 0 rgba(15,11,7,0.22);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
  z-index: 1800;
  padding: 26px 16px 22px 16px;
  animation: cookieBannerIn 0.7s cubic-bezier(.85,0,.16,1) both;
}
@keyframes cookieBannerIn {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 1.04rem;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  border: none;
  border-radius: 12px 5px 12px 5px;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: bold;
  letter-spacing: 0.03em;
  padding: 9px 26px;
  cursor: pointer;
  font-size: 1rem;
  background: var(--accent);
  color: var(--white);
  margin-right: 3px;
  transition: background 0.13s, color 0.11s, box-shadow 0.14s, transform 0.08s;
  box-shadow: 0 2px 9px 0 rgba(184,37,40,0.11);
}
.cookie-btn.settings {
  background: var(--vintage-gold);
  color: var(--primary);
}
.cookie-btn:focus, .cookie-btn:hover {
  background: var(--white);
  color: var(--accent);
  box-shadow: 0 4px 19px 0 rgba(24,67,70,0.20);
  outline: none;
  transform: translateY(-2px) scale(1.04);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--primary);
  color: var(--vintage-gold);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(23,67,70,0.55);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.17s ease-in both;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 22px;
  min-width: 320px;
  max-width: 97vw;
  min-height: 240px;
  box-shadow: 0 8px 46px 0 rgba(23,67,70,0.23);
  padding: 38px 36px 30px 36px;
  border: 3px solid var(--vintage-gold);
  position: relative;
  z-index: 2150;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: modalIn 0.33s cubic-bezier(.6,0,.4,1) both;
}
@keyframes modalIn {
  0% { transform: translateY(90px) scale(.93); opacity: .5; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  color: var(--primary);
  margin-bottom: 14px;
}
.cookie-modal ul {
  margin-bottom: 22px;
}
.cookie-modal li {
  margin-bottom: 7px;
  font-size: 1.04rem;
  color: var(--vintage-brown);
}
.cookie-modal-close {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 1.18rem;
  padding: 3px 18px;
  position: absolute;
  top: 14px;
  right: 17px;
  cursor: pointer;
  z-index: 2156;
  transition: background 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 16px;
  width: 100%;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
}
.cookie-category label {
  font-weight: 500;
  color: var(--primary);
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--accent);
  width: 20px;
  height: 20px;
  margin: 0 7px 0 0;
}
.cookie-category input[disabled] + label {
  opacity: 0.62;
}

/* GENERAL BUTTONS (FORMS) */
button {
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  outline: none;
}

/* RESPONSIVE DESIGN - MOBILE-FIRST */
@media (max-width: 1024px) {
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .testimonial-list {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-nav, .footer-contact {
    margin-top: 16px;
  }
}
@media (max-width: 900px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .features .container, .feature-grid, .testimonial-list {
    flex-direction: column;
    gap: 18px;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.24rem; }
  .section, .hero, .about, .services, .cta {
    padding: 31px 8px 30px 8px;
    margin-bottom: 36px;
  }
  .footer-contact, .footer-nav {
    font-size: 0.96rem;
  }
  .hero {
    min-height: 180px;
    border-radius: 0 0 19px 19px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .btn-primary {
    margin-left: 0;
    margin-top: 8px;
  }
  .container {
    max-width: 99vw;
  }
  .content-grid, .feature-grid, .testimonial-list, .card-container, .footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .testimonial-card, .feature {
    max-width: 99vw;
    min-width: 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 545px) {
  .footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
  }
  .footer-contact {
    font-size: 0.92rem;
    max-width: 100%;
  }
  .cookie-modal {
    padding: 18px 7px 18px 14px;
    min-width: 220px;
  }
}

/* RETRO DETAILS (decor lines, various ornaments) */
h2:before, h2:after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  width: 38px;
  margin: 0 16px 5px 0;
}
h2:after {
  margin: 0 0 5px 16px;
}
h2 {
  display: flex;
  align-items: center;
}

/* MICRO-INTERACTIONS */
.card, .feature, .testimonial-card, .btn-primary {
  transition: box-shadow 0.14s, transform 0.13s, color 0.14s, background 0.14s;
}

/* FOLKLORIC ACCENTS (e.g. for certain cards/sections, for further design expansion) */
.feature:before {
  content: '';
  position: absolute;
  top: -13px; left: 11px; width: 35px; height: 10px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px), repeating-linear-gradient(90deg, var(--vintage-gold) 0 4px, transparent 4px 8px);
  opacity: 0.24;
  border-radius: 4px;
  z-index: 0;
}
.feature:after {
  content: '';
  position: absolute;
  bottom: -13px; right: 11px; width: 35px; height: 10px;
  background: repeating-linear-gradient(90deg, var(--vintage-brown) 0 3px, transparent 3px 7px), repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 8px);
  opacity: 0.19;
  border-radius: 4px;
  z-index: 0;
}

/* SCROLLBAR: subtle retro touch */
::-webkit-scrollbar {
  width: 13px;
  background: var(--background);
}
::-webkit-scrollbar-thumb {
  background: var(--vintage-gold);
  border-radius: 11px;
  border: 3px solid var(--background);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ACCESSIBILITY/CONTRAST ENFORCEMENTS */
.testimonial-card p, .testimonial-card .author {
  color: #28221c;
  text-shadow: 0 2px 8px rgba(241,216,182,0.10);
}

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

/* PREVENTING OVERLAPS & ENSURING BREATHABILITY */
.section, .hero, .about, .services, .features, .footer, .cta {
  margin-bottom: 60px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/***************************/
/* END OF MAIN THEME CSS   */
/***************************/