/* =========================================================
   Gedeelde stijl voor alle pagina's van Weerstation Pops
   ========================================================= */

/* ---------- Achtergrond ----------
   Effen achtergrond in de kleuren van de site: een rustige
   nachtblauwe lucht met een zachte gloed rechtsboven.
   Wil je de foto terug? Verwijder dan dit blok. */
body::before {
    background:
        radial-gradient(1100px 620px at 88% -8%, rgba(96, 156, 222, 0.30), transparent 62%),
        radial-gradient(900px 520px at 0% 105%, rgba(47, 128, 209, 0.16), transparent 60%),
        linear-gradient(180deg, #1f3a63 0%, #172d50 42%, #101e38 100%) !important;
}

/* ---------- Footer ---------- */
.site-footer {
    width: 100%;
    margin-top: 40px;
    background: rgba(20, 33, 61, 0.95);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.18);
    color: rgba(255, 255, 255, 0.85);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
    padding: 18px 16px 22px;
    box-sizing: border-box;
}

.site-footer strong {
    color: #ffffff;
    font-weight: 700;
}

.site-footer .copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

/* Donkere blokken (zoals de temperatuur op de homepage) iets laten loskomen
   van de blauwe achtergrond */
.hero {
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.30) !important;
}

/* Kaarten helder wit op de blauwe achtergrond */
.card {
    background: #ffffff !important;
}

/* Footer altijd onderaan, ook op korte pagina's.
   De pagina is een kolom; de footer krijgt alle vrije ruimte boven zich. */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > :not(script):not(style):not(link) {
    flex-shrink: 0;
    /* In een flex-kolom krimpen blokken met "margin: auto" tot hun inhoud
       en schuiven ze naar het midden. Daarom: volle breedte en geen
       automatische marge boven/onder (links/rechts centreren blijft). */
    width: 100%;
    box-sizing: border-box;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body > .site-footer {
    margin-top: auto !important;
}

/* =========================================================
   Hamburgermenu (gsm en pc) — wordt actief via /static/menu.js
   ========================================================= */
html.menu-js .navbar .nav-links { display: none !important; }
html.menu-js .navbar .navbar-inner {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
}
.menu-knop {
    display: inline-flex; align-items: center; gap: 10px;
    border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 700;
    color: #fff; background: rgba(255, 255, 255, .12);
    padding: 10px 14px; border-radius: 12px; flex: none;
}
.menu-knop:hover { background: rgba(255, 255, 255, .2); }
.menu-knop:focus-visible { outline: 3px solid #7cc0ff; outline-offset: 2px; }
.menu-streepjes { position: relative; width: 22px; height: 16px; display: inline-block; }
.menu-streepjes i {
    position: absolute; left: 0; width: 100%; height: 2.5px; border-radius: 2px; background: #fff;
    transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.menu-streepjes i:nth-child(1) { top: 0; }
.menu-streepjes i:nth-child(2) { top: 6.75px; }
.menu-streepjes i:nth-child(3) { top: 13.5px; }
.menu-knop[aria-expanded="true"] .menu-streepjes i:nth-child(1) { top: 6.75px; transform: rotate(45deg); }
.menu-knop[aria-expanded="true"] .menu-streepjes i:nth-child(2) { opacity: 0; }
.menu-knop[aria-expanded="true"] .menu-streepjes i:nth-child(3) { top: 6.75px; transform: rotate(-45deg); }

body > .menu-achtergrond {
    position: fixed !important; inset: 0; width: auto !important; z-index: 9998;
    background: rgba(5, 12, 28, .55); opacity: 0; transition: opacity .25s ease;
}
body > .menu-achtergrond.open { opacity: 1; }
body > .menu-paneel {
    position: fixed !important; top: 0; right: 0; bottom: 0; z-index: 9999;
    width: min(320px, 86vw) !important; margin: 0 !important;
    background: #14213d; color: #fff; box-shadow: -10px 0 40px rgba(0, 0, 0, .35);
    display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform .25s ease;
    font-family: Arial, Helvetica, sans-serif;
}
body > .menu-paneel.open { transform: translateX(0); }
.menu-achtergrond[hidden], .menu-paneel[hidden] { display: none !important; }
.menu-kop {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 18px 12px; font-size: 18px; font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.menu-sluit {
    border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 38px; height: 38px;
    border-radius: 50%; font-size: 16px; cursor: pointer;
}
.menu-sluit:hover { background: rgba(255, 255, 255, .22); }
.menu-paneel ul { list-style: none; margin: 0; padding: 10px; overflow-y: auto; flex: 1; }
.menu-paneel li a {
    display: flex; align-items: center; gap: 14px; padding: 13px 14px; margin-bottom: 2px;
    border-radius: 12px; color: rgba(255, 255, 255, .9); text-decoration: none; font-size: 16px; font-weight: 600;
}
.menu-paneel li a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.menu-paneel li a.actief { background: #fff; color: #14213d; }
.menu-paneel li a:focus-visible { outline: 3px solid #7cc0ff; outline-offset: -3px; }
.menu-ico { width: 26px; text-align: center; font-size: 19px; }
.menu-voet { padding: 14px 18px 20px; font-size: 12px; color: rgba(255, 255, 255, .5); border-top: 1px solid rgba(255, 255, 255, .1); }
body.menu-open { overflow: hidden; }
@media (max-width: 420px) {
    .menu-knop .menu-tekst { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .menu-paneel, .menu-achtergrond, .menu-streepjes i { transition: none !important; }
}
