/* =========================================================
   WORLD JOURNEY
========================================================= */
#pk_flex_content .flex_layout.expat_world_journey{
    max-width: unset;
    padding: 0px;
}

.expat_world_journey {
    position: relative;
    overflow: hidden;

    padding: 120px 0;
}

/* =========================================================
   VIEWPORT
========================================================= */

.journey_viewport {
    position: relative;
   width:100%;
    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    overflow:hidden;

    border-radius: 40px;

/*  background: linear-gradient(
        180deg,
        #dff3ff 0%,
        #ffffff 100%
    );
*/

    box-shadow:
        0 20px 80px rgba(0,0,0,.08);
}

/* =========================================================
   WORLD TRACK
========================================================= */

.journey_world_track {
    position: relative;

    height: 100%;

    transition:
        transform 1.2s cubic-bezier(.23,1,.32,1);
}

/* =========================================================
   BACKGROUND
========================================================= */

.journey_world_background {
    position: absolute;
    inset: 0;

    height: 100%;
}

.journey_world_background img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: left center;
}


/* =========================================================
   FAMILY
========================================================= */

.journey_family {
    position: absolute;

    width: 180px;
    height: 180px;

    z-index: 10;

    pointer-events: none;

    transform:
        translate(-100%, -185%);

    transition:
        left 5s cubic-bezier(.23,1,.32,1),
        top 5s cubic-bezier(.23,1,.32,1);
}

/* =========================================================
   FAMILY IMAGES
========================================================= */

.journey_family img {
    width: 100%;
    height: auto;

    position: absolute;
    left: 0;
    top: 0;

    transition:
        opacity .35s ease;
}

/* =========================================================
   IDLE STATE
========================================================= */

.family_idle {
    opacity: 1;
}

/* =========================================================
   WALKING STATE
========================================================= */

.family_walking {
    opacity: 0;
}

/* =========================================================
   MOVING
========================================================= */

.journey_family.is-moving .family_idle {
    opacity: 0;
}

.journey_family.is-moving .family_walking {
    opacity: 1;
}

/* =========================================================
   WALK ANIMATION
========================================================= */

.journey_family.is-moving img {

    animation:
        familyWalk .55s ease-in-out infinite alternate;

}

/* =========================================================
   WALKING BOUNCE
========================================================= */

@keyframes familyWalk {

    from {
        transform:
            translateY(0px)
            rotate(-1deg);
    }

    to {
        transform:
            translateY(-5px)
            rotate(1deg);
    }

}

/* =========================================================
   HOTSPOTS
========================================================= */

.journey_hotspot {
    position: absolute;

    z-index: 20;

    transform:
        translate(-50%, -50%);

    border: none;
    background: none;

    cursor: pointer;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 12px;
}

/* =========================================================
   HOTSPOT CIRCLE
========================================================= */

.hotspot_number {
    width: 90px;
    height: 90px;

    border-radius: 50%;

    background: var(--wp--preset--color--fl-accent);
	color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;
    font-weight: 800;

    box-shadow:
        0 10px 40px rgba(0,0,0,.12);

    transition:
        transform .4s ease,
        background .4s ease,
        color .4s ease;
}

.journey_hotspot.active .hotspot_number {
    background: var(--wp--preset--color--fl-accent);
    color: white;
	display: none;
    transform: scale(.7);
}

/* =========================================================
   PULSE
========================================================= */

.hotspot_number::before {
    content: '';

    position: absolute;

    inset: -15px;

    border-radius: 50%;

    border: 2px solid rgba(255,255,255,.7);

    animation: hotspotPulse 2.5s infinite;
}

/* =========================================================
   TITLE
========================================================= */

/* =========================================================
   HOTSPOT INFO
========================================================= */

.hotspot_info {

    background: rgba(255,255,255,.94);

    padding: 14px 18px;

    border-radius: 22px;

    backdrop-filter: blur(14px);

    box-shadow:
        0 10px 35px rgba(0,0,0,.08);

    transition:
        opacity .35s ease,
        transform .35s ease,
        max-height .45s ease;

    max-width: 240px;

    overflow: hidden;
}

/* =========================================================
   TITLE
========================================================= */

.hotspot_title {

    display: block;

    font-size: 15px;
    font-weight: 700;

    white-space: nowrap;
}

/* =========================================================
   DESCRIPTION
========================================================= */

.hotspot_description {

    display: block;

    font-size: 13px;
    line-height: 1.5;

    margin-top: 8px;

    opacity: .75;

    max-height: 0;

    overflow: hidden;

    transition:
        max-height .4s ease,
        opacity .4s ease,
        margin-top .4s ease;
}

/* =========================================================
   ACTIVE HOTSPOT
========================================================= */

.journey_hotspot.active .hotspot_description {

    max-height: 140px;

    opacity: 1;

    margin-top: 10px;

}

/* =========================================================
   CONTENT
========================================================= */

.journey_content_wrapper {
    position: relative;

    max-width: 900px;

    margin: 60px auto 0;
	display:none;
}

.journey_content {
    display: none;

    text-align: center;
}

.journey_content.active {
    display: block;
}

.journey_content h2 {
    font-size: 68px;
    line-height: 1.05;

    margin-bottom: 25px;
}

.journey_content .intro {
    font-size: 26px;
    line-height: 1.5;

    opacity: .8;

    margin-bottom: 35px;
}

.journey_content .description {
    font-size: 18px;
    line-height: 1.9;
}

.expat_world_journey .content_wrapper {
    text-align: center;
}

/* =========================================================
   BUTTON
========================================================= */

.journey_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 15px;

    padding: 18px 34px;

    border-radius: 999px;

    background: var(--wp--preset--color--fl-accent);
    color: white;

    font-weight: 700;
}

.hotspot_link {font-size: 14px!important;}

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes familyFloat {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }

}

@keyframes hotspotPulse {

    0% {
        transform: scale(1);
        opacity: .8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }

}

/* =========================================================
   RESPONSIVE
========================================================= */

@media screen and (max-width: 1024px){

    .journey_viewport {
        height: 700px;
    }

    .journey_content h2 {
        font-size: 48px;
    }

}

@media screen and (max-width: 767px){

    .journey_viewport {
        height: 650px;

        border-radius: 25px;
    }

    .journey_family img {
        width: 100px;
    }

    .hotspot_number {
        width: 65px;
        height: 65px;
		display: none; /*belangrijk */
        font-size: 22px;
    }

    .hotspot_title {
        font-size: 12px;
    }

    .journey_content h2 {
        display:none;
    }

    .journey_content .intro {
        font-size: 20px; 
		font-weight: 700;
    }

}

/* =========================================================
   DRAGGING
========================================================= */

.journey_viewport {
    cursor: grab;

    user-select: none;
    -webkit-user-select: none;

    touch-action: pan-x;
}

.journey_viewport.dragging {
    cursor: grabbing;
}

/* =========================================================
   WORLD TRACK
========================================================= */

.journey_world_track {
    will-change: transform;
}



/* =========================================================
   SMOOTHER HOTSPOTS
========================================================= */

.journey_hotspot {
    transition:
        transform .35s ease,
        opacity .35s ease;
}

.journey_hotspot:not(.active) {
    opacity: .7;
}

.journey_hotspot.active {
    transform:
        translate(-50%, -80%)
        scale(1.08);
}

.journey_viewport {
    cursor: grab;
}

.journey_viewport.dragging {
    cursor: grabbing;
}

.journey_viewport * {
    user-select: none;
}

/* Button transparant */
button:hover, input[type=button]:hover, input[type=submit]:hover {
    background: none!important;
    color: #000;
    border: none;
    text-decoration: none
}

.hotspot_info {

    opacity: 0;

    visibility: hidden;

    transform: translateY(10px);

    pointer-events: none;

    transition:
        opacity .3s ease,
        transform .3s ease,
        visibility .3s ease;
}
.journey_hotspot.active .hotspot_info {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

    pointer-events: auto;
}

.family_left {
    display: none;
}

.journey_family.facing-left .family_right {
    display: none;
}

.journey_family.facing-left .family_left {
    display: block;
}


/* Tijdelijke test */

.journey_world_track{

    width:min(100%,1920px);

    aspect-ratio:16 / 9;
	max-height:100%;
    position:relative;

}

.journey_world_background img {
  width:100%;
    height:100%;

    object-fit:contain;
    object-position:center;

    display:block;
}

.journey_steps_mobile {
    display: none;
}

@media (max-width: 992px) {

	.journey_content_wrapper {
		display: block;
	}

    .journey_steps_mobile {

        display: flex;

        flex-wrap: wrap;

        gap: 10px;

        justify-content: center;

        margin: 20px 0 30px;

    }

    .journey_step_mobile {

        border: none;

        background: #cc7d00;

        color: white;

        padding: 12px 18px;

        border-radius: 999px;

        font-size: 14px;

        font-weight: 600;

        cursor: pointer;

        transition: all .3s ease;

    }

    .journey_step_mobile:hover {

        transform: translateY(-2px);

    }

}

@media (max-width: 992px) {

    .journey_hotspot .hotspot_info {

        display: none !important;

    }

}


@media (max-width: 992px){

    .journey_world_background {
        position: relative;
        inset: auto;
        height: auto;
    }

    .journey_world_track {
        height: auto;
        min-height: unset;
    }

    .journey_viewport {
        height: auto;
        min-height: unset;
    }

}

@media (max-width: 992px){

    .journey_family{
        width: 80px;
        height: 80px;

        transform: translate(-50%, -80%);
    }

}

@media (max-width: 992px){

    .journey_hotspot {
        pointer-events: none !important;
    }

}





.journey_rain{

    position:absolute;
    inset:0;

    overflow:hidden;

    pointer-events:none;

    z-index:5;
}

/* Regenlaag 1 */

.journey_rain::before{

    content:"";

    position:absolute;
    inset:-100%;

    background-image:url('/wp-content/uploads/sites/11/2026/09/regen_bso-e1790605637112.png');
    background-repeat:repeat;

    background-size:100px auto;

    opacity:.32;

    animation:rainSlow 13s linear infinite;

}

/* Regenlaag 2 */

.journey_rain::after{

    content:"";

    position:absolute;
    inset:-100%;

    background-image:url('/wp-content/uploads/sites/11/2026/09/regen_bso-e1790605637112.png');
    background-repeat:repeat;

    background-size:150px auto;

    opacity:.48;

    animation:rainFast 8s linear infinite;

}

@keyframes rainSlow{

    from{
        transform: rotate(12deg) translate3d(0,-400px,0);
    }

    to{
        transform: rotate(-12deg) translate3d(-80px,600px,0);
    }

}

@keyframes rainFast{

    from{
        transform: rotate(-12deg) translate3d(0,-500px,0);
    }

    to{
        transform: rotate(12deg) translate3d(-220px,900px,0);
    }

}