/* ===== 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,
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;
}
/* Set base font and backgrounds for vintage_retro effect */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', 'Arial', sans-serif;
  background-color: #F2E8C9;
  color: #1D2233;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: #E55336;
  text-decoration: none;
  transition: color 0.18s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #1D2233;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  list-style-position: outside;
  padding-left: 1.2em;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}

/* ===== VINTAGE RETRO BRAND COLORS & ACCENTS ===== */
:root {
  --primary: #1D2233;
  --secondary: #F2E8C9;
  --accent: #E55336;
  --retro-orange: #E85940;
  --retro-blue: #3D4C6C;
  --retro-yellow: #FFE066;
  --retro-cream: #F0ECE2;
  --retro-green: #7EA16B;
  --retro-brown: #826550;
  --retro-shadow: rgba(30,28,31,0.12);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Verdana, sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: 0.015em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 1px 2px 0 #ffe0663d;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  text-shadow: 1px 1px 0 #ffe06629;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 { font-size: 1.1rem; margin-bottom: 8px; }
.subheadline {
  font-size: 1.12rem;
  color: var(--retro-brown);
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  font-family: 'Montserrat', 'Arial Black', Verdana, sans-serif;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #353535;
}
strong, b {
  font-weight: 700;
  color: var(--accent);
}
.text-section p {
  margin-bottom: 16px;
}
.text-section ul {
  margin-bottom: 24px;
}
.text-section li {
  margin-bottom: 10px;
}

/* Typography scale for retro headlines*/
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
}

/* ===== CONTAINERS & LAYOUTS ===== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  margin-bottom: 32px;
}

/* Section spacing as per requirements */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: var(--retro-cream);
  border-radius: 14px;
  box-shadow: 0 4px 24px var(--retro-shadow);
}

@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 32px;
  }
}

/* Flexbox-based Content Grids */
.card-container, .card-grid, .content-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: space-between;
}
.card-container {
  gap: 24px;
}
.card {
  background: var(--secondary);
  margin-bottom: 20px;
  padding: 28px 22px;
  border-radius: 16px;
  box-shadow: 0 4px 18px var(--retro-shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  max-width: 360px;
  transition: box-shadow 0.22s, transform 0.19s;
}
.card:hover { box-shadow: 0 8px 32px var(--accent); transform: translateY(-4px) scale(1.03); }

.content-grid { gap: 20px; }
.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;
  }
  .card-container, .features, .content-grid { flex-direction: column; gap: 20px; }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fffce9;
  padding: 22px 18px;
  border-radius: 10px;
  box-shadow: 0 2px 10px #d2a8752e;
  margin-bottom: 20px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--retro-yellow);
  border-bottom: 2px solid #e2c990;
  box-shadow: 0 2px 12px var(--retro-shadow);
  padding: 0 0 0 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo img {
  height: 48px;
  width: auto;
  filter: sepia(0.25) contrast(1.05) brightness(1.11);
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: 'Montserrat', 'Arial Black', Verdana, sans-serif;
  font-size: 1.03rem;
  color: var(--primary);
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: var(--accent);
  color: #fff;
}
.cta-primary {
  padding: 10px 28px;
  background: var(--accent);
  border-radius: 30px;
  color: #fff;
  font-family: 'Montserrat', 'Arial Black', Verdana, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  box-shadow: 0 2px 12px rgba(232,89,64,0.08);
  border: 2px solid var(--accent);
  transition: background 0.18s, color 0.18s, transform 0.15s, box-shadow 0.18s;
  display: inline-block;
  margin-left: 18px;
  text-shadow: 1px 1px 0 #bc4725;
}
.cta-primary:hover, .cta-primary:focus {
  background: #fff;
  color: var(--accent);
  border-color: var(--accent);
  transform: scale(1.06);
  text-decoration: none;
  box-shadow: 0 8px 22px #e8594020;
}
.cta-secondary {
  padding: 10px 24px;
  background: none;
  color: var(--primary);
  border: 2px solid var(--accent);
  border-radius: 30px;
  font-weight: bold;
  letter-spacing: 0.09em;
  transition: background 0.18s, color 0.18s, border 0.15s, transform 0.14s;
  font-family: 'Montserrat', 'Arial Black', Verdana, sans-serif;
  margin-top: 15px;
  display: inline-block;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: scale(1.04);
  text-decoration: none;
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--accent);
  background: none;
  border: none;
  margin-left: 12px;
  border-radius: 10px;
  padding: 4px 12px;
  transition: background 0.2s;
  z-index: 200;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--retro-yellow);
}
@media (max-width: 900px) {
  nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--retro-cream);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.77,.25,.68,1.25);
  padding-top: 34px;
  padding-left: 0;
  box-shadow: 3px 0 32px rgba(77,61,20,0.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.2rem;
  margin: 12px 24px 16px 0;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #1D2233;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  gap: 18px;
  margin-left: 18px;
}
.mobile-nav a {
  color: var(--primary);
  font-size: 1.25rem;
  font-family: 'Montserrat', 'Arial Black', Verdana, sans-serif;
  font-weight: 700;
  line-height: 2;
  padding: 12px 12px;
  margin-right: 22px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}
@media (max-width: 900px) {
  .mobile-menu { display: flex; }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* ===== MAIN ===== */
main {
  margin-bottom: 50px;
  width: 100%;
  min-height: 64vh;
}
section {
  margin-bottom: 48px;
  padding: 0;
}
@media (max-width: 768px) {
  main { margin-bottom: 28px; }
  section { margin-bottom: 28px; }
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding: 20px 24px;
  background: #fffef7;
  border-left: 6px solid var(--accent);
  border-radius: 13px;
  box-shadow: 0 2px 18px #e5533620;
  min-width: 220px;
  max-width: 640px;
}
.testimonial-card p {
  color: #232323;
  font-size: 1.06rem;
  margin-bottom: 0;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-author {
  color: #7EA16B;
  font-family: 'Montserrat', serif;
  font-weight: bold;
  letter-spacing: 0.025em;
  font-size: 1rem;
}

/* ===== FORMS (if any added in future) ===== */
input, textarea, select {
  border: 1.5px solid #DDC8A0;
  padding: 9px 13px;
  border-radius: 8px;
  background: #fff;
  outline: none;
  margin-bottom: 18px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
}

/* ===== FOOTER ===== */
footer {
  background: var(--retro-blue);
  color: #fffbe3;
  padding: 38px 0 14px 0;
  box-shadow: 0 -4px 16px #40311819;
  font-size: 0.97rem;
  border-top: 5px solid #FFE066;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
footer nav {
  display: flex;
  gap: 20px;
  margin-bottom: 4px;
}
footer nav a {
  color: #FFE066;
  font-family: 'Montserrat', 'Arial Black', Verdana, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-right: 0;
  transition: color 0.18s;
  border-radius: 7px;
  padding: 5px 9px;
}
footer nav a:hover, footer nav a:focus {
  color: var(--retro-brown);
  background: #ffe06655;
}
.footer-contact {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  align-items: center;
  margin: 24px 0 8px 0;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.96rem;
  color: #ffe066;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-contact img {
  filter: sepia(0.25) contrast(1.15);
  width: 19px;
  height: 19px;
}
footer small {
  color: #fff8d9;
  margin-top: 8px;
  letter-spacing: 0.08em;
}
@media (max-width: 650px) {
  .footer-contact { flex-direction: column; gap: 12px; }
}

/* ===== RETRO ELEMENTS & DETAILS ===== */
section, .card, .testimonial-card, .feature-item {
  background-image: repeating-linear-gradient(135deg, #fff6da 0 2px, transparent 2px 16px);
}
.card, .testimonial-card, .feature-item {
  border: 2px solid #eedabb4d;
}

/* Decorative retro corner effect for card */
.card:before {
  content: '';
  position: absolute;
  top: -10px; left: -10px;
  width: 54px; height: 23px;
  background: var(--retro-yellow);
  border-radius: 0 0 100px 0;
  z-index: 2;
  opacity: 0.16;
  pointer-events: none;
}
@media (max-width: 600px) {
 .card:before { width: 34px; height: 12px; }
}

/* ===== LISTS ===== */
ul li, ol li {
  margin-bottom: 12px;
  line-height: 1.7;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
ul li strong,
ol li strong {
  font-family: 'Montserrat', 'Arial Black', Verdana, sans-serif;
  color: var(--accent);
  font-size: 1.04rem;
}

/* ===== MISC RETRO/NOSTALGIA EFFECTS ===== */
::-webkit-scrollbar {
  width: 9px;
  background: #F2E8C9;
}
::-webkit-scrollbar-thumb {
  background: #ecc16a;
  border-radius: 12px;
}

/* ===== BUTTONS GENERAL ===== */
button, .btn, .cta-primary, .cta-secondary {
  user-select: none;
  appearance: none;
  outline: none;
}

/* ===== ANIMATIONS & TRANSITIONS ===== */
.card, .cta-primary, .cta-secondary, .testimonial-card, .feature-item {
  transition: box-shadow 0.18s, transform 0.16s;
  will-change: transform, box-shadow;
}

/* MORE VINTAGE EFFECTS */
.card, .testimonial-card, .feature-item {
  box-shadow: 0 2px 16px #a19d9442;
}
.card:hover, .feature-item:hover {
  box-shadow: 0 8px 32px #7ea16b2b;
}

/* Micro-interactions for links */
a:active { transform: scale(0.97); }

/* ===== COOKIE CONSENT BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 14px;
  z-index: 3000;
  background: #fffbe9;
  color: #321D16;
  border-radius: 14px;
  box-shadow: 0 2px 34px #1d223345;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  font-size: 1.01rem;
  gap: 14px;
  border: 2px solid #eedabb4d;
  animation: slideUpBanner 0.44s cubic-bezier(.7,.5,.6,1.1);
}
@keyframes slideUpBanner {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-btn {
  margin-left: 10px;
  padding: 9px 24px;
  font-size: 1rem;
  border-radius: 30px;
  border: 2px solid var(--accent);
  font-family: 'Montserrat', 'Arial Black', Verdana, sans-serif;
  background: var(--accent);
  color: #fff;
  font-weight: bold;
  transition: background 0.17s, color 0.15s, border 0.15s;
  cursor: pointer;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #fff;
  color: var(--accent);
  outline: none;
}
.cookie-banner .cookie-btn.secondary {
  background: none;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.cookie-banner .cookie-btn.secondary:hover {
  background: var(--accent);
  color: #fff;
}
/* Cookie Modal */
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  background: #fffbe9;
  border-radius: 16px;
  box-shadow: 0 4px 51px #1d22336a;
  z-index: 4000;
  padding: 38px 28px 28px 28px;
  min-width: 320px;
  max-width: 93vw;
  font-size: 1.12rem;
  animation: fadeInModal 0.26s cubic-bezier(.7,.5,.6,1.1);
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translate(-50%, -35%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
.cookie-modal.open { display: block; }
.cookie-modal h3 { font-size: 1.2rem; margin-bottom: 19px; }
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 1.05rem;
}
.cookie-modal label {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  color: var(--primary);
  margin-right: 5px;
}
.cookie-modal .toggle {
  accent-color: var(--accent);
  width: 1.22em; height: 1.22em;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal .cookie-btn {
  padding: 8px 24px;
  font-size: 1rem;
  border-radius: 25px;
  border: 2px solid var(--accent);
  font-family: 'Montserrat', 'Arial Black', Verdana, sans-serif;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  transition: background 0.16s, color 0.15s;
}
.cookie-modal .cookie-btn:hover, .cookie-modal .cookie-btn:focus {
  background: #fff;
  color: var(--accent);
}
.cookie-modal .cookie-btn.secondary { background: none; color: var(--accent); }
.cookie-modal .cookie-btn.secondary:hover { background: var(--accent); color: #fff; }

/* Overlay for modal */
.cookie-modal-overlay {
  display: none;
  position: fixed; left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(0,0,0,0.21);
  z-index: 3999;
}
.cookie-modal.open + .cookie-modal-overlay { display: block; }

/* ====== RESPONSIVE ====== */
@media (max-width: 1060px) {
  .container { max-width: 96vw; }
}
@media (max-width: 900px) {
  header .container { flex-wrap: wrap; gap: 11px; }
}
@media (max-width: 768px) {
  .footer-contact { flex-direction: column; gap: 16px; text-align: center; }
  footer nav { flex-direction: column; gap: 9px; }
  .card { min-width: 180px; max-width: 100vw; padding: 16px 9px; }
  .testimonial-card { max-width: 100vw; padding: 15px 8px; }
}
@media (max-width: 510px) {
  .container { padding: 0 4px; }
  .cookie-banner { flex-direction: column; gap: 10px; padding: 14px 6px; }
}

/* ===== ACCESSIBILITY ===== */
:focus-visible {
  outline: 3px solid var(--retro-blue);
  outline-offset: 2px;
}

/* ===== MISC ===== */
hr {
  border: none;
  height: 2px;
  background: #F2E8C9;
  margin: 38px 0;
}

/* Hide visually */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* ===== THE END ===== */
