/* ===============================
   DIENSTEN SECTION MET ACHTERGROND
================================= */

.card-dienst {
    background-color: rgb(248, 231, 192); /* zelfde kleur als andere pagina */
    backdrop-filter: none;           
}

.diensten-sections {
    position: relative;
    padding: 5rem 5rem;
    
    /* Basis achtergrond + bruine tint voor de hele sectie */
    background-image:
        linear-gradient(
            rgba(122, 90, 48, 0.35),
            rgba(122, 90, 48, 0.35)
        ),
        url("images/Logo Frank achtergrond meisje zwart.png");
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;

    color: #3A2A1A;
    border-radius: 12px;

    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.85),
        0 12px 30px rgba(0, 0, 0, 0.65);

    overflow: visible;
    transform: none;
    transition: none;
}

/* overlay */
.diensten-sections::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(248, 231, 192, 0.35);
    border-radius: 12px;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: soft-light;
}

/* content boven overlay */
.diensten-sections > * {
    position: relative;
    z-index: 1;
    border-radius: 12px;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* flexibel en breder op mobiel */
    gap: 2rem;
    font-size: 1rem; /* basis 16px */
}

/* CARD */
.card {
    backdrop-filter: blur(5px);
    padding: 2rem; /* iets meer padding voor mobiel */
    border-radius: var(--radius);
    border: 1px solid rgba(248, 231, 192, 0.6);

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.05);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: rgba(248, 231, 192, 0.85);
}

.card:hover {
    transform: translateY(-14px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9);
}

/* Links in cards */
.card a {
    color: #3A2A1A;
    text-decoration: underline;
    font-weight: 500;
}

.card a:visited {
    color: #3A2A1A;
}

.card a:hover {
    color: #A68C3C; /* lichtbruine hover kleur */
    text-decoration: none;
}

/* ===============================
   MOBIEL RESPONSIVE
================================= */
@media (max-width: 850px) {
    .diensten-sections {
        padding: 2rem 1rem;
        background-size: cover;
        background-position: 70% top;
        background-attachment: local;
        background-repeat: no-repeat;
        background-color: rgba(248, 231, 192, 0.35);
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        font-size: 1rem;
    }

    .card {
        width: 100%;
        padding: 2rem;
    }

}