@font-face {
  font-family: "QTBasker";
  src: url("fonts/QTBasker.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --bg-main: #eee5d3;
  --bg-accent: #c8bc97;
  --bg-soft: #ccc1a8;
  --primary: #76715b;
  --secondary: #9e957a;
  --text-main: #333333;
  --white: #ffffff;
  --max-width: 1100px;
  --radius: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "QTBasker", system-ui, -apple-system, "Segoe UI", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}


/* Layout */

.header {
  background-color: var(--bg-accent);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible; /* allow scaled logo to show without changing layout */
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.6rem 1.25rem; /* slightly tighter vertical padding so header doesn't balloon */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px; /* keep a stable minimum height */
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  align-self: center;
}

/* Option A: visually enlarge the image without affecting layout */
.logo img {
  height: 90px;           /* keeps the layout height stable */
  width: auto;
  display: block;
  transform-origin: left center;
  /* visually scale and nudge left; change -8px to more/less as needed */
  transform: scale(1.4) translateX(-8px);
  image-rendering: -webkit-optimize-contrast; /* keeps rendering a bit crisper */
  pointer-events: none; /* allow clicks through the scaled image */
}

/* enlarge the name and subtext */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text div {
  font-weight: 700;
  font-size: 1.2rem;     /* bigger main name */
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.logo-text span {
  font-weight: 400;
  font-size: 0.9rem;     /* bigger subtext */
  opacity: 0.95;
}

.logo span {
  font-weight: 400;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  font-size: 34 rem;
  color: var(--primary);
  padding: 0.25rem 0.4rem;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav a:hover {
  background-color: rgba(255, 255, 255, 0.6);
  color: var(--primary);
}

.nav a.active {
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.9);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #5f5a48;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--bg-soft), var(--bg-accent));
  margin-bottom: 2rem;
}

.hero-text h1 {
  margin: 0 0 0.75rem;
  font-size: 2rem;
  color: var(--primary);
}

.hero-text p {
  margin: 0 0 1rem;
  max-width: 36rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.badge {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.9rem;
  background-color: rgba(255, 255, 255, 0.7);
  color: var(--primary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ensure the hero buttons sit above if needed */
.hero-actions .btn {
  position: relative;
  z-index: 101;
}

.hero-placeholder {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--primary);
  text-align: center;
  padding: 1rem;
  border: 1px dashed rgba(0, 0, 0, 0.1);
}

/* Sections */

.section {
  margin-bottom: 2.5rem;
}

.section-header {
  margin-bottom: 1rem;
}

.section-title {
  margin: 0 0 0.35rem;
  font-size: 1.4rem;
  color: var(--primary);
}

.section-subtitle {
  margin: 0;
  font-size: 1rem;            /* match paragraph size */
  color: var(--text-main);    /* same color as body paragraphs */
  line-height: inherit;       /* uses body line-height (1.6) */
  font-weight: 400;
}

/* Cards / grids */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
  color: var(--primary);
}

.card p {
  margin: 0;
  font-size: 0.9rem;
}

/* Layout helpers */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: flex-start;
}

.placeholder-box {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  min-height: 180px;
  border: 1px dashed rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--primary);
  text-align: center;
  padding: 1rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 1.5rem;
}

.contact-details p {
  margin: 0.15rem 0;
  font-size: 0.95rem;
}

.form-grid {
  display: grid;
  gap: 0.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
}

input,
textarea {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  border: 1px solid #b1aa8f;
  font-size: 0.9rem;
  font-family: inherit;
  background-color: rgba(255, 255, 255, 0.9);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */

.footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1rem 1.25rem 1.5rem;
  background-color: var(--bg-accent);
  font-size: 0.85rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--primary);
}

/* Utility */

.link {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

/* Responsive */

@media (max-width: 800px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
  }
}

/* Mobiel: header niet fixed bij scrollen */
@media (max-width: 768px) {
  header {
    position: static !important;
  }
}