/*
Theme Name:   Blocksy Child
Theme URI:    https://pdcreative.nl
Description: Child theme voor het Blocksy thema
Author:       PD Creative
Author URI:   https://pdcreative.nl
Template:     blocksy
Version:      1.0.0
Text Domain:  blocksy-child
*/

/* =========================
   POPPINS
   ========================= */

@font-face {
    font-family: 'Poppins';
    src: url('fonts/poppins-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/poppins-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* =========================
   WENDY ONE
   ========================= */

@font-face {
    font-family: 'Wendy One';
    src: url('fonts/wendy-one-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}





/* =========================
   Main menu styling
   ========================= */
#header-menu-1 .ct-menu-link {
    font-family: 'Wendy One', 'Poppins', sans-serif !important;
    font-weight: 400;
    font-size: 1.3rem;

    position: relative;
    transition: color 0.25s ease, transform 0.25s ease;

    /* subtiel zwarte rand via webkit-stroke */
    -webkit-text-stroke: 0.7px black;
    -webkit-text-fill-color: currentColor;

    /* fallback voor toekomstige browsers */
    text-stroke: 0.3px black;
}
/* =========================
   Per-item kleuren (default)
   ========================= */
#menu-item-131 > a:not(:hover):not([aria-current="page"]) { color: #e30613; } /* Home */
#menu-item-134 > a:not(:hover):not([aria-current="page"]) { color: #3fa535; } /* Over ons */
#menu-item-132 > a:not(:hover):not([aria-current="page"]) { color: #ee7202; } /* Assortiment */
#menu-item-135 > a:not(:hover):not([aria-current="page"]) { color: #009fe3; } /* Speelgoed Doneren */
#menu-item-133 > a:not(:hover):not([aria-current="page"]) { color: #5d2b7a; } /* Contact */

/* =========================
   Hover animatie (wiggle)
   ========================= */
#header-menu-1 .ct-menu-link:hover {
    transform: translateY(-3px) rotate(-1deg);
    animation: wiggle 0.3s ease-in-out;
}

/* =========================
   Active / huidige pagina
   ========================= */
#header-menu-1 .ct-menu-link[aria-current="page"] {
    transform: translateY(-3px) rotate(-1deg);
    animation: none; /* geen wiggle, staat stil */
}

/* =========================
   Wiggle keyframes
   ========================= */
@keyframes wiggle {
    0% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-3px) rotate(-2deg); }
    100% { transform: translateY(0) rotate(0); }
}



body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

h1, h2, h3 {
    font-family: 'Wendy One', cursive !important;
}
h1, h2, h3, h4 {
    color: white; /* vulling van de letters */
    -webkit-text-stroke: 0.7px black; /* zwarte “rand” rond letters */
}

/* BASIS: verborgen startpositie */
.js .slide-left,
.js .slide-right,
.js .slide-up {
    opacity: 0;
    will-change: transform, opacity;
}

/* ANIMATIES */
.slide-left.is-visible {
    animation: slideInLeft 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.slide-right.is-visible {
    animation: slideInRight 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.slide-up.is-visible {
    animation: slideInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* KEYFRAMES */
@keyframes slideInLeft {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(60px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* =========================
   Spectra Icon List – custom icons vergroten
   ========================= */

/* Icon wrapper groter maken */
.contact-icons .uagb-icon-list__source-wrap {
    width: 48px !important;
    min-width: 48px !important;
    display: flex;
    align-items: flex-start;
}

.contact-icons img.uagb-icon-list__source-image {
    width: 36px !important;
    height: auto !important;
    max-width: none !important;
}

/* Tekst netjes uitlijnen naast grotere iconen */
.contact-icons {
    align-items: flex-start;
}

@media (max-width: 768px) {

    .site-main > :first-child {
        margin-top: 72px;
    }

}

.wp-block-heading {
    margin-bottom: 0.4em !important;
}

.wp-block-heading + .wp-block-paragraph {
    margin-top: 0 !important;
}









