/* =========================================================
   PI3TWE – centrale site styles
   Generated: 2026-01-26 - 10:40
      Beschrijving:
   - Footer altijd onderaan
   - Subpagina header-image strak onder navbar
   - Mobiel en desktop consistent
   ========================================================= */

/* Basis pagina-structuur */
html,
body {
    height: 100%;
}

body {
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
}

/* Main vult beschikbare ruimte zodat footer onderaan blijft */
main {
    flex: 1 0 auto;
    padding-bottom: 3rem;
}

/* Footer */
footer {
    flex-shrink: 0;
}

/* Scroll-offset voor anchors (vaste navbar) */
section {
    scroll-margin-top: 5rem;
}

/* =========================================================
   Subpage header (locatie-afbeelding)
   Niet gebruiken op index.html
   ========================================================= */

.subpage-header {
    margin-top: 3.3rem; /* exact afgestemd op navbar */
    width: 100%;
    background-color: #111;
    line-height: 0;
}

.subpage-header img {
    display: block;
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

/* Mobiel: lagere header */
@media (max-width: 576px) {
    .subpage-header img {
        max-height: 180px;
    }
}

.repeater-box {
    width: min(360px, 92%);
    height: 140px;
    margin: 2rem auto;              /* gecentreerd */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.22);
    transition: background-color 0.25s ease, transform 0.15s ease;
    text-align: center;
    user-select: none;
}

/* Subtiele 'kaart' feel */
.repeater-box.repeater-on,
.repeater-box.repeater-off,
.repeater-box.repeater-loading {
    transform: translateZ(0);
}


/* Statussen */
.repeater-on {
    background-color: #c82333; /* rood */
}

.repeater-off {
    background-color: #198754; /* groen */
}

.repeater-loading {
    background-color: #6c757d; /* grijs */
}