@import url('https://fonts.googleapis.com/css2?family=Asap:wght@400;500;600;700&display=swap');

/* Organisatie-specifieke styling voor organisatie ID 1 - Passend Onderwijs Haarlemmermeer */

/* Compactere schaal: 15px basis (≈ 75% van globale 20px) */
html {
    font-size: 15px;
}

/* Basis typografie (vergelijkbaar met de referentie-agenda: strak en rustig) */
body,
.organisatie-header,
.hero,
.agenda-list,
.agenda-content {
    font-family: "Asap", Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #1f2a37;
}

/* Header (stijl passendonderwijshaarlemmermeer.nl) */
.po-site-header.organisatie-header {
    background: #ffffff;
    color: #464646;
    padding: 0;
    border-bottom: none;
    box-shadow: none;
}

.po-site-header .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.po-site-header .row-flex {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    gap: 0;
}

.po-site-header .left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
}

.po-site-header .company-logo img {
    display: block;
    max-width: 203px;
    max-height: 90px;
    width: auto;
    height: auto;
}

.po-site-header .right {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    background: #ffffff;
    padding: 0.75rem 0 0.75rem 1.25rem;
    min-height: 90px;
    text-align: right;
}

.po-site-header .right-center {
    margin-bottom: 0.5rem;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.po-site-header .right-bottom {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.po-site-header .menu-general ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: flex-end;
}

.po-site-header .menu-general a {
    color: #464646;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.2rem 0;
}

.po-site-header .menu-general a:hover,
.po-site-header .menu-general .active a {
    color: #464646;
    text-decoration: underline;
}

.po-site-header .contact-block {
    background-color: #379e32;
    padding: 0.5rem 1rem;
    display: inline-block;
}

.po-site-header .contact-block ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
}

.po-site-header .contact-block li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.po-site-header .contact-block a {
    color: #ffffff;
    text-decoration: none;
}

.po-site-header .contact-block a:hover {
    text-decoration: underline;
}

.po-site-header .contact-block span {
    color: #ffffff;
}

.po-site-header .contact-block .fa-linkedin {
    font-size: 1.25rem;
    color: #ffffff;
}

.po-site-header .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Event cards aanpassingen voor deze organisatie */
.event-card {
    border-left: 5px solid #667eea;
    transition: all 0.3s ease;
}

.event-card:hover {
    border-left-color: #764ba2;
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.event-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.event-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Merkkleur bezoekerskant: aanmeldknoppen en primaire acties */
:root {
    --po-brand-color: #C00076;
    --po-brand-color-hover: #9d005f;
    --po-brand-color-on: #ffffff;

    --wa-color-brand-50: #C00076;
    --wa-color-brand-40: #9d005f;
    --wa-color-brand-60: #d40089;
    --wa-color-brand-fill-loud: var(--po-brand-color);
    --wa-color-brand-border-loud: var(--po-brand-color);
    --wa-color-brand-on-loud: var(--po-brand-color-on);
    --wa-color-brand-fill-normal: #f3cce3;
    --wa-color-brand-border-normal: #e8a6cc;
    --wa-color-brand-on-normal: #80004f;
}

/* Buttons aanpassingen */
.btn-primary {
    background: var(--po-brand-color);
    color: var(--po-brand-color-on);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--po-brand-color-hover);
    color: var(--po-brand-color-on);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Organisatie cards styling */
.organisatie-card {
    border: 2px solid #667eea;
    transition: all 0.3s ease;
}

.organisatie-card:hover {
    border-color: #764ba2;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

/* Status badges voor deze organisatie */
.status-reservelijst {
    background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
    color: #fff;
    font-weight: 600;
}

/* Hero section aanpassingen */
.hero {
    background: #ffffff;
    border: 1px solid #d9dde4;
    position: relative;
    border-radius: 8px;
    padding: 2.25rem 0;
    margin-bottom: 2.25rem;
}

.hero::before {
    content: none;
}

/* Footer aanpassingen */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Responsive aanpassingen */
@media (max-width: 768px) {
    .po-site-header .row-flex {
        flex-direction: column;
    }

    .po-site-header .left {
        justify-content: center;
        padding: 1rem 0 0;
    }

    .po-site-header .company-logo img {
        max-width: 165px;
        max-height: 75px;
    }

    .po-site-header .right {
        width: 100%;
        padding: 1rem 0;
        align-items: flex-end;
    }

    .po-site-header .menu-general ul {
        justify-content: flex-end;
    }

    .po-site-header .contact-block ul {
        justify-content: flex-end;
        flex-direction: column;
        align-items: flex-end;
    }
}

/* ==========================================================
   Organisatie-specifieke agendaweergave (events_template.php)
   ----------------------------------------------------------
   Doel:
   - Links datum + tijd in een ronde badge
   - Rechts titel/omschrijving in een geel vlak
   - Leesbaar en makkelijk te tweaken per organisatie
   ========================================================== */

/* Verticale lijst met voldoende ruimte tussen activiteiten */
.agenda-list {
    display: grid;
    gap: 1rem;
}

/* Rij met 2 kolommen: datumkolom links, content rechts */
.agenda-item {
    display: grid;
    grid-template-columns: 98px 1fr;
    gap: 1rem;
    align-items: start;
    overflow: visible;
}

/* Datum- en tijdkolom gecentreerd */
.agenda-datumkolom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.25rem;
}

/* Ronde datumcirkel */
.agenda-datumbadge {
    min-width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #006633;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    box-shadow: none;
    line-height: 27px;
    text-align: center;
    z-index: 1111;
    position: relative;
}

.agenda-dag {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}

.agenda-maand {
    font-size: 1rem;
    letter-spacing: 0.03em;
    line-height: 1.2;
}

.agenda-datumbadge--tekst {
    text-transform: none;
    padding: 1rem;
}

.agenda-datumbadge-tekst {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.25;
    padding: 0 0.85rem;
    text-transform: none;
}

.agenda-datumbadge--leeg {
    /* Lege badge: alleen de groene cirkel, zonder dag/maand */
}

.agenda-tijd {
    font-size: 0.92rem;
    font-weight: 600;
    color: #2d3a5a;
    text-align: center;
    white-space: nowrap;
}

/* Geel contentvlak naast de datumcirkel */
.agenda-content {
    position: relative;
    width: 100%;
    background-color: #f5f6d9;   
    min-height: 112px;
    padding: 15px 15px 15px 75px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 0;
    border-radius: 4px;
}

.agenda-titel {
    margin: 0 0 0.45rem 0;
    font-size: 2rem;
    line-height: 1.3;
    color: #379e32;
    font-weight: 700;
    font-family:'Asap', sans-serif;
}

.agenda-omschrijving { 
    margin-bottom: 0.6rem;
    color: #1f1f1f;
    font-size: 0.96rem;
    line-height: 1.45;
}

.agenda-omschrijving p {
    margin: 0 0 0.6rem 0;
}

.agenda-omschrijving ul {
    margin: 0 0 0.6rem 0;
    padding-left: 0;
    list-style: disc;
    list-style-position: inside;
}

.agenda-omschrijving ul li {
    margin: 0 0 0.35rem 0;
}

.agenda-meta {
    margin-bottom: 0.85rem;
}

.agenda-meta p {
    margin: 0.15rem 0;
    font-size: 0.9rem;
    color: #293344;
}

.agenda-acties wa-button[variant="brand"]:not([outline])::part(base),
.event-actions wa-button[variant="brand"]:not([outline])::part(base),
.form-actions wa-button[variant="brand"]:not([outline])::part(base) {
    font-weight: 600;
    border-radius: 4px;
    background-color: var(--po-brand-color);
    border-color: var(--po-brand-color);
    color: var(--po-brand-color-on);
}

.agenda-acties wa-button[variant="brand"]:not([outline]):hover::part(base),
.event-actions wa-button[variant="brand"]:not([outline]):hover::part(base),
.form-actions wa-button[variant="brand"]:not([outline]):hover::part(base) {
    background-color: var(--po-brand-color-hover);
    border-color: var(--po-brand-color-hover);
    color: var(--po-brand-color-on);
}

/* Mobiel: datumkolom boven contentvlak */
@media (max-width: 768px) {
    .agenda-item {
        grid-template-columns: 1fr;
    }

    .agenda-datumkolom {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 0.75rem;
    }

    .agenda-datumbadge {
        min-width: 82px;
        height: 82px;
        line-height: 1.2;
    }

    .agenda-tijd {
        text-align: left;
    }

    .agenda-content {
        margin-left: 0;
        min-height: auto;
        padding: 11px;
    }
}
