/* ===============================
   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);

    /* NOOIT wippen */
    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;
    /* afgeronde hoeken voor diepte */
   
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 2rem;
    font-size: 1.3rem;
}

.card {

    backdrop-filter: blur(5px);

    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(248, 231, 192, 0.6);

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.8),   /* diepe schaduw */
        0 0 0 1px rgba(255, 255, 255, 0.05); /* lichte rand */

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

   .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.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;
}

/* links in card kleur*/
.card a:visited {
    color: #3A2A1A;
}

/* Hover effect */
.card a:hover {
    color: light brown;
    text-decoration: none;
}
