/* ===========================================
   Lencioni2Change - Stijlblad (verbeterde versie)
   =========================================== */

:root {
  --paars: #5a368c;
  --paars-licht: #9c6bcd;
  --zwart: #000000;
  --wit: #ffffff;
  --grijs: #555;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Basisopmaak */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.75;
  color: var(--zwart);
  background: var(--wit);
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--paars);
}

a {
  color: var(--paars);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--paars-licht); }

/* -------------------------------------------
   Header & Navigatie
   ------------------------------------------- */
header {
  background: var(--wit);
  border-bottom: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand img {
  width: 240px;
  transition: transform 0.3s ease;
}
.brand img:hover { transform: scale(1.05); }

/* -------------------------------------------
   Slogan
   ------------------------------------------- */
.slogan {
  position: relative;
  text-align: center;
  font-size: 2rem;
  line-height: 1.4;
  color: var(--paars);
  font-weight: 600;
  padding: 40px 10px 50px;
  background: #f7f4fb;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
  animation: fadeInUp 1s ease forwards;
  overflow: hidden;
}

.slogan::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 15px;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--paars), var(--paars-licht));
  animation: drawLine 1.8s ease-out forwards 1s;
}

@keyframes drawLine { to { width: 180px; } }

/* -------------------------------------------
   Intro-kaarten
   ------------------------------------------- */
.intro {
  max-width: 1200px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  text-align: center;
  align-items: stretch;
}

.intro .card {
  background: #fff;
  padding: 28px 20px;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.intro .card p { flex-grow: 1; }
.intro .card .btn { align-self: center; margin-top: 20px; }

.intro .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.intro .card h3 { color: var(--paars); margin-bottom: 12px; }
.intro .card p { color: var(--grijs); }

/* Knoppen */
.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: bold;
  transition: 0.2s;
}
.btn-primary {
  background: var(--paars);
  color: var(--wit);
  border: 2px solid var(--paars);
}
.btn-primary:hover { opacity: 0.9; }
.btn-outline {
  background: var(--wit);
  color: var(--paars);
  border: 2px solid var(--zwart);
}
.btn-outline:hover { background: #f4f4f4; }

/* -------------------------------------------
   Secties
   ------------------------------------------- */
section {
  padding: 20px 20px;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

/* -------------------------------------------
   Over Claudia
   ------------------------------------------- */
.about {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: left;
}

.about h2 {
  color: var(--paars);
  text-align: left;
  margin-bottom: 30px;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  align-items: start;
  justify-content: center;
  gap: 40px;
}

.about-text {
  color: var(--zwart);
  line-height: 1.8;
  text-align: left;
}

.about-photo {
  display: flex;
  justify-content: center;
}

.about-photo img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  border: 6px solid rgba(90,54,140,0.08);
  background: rgba(255,255,255,0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-photo img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

/* Mobiel: afbeelding boven tekst, tekst links uitgelijnd */
@media (max-width: 700px) {
  .about-inner {
    grid-template-columns: 1fr;
    text-align: left !important;
  }
  .about-text {
    text-align: left !important;
  }
  .about-photo img {
    display: block;
    margin: 0 auto 25px;
    max-width: 240px;
  }
}

/* -------------------------------------------
   Contact
   ------------------------------------------- */
.contact {
  background: #f7f4fb;
  padding: 60px 20px;
  overflow: hidden;
  clear: both;
}
.contact h2 { color: var(--paars); }

.contact img {
  display: block;
  margin: 20px auto;
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  border: 6px solid rgba(90,54,140,0.08);
  background: rgba(255,255,255,0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

/* Contactinformatie en formulier */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

form {
  display: grid;
  gap: 16px;
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease;
}
form:focus-within {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

label { font-weight: bold; }

input, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus {
  border-color: var(--paars);
  box-shadow: 0 0 0 3px rgba(90,54,140,0.1);
  outline: none;
}

button {
  background: var(--paars);
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
button:hover {
  opacity: 0.95;
  transform: scale(1.03);
}

/* Meldingen */
.success, .error {
  padding: 12px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.success {
  background: #e8fff1;
  border: 1px solid #9ae6b4;
  color: #065f46;
}
.error {
  background: #fde8e8;
  border: 1px solid #fca5a5;
  color: #b91c1c;
}

/* -------------------------------------------
   Footer
   ------------------------------------------- */
footer {
  text-align: center;
  padding: 20px;
  color: #666;
  border-top: 1px solid #eee;
  clear: both;
}

/* -------------------------------------------
   Animaties
   ------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* -------------------------------------------
   Responsief ontwerp
   ------------------------------------------- */
@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .slogan {
    font-size: 1.5rem;
    padding: 30px 10px 40px;
  }
  .slogan::after {
    bottom: 10px;
    height: 2px;
  }
  .intro { gap: 16px; }
  section { padding: 40px 15px; }
  button { width: 100%; }
}

/* Fix layout */
.about::after {
  content: "";
  display: block;
  clear: both;
}

/* Scroll fix bij anchors */
:target { scroll-margin-top: 100px; }

/* -------------------------------------------
   Checkbox-uitlijning (verbeterde versie)
   ------------------------------------------- */
.contact form .checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.contact form .checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--paars); /* paars vinkje */
  cursor: pointer;
}

.contact form .checkbox-row label {
  font-weight: normal;
  cursor: pointer;
  color: var(--zwart);
  line-height: 1.4;
}

