
/* De Wortel — styles.css
   Brand colors:
   Vers Ei:  #E9E3D0
   Wortel:   #C25A3D
   Natuur:   #84A58A
   Water:    #548088
   Aarde:    #56483D
   Houtskool:#1C1F15
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&display=swap');

:root{
  --vers-ei: #E9E3D0;
  --wortel: #C25A3D;
  --natuur: #84A58A;
  --water: #548088;
  --aarde: #56483D;
  --houtskool: #1C1F15;

  --bg: #F7F5F0;
  --text: #1C1F15;
  --muted: #55605A;
  --max-width: 1100px;
}

*{box-sizing: border-box}
html,body{height:100%;margin:0;font-family:'Montserrat', Arial, sans-serif;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;}

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

/* Header / Nav */
.header{
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.6));
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(28,31,21,0.06);
}
.container{
  width:90%;
  max-width:var(--max-width);
  margin:0 auto;
  padding:20px 0;
  display:flex;
  gap:20px;
  align-items:center;
  justify-content:space-between;
}

.layout {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.content {
  flex: 1;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;

  text-decoration: none;
  color: inherit;
}

.logo,
.logo:hover,
.logo:focus,
.logo:focus-visible,
.logo:active {
  text-decoration: none;
  color: inherit;
}

.logo:hover {
  opacity: 0.85;
}

.logo img{height:48px; width:auto;}

.lang img{max-height:16px; max-width:24px;}

/*body.home .header .logo {
	visibility: hidden;
}*/

.brand-title{font-weight:800;letter-spacing:0.6px;color:var(--houtskool);font-size:20px;}
.brand-sub{font-size:12px;color:var(--muted);margin-top:-6px;white-space:nowrap;}

/* Nav links */
.nav-links{
  display:flex;
  gap:18px;
  align-items:center;
}
.nav-links a{padding:8px 12px;border-radius:8px;font-weight:600;color:var(--houtskool);}
.nav-links a.active{background:var(--wortel);color:var(--vers-ei);}
.cta-btn{background:var(--wortel);color:var(--vers-ei);padding:8px 14px;border-radius:8px;font-weight:700;}

/* Mobile */
.menu-toggle{display:none}

/* Hero */
.hero {
  position: relative;
  width: 100%;

  min-height: 80svh;   /* 👈 kleiner, visueel strak */
  padding: 44px 0;

  background-image:
    linear-gradient(
      180deg,
      rgba(84, 128, 136, 0.7),
      rgba(86, 72, 61, 0.6)
    ),
    url("pictures/luchtfoto.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Algemene hero-inner styling */
.hero-inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 2rem;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 1rem;              /* subtiele ruimte tussen logo en tekst */
  position: absolute;      /* positioneer over hero */
  top: 3rem;               /* afstand van bovenkant */
  left: 15rem;              /* aftand van linkerzijde */
}

.hero-brand img {
  width: 220px;
  max-width: 40vw;
}

.hero-brand-text {
  display: flex;
  flex-direction: column;
}

.hero-brand-text h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin: 0;
  line-height: 1.05;
  color: var(--houtskool);
}

.hero-brand-text p.hero-sub {
  margin: 0.5rem 0 0 0;
  font-size: 1.3rem;
  color: var(--houtskool);
}

@media (max-width: 768px) {
  .hero-brand {
    flex-direction: row; /* logo + tekst naast elkaar blijft prima */
    top: 1rem;
    left: 1rem;
    gap: 0.5rem;
  }

  .hero-brand img {
    width: 100px;
  }

  .hero-brand-text h1 {
    font-size: 2rem;
  }

  .hero-brand-text p.hero-sub {
    font-size: 1rem;
  }
}

/* Cards / Grid */
.card.news-article {
    margin-bottom: 48px;
}
.card{background:white;padding:18px;border-radius:12px;box-shadow:0 6px 18px rgba(28,31,21,0.06);border:1px solid rgba(28,31,21,0.03)}

/* Latest News */
/*.latest-news h2{margin:0 0 12px}*/
.latest-news h2 {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(233,227,208,0.85);
  color: var(--houtskool);
  border-radius: 999px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.news-meta{font-size:13px;color:var(--muted);margin-bottom:8px}
.blog-img{width:100%;height:160px;object-fit:cover;border-radius:8px;margin:10px 0}

.post-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.post-hero h1 {
  margin-bottom: 0.5rem;
}

.post-meta {
  color: var(--muted);
  font-style: italic;
}

/* Footer */
.site-footer{background:var(--houtskool);color:var(--vers-ei);padding:28px 0;margin-top:40px}
body.home .site-footer {
  margin-top: 0;
}
.site-footer .container{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-inline img {
  height: 32px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.footer-contact a {
  color:var(--vers-ei);
  text-decoration: none;
  margin: 0 0.25rem;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* Utility */
.kicker{display:inline-block;background:var(--natuur);color:white;padding:6px 10px;border-radius:999px;font-weight:700;font-size:12px;margin-bottom:12px}

/* Responsive */
@media (max-width:900px){
  .grid{grid-template-columns:repeat(2,1fr)}
  .hero-inner{flex-direction:column;align-items:flex-start;gap:16px}
}

@media (max-width:640px){
  .container{padding:12px}
  .nav-links{display:none}
  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
  }
  .menu-toggle{display:block}
  .grid{grid-template-columns:1fr}
  .hero h1{font-size:28px}
  .logo img{height:40px}
}


.full-article {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease;
}

.full-article.open {
  max-height: 2000px; /* groot genoeg voor je artikel */
  opacity: 1;
}

.read-more-toggle,
.read-less-toggle {
    background: none;
    border: none;
    color: var(--wortel);
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    margin-top: 10px;
  align-self: flex-start;
  cursor: pointer;
}

.read-less-toggle {
    display: block;
    margin-top: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.share-buttons {
    margin-top: 15px;
}

.social-button {
    background-color: var(--wortel);
    color: white;
    padding: 8px 14px;
    margin-right: 8px;
    border-radius: 6px;
    display: inline-block;
    font-size: 14px;
}

.social-button:hover {
    background-color: #a3472e;
}

article {
		margin-bottom: 20px;
}

/* Make the sidebar a sticky column */
.sidebar {
  width: 320px;
	position: sticky;
	top: 120px;
  margin-left: 28px;
  align-self: flex-start; /* important if parent uses flex */
}

.sidebar .card:first-child {
  margin-top: 0;
}

@media (max-width: 768px) {
  .layout { flex-direction: column; }
  .sidebar { position: static; width: 100%; margin-left: 0; }
}

.workshop-card{
  margin-bottom: 48px;
	background:white;
	padding:18px;
	border-radius:12px;
	box-shadow:0 6px 18px rgba(28,31,21,0.06);
	border:1px solid rgba(28,31,21,0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.workshop-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.workshop-card.is-open .full-article {
  max-height: 500px; /* large enough for content */
  opacity: 1;
  margin-top: 15px;
}

.workshop-preview {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.workshop-img {
  width: auto;        /* keeps original size */
  height: auto;
  max-width: 260px;   /* optional: prevents overly large images */
  flex-shrink: 0;     /* prevents image from shrinking */
	border-radius: 6px;
	box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.workshop-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
	font-size: 0.9rem;        /* slightly smaller */
  color: #555;              /* softer than main text */
	margin: 0 0 4px 0;
  line-height: 1.35;
}

.workshop-info strong {
  font-weight: 600;         /* still readable */
  color: #333;
}

.workshop-info p {
  margin: 0 0 6px 0;
}

@media (max-width: 600px) {
  .workshop-preview {
    flex-direction: column;
  }

  .workshop-img {
    max-width: 100%;
  }
}

.workshop-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: stretch;
}

.workshop-card.is-open .full-article {
  max-height: 500px; /* large enough for content */
  opacity: 1;
  margin-top: 15px;
}

.workshop-index {
  background: #fff;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  max-width: 300px;
}

.workshop-index h3 {
  margin-top: 0;
  font-size: 1rem;
}

.workshop-index ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.workshop-index li {
  margin: 6px 0;
}

.workshop-index a {
  text-decoration: none;
  color: #007700;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.workshop-index a:hover {
  color: #004400;
}

.back-to-top {
  display: block;
  margin-top: 12px;
  text-decoration: none;
  font-size: 0.9rem;
  color: #007700;
  transition: color 0.2s;
}

.back-to-top:hover {
  color: #004400;
}

/* Sticky wrapper ensures index + contact stick together */
.sidebar-wrapper {
  top: 20px; /* distance from viewport top */
}

.contact-card {
  background: #fff;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.poem {
  position: relative;
  display: flex;
  align-items: center;     /* vertical centering */
  justify-content: center; /* horizontal centering */

  text-align: center;
  font-size: 0.9rem;
	font-style: italic;
  line-height: 1.9;
  margin: 3rem auto;
  max-width: 420px;
  padding: 1rem 1rem;
  color: var(--muted);
}

.poem::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("pictures/yggdrasil-logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 400px;
  opacity: 0.08;
  z-index: 0;
}

.poem-text {
  position: relative;
  z-index: 1;
}

.footer-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.footer-inline img {
  height: 1em;
  width: auto;
}

/* optional: full viewport height */
.hero.fullscreen {
  min-height: 100vh;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 25%;
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    transparent,
    var(--vers-ei)
  );
}

.latest-news {
  position: relative;

  margin-top: -10rem;   /* 👈 trekt cards over hero */
  padding-top: 2rem;

  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.blog-post {
  width: 100%;
  background: rgba(233,227,208,0.85);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.blog-post img {
  width: 100%;
  border-radius: .75rem;
  margin: 1rem 0;
}

.blog-post-page img {
  float: right;
  width: 30%;           /* kleiner plaatje aan de zijkant */
  margin-left: 20px;    /* ruimte tussen tekst en plaatje */
  margin-bottom: 20px;  /* ruimte onder plaatje */
}

.blog-post {
  margin-bottom: 3rem;
}

.post-header {
  display: grid;
	grid-template-columns: 1fr 20%;
  column-gap: 1rem;
  align-items: start;
}

.post-content {
  display: block;
}

.post-content h3 {
  margin: 0;
}

.post-date {
  margin: 0.25rem 0 0.75rem;
  font-size: 0.9rem;
}

.post-thumb {
  width: 20%;
	max-width: 300px;
	min-width: 80px;
  height: auto;
  flex-shrink: 0;
	align-self: flex-start;
  border-radius: 4px;
}

.post-intro {
  margin-top: 0 0 0.75rem;
  font-weight: 500;
}

.read-more,
.close-post {
  margin-top: 1rem;
  background: none;
  border: 1px solid #000;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
}

.share {
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.share-btn {
  text-decoration: underline;
  cursor: pointer;
}

.coaching {
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0.8)
    ),
    url("pictures/coaching.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}