/* Basisthema voor indexpagina */

/* Kleuren */
:root {
    --achtergrond-licht: #0b1e3f;
    --tekstkleur: #1c1c1c;
    --accentkleur: #f9a825;
    --hoverkleur: #66ccff;
    --primaire-kleur: #0b1e3f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--achtergrond-licht);
    color: var(--tekstkleur);
    line-height: 1.6;
    padding: 20px;
}

h1 {
    color: var(--primaire-kleur);
    margin-bottom: 10px;
    font-size: 32px;
    font-weight: 800;
}

h2 {
    color: var(--primaire-kleur);
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 800;
}

h3 {
    color: var(--primaire-kleur);
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 800;
}

h4 {
    color: var(--primaire-kleur);
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 16px;
}

a {
    color: var(--primaire-kleur);
    text-decoration: none;
}

a:hover {
    color: var(--hoverkleur);
}

body, main {
    margin: 0;
    padding: 0;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.toppic {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

#bubbel-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0px;
}

.bubbel {
    display: none;
    border-radius: 12px;
    padding: 20px 30px;
    margin: 20px auto;
    min-height: 730px;
    width: 1500px;
    max-width: none;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.4s ease-in-out;
    box-sizing: border-box;
    margin-top: 10px;
}

#diensten,
#contact {
    margin-top: 150px;
    min-height: 735px;
}

.bubbel h2 {
    margin-top: 0px;
}

.oranje {
    background-color: var(--accentkleur);
}

.bubbel.met-margin {
    margin-top: 150px;
}

.blauw {
    background-color: var(--hoverkleur);
    color: var(--primaire-kleur);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* sub bubbels diensten */
.sub-bubbels .sub-bubbel {
    display: none;
    margin-top: 150px;
    padding: 15px;
    background-color: #ffffff22;
    border-radius: 15px;
    color: white;
}

.dienst-icons,
.info-icons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 20px;
}

.dienst-card,
.info-card {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

.dienst-card:hover,
.info-card:hover,
.contact-card:hover {
    transform: scale(1.05);
}

.dienst-card img,
.info-card img,
.contact-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.titel-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    padding: 5px 0;
    font-weight: bold;
    font-size: 14px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.info-card .titel-overlay {
    background: rgba(10, 90, 160, 0.75);
}

.contact-icons {
    display: grid;
    justify-items: center;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.contact-card {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 400px;
    min-height: 400px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

.contact-card .titel-overlay {
    background: rgba(10, 160, 90, 0.75);
}

/* ------------------- Responsive Mobiele Versie ------------------- */
@media (max-width: 768px) {
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    .bubbel {
        width: 95%;
        padding: 15px 20px;
        min-height: auto;
    }

    .dienst-icons,
    .info-icons,
    .contact-icons {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 10px;
    }

    .dienst-card,
    .info-card,
    .contact-card {
        height: 120px;
    }

    .contact-card {
        max-width: 100%;
        height: 250px;
    }

    .titel-overlay {
        font-size: 12px;
        padding: 4px 0;
    }

    .sub-bubbels .sub-bubbel {
        margin-top: 100px;
        padding: 10px;
    }

    body {
        padding: 10px;
    }
}
