/* ------ CSS RESET ------ */
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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F4E9E2;
  color: #251D17;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
  border: 0;
}

ul, ol {
  margin-left: 1.2em;
}

*, *:before, *:after {
  box-sizing: inherit;
}

a {
  color: #12376B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C13D2C;
  text-decoration: underline;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
button {
  cursor: pointer;
}

/* ------ VINTAGE RETRO COLOR PALETTE ------ */
:root {
  --primary: #12376B;
  --secondary: #1FC9C3;
  --accent: #F7F9FB;
  --retro-blue: #466995;
  --retro-yellow: #FFD979;
  --retro-red: #C13D2C;
  --retro-brown: #7C5430;
  --retro-beige: #F4E9E2;
  --retro-green: #629488;
  --white: #fff;
  --black: #231f20;
}

/* ------ TYPOGRAPHY (VINTAGE-INSPIRED) ------ */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  color: #231f20;
  margin-bottom: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 0 #FFD979, 1px 1px 0 #fff2d8;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}
p {
  font-size: 1rem;
  color: #3d3022;
  margin-bottom: 14px;
}
strong, b {
  font-weight: bold;
  color: #C13D2C;
}

/* Vintage section styling */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--retro-beige);
  border-radius: 18px;
  box-shadow: 0 6px 28px -12px rgba(137, 94, 63, 0.12);
  border: 2px solid #FFD979;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ------- HEADER & NAVIGATION --------- */
header {
  background: var(--retro-yellow);
  box-shadow: 0 6px 24px -10px #e3b55a65;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 8px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: var(--primary);
  padding: 5px 12px;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--retro-red);
  color: #fff;
  text-decoration: none;
}

.cta-btn {
  display: inline-block;
  background: var(--retro-blue);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: 16px;
  padding: 10px 32px;
  box-shadow: 0 3px 15px -4px #46699560;
  margin-left: 18px;
  letter-spacing: 0.04em;
  border: 2px solid #7C5430;
  text-shadow: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.2s, transform 0.1s;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--retro-brown);
  color: #FFD979;
  box-shadow: 0 6px 28px -6px #231f207a;
  transform: translateY(-2px) scale(1.03);
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
  background: var(--retro-red);
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 2px solid #7C5430;
  margin-left: 10px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #1FC9C3;
  color: #231f20;
  border-color: #FFD979;
}

/* ------ MOBILE MENU ------ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 100vh;
  background: #FFD979;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.65,0,.35,1);
  box-shadow: -6px 0 36px -8px #7C543065;
  padding: 0 28px;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -4px 0 40px -4px #12376b45;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--retro-red);
  color: #fff;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  margin-top: 18px;
  margin-bottom: 24px;
  border: 2px solid #fff;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #7C5430;
  color: #FFD979;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: var(--primary);
  padding: 10px 0;
  font-family: 'Montserrat', sans-serif;
  transition: color 0.15s;
  border-radius: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #C13D2C;
  text-decoration: none;
  font-weight: bold;
}

/* ------ HERO SECTION ------ */
.hero {
  background: repeating-linear-gradient(135deg, #FFD979, #FFD979 15px, #F4E9E2 15px, #F4E9E2 30px);
  border: 2px solid #7C543040;
  box-shadow: 0 12px 48px -18px #FFD97969;
  border-radius: 0 0 40px 40px;
  margin-bottom: 60px;
  padding-top: 56px;
  padding-bottom: 56px;
  position: relative;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero h1 {
  color: #12376B;
  text-shadow: 0 2px 0 #F4E9E2, 1px 2px 0 #FFD979;
}
.hero p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  max-width: 500px;
  color: #7C5430;
  padding-bottom: 12px;
  letter-spacing: 0.02em;
}
.hero .cta-btn {
  margin-top: 16px;
  background: #C13D2C;
  color: #fff;
  border: 2px solid #FFD979;
}
.hero .cta-btn:hover, .hero .cta-btn:focus {
  background: #FFD979;
  color: #C13D2C;
  border-color: #C13D2C;
}

/* --------- FEATURE GRID, CARDS --------- */
.feature-grid, .card-container, .content-grid, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-box, .card {
  background: #fff6e7;
  border: 2px solid #FFD979;
  border-radius: 18px;
  box-shadow: 0 4px 18px -8px #7C543025;
  padding: 24px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  min-width: 0;
  position: relative;
  transition: box-shadow 0.2s, transform 0.11s;
}
.feature-box:hover, .card:hover {
  box-shadow: 0 8px 30px -6px #7C543045;
  transform: translateY(-4px) scale(1.025);
}
.feature-box h3 {
  font-size: 1.16rem;
  color: #12376B;
  text-shadow: 0 1px 0 #FFD979;
  margin-bottom: 8px;
}
.feature-box p {
  font-size: 1rem;
  margin-bottom: 0;
  color: #3d3022;
}
.feature-box img {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  filter: sepia(0.35) contrast(1.2) hue-rotate(-12deg);
}

/* --------- TESTIMONIALS --------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 25px 30px 22px 30px;
  background: #fff;
  border: 3px double #FFD979;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px -4px #FFD97985;
  font-style: italic;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  color: #251D17;
  font-size: 1.1rem;
}
.testimonial-card strong {
  font-style: normal;
  color: var(--retro-red);
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 30px -5px #FFD97942;
  border-color: #C13D2C;
}

/* --------- FOOTER --------- */
footer {
  background: var(--primary);
  color: #fff;
  font-family: 'Roboto', sans-serif;
  padding: 0;
  margin-top: 64px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 10px 0;
}
.footer-top img {
  width: 58px;
  height: auto;
}
.footer-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.footer-nav a {
  color: #FFD979;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  transition: color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #1FC9C3;
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #FFD97933;
  padding: 16px 0 24px 0;
  font-size: 0.94em;
}
.footer-bottom img {
  vertical-align: middle;
  margin-right: 8px;
  width: 19px;
  height: 19px;
  filter: sepia(0.3) saturate(1.3) brightness(0.95) hue-rotate(-18deg);
}

/* -------- UL, OL --------- */
ul, ol {
  padding-left: 24px;
  margin-bottom: 14px;
  color: #3d3022;
}
ul li, ol li {
  margin-bottom: 8px;
  position: relative;
  font-size: 1rem;
}
ul li::before {
  content: '\25A0';
  color: #FFD979;
  font-size: 0.8em;
  margin-right: 10px;
  position: relative;
  top: -1px;
  left: -2px;
}

/* -------- ADDRESS --------- */
address {
  font-style: normal;
  color: #251D17;
  font-size: 1.05rem;
}
address a {
  color: #C13D2C;
  text-decoration: none;
  transition: color 0.15s;
}
address a:hover, address a:focus {
  color: #12376B;
  text-decoration: underline;
}

/* -------- CATEGORY FILTER --------- */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}
.category-filter a {
  background: #FFD979;
  color: #12376B;
  font-family: 'Montserrat', sans-serif;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 1rem;
  border: 2px solid #FFD979;
  box-shadow: 0 1px 4px -2px #FFD97942;
  transition: background 0.16s, color 0.16s, border 0.13s;
}
.category-filter a:hover, .category-filter a:focus {
  background: #C13D2C;
  color: #fff;
  border-color: #C13D2C;
}

/* -------- SECTION / CARD PATTERNS --------- */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --------- CTA BANNER ---------- */
.section .cta-btn, section .cta-btn {
  margin-top: 12px;
}

/* ------- COOKIE CONSENT BANNER & MODAL --------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FFD979;
  color: #231f20;
  box-shadow: 0 -3px 18px -8px #c13d2c25;
  z-index: 20000;
  padding: 18px 18px 18px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  letter-spacing: 0.01em;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.08rem;
  animation: cookieBannerFadeIn 0.7s cubic-bezier(.65,0,.35,1);
}
@keyframes cookieBannerFadeIn {
  from { transform: translateY(120%); opacity: 0; } 
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn {
  background: var(--retro-blue);
  color: #fff;
  border-radius: 14px;
  border: 2px solid #7C5430;
  margin-left: 8px;
  font-size: 1rem;
  padding: 8px 20px;
  margin-bottom: 0;
  font-family: 'Montserrat', sans-serif;
  transition: background 0.15s, color 0.13s, border 0.12s;
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  color: #7C5430;
  border-color: #FFD979;
}
.cookie-banner .cookie-btn.accept {
  background: #7C5430;
  color: #FFD979;
}
.cookie-banner .cookie-btn.reject {
  background: #C13D2C;
  color: #fff;
  border-color: #FFD979;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #C13D2C;
  color: #FFD979;
  border-color: #7C5430;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36,28,22,0.74);
  z-index: 25000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.28s cubic-bezier(.65,0,.35,1);
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff6e7;
  color: #251D17;
  border-radius: 20px;
  padding: 38px 32px 24px 32px;
  max-width: 420px;
  width: 94vw;
  box-shadow: 0 8px 40px -8px #FFD97978;
  border: 2.5px solid #FFD979;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalContentFade 0.35s cubic-bezier(.62,0,.38,1);
}
@keyframes modalContentFade {
  from { transform: translateY(30px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1.0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #12376B;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cookie-modal .cookie-toggle {
  width: 48px;
  height: 26px;
  border-radius: 16px;
  background: #FFD979;
  border: 1.2px solid #C13D2C;
  position: relative;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal .cookie-toggle[data-on="true"] {
  background: #C13D2C;
}
.cookie-modal .cookie-toggle .circle {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
}
.cookie-modal .cookie-toggle[data-on="true"] .circle {
  left: 24px;
}
.cookie-modal .cookie-close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  background: #C13D2C;
  color: #fff;
  border-radius: 8px;
  border: none;
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.13s;
}
.cookie-modal .cookie-close-btn:hover { background: #FFD979; color: #C13D2C; }

.cookie-modal .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  background: var(--retro-blue);
  color: #fff;
  border-radius: 14px;
  border: 2px solid #7C5430;
  font-size: 1rem;
  padding: 8px 18px;
  font-family: 'Montserrat', sans-serif;
  transition: background 0.15s, color 0.13s, border 0.12s;
}
.cookie-modal .cookie-btn.accept {
  background: #7C5430;
  color: #FFD979;
}
.cookie-modal .cookie-btn.reject {
  background: #C13D2C;
  color: #fff;
}
.cookie-modal .cookie-btn.settings {
  background: #fff;
  color: #7C5430;
}
.cookie-modal .cookie-btn:hover {
  background: #FFD979;
  color: #C13D2C;
}

/* ------- FORMS -------- */
input, textarea, select {
  background: #fff;
  border: 2px solid #FFD979;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #251D17;
  transition: border 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #C13D2C;
}
label {
  font-size: 1rem;
  color: #7C5430;
  margin-bottom: 6px;
  display: block;
}

/* ------ RESPONSIVE DESIGN (MOBILE-FIRST) ------ */
@media (max-width: 1024px) {
  header .container {
    flex-direction: row;
    gap: 8px;
  }
  .main-nav {
    gap: 16px;
  }
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .feature-grid, .content-grid, .card-container {
    gap: 18px;
  }
  .footer-nav {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.28rem; }
  h3 { font-size: 1.05rem; }
  .hero {
    padding-top: 36px;
    padding-bottom: 38px;
    border-radius: 0 0 16px 16px;
    margin-bottom: 38px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-grid, .content-grid, .card-container, .card-grid {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    padding: 16px 12px 14px 12px;
  }
  .footer-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    padding: 20px 0 6px 0;
  }
  .footer-nav {
    gap: 10px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.94em;
    padding: 12px 0 18px 0;
  }
  .section, section {
    padding: 18px 5vw;
    margin-bottom: 34px;
  }
  .category-filter {
    gap: 7px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 460px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1rem; }
  h3 { font-size: 0.98rem; }
  section, .section { padding: 10px 2vw; }
  .footer-top img {
    width: 40px;
    margin-bottom: 12px;
  }
  .footer-nav {
    font-size: 0.93em;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.93em;
    padding: 14px 5px;
    gap: 10px;
  }
  .cookie-modal {
    padding: 20px 7vw;
    max-width: 96vw;
  }
}

/* -------------- SCROLLBAR STYLE (retro!) --------- */
::-webkit-scrollbar {
  width: 10px;
  background: #FFD979;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb {
  background: #C13D2C;
  border-radius: 12px;
  border: 2px solid #FFD979;
}

/* ------ ANIMATIONS & MICRO-INTERACTIONS ------ */
.cta-btn, .feature-box, .card, .testimonial-card, .category-filter a, .footer-nav a {
  transition: box-shadow 0.18s, background 0.19s, color 0.13s, transform 0.15s;
}

.cta-btn:active, .feature-box:active, .category-filter a:active {
  transform: scale(0.98);
}

a:focus-visible, .cta-btn:focus-visible, .mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible {
  outline: 2.2px dashed #C13D2C;
  outline-offset: 3px;
}

/* ----- MISC RETRO ELEMENTS ----- */
section {
  background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><rect width="20" height="20" fill="%23F4E9E2"/><rect x="0" y="0" width="10" height="10" fill="%23FFD979" opacity="0.13"/><rect x="10" y="10" width="10" height="10" fill="%23FFD979" opacity="0.13"/></svg>');
  background-repeat: repeat;
  box-shadow: 0 4px 24px -10px #FFD97936;
}

/**********************************
  END OF STYLE.CSS
**********************************/
