/* ============================================
   Kwaliteitsopvoeding.nl — Stylesheet
   Look & feel gebaseerd op opvoedopstellingen.nl
   Kleuren: #32a8b6 (teal), #32373c (donker)
   Fonts: Source Serif Pro (koppen), Noto Sans (body)
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #32373c;
    background: #ffffff;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Source Serif Pro', serif;
    font-weight: 600;
    line-height: 1.3;
    color: #2c2c2c;
}

h1 { font-size: 2.4rem; margin-bottom: 0.6em; }
h2 { font-size: 1.8rem; margin-bottom: 0.5em; }
h3 { font-size: 1.3rem; margin-bottom: 0.4em; }

p {
    margin-bottom: 1em;
    max-width: 700px;
}

a {
    color: #32a8b6;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #28868f;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Layout --- */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 60px 0;
}

.section--alt {
    background: #f7fafa;
}

.section--teal {
    background: #32a8b6;
    color: #ffffff;
}

.section--teal h2,
.section--teal h3 {
    color: #ffffff;
}

/* --- Warm section variant --- */
.section--warm {
    background: #f5f0eb;
}

/* --- Trainingen banner --- */
.trainingen-banner {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.trainingen-banner h2 {
    color: #2c2c2c;
    margin-bottom: 16px;
}

.trainingen-banner p {
    color: #555;
    max-width: none;
    margin: 0 auto 24px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* --- Header & Navigation --- */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.header__logo {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #32a8b6;
}

.header__logo span {
    color: #32373c;
}

.nav {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav a {
    color: #32373c;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: #32a8b6;
    text-decoration: none;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #32a8b6;
    transition: width 0.3s;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #32373c;
    cursor: pointer;
}

/* --- Hero --- */
.hero {
    background: linear-gradient(135deg, #32a8b6 0%, #28868f 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.hero__author {
    color: #2c2c2c;
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    max-width: none;
    margin: 16px auto 0;
}

.hero__subtitle {
    color: #2c2c2c;
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.1rem;
    text-align: center;
    max-width: none;
    margin: 8px auto 0;
}

.hero__quote {
    color: #ffffff;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.6rem;
    font-style: italic;
    font-weight: 400;
    max-width: 720px;
    margin: 0 auto 0.8em;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.hero__notice {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-top: 1em;
}

.hero__notice a {
    color: #ffffff;
    text-decoration: underline;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    background: #32a8b6;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn:hover {
    background: #28868f;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    border: 2px solid #32a8b6;
    color: #32a8b6;
}

.btn--outline:hover {
    background: #32a8b6;
    color: #ffffff;
}

.btn--white {
    background: #ffffff;
    color: #32a8b6;
}

.btn--white:hover {
    background: #f0f0f0;
    color: #28868f;
}

/* --- Intro / About --- */
.intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro__text h2 {
    position: relative;
}

.intro__text h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #32a8b6;
    margin-top: 12px;
}

.intro__image {
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    max-width: 320px;
    margin: 0 auto;
}

.intro__image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #e8f4f6;
}

/* --- Quote / Mission --- */
.quote {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.quote blockquote {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.6;
    color: #2c2c2c;
    position: relative;
    padding: 0 20px;
}

.quote blockquote::before {
    content: '\201C';
    font-size: 4rem;
    color: #32a8b6;
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.4;
}

.quote cite {
    display: block;
    margin-top: 16px;
    font-style: normal;
    font-size: 0.95rem;
    color: #888;
}

/* --- Tagline --- */
.tagline {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Source Serif Pro', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #2c2c2c;
    letter-spacing: 0.02em;
}

.tagline__sub {
    font-size: 1.1rem;
    font-weight: 400;
}

/* --- Books / Cards --- */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.books-grid--4 {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 20px;
}

.books-grid--4 .book-card__body h3 {
    font-size: 1.1rem;
}

.price {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #32a8b6;
    margin-bottom: 4px;
}

.book-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.book-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.book-card__cover {
    aspect-ratio: 3 / 4;
    background: #e8f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.book-card__cover img {
    max-height: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.book-card__cover--placeholder {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.2rem;
    color: #32a8b6;
    text-align: center;
}

.book-card__body {
    padding: 24px;
}

.book-card__body h3 {
    margin-bottom: 8px;
}

.book-card__body .badge {
    display: inline-block;
    background: #e8f4f6;
    color: #32a8b6;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.book-card__body p {
    font-size: 0.92rem;
    color: #555;
}

/* --- Podcast --- */
.podcast {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: center;
    max-width: 700px;
    margin: 0 auto;
}

.podcast__image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.podcast__image img {
    width: 100%;
    display: block;
}

.podcast__text h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.podcast__text p {
    color: #555;
}

/* --- Reviews / Testimonials --- */
.reviews {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.review {
    background: #ffffff;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border-left: 4px solid #32a8b6;
}

.review p {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: none;
}

.review cite {
    display: block;
    margin-top: 16px;
    font-style: normal;
    font-weight: 600;
    color: #32a8b6;
    font-size: 0.9rem;
}

/* --- Poem --- */
.poem {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.poem p {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 2;
    max-width: none;
}

.poem cite {
    display: block;
    margin-top: 16px;
    font-style: normal;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info h3 {
    margin-bottom: 16px;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info a {
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #e8f4f6;
    border-radius: 50%;
    color: #32a8b6;
    font-size: 1.1rem;
    transition: background 0.2s;
}

.social-links a:hover {
    background: #32a8b6;
    color: #ffffff;
    text-decoration: none;
}

/* --- Bestelformulier --- */
.bestel-form h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f4f6;
}

.book-card--bestel {
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    cursor: default;
}

.book-card--bestel.selected {
    border-color: #32a8b6;
    box-shadow: 0 4px 20px rgba(50, 168, 182, 0.15);
}

.aantal-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.aantal-wrapper label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
}

.aantal-select {
    width: 70px;
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Noto Sans', sans-serif;
    background: #fff;
    transition: border-color 0.2s;
}

.aantal-select:focus {
    outline: none;
    border-color: #32a8b6;
}

.totaal-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f7fafa;
    border: 2px solid #32a8b6;
    border-radius: 8px;
    padding: 16px 24px;
    margin-top: 24px;
    font-family: 'Source Serif Pro', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #32a8b6;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #32373c;
    margin-bottom: 6px;
}

.form-group input {
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Noto Sans', sans-serif;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #32a8b6;
}

.btn--large {
    padding: 16px 48px;
    font-size: 1.1rem;
}

.alert {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #dc2626;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

/* --- Bedankt pagina --- */
.status-icon {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.status-icon--success {
    background: #dcfce7;
    color: #16a34a;
}

.status-icon--pending {
    background: #fef9c3;
    color: #ca8a04;
}

.status-icon--failed {
    background: #fef2f2;
    color: #dc2626;
}

.bestelling-samenvatting {
    background: #f7fafa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.bestelling-samenvatting p {
    margin-bottom: 6px;
    max-width: none;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Footer --- */
.footer {
    background: #2c2c2c;
    color: rgba(255,255,255,0.6);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer a {
    color: rgba(255,255,255,0.8);
}

.footer a:hover {
    color: #32a8b6;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 20px 24px;
        border-bottom: 1px solid #e8e8e8;
        gap: 8px;
    }

    .nav.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero__quote {
        font-size: 1.8rem;
    }

    .intro {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .intro__image {
        order: -1;
    }

    .reviews {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .podcast {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .podcast__image {
        max-width: 220px;
        margin: 0 auto;
    }

    .podcast__text p {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .books-grid,
    .books-grid--4 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .books-grid,
    .books-grid--4 {
        grid-template-columns: 1fr;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .section {
        padding: 40px 0;
    }

    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 1.5rem;
    }
}
