/* Basiskleuren */
:root {
  --color-primary: #222;           /* donker accentkleur */
  --color-secondary: #1e73be;      /* bestaande accentkleur van de oude site */
  --color-light: #f7f8fa;          /* zacht lichtgrijs achtergrond */
  --color-text: #333;              /* donkere tekstkleur */
  --color-muted: #666;             /* gedempte tekstkleur */
}

/* Algemene reset en typografie */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-light);
}

h1, h2, h3 {
  font-family: 'Lora', serif;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

em {
  font-style: italic;
  color: var(--color-muted);
}

a {
  color: var(--color-secondary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Navigatie */
.navbar {
  background-color: #fff;
  border-bottom: 1px solid #e6e6e6;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--color-primary);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-links a {
  font-weight: 600;
  color: var(--color-primary);
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: var(--color-secondary);
}

/* Hero sectie */
.hero {
  background-color: #fff;
  padding: 4rem 0 3rem;
  text-align: center;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.hero-image {
  width: 280px;
  max-width: 80%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.hero-text h1 {
  font-size: 2.75rem;
  line-height: 1.2;
}
.hero-text p {
  font-size: 1.2rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  max-width: 640px;
}

/* Knoppen */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background-color: #444;
}

/* Over het boek sectie */
.about {
  padding: 4rem 0;
  background-color: #fff;
}
.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}
.about-text {
  flex: 1 1 450px;
}
.about-text p {
  margin-bottom: 1rem;
}
.about-image {
  flex: 1 1 350px;
  text-align: center;
}
.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Features sectie */
.features {
  padding: 4rem 0;
  background-color: var(--color-light);
  text-align: center;
}
.features h2 {
  margin-bottom: 2rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.card {
  background-color: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}
.card p {
  color: var(--color-muted);
}

/* Pre-order formulier */
.preorder {
  padding: 4rem 0;
  background-color: #fff;
}
.preorder-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}
.preorder-container h2 {
  text-align: center;
  margin-bottom: 1rem;
}
.preorder-container p {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-muted);
}
.preorder-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.form-group {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
}
.form-group label {
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-secondary);
  outline: none;
}

/* Footer */
.footer {
  background-color: #f0f1f3;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Responsiviteit */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  .form-row {
    flex-direction: column;
  }
  .nav-links {
    gap: 1rem;
  }
  .hero-text h1 {
    font-size: 2.25rem;
  }
}