/* =========================
   VINTAGE RETRO THEME CSS
   SchuldVrij Start
   ========================= */

/* 1. ROOT & BASE STYLES */
:root {
  /* Brand Colors (with retro/vintage twist) */
  --primary: #1E3A5C;
  --secondary: #F2A13C;
  --accent: #F8F9FB;
  --retro-red: #D94F4A;
  --retro-green: #6C9A8B;
  --retro-blue: #4A90A4;
  --retro-cream: #F7E9D2;
  --retro-brown: #A67C52;
  --retro-dark: #2D2323;
  --retro-orange: #E07A5F;
  --retro-yellow: #F6C667;
  --retro-bg: #F7E9D2;
  --retro-border: #E3C08D;
  --shadow: 0 4px 24px rgba(46, 41, 36, 0.08);
  --radius: 12px;
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', 'Arial', sans-serif;
  --font-body: 'Roboto', 'Georgia', serif;
  --transition: all 0.25s cubic-bezier(.4,0,.2,1);
}

html {
  box-sizing: border-box;
  font-size: 18px;
  background: var(--retro-bg);
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--retro-dark);
  background: var(--retro-bg);
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* 2. TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 0.6em;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 1px 1px 0 var(--retro-border);
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4em;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
p, ul, ol {
  margin-top: 0;
  margin-bottom: 1.1em;
}
strong {
  color: var(--retro-red);
  font-weight: 700;
}
a {
  color: var(--retro-blue);
  text-decoration: underline;
  transition: var(--transition);
}
a:hover, a:focus {
  color: var(--retro-orange);
  text-decoration: none;
}

/* 3. CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid var(--retro-border);
  position: relative;
}

/* 4. HEADER & NAVIGATION */
header {
  background: var(--retro-yellow);
  border-bottom: 4px solid var(--retro-border);
  box-shadow: 0 2px 12px rgba(46,41,36,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 18px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 24px;
  filter: sepia(0.3) contrast(1.1);
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  background: transparent;
  transition: var(--transition);
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: var(--retro-orange);
  color: #fff;
  text-shadow: 1px 1px 0 var(--retro-border);
}
.cta-btn {
  font-family: var(--font-display);
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 30px;
  padding: 12px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(46,41,36,0.10);
  cursor: pointer;
  margin-left: 18px;
  text-transform: uppercase;
  transition: var(--transition);
  outline: none;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--retro-red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(217,79,74,0.15);
  transform: translateY(-2px) scale(1.03) rotate(-1deg);
}

/* 5. MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: var(--retro-red);
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 12px;
  transition: var(--transition);
  z-index: 120;
}
.mobile-menu-toggle:active {
  background: var(--retro-orange);
}
.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: linear-gradient(120deg, var(--retro-yellow) 80%, var(--retro-orange) 100%);
  box-shadow: 0 8px 32px rgba(46,41,36,0.18);
  z-index: 200;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--retro-red);
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--retro-brown);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
  padding: 40px 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--primary);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 2px dashed var(--retro-border);
  width: 100%;
  transition: var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--retro-red);
  background: var(--retro-cream);
  border-radius: 6px;
  padding-left: 12px;
}

/* 6. HERO SECTION */
.hero {
  background: repeating-linear-gradient(135deg, var(--retro-cream), var(--retro-yellow) 40px, var(--retro-cream) 80px);
  border-bottom: 4px solid var(--retro-border);
  padding: 60px 0 40px 0;
  margin-bottom: 60px;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  max-width: 700px;
  margin: 0 auto;
}
.hero h1 {
  color: var(--retro-red);
  text-shadow: 2px 2px 0 var(--retro-border);
}
.hero p {
  font-size: 1.2rem;
  color: var(--retro-dark);
  margin-bottom: 1.5em;
}

/* 7. FEATURE GRID & CARDS */
.feature-grid, .team-grid, .gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div, .team-grid > div, .gallery > div {
  background: var(--accent);
  border: 2px solid var(--retro-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: var(--transition);
}
.feature-grid > div:hover, .team-grid > div:hover, .gallery > div:hover {
  background: var(--retro-yellow);
  border-color: var(--retro-orange);
  box-shadow: 0 8px 32px rgba(217,79,74,0.10);
  transform: translateY(-4px) scale(1.03) rotate(-1deg);
}

/* 8. TESTIMONIALS */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fffbe9;
  border: 2px solid var(--retro-border);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(46,41,36,0.07);
  margin-bottom: 20px;
  max-width: 420px;
  min-width: 220px;
  transition: var(--transition);
}
.testimonial-card p {
  color: var(--retro-dark);
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 0.5em;
}
.testimonial-card strong {
  color: var(--retro-brown);
  font-size: 1rem;
  font-family: var(--font-display);
}
.testimonial-card:hover {
  background: var(--retro-yellow);
  border-color: var(--retro-orange);
  box-shadow: 0 8px 32px rgba(217,79,74,0.10);
  transform: scale(1.03) rotate(-1deg);
}

/* 9. FAQ ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-accordion > div {
  background: var(--accent);
  border: 2px solid var(--retro-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.faq-accordion > div:hover {
  background: var(--retro-yellow);
  border-color: var(--retro-orange);
}
.faq-accordion h3 {
  margin-bottom: 0.3em;
  font-size: 1.1rem;
  color: var(--retro-red);
}

/* 10. BUTTONS */
button, .cta-btn {
  font-family: var(--font-display);
  border: none;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}
button:focus, .cta-btn:focus {
  outline: 2px dashed var(--retro-red);
  outline-offset: 2px;
}

/* 11. LISTS */
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}
ul li, ol li {
  margin-bottom: 0.5em;
  font-size: 1rem;
}
ul li::marker {
  color: var(--retro-red);
}

/* 12. CONTACT DETAILS & MAP */
.contact-details {
  background: var(--accent);
  border: 2px solid var(--retro-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.map {
  background: var(--retro-cream);
  border: 2px dashed var(--retro-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 1rem;
  color: var(--retro-dark);
  margin-bottom: 20px;
}

/* 13. FOOTER */
footer {
  background: var(--retro-brown);
  color: #fff;
  padding: 40px 0 20px 0;
  border-top: 4px solid var(--retro-border);
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: #fff;
  text-decoration: underline;
  font-family: var(--font-display);
  font-size: 1rem;
  transition: var(--transition);
}
footer nav a:hover, footer nav a:focus {
  color: var(--retro-yellow);
  text-decoration: none;
}
footer p {
  margin: 0 0 8px 0;
  color: #fff;
  font-size: 0.98rem;
}

/* 14. COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--retro-yellow);
  color: var(--retro-dark);
  border-top: 3px solid var(--retro-border);
  box-shadow: 0 -2px 16px rgba(46,41,36,0.10);
  z-index: 300;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 18px;
  gap: 24px;
  font-size: 1rem;
  animation: cookie-slide-in 0.7s cubic-bezier(.4,0,.2,1);
}
@keyframes cookie-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 20px;
  padding: 8px 22px;
  border: none;
  margin: 0;
  background: var(--retro-red);
  color: #fff;
  font-weight: 700;
  transition: var(--transition);
}
.cookie-banner button.cookie-settings {
  background: var(--retro-blue);
  color: #fff;
}
.cookie-banner button.cookie-reject {
  background: var(--retro-brown);
  color: #fff;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--retro-orange);
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.95);
  background: #fffbe9;
  border: 3px solid var(--retro-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(46,41,36,0.18);
  z-index: 400;
  min-width: 320px;
  max-width: 95vw;
  padding: 36px 28px 28px 28px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h2 {
  color: var(--retro-red);
  margin-bottom: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.cookie-modal .cookie-category label {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary);
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: var(--retro-red);
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--retro-red);
  cursor: pointer;
  transition: var(--transition);
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: var(--retro-brown);
}

/* 15. RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .feature-grid > div, .team-grid > div, .gallery > div {
    min-width: 180px;
    max-width: 100%;
  }
  .footer .container {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    padding: 12px 8px;
  }
  header nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    padding: 10px 18px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero {
    padding: 36px 0 24px 0;
    margin-bottom: 36px;
  }
  .feature-grid, .team-grid, .gallery {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div, .team-grid > div, .gallery > div {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 8px;
    font-size: 0.98rem;
  }
  .cookie-modal {
    min-width: 0;
    width: 95vw;
    padding: 24px 10px 18px 10px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
  .hero h1 {
    font-size: 1.3rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .cta-btn {
    padding: 8px 12px;
    font-size: 0.98rem;
  }
}

/* 16. UTILITY CLASSES & MICRO-INTERACTIONS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--accent);
  border: 2px solid var(--retro-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 18px;
  transition: var(--transition);
}
.card:hover {
  background: var(--retro-yellow);
  border-color: var(--retro-orange);
  box-shadow: 0 8px 32px rgba(217,79,74,0.10);
  transform: scale(1.03) rotate(-1deg);
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.contact-prompt {
  background: var(--retro-cream);
  border: 2px dashed var(--retro-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 20px;
  font-size: 1rem;
}

/* 17. SPACING & ALIGNMENT ENFORCEMENT */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container > *, .content-grid > *, .feature-grid > *, .team-grid > *, .gallery > *, .testimonial-slider > *, .faq-accordion > * {
  margin-bottom: 20px;
}

/* 18. ACCESSIBILITY & FOCUS */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px dashed var(--retro-red);
  outline-offset: 2px;
}

/* 19. DECORATIVE RETRO ELEMENTS */
.section:before {
  content: '';
  display: block;
  position: absolute;
  left: 18px;
  top: 18px;
  width: 36px;
  height: 36px;
  background: repeating-linear-gradient(135deg, var(--retro-yellow), var(--retro-yellow) 8px, var(--retro-border) 8px, var(--retro-border) 12px);
  border-radius: 50%;
  opacity: 0.13;
  z-index: 0;
}
.section:after {
  content: '';
  display: block;
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 36px;
  height: 36px;
  background: repeating-linear-gradient(45deg, var(--retro-red), var(--retro-red) 8px, var(--retro-border) 8px, var(--retro-border) 12px);
  border-radius: 50%;
  opacity: 0.10;
  z-index: 0;
}

/* 20. HIDE DECORATIVE ON MOBILE */
@media (max-width: 600px) {
  .section:before, .section:after {
    display: none;
  }
}

/* 21. Z-INDEX ENFORCEMENT */
header, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 100;
}
.mobile-menu.open, .cookie-modal.open {
  z-index: 400;
}

/* 22. PREVENT OVERLAPPING */
.card, .testimonial-card, .feature-grid > div, .team-grid > div, .gallery > div, .faq-accordion > div {
  z-index: 1;
}

/* END OF CSS */
