/**
 * MMX Page Builder - Custom CSS
 * HV Bergambacht
 */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Source+Sans+3:wght@400;600&display=swap');

:root {
    --primary:   #5a3e28;
    --secondary: #3d2910;
    --accent:    #b8904a;
    --light:     #fdf8f3;
    --dark:      #1e150a;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    background-color: #fff;
    color: #1e150a;
    font-size: 1.05rem;
    line-height: 1.75;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.3;
}

/* Knoppen */
.btn-primary                { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover          { background: var(--primary); border-color: var(--primary); }
.btn-secondary              { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-secondary:hover        { background: rgba(255,255,255,.15); border-color: #fff; }

/* CTA */
.cta-section                { background: var(--primary); color: #fff; }
.cta-section h2             { color: #fff; }
.cta-section .btn           { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Features */
.feature-icon               { color: var(--accent); }

/* Footer */
.footer                     { background: var(--secondary); border-top: 3px solid var(--accent); }
.footer-brand               { font-family: 'Merriweather', serif; color: var(--accent); }

/* ── Archief component ── */
.archief-iframe-wrapper {
    border: 2px solid #e8dfd3;
    border-radius: 4px;
    overflow: hidden;
    margin: 1.5rem 0;
    background: var(--light);
}
.archief-intro {
    color: #4a3520;
    font-size: 1rem;
    line-height: 1.75;
    margin-top: .5rem;
    margin-bottom: 1.5rem;
    max-width: 72ch;
}
.archief-placeholder {
    background: var(--light);
    border: 2px dashed #c9a87a;
    border-radius: 4px;
    padding: 3rem 2rem;
    text-align: center;
    color: #5a3e28;
    margin: 1.5rem 0;
}
.archief-placeholder i      { font-size: 2.5rem; color: #b8904a; display: block; margin-bottom: 1rem; }
.archief-placeholder p      { margin: .5rem 0; }
.archief-placeholder code   { background: #ede4d9; padding: 2px 6px; border-radius: 2px; font-size: .9em; }
.archief-help {
    background: #fef9f0;
    border: 1px solid #e8dfd3;
    border-left: 4px solid var(--accent);
    padding: 1.25rem 1.5rem;
    margin-top: 2rem;
    border-radius: 0 4px 4px 0;
}
.archief-help h4            { font-size: .95rem; color: var(--primary); margin-bottom: .75rem; font-family: 'Merriweather', serif; }
.archief-help ol            { margin-left: 1.25rem; color: #4a3520; font-size: .9rem; line-height: 1.85; }
.archief-help code          { background: #ede4d9; padding: 1px 5px; border-radius: 2px; font-size: .85em; }

/* ── Logo: wapen + sitenaam naast elkaar ── */
.navbar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.navbar .logo-img {
    height: 44px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
}
.navbar .logo-text {
    display: block !important;
    font-family: 'Merriweather', serif;
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    max-width: 180px;
    white-space: normal;
}

/* ── Header: 40vh ── */
section.hero, .hero {
    min-height: 40vh !important;
    max-height: 40vh !important;
    padding: 3rem 1rem !important;
}
.hero .hero-content h1      { font-size: clamp(1.3rem, 3.5vw, 2.2rem); }
.hero .hero-subtitle        { font-size: clamp(.9rem, 2vw, 1.1rem); margin-bottom: 1rem; }
.hero-content               { padding: 3rem 1rem; }

/* ── Team 5 kolommen ── */
.team-grid.cols-5 { grid-template-columns: repeat(5, 1fr) !important; }
@media (max-width: 1100px) { .team-grid.cols-5 { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 640px)  { .team-grid.cols-5 { grid-template-columns: repeat(2, 1fr) !important; } }
.team-grid.cols-5 .team-info h3 { font-size: .88rem; }
.team-grid.cols-5 .team-role    { font-size: .78rem; }
.team-photo img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top center;
}

/* ── Footer copyright: wit ── */
.footer-copy {
    color: #fff !important;
}
.footer-copy a {
    color: #fff !important;
}

/* ── Logo-tekst kleur: donkerbruin op witte navbar ── */
.navbar .logo-text {
    color: var(--secondary) !important;
}
