/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

.yoast-breadcumbs{
    span{
        gap:16px;
        display: flex;

        a{
            opacity: 0.6;
            text-decoration: none;

            &:hover{
                opacity: 1;
            }
        }
    }
}

.cat-item{
    .image-zoom{
        > img{
            transition: all 0.3s cubic-bezier(.25, .46, .45, .94);
        }
    }


    &:hover{
        .image-zoom{
            img{
                transform:scale(1.05);
            }
        }

        .arrow{
            left:5px;
        }
    }
}

/* Marquee */
/* .team {
    .marquee {
        .brxe-text-basic{
            position: relative;
            display: flex;
            align-items: center;
            padding:0px 50px;
            white-space: nowrap;
            gap:4px !important;

            &::before{
                content:url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="20" fill="%2322BFC8"/><path d="M12 20.625L15.8733 24.3369C16.2601 24.7076 16.8703 24.7076 17.2571 24.3369L27 15" stroke="white" stroke-width="3" stroke-linecap="round"/></svg>');
                width:40px;
                height:40px;
                min-width:40px;
                min-height:40px;
                max-width:40px;
                max-height:40px;
                margin-right:16px;
            }
        }
    }

    h1{
        line-height: 100%;
    }

    .brxe-text.alt-text-blue strong{
        font-weight: 700;
    }
} */

.brxe-accordion-nested{

    .brxe-icon{
        rect:first-of-type{
            transition: all 0.3s cubic-bezier(.25, .46, .45, .94);
        }
    }

    .brx-open{
        .brxe-icon{
            rect:first-of-type{
                fill: #F2F3F4;   
            }

            path{
                fill:#2D341E;
                stroke:#2D341E;

                &:last-of-type{
                    display: none;
                }
            }
        }
    }
}

.content-image{
    .flip{
        grid-template-columns: 2fr 1fr;

        >div:first-of-type{
            order:2;
        }
    }
}

/* gforms */
.gform_wrapper input,
.gform_wrapper textarea{
    background-color: rgba(242, 243, 244, 1) !important;
    border:none !important;
}

.gform-theme--foundation .gform_fields{
    gap:24px !important;
}

.gform_wrapper .gform_button{
    border-color: var(--wit) !important;
    border-radius: 100px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    font-family: "Geist" !important;
    color: var(--wit) !important;
    line-height: 1.2 !important;
    padding-top: 14px !important;
    padding-right: 32px !important;
    padding-bottom: 14px !important;
    padding-left: 32px !important;
    transition: all 0.3s cubic-bezier(.25, .46, .45, .94) !important;
    background-color: #499A3D !important;
}

.gform_wrapper .gform_button:hover{
    background-color: #3a7b30 !important;
}


/* ===== Animaties (hoort bij de nieuwe scripts/script.js) =====
   Onderaan style.css plakken, tegelijk met het nieuwe script.

   .reveal en .draw starten onzichtbaar, zodat ze niet eerst verschijnen
   en dan wegspringen. Draait het script niet (fout of geblokkeerd),
   dan worden ze na 2 seconden alsnog getoond. */

.reveal,
.draw {
    opacity: 0;
    animation: dapdz-reveal-fallback 0s linear 2s forwards;
}

/* Script draait: fallback uit, GSAP regelt de zichtbaarheid */
html.js-reveal .reveal,
html.js-reveal .draw {
    animation: none;
}

@keyframes dapdz-reveal-fallback {
    to {
        opacity: 1;
    }
}

/* Builder (geen frontend): altijd alles tonen */
body:not(.bricks-is-frontend) .reveal,
body:not(.bricks-is-frontend) .draw {
    opacity: 1 !important;
    animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .draw {
        opacity: 1 !important;
        animation: none !important;
    }
}
