/* ============================================================
   De Grote Kies — Contactpagina Widget
   v1.1.0  ·  Websiet.nl
   ============================================================ */

.dgk-contact {
    --_primair:   var(--dgk-primair, #1A2744);
    --_secundair: var(--dgk-secundair, #F5E6D0);
    --_accent:    var(--dgk-accent, #6B8040);
    --_tekst:     var(--dgk-tekst, #2C2C2C);
    --_radius:    14px;
    --_gap:       20px;

    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--_tekst);
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
}

.dgk-contact *, .dgk-contact *::before, .dgk-contact *::after {
    box-sizing: border-box;
}

/* ── Section titles ──────────────────────────────────────────── */
.dgk-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--_primair);
    margin: 0 0 1rem 0;
    padding-bottom: .5rem;
    border-bottom: 3px solid var(--_accent);
    display: flex;
    align-items: center;
    gap: .5rem;
}

.dgk-section-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* ── Servicepunt tiles ───────────────────────────────────────── */
.dgk-servicepunt {
    margin-bottom: 3rem;
}

.dgk-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--_gap);
    margin-top: 1.25rem;
}

.dgk-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: 1.75rem 1rem;
    background: var(--_secundair);
    border-radius: var(--_radius);
    text-decoration: none;
    color: var(--_tekst);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    text-align: center;
    min-height: 150px;
    cursor: pointer;
    border: 2px solid transparent;
}

.dgk-tile:hover,
.dgk-tile:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(27, 107, 74, .15);
    border-color: var(--_primair);
    background: #fff;
    color: var(--_tekst);
}

.dgk-tile__icon {
    width: 52px;
    height: 52px;
    color: var(--_primair);
    transition: color .25s ease;
}

.dgk-tile:hover .dgk-tile__icon {
    color: var(--_accent);
}

.dgk-tile__icon svg {
    width: 100%;
    height: 100%;
}

.dgk-tile__label {
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.35;
}

.dgk-tile__label small {
    font-weight: 400;
    font-size: .85rem;
    opacity: .8;
}

/* Spoed tile */
.dgk-tile--spoed {
    background: #C0392B;
    color: #fff;
}
.dgk-tile--spoed .dgk-tile__icon {
    color: #fff;
}
.dgk-tile--spoed:hover,
.dgk-tile--spoed:focus-visible {
    background: #A93226;
    color: #fff;
    border-color: #fff;
}
.dgk-tile--spoed:hover .dgk-tile__icon {
    color: #FFD700;
}

/* Parkeren tile */
.dgk-tile--parkeer {
    background: var(--_primair);
    color: #fff;
}
.dgk-tile--parkeer .dgk-tile__icon {
    color: #fff;
}
.dgk-tile--parkeer:hover {
    background: #155A3C;
    color: #fff;
    border-color: var(--_accent);
}
.dgk-tile--parkeer:hover .dgk-tile__icon {
    color: var(--_accent);
}

/* ── Openingstijden ──────────────────────────────────────────── */
.dgk-openingstijden {
    margin-bottom: 2.5rem;
}

.dgk-tijden-tabel {
    width: 100%;
    max-width: 480px;
    border-collapse: collapse;
    margin-top: .75rem;
}

.dgk-tijden-tabel tr {
    border-bottom: 1px solid rgba(27, 107, 74, .1);
}

.dgk-tijden-tabel tr:last-child {
    border-bottom: none;
}

.dgk-dag {
    font-weight: 600;
    padding: .65rem 1rem .65rem 0;
    white-space: nowrap;
    width: 130px;
    vertical-align: top;
}

.dgk-tijd {
    font-weight: 600;
    color: var(--_primair);
    padding: .65rem 0;
    vertical-align: top;
}

.dgk-extra {
    font-weight: 400;
    font-size: .85rem;
    color: #666;
    font-style: italic;
}

.dgk-gesloten .dgk-tijd {
    color: #999;
    font-weight: 400;
    font-style: italic;
}

.dgk-weekend {
    margin-top: .75rem;
    font-style: italic;
    color: #888;
    font-size: .9rem;
}

/* ── Spoed banner ────────────────────────────────────────────── */
.dgk-spoed-banner {
    margin-bottom: 2.5rem;
}

.dgk-spoed-banner__inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #FDF2F2;
    border: 2px solid #C0392B;
    border-radius: var(--_radius);
}

.dgk-spoed-banner__icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: #C0392B;
}

.dgk-spoed-banner__icon svg {
    width: 100%;
    height: 100%;
}

.dgk-spoed-banner__content {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.dgk-spoed-banner__content strong {
    font-size: 1.05rem;
    color: #C0392B;
}

.dgk-spoed-banner__content span {
    font-size: .95rem;
    color: var(--_tekst);
}

.dgk-spoed-banner__content a {
    color: #C0392B;
    font-weight: 600;
}

.dgk-spoed-banner__link {
    font-size: .9rem;
    color: #C0392B;
    text-decoration: none;
    font-weight: 500;
}

.dgk-spoed-banner__link:hover {
    text-decoration: underline;
}

/* ── Parkeren sectie ─────────────────────────────────────────── */
.dgk-parkeren {
    background: var(--_secundair);
    border-radius: var(--_radius);
    padding: 2rem;
    margin-bottom: 3rem;
    border-left: 5px solid var(--_primair);
}

.dgk-parkeren .dgk-section-title {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: .75rem;
}

.dgk-parkeren p {
    line-height: 1.7;
    margin: 0;
    font-size: .95rem;
}

/* ── Verwijzers ──────────────────────────────────────────────── */
.dgk-verwijzers {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.dgk-verwijzers p {
    line-height: 1.7;
    font-size: .95rem;
    max-width: 700px;
}

/* ── Zakelijk ────────────────────────────────────────────────── */
.dgk-zakelijk {
    margin-bottom: 3rem;
}

.dgk-zakelijk p {
    line-height: 1.7;
    font-size: .95rem;
    max-width: 700px;
    margin-bottom: 1.5rem;
}

.dgk-bedrijfsinfo {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1.5rem;
    background: var(--_secundair);
    border-radius: var(--_radius);
    font-size: .9rem;
    line-height: 1.6;
}

.dgk-bedrijfsinfo__col strong {
    color: var(--_primair);
}

/* ── Contactformulier ────────────────────────────────────────── */
.dgk-formulier {
    background: var(--_primair);
    color: #fff;
    border-radius: var(--_radius);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.dgk-formulier .dgk-section-title {
    color: #fff;
    border-bottom-color: var(--_accent);
    text-align: center;
    justify-content: center;
    font-size: 1.5rem;
}

.dgk-formulier__inner {
    margin-top: 1.5rem;
}

.dgk-formulier input[type="text"],
.dgk-formulier input[type="email"],
.dgk-formulier input[type="tel"],
.dgk-formulier textarea,
.dgk-formulier select {
    width: 100%;
    padding: .85rem 1rem;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 8px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: .95rem;
    font-family: inherit;
    transition: border-color .2s ease, background .2s ease;
}

.dgk-formulier input::placeholder,
.dgk-formulier textarea::placeholder {
    color: rgba(255,255,255,.6);
}

.dgk-formulier input:focus,
.dgk-formulier textarea:focus {
    outline: none;
    border-color: var(--_accent);
    background: rgba(255,255,255,.2);
}

.dgk-formulier input[type="submit"],
.dgk-formulier button[type="submit"] {
    background: var(--_accent);
    color: #fff;
    border: none;
    padding: .85rem 2.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
    font-family: inherit;
}

.dgk-formulier input[type="submit"]:hover,
.dgk-formulier button[type="submit"]:hover {
    background: #C49A3A;
    transform: translateY(-2px);
}

.dgk-formulier label {
    color: rgba(255,255,255,.85);
    font-size: .85rem;
    font-weight: 500;
    display: block;
    margin-bottom: .35rem;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .dgk-tiles {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .dgk-tile {
        padding: 1.25rem .75rem;
        min-height: 120px;
    }

    .dgk-tile__icon {
        width: 40px;
        height: 40px;
    }

    .dgk-tile__label {
        font-size: .85rem;
    }

    .dgk-section-title {
        font-size: 1.4rem;
    }

    .dgk-bedrijfsinfo {
        flex-direction: column;
        gap: 1rem;
    }

    .dgk-formulier {
        padding: 1.5rem;
    }

    .dgk-parkeren {
        padding: 1.25rem;
    }

    .dgk-spoed-banner__inner {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .dgk-tiles {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .dgk-tile {
        padding: 1rem .5rem;
        min-height: 100px;
    }

    .dgk-tile__icon {
        width: 34px;
        height: 34px;
    }

    .dgk-dag {
        width: 100px;
        padding-right: .5rem;
    }
}
