/* style.css */

/* Algemene styling */
:root {
    --primary-color: #7296a4;
    --secondary-color: #7296a4;
    --text-color: #333;
    --light-bg: #f8f6f0;
    --dark-bg: #7e5a72;
    --white: #fff;
    --border-radius: 8px;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background-color: var(--light-bg);
    color: var(--text-color);
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
    text-align: center;
}

h1 { font-size: 2.8em; line-height: 1.2; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.8em; }

p {
    margin-bottom: 1em;
    text-align: justify;
}

/* Hero Section */
.hero {
    /* De achtergrondafbeelding wordt nu ingesteld via PHP in de HTML,
       dus we laten de URL hier weg. Het PHP gedeelte handelt dit af. */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)) no-repeat center center/cover;
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 40px;
}
.hero h1 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 3.5em; /* Grotere titel */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero .tagline {
    font-size: 1.5em;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
	text-align: center;
}
.hero .cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: bold;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}
.hero .cta-button:hover {
    background-color: #7e5a72;
}
.hero .price-info {
    font-size: 1.8em;
    margin-top: 20px;
    color: var(--white);
    font-weight: bold;
	text-align: center;
}
.hero .price-info .original-price {
    text-decoration: line-through;
    opacity: 0.7;
    margin-right: 10px;
    font-size: 0.8em;
}
.hero .logo {
	width: 100%;
    max-width: 350px;
}

/* Secties algemeen */
section {
    background: var(--white);
    padding: 40px 30px;
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}


/* Sectie: Probleem vs. Oplossing */
.problem-vs-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.solution-column,
.problem-column {
    padding: 30px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    border-top: 5px solid; /* Top border voor een subtiel accent */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.problem-column {
    border-color: var(--dark-bg); /* Gebruikt de paars/roze tint */
}

.solution-column {
    border-color: var(--primary-color); /* Gebruikt de blauw/grijze tint */
}

.problem-column h3,
.solution-column h3 {
    margin-top: 0;
    text-align: left;
}

.problem-column ul,
.solution-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.problem-column ul li,
.solution-column ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
}

/* Aangepaste 'bullets' voor elke kolom */
.problem-column ul li::before {
    content: '?'; /* Een subtiel vraagteken */
    position: absolute;
    left: 0;
    color: var(--dark-bg);
    font-weight: bold;
}

.solution-column ul li::before {
    content: '✓'; /* Het vertrouwde vinkje voor de oplossing */
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Cursus Inhoud / Wat je leert */
.course-content, .what-you-learn {
    text-align: center;
}
.course-content h2, .what-you-learn h2 {
    margin-bottom: 30px;
}
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.content-item {
    background: var(--light-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: left;
    border: 1px solid #eee;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.content-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.content-item h4 {
    margin-top: 0;
    color: var(--primary-color);
    text-align: left;
}
.content-item ul {
    list-style: none;
    padding: 0;
}
.content-item ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}
.content-item ul li::before {
    content: '✅'; /* Checkmark */
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.feature-item {
    background: #e9f7ff;
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-color);
    text-align: center;
    font-weight: 600;
    color: #0056b3;
    transition: background-color 0.3s ease;
}
.feature-item:hover {
    background-color: #d0edff;
}

/* Afbeeldingen in content */
.image-half {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.text-with-image {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}
.text-with-image > div {
    flex: 1;
    min-width: 300px;
}

/* Call to Action (CTA) onderaan secties */
.section-cta {
    text-align: center;
    margin-top: 30px;
}
.section-cta .cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    font-size: 1.1em;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease;
}
.section-cta .cta-button:hover {
    background-color: #7e5a72;
}

/* Testimonials */
.testimonials h2 {
    margin-bottom: 30px;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.testimonial-card {
    background: var(--light-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
    font-style: italic;
    position: relative;
}
.testimonial-card::before {
    content: "“";
    font-size: 4em;
    color: rgba(0,0,0,0.1);
    position: absolute;
    top: 10px;
    left: 20px;
}
.testimonial-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}
.testimonial-card .author {
    font-weight: bold;
    color: var(--primary-color);
    font-style: normal;
}
.testimonial-card .rating {
    color: #ffc107; /* Geel voor sterren */
    font-size: 1.2em;
    margin-top: 10px;
}

/* Over de Docent */
.about-docent {
    text-align: center;
}
.docent-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}
.docent-info img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
.docent-info h3 {
    margin: 0;
    color: var(--primary-color);
}
.docent-info p {
    max-width: 700px;
    margin: 10px auto 0 auto;
    text-align: center;
}

/* FAQ */
.faq h2 {
    margin-bottom: 30px;
}
.faq-item {
    background: var(--light-bg);
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
}
.faq-question {
    padding: 15px 20px;
    background-color: #e9e9e9;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-color);
}
.faq-question:hover {
    background-color: #dee2e6;
}
.faq-answer {
    padding: 15px 20px;
    background-color: var(--white);
    border-top: 1px solid #eee;
    display: none; /* Standaard verborgen */
}
.faq-question span {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}
.faq-question.active span {
    transform: rotate(180deg);
}

/* Inschrijfformulier */
.enrollment-form {
    text-align: center;
    background-color: var(--dark-bg);
    color: var(--white);
    border-radius: var(--border-radius);
}
.enrollment-form h2 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 2.5em;
}
.enrollment-form .price-display {
    font-size: 3em;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 30px;
	text-align: center;
}
.enrollment-form .price-display .original-price {
    text-decoration: line-through;
    font-size: 0.7em;
    color: rgba(255,255,255,0.7);
    margin-right: 15px;
}
.enrollment-form form {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.enrollment-form form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-color);
}
.enrollment-form form input[type="text"],
.enrollment-form form input[type="email"] {
    width: calc(100% - 22px);
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}
.enrollment-form form button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    width: 100%;
    transition: background-color 0.3s ease;
}
.enrollment-form form button:hover {
    background-color: #7e5a72;
}
.error {
    color: #dc3545; /* Rood */
    font-size: 0.9em;
    margin-top: -15px;
    margin-bottom: 15px;
}
.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 50px;
    padding: 30px 20px;
    background-color: var(--dark-bg);
    color: rgba(255,255,255,0.7);
    font-size: 0.9em;
}
.footer a {
    color: var(--primary-color);
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}


/* NIEUWE SECTIE: Is deze cursus voor jou? */
.is-for-you-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.is-for-you-section .for-you,
.is-for-you-section .not-for-you {
    padding: 25px;
    border-radius: var(--border-radius);
}

.is-for-you-section .for-you {
    background-color: #e6ffed; /* Lichtgroen */
    border-left: 5px solid var(--secondary-color); /* Groen */
}

.is-for-you-section .not-for-you {
    background-color: #ffe6e6; /* Lichtrood */
    border-left: 5px solid #dc3545; /* Rood */
}

.is-for-you-section h3 {
    margin-top: 0;
    color: var(--text-color);
}

.is-for-you-section ul {
    list-style: none;
    padding: 0;
    text-align: left;
}
.is-for-you-section ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}
.is-for-you-section .for-you ul li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}
.is-for-you-section .not-for-you ul li::before {
    content: '✗';
    color: #dc3545;
    font-weight: bold;
    position: absolute;
    left: 0;
}


/* Styling voor het opt-in veld */
.optin-field {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background-color: rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 4px;
}
.optin-field input[type="checkbox"] {
    width: auto; /* Zorg dat checkbox niet 100% breed wordt */
    margin: 0 10px 0 0;
    transform: scale(1.2); /* Maak de checkbox iets groter */
}
.enrollment-form form .optin-field label {
    margin-bottom: 0;
    font-weight: normal;
    margin-left: 10px;
}




/* Responsive design */
@media (max-width: 768px) {
    .hero {
        padding: 60px 15px;
    }
    .hero h1 {
        font-size: 2.5em;
    }
    .hero .tagline {
        font-size: 1.2em;
    }
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.5em; }
    .problem-solution {
        flex-direction: column;
    }
    .text-with-image {
        flex-direction: column;
    }
    .enrollment-form h2 {
        font-size: 1.2em;
    }
    .enrollment-form .price-display {
        font-size: 2.5em;
    }
    .is-for-you-section {
        grid-template-columns: 1fr; /* Stapel de kolommen op kleinere schermen */
    }
	.problem-vs-solution {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2em;
    }
    .hero .tagline {
        font-size: 1em;
    }
    .hero .cta-button {
        font-size: 1.1em;
        padding: 12px 20px;
    }
    section {
        padding: 25px 15px;
    }
}