/* HUISSTIJL LETTERTYPES*/
@font-face {
  font-family: 'Flanders Art Sans';
  src: url('../fonts/flandersartsans-light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Flanders Art Sans';
  src: url('../fonts/flandersartsans-light.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Flanders Art Sans';
  src: url('../fonts/flandersartsans-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/*CENTRALE APPLICATIE KLEURENTHEMA*/
:root {
  /*Basispalet (huisstijlkleuren - allemaal, ook degene die niet gebruikt worden in deze applicatie)*/
  --huisstijl-donkerblauw: #004475;
  --huisstijl-mediumblauw: #2D89CC;
  --huisstijl-wit: #ffffff;
  --huisstijl-lichtgrijs: #E3E5E7;
  --huisstijl-vervanging-zwart: #003352;
  --huisstijl-medium-grijs: #9097A0;
  --huisstijl-lichtblauw: #c2e2fe;
  --huisstijl-geel: #FFE200;
  --huisstijl-oranje: #FF8600;
  --huisstijl-medium-groen: #49B4AA;
  --huisstijl-donkergroen: #006D76;
  --huisstijl-lichtroze: #f29e9c;
  --huisstijl-donkerroze: #EA516D;
  --huisstijl-paars: #48006A;
  --kleur-koraal: #fa8252; /* niet aanwezig in huisstijlgids - speciale kleur */
  --kleur-grijsblauw: #7898B8; /* niet aanwezig in huisstijlgids - speciale kleur */
  
  
  
  /*Componentkleuren (verwijzen naar basispalet)*/

  /* Algemeen */
  --kleur-achtergrond: var(--huisstijl-donkerblauw);
  --kleur-tekst-donker: var(--huisstijl-donkerblauw);
  --kleur-achtergrond-driehoek: var(--huisstijl-mediumblauw);

  /* Navigatiebalk */
  --kleur-nav-bg: var(--huisstijl-mediumblauw);
  --kleur-nav-tekst: var(--huisstijl-wit);

  /* INFO_START-kaart + knop */
  /*--kleur-info-start-bg: var(--huisstijl-mediumblauw);*/
  --kleur-info-start-tekst: white;
  --kleur-btn-info-start-bg: var(--kleur-koraal);
  --kleur-btn-info-start-tekst: white;

  /* INFO_GAVERDER-kaart + knop */
  --kleur-info-gaverder-bg: var(--huisstijl-lichtblauw);
  --kleur-info-gaverder-tekst: var(--huisstijl-donkerblauw);
  --kleur-btn-info-gaverder-bg: var(--huisstijl-mediumblauw);
  --kleur-btn-info-gaverder-tekst: white;

  /* INFO_EINDE-kaart + knop */
  --kleur-info-einde-bg: var(--huisstijl-mediumblauw);
  --kleur-info-einde-tekst: var(--huisstijl-wit);
  --kleur-btn-info-einde-bg: var(--huisstijl-donkerblauw);
  --kleur-btn-info-einde-tekst: var(--huisstijl-mediumblauw);

  /* Links */
  --kleur-link-donker: var(--huisstijl-oranje);
  --kleur-link-licht: var(--huisstijl-oranje);

  /* Chatbubbels (Vragen) */
  --kleur-bubble-bg: var(--huisstijl-wit);
  --kleur-bubble-rand: var(--huisstijl-wit);

  /* Antwoordknoppen */
  --kleur-knop-ja-bg: var(--kleur-koraal);
  --kleur-knop-ja-tekst: var(--huisstijl-wit);

  --kleur-knop-nee-bg: var(--huisstijl-mediumblauw);
  --kleur-knop-nee-tekst: var(--huisstijl-wit);

  --kleur-knop-weetniet-bg: var(--huisstijl-lichtroze);
  --kleur-knop-weetniet-tekst: var(--huisstijl-wit);

  /* Niet-gekozen knoppen (Vervagen na selectie) */
  --kleur-knop-niet-gekozen-bg: var(--huisstijl-lichtblauw);
  --kleur-knop-niet-gekozen-tekst: var(--kleur-grijsblauw);
}

/* Basis Reset & Mobiele Schermvulling */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  background-color: var(--kleur-achtergrond);
}

body {
  font-family: 'Flanders Art Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  position: relative; /* Zorgt dat de pseudo-driehoek absoluut gepositioneerd kan worden */	
	
}
  
  /*DE LICHTBLAUWE ACHTERGRONDDRIEHOEK */
  body::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    /* Breedte is 60% van het scherm, met een maximaal dak van 250px */
    width: min(60vw, 250px);
    /* Hoogte is altijd exact 2.1445 keer de breedte (wiskundige tangens van 65°) */
    height: calc(min(60vw, 250px) * 2.1445);
    background-color: var(--kleur-achtergrond-driehoek);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    z-index: 0; /* Plaats achter de content, maar boven de body-kleur */
    pointer-events: none; /* Klikken vallen er dwars doorheen */
}

h1 {			font-size:65px; 
                    line-height:1.05; 
                    font-weight:900;
					-webkit-text-stroke: 2px;
                    text-transform:uppercase; 
                    letter-spacing:1px;  
                    color: white;    
}

h2 {	
	font-size:25px; 
    font-weight:900;
	line-height:1.2;
	margin-bottom: 15px;
}



.blauwe-streep {
  width: 70px;          
  height: 12px;         
  background-color:#2D89CC; 
  margin-top: 25px;     
  margin-bottom: 30px;
}

.introtekst {
	font-size:22px; 
    line-height:1.4; 
    font-weight:400; 
    margin:0 0 24px 0;
}

#root {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  
  position: relative; /* Zorgt dat de hele app bóven de driehoek zweeft */
  z-index: 1;
}

.nav-bar {
  background-color: var(--kleur-nav-bg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.nav-title { color: var(--kleur-nav-tekst); font-size: 20px; font-weight: 700; }
.nav-action { color: var(--kleur-nav-tekst); cursor: pointer; display: flex; padding: 4px; }

/* Logo + titel links in de navigatiebalk */
.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo {
  height: 28px;
  width: auto;
  display: block;
}

.oranje-ster-container {
  position: absolute;
  top: 35px;          
  right: 120px;        
  width: 120px; 
  height: 120px;      
  text-decoration: none;
  font-family: 'Flanders Art Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Zorgt dat we de lagen erin over elkaar kunnen stapelen */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Laag 1: De ster zelf (DIT element draait nu traag rond) */
.ster-achtergrond {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../illustraties/ster.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1; /* Staat achter de tekst */
  
  /* De draai-animatie staat nu alléén hier op */
  animation: traagDraaien 100s linear infinite;
  transform-origin: center center; 
}

/* Laag 2: De tekst binnenin de ster (staat stil!) */
.oranje-ster-container span {
  position: relative;
  z-index: 2; /* Staat vóór de draaiende ster */
  color: white;
  font-weight: 900;      
  font-size: 18px;
  text-align: center;
  line-height: 1.2; 
  pointer-events: none; /* Zorgt dat je nog steeds door de tekst heen kunt klikken */
}

/* De animatie blijft exact hetzelfde */
@keyframes traagDraaien {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


#chat-container {
	flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 40px;
  display: flex;
  flex-direction: column;
	align-items: flex-start;
  gap: 18px;
}

/* ─── Componenten (Bubbels & Kaarten) ─── */
.chat-bubble {
  position: relative;
  background: var(--kleur-bubble-bg);
  border: 1px solid var(--kleur-bubble-rand);
  border-radius: 12px;
  padding: 20px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--kleur-tekst-donker);
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);

  /* Staart-instellingen */
  --staart-basisgrootte: 14px;
  --staart-positie: 24px;
  --staart-afronding: 3px;
  --staart-breedte: 0.8;
  --staart-hoogte: 1.6;
}

.chat-bubble > * {
  position: relative;
  z-index: 2;
}

.chat-bubble::after {
  content: "";
  position: absolute;
  bottom: calc(var(--staart-basisgrootte) / -2 - 0.5px);
  left: var(--staart-positie);
  width: var(--staart-basisgrootte);
  height: var(--staart-basisgrootte);
  background: var(--kleur-bubble-bg);
  border-right: 1px solid var(--kleur-bubble-rand);
  border-bottom: 1px solid var(--kleur-bubble-rand);
  border-bottom-right-radius: var(--staart-afronding);
  transform-origin: center;
  transform: scaleX(var(--staart-breedte)) scaleY(var(--staart-hoogte)) rotate(45deg);
  z-index: 1;
}

/* Base style voor alle infokaarten */
.info-card {
  border-radius: 14px;
}

/* INFO_GAVERDER lichtblauw thema */
.info-gaverder {
  background: var(--kleur-info-gaverder-bg);
  border: none;
	padding: 20px;

}
.info-gaverder .info-text {
  color: var(--kleur-info-gaverder-tekst);
}

.info-start {
  background: var(--kleur-info-start-bg);
  border: none;
}
.info-start .info-text {
  color: white;
}

.info-einde {
  background: #c2e2fe;
  border: none;
	padding: 20px;
}
.info-einde .info-text {
  color: #004475;
}

/* Algemene tekst-binnenkant */
.info-text {
  font-size: 20px;
  line-height: 1.55;
}

/* Breedte per bubbel/kaart-type */
.width-info-start            { max-width: 90%; }
.width-vraag-ja-nee          { width: fit-content; }
.width-vraag-ja-nee-weetikniet { width: fit-content; }
.width-info-gaverder         { 
width: fit-content;
}
.width-info-einde            { width: fit-content; }

/*  Knoppen Basis*/
.btn-group {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
  align-items: left;
}

.btn {
  height: 54px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
	font-family: 'Flanders Art Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ─── Knop Vormen & Kleuren ─── */
.btn-ja {
  background: var(--kleur-knop-ja-bg);
  color: var(--kleur-knop-ja-tekst);
  width: 54px;
  padding: 0;
  border-radius: 50%;
}

.btn-nee {
  background: var(--kleur-knop-nee-bg);
  color: var(--kleur-knop-nee-tekst);
  border-radius: 0px;
}

.btn-weetniet {
  background: var(--kleur-knop-weetniet-bg);
  color: var(--kleur-knop-weetniet-tekst);
  clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
}

/* ─── Knop Toestanden ─── */
.btn.selected {
  box-shadow: 0 0px 14px rgba(0,0,0,0.15);
}

.btn.not-selected {
  font-size: 15px;
	opacity: 0.3;
}

/* Knop voor INFO_GAVERDER ("ga verder") */
.btn-info-gaverder {
  display: block; margin: 0 auto; width: 100%;
  border: none; border-radius: 0;
  background: var(--kleur-btn-info-gaverder-bg);
  color: var(--kleur-btn-info-gaverder-tekst); 
font-size: 18px; 
	font-weight: 600; 
	cursor: pointer; 
	padding: 16px 24px;
	margin-top: 15px;
}

/* Knop voor INFO_START ("start") */
.btn-info-start {
  display: left; align-items: center; justify-content: center;
  margin: 0 auto; width: fit-content; height: 54px;
  border: none; border-radius: 0;
  background: var(--kleur-btn-info-start-bg);
  color: var(--kleur-btn-info-start-tekst); font-size: 20px; font-weight: 700; cursor: pointer; padding: 0 14px;
}

/* Wrapper voor de knoppen op INFO_EINDE-kaarten */
.btn-info-einde-groep {
display: flex !important;
  flex-direction: row !important;
  gap: 15px;            
  margin-top: 20px;
}

.btn-info-einde-herstart,
.btn-info-einde-delen {
  background: none;
  border: none;
  padding-right: 10px;
  cursor: pointer;
  display: inline-flex;
	width: auto;
  justify-content: center;
  align-items: center;
}

/* Optioneel: zorgt dat de icoontjes een mooie, constante grootte aannemen */
.btn-info-einde-groep img {
  width: 50px;
  height: 50px;
}

.label-done {
	display: none;
	height:0px;
}

/* Typografie & Elementen */
.link { 
	text-decoration: underline; 
	text-underline-offset: 3px; 
	font-weight: 700; 
	cursor: pointer; 
	color: #2D89CC; }

.bullet-point { 
	display: flex; 
	gap: 8px; 
	margin-top: 4px; 
	padding-left: 4px; }
.bullet { flex-shrink: 0; line-height: 1.55;}
.clear-both { 
	clear: both;
}

ul { 
list-style-type: disc;        /* gewone ronde bolletjes*/
  list-style-position: outside;  
  padding-left: 20px;           /* Geeft de hele lijst een kleine inspringing vanaf de linkerkant */
  margin: 15px 0;
font-weight: normal;}

li {
  padding-bottom: 8px;
  line-height: 1.4;
}


