
/* Algemene reset en basisinstellingen */
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: #FFFFFF;
  color: #2C3E50;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: #2C3E50;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.75rem;
  color: #1D6F6D;
}

h3 {
  font-size: 1.5rem;
  color: #1D6F6D;
}
h4 {
  font-size: 1.25rem;
  color: #1D6F6D;
}
p {
  font-size: 1rem;
  margin-bottom: 1em;
}

nav a.active {
  font-weight: bold;
  text-decoration: underline;
  color: #004477;
}

.button {
  display: inline-block;
  padding: 0.75em 1.5em;
  background-color: #005d7a;
  color: white;
  font-weight: bold;
  border: 1px solid #D0E3EB;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  margin-top: 1em;
}

.button:hover {
  background-color: #D0E3EB; /* #00465c; */
}

/* Links en knoppen */
a {
  color: #1D6F6D;
  text-decoration: underline;
}

a:hover {
  color: #14524F;
}

button, .button {
  font-family: 'Inter', sans-serif;
  background-color: #1D6F6D;
  color: #FFFFFF;
  border: 2px solid #D0E3EB;
  padding: 0.75em 1.5em;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

button:hover, .button:hover {
  background-color: #A7C5BD;
}

blockquote.quote {
  font-style: italic;
  margin: 1em 0;
  padding: 1em;
  background-color: #f8f8f8;
  border-left: 4px solid #d0a465;
  color: #333;
}

/* Achtergrondsecties */
.section-light {
  background-color: #F5F5F5;
  padding: 0.5em 0em;
}

.section-highlight {
  background-color: #FFF9D6;
  padding: 0.5em 0em;
}

.section-warm {
  background-color: #E2D7C5;
  text-align: center;
  padding: 1em 0;
}

.section-lgreen {
  background-color: #A7C5BD;
  color: #f9f9f9;
  border-bottom: 1px solid #C7DED9;
  padding: 0.5em 1em; /* genoeg ruimte boven en onder */
}

.section-lgreen .container {
  padding: 0.5em 1em; /* alleen horizontale padding binnen de container */
  color: #f9f9f9;
}

.section-bg1 {
  background-image: url('../images/bg01.png');
  background-repeat: repeat-x;
  background-size: auto 100%; /* houdt hoogte passend, breedte automatisch */
  background-position: center;
  padding: 0.5em 0;
  border-bottom: 1px solid #eee;
}
.section-bg1 .container {
  padding: 0.5em 1em; /* alleen horizontale padding binnen de container */
}

.section-lgreen h1,
.section-lgreen h2,
.section-lgreen h3,
.section-lgreen h4,
.section-lgreen h5,
.section-lgreen h6 {
  color: #f8f8f8;
}

.section-lgreen a {
  color: #e8e8e8;
}

/* Citaat / blok */
blockquote {
  background: #F5F5F5;
  border-left: 4px solid #1D6F6D;
  margin: 1em 0;
  padding: 1em;
  font-style: italic;
  color: #2C3E50;
}

/* Lay-out containers */
.container {
  margin-left: auto;
  margin-right: auto;
  max-width: 960px;
  padding: 0 1em;
}

/* Lijststijlen */
ul {
  padding-left: 2.2em;
}

ul li {
  margin-bottom: 0.5em;
}

/* Voor standaard genummerde lijsten (1., 2., 3.) zonder inspringing */
ol {
  list-style-type: decimal;
  padding-left: 2.2em;
  margin-left: 0;
}

/* Voor genummerde lijsten met hoofdletters (A., B., C.) zonder inspringing */
ol.alpha {
  list-style-type: upper-alpha;
  margin-left: 1;
}

/* Optioneel: voor unordered lists zonder bullets, als je dat ergens wilt */
ul.no-bullets {
  list-style-type: none;
  padding-left: 2.2;
  margin-left: 1;
}

ul li,
ol li {
  margin-bottom: 0.5em;  /* of bijv. 0.6em voor wat ruimere afstand */
  line-height: 1.5;
}

.checklist {
  list-style: none;
  padding-left: 1;
  margin-top: 1em;
}

.checklist li {
  position: relative;
  padding-left: 2.2em;
  margin-bottom: 0.6em;
}

.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent-color, #0a8754); /* of gebruik je specifieke huisstijl-groen */
  font-weight: bold;
}

/* Footer */
footer {
  background-color: #2C3E50;
  color: #FFFFFF;
  text-align: center;
  padding: 2em 1em;
  font-size: 0.875rem;
}

/* Resource Cards */
.button-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: flex-start;
  margin-top: 1em;
}

.card {
  width: 130px;
  background-color: #F5F5F5;
  border: 1px solid #D0A465;
  border-radius: 5px;
  padding: 5px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.card:hover {
  background-color: #EDEDED;
  transform: scale(1.05);
}

.card img {
  width: 120px;
  height: 120px;
  margin: 5px auto;
  display: block;
}

.card-text {
  color: #2C3E50;
  font-size: 0.9rem;
  min-height: 4em;
  text-align: center;
  margin-top: 5px;
}

.card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.label {
  font-weight: bold;
  color: #D0A465;
  font-size: 70%;
  display: block;
  text-align: center;
  margin-bottom: 3px;
  text-transform: uppercase;
}

/* Responsiviteit */
@media (max-width: 600px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  .container { padding: 0 0.5em; }
}

/* Summary layout for medical_summaries.html */
.summary-section {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2em;
}
.summary-photo {
  height: 150px;
  margin-right: 1em;
  flex-shrink: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal.right {
  transform: translateX(40px);
}

.reveal.left {
  transform: translateX(0px);
}


/* FAQ - Accordion Style */
.faq-section {
  margin-bottom: 2em;
}

.faq-section h2 {
  margin-top: 2em;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.2em;
  font-size: 1.4em;
  color: var(--color-darkblue);
}

.faq-item {
  margin-bottom: 1em;
  border-bottom: 1px solid #ddd;
}

.faq-question {
  font-weight: bold;
  background-color: #f3f8fa;
  padding: 1em;
  cursor: pointer;
  transition: background-color 0.6s ease;
}

.faq-question:hover {
  background-color: #E2D7C5;
}

.faq-answer {
  display: none;
  padding: 1em;
  background-color: #FFF9D6;
  border-left: 4px solid var(--color-darkblue);
  border-top: 1px solid #ddd;
}

.faq-item.open .faq-answer {
  display: block;
}

.ontbijt-selectie {
  text-align: center;
  margin: 1em auto;
}
.ontbijt-selectie button {
  margin: 0.3em;
}
.ontbijtblok {
  max-width: 800px;
  margin: 2em auto;
  padding: 2em;
  background-image: url("../images/bg_paper.png");
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: top center;
  background-attachment: local;
}


.ontbijttabel {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
}
.ontbijttabel td {
  padding: 0.4em;
  vertical-align: top;
}
.ontbijttabel td:first-child {
  width: 20%;
  font-weight: bold;
}
.ontbijttabel td:nth-child(2) {
  width: 40%;
}
.ontbijttabel td:last-child {
  width: 40%;
  font-style: italic;
}
.ontbijtblok ol {
  padding-left: 1.5em;
}
.ontbijtblok ol li {
  margin-bottom: 0.8em;  /* Meer ruimte tussen stappen */
}

.ontbijtblok .uitleg p {
  margin-top: 0.5em;
  color: #333; /* donkergrijs, goed leesbaar */
  line-height: 1.2em; /* minder ruimte tussen regels */
}
.ontbijtblok .uitleg::before {
  content: "";
  display: block;
  width: 50%;
  height: 1px;
  background-color: #999;
  margin: 2em auto 1em auto;
}
.ontbijt-selectie button.active {
  background-color: #ddd; /* lichtere kleur voor geselecteerde knop */
  font-weight: bold;
  border: 1px solid #999;
}
.ontbijttitel {
  font-size: 1.5em;
  text-align: center;
  padding-bottom: 8px;
  margin-bottom: 15px;
  border-bottom: 2px solid #333;
  width: 100%;
  display: block;
}

/* Basisstijl voor receptblokken */
.receptblok {
  max-width: 800px;
  margin: 2em auto;
  padding: 2em;
  background-image: url("../images/bg_paper.png");
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: top center;
  background-attachment: local;
}

.titelsnack {
  color: #1d6f6d;
  font-size: 1.4em;
  text-align: center;
  margin-bottom: 0.8em;
  padding-bottom: 0.3em;
  border-bottom: 2px solid #d0a465;
}

.ingrediententabel {
  width: 100%;
  margin: 1em 0;
}
.ingrediententabel td {
  padding: 0.3em 0;
  vertical-align: top;
}
.ingrediententabel td:first-child {
  width: 25%;
  font-weight: bold;
}

.bereiding {
  padding-left: 1.2em;
}
.bereiding li {
  margin-bottom: 0.6em;
}

/* ---- Stijlen voor tussendoortjes ---- */
.snack-uitleg {
  margin-top: 1.5em;
  color: #555;
  line-height: 1.4;
}

.snack-uitleg::before {
  content: "";
  display: block;
  width: 50%;
  height: 1px;
  background-color: #d0a465; /* Past bij je bestaande kleuren */
  margin: 1.5em auto 1em auto;
}

.snack-voedingsinfo {
  font-size: 0.9em;
  font-style: italic;
  color: #666;
  padding: 0.5em 0;
}
.snack-voedingsinfo::before {
  content: "";
  display: block;
  width: 40%;
  height: 1px;
  background-color: #d0a465;
  margin: 1em auto 0.8em auto;
}

.snack-variaties {
  background-color: #E2D7C550;
  padding: 1em;
  border-radius: 6px;
  margin: 1em 0;
  font-size: 0.9em;
}

.snack-variaties::before {
  content: "Variatiemogelijkheden:";
  display: block;
  font-weight: bold;
  color: #1d6f6d;
  margin-bottom: 0.5em;
}

.snack-bewaartip {
  font-size: 0.85em;
  padding-left: 1em;
  border-left: 3px solid #a7c5bd;
  color: #555;
}
.snack-bewaartip::before {
  content: "Bewaaradvies:";
  display: block;
  font-weight: bold;
  color: #1d6f6d;
  margin-bottom: 0.3em;
}
/* Cravings tips styling */
.cravings-tips {
  background-color: #FFF9E6;
  padding: 1.5em 0;
  margin-bottom: 2em;
}

.tipblok {
  background-color: white;
  padding: 1.5em;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.tips-lijst {
  padding-left: 1.5em;
}

.tips-lijst li {
  margin-bottom: 0.8em;
  position: relative;
  padding-left: 1.5em;
  line-height: 1.5;
}

.tips-lijst li::before {
  content: "•";
  color: #1D6F6D;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.belangrijk-box {
  background-color: #F1F7F6;
  border-left: 4px solid #1D6F6D;
  padding: 1em;
  margin-top: 1.5em;
  font-size: 0.95em;
}

.belangrijk-box em {
  font-style: normal;
  font-weight: bold;
  color: #1D6F6D;
}

/* Autofagie-sectie uitbreidingen */

/* Geef de quizvragen wat extra ruimte */
form h3 {
  margin-top: 1.5em;
  color: #1D6F6D;
}

form label {
  display: block;
  margin-bottom: 0.5em;
  font-size: 1rem;
}

/* Stijl voor juiste en foute antwoorden (optioneel later JS-toevoegen) */
.correct-answer {
  background-color: #e6ffed;
  border-left: 4px solid #0a8754;
  padding-left: 0.5em;
}

.wrong-answer {
  background-color: #ffe6e6;
  border-left: 4px solid #cc0000;
  padding-left: 0.5em;
}

/* Zachte overgang tussen secties bij klikken */
html {
  scroll-behavior: smooth;
}

/* Optioneel: voeg visuele pijl toe aan 'GA DOOR'-knoppen */
.button::after {
  content: ' →';
  margin-left: 0.5em;
}

section[style*="display: none"] {
  opacity: 0;
  transition: opacity 0.6s ease;
}
section[style*="display: block"] {
  opacity: 1;
}
label.correct::after {
content: " ✔";
color: green;
font-weight: bold;
}
label.wrong::after {
content: " ✖";
color: red;
font-weight: bold;
}