/* =========================================================
   KLEURTHEMA - pas alleen deze kleuren aan
   ========================================================= */

:root {
    --theme-primary: #173f5f;
    --theme-accent: #efa080;
    --theme-light: #f8f2ed;
    --theme-gold: #bd833d;
    --theme-green: #506d59;
    --theme-white: #ffffff;
}

/* =========================================================
   MAF CAARTJE / FLYING BAKKER HERO
   ========================================================= */

.flying-hero {
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;

    min-height: 350px;

    margin: 24px 0 40px;
    padding: 52px 60px;

    box-sizing: border-box;

    border-radius: 24px;

    background:
        linear-gradient(
            115deg,
            var(--theme-primary) 0%,
            var(--theme-primary) 73%,
            var(--theme-light) 73%,
            var(--theme-light) 100%
        );

    color: var(--theme-white);
}


/* =========================================================
   SUBTIELE ACHTERGROND
   ========================================================= */

.flying-hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    left: -180px;
    bottom: -330px;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 50%;

    pointer-events: none;
}


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

.flying-hero-content {
    position: relative;

    z-index: 5;

    width: 100%;
    max-width: 690px;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.flying-eyebrow {
    display: inline-flex;
    align-items: center;

    margin-bottom: 18px;

    color: var(--theme-accent);

    font-size: .74rem;
    font-weight: 800;

    letter-spacing: .12em;

    text-transform: uppercase;
}


/* klein goud/perzik bolletje */

.flying-eyebrow::before {
    content: "";

    display: block;

    width: 6px;
    height: 6px;

    margin-right: 9px;

    border-radius: 50%;

    background: var(--theme-accent);
}


/* =========================================================
   TITEL
   ========================================================= */

.flying-hero h1 {
    margin: 0 0 20px;

    color: var(--theme-white);

    font-size:
        clamp(
            3.1rem,
            5.2vw,
            5.2rem
        );

    font-weight: 800;

    line-height: .92;

    letter-spacing: -.045em;
}


/* "in Madagaskar" */

.flying-hero h1 span {
    display: block;

    margin-top: 10px;

    color: var(--theme-accent);

    font-size: .52em;
    font-weight: 500;

    line-height: 1;

    letter-spacing: -.025em;
}


/* =========================================================
   INTRO
   ========================================================= */

.flying-intro {
    position: relative;

    z-index: 5;

    max-width: 610px;

    margin: 0;

    color: rgba(255,255,255,.90);

    font-size: 1rem;

    line-height: 1.55;
}


/* =========================================================
   META
   ========================================================= */

.flying-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 9px;

    margin-top: 27px;

    color: rgba(255,255,255,.58);

    font-size: .8rem;
    font-weight: 600;
}


.flying-meta .dot {
    color: var(--theme-accent);

    opacity: .75;
}


/* =========================================================
   VISUAL RECHTS
   ========================================================= */

.flying-visual {
    position: absolute;

    z-index: 3;

    top: 0;
    right: 0;

    width: 38%;
    height: 100%;

    pointer-events: none;
}


/* =========================================================
   VLIEGTUIG
   ========================================================= */

/*
 * Zet hier jouw losse vliegtuig-afbeelding neer:
 *
 * /images/maf-plane.png
 *
 * Liefst PNG/WebP met transparante achtergrond.
 */

.flying-plane {
    position: absolute;

    z-index: 5;

    top: 58px;
    right: 54px;

    width: 330px;
    height: 160px;

    background-image: url('./maf-plane.png');

    background-repeat: no-repeat;

    background-position: center;

    background-size: contain;

    transform:
        rotate(-2deg);

    filter:
        drop-shadow(
            0 10px 15px
            rgba(0,0,0,.08)
        );
}


/* =========================================================
   VLUCHTLIJN
   ========================================================= */

.flying-flightline {
    position: absolute;

    z-index: 2;

    top: 49%;
    left: 45%;

    width: 390px;
    height: 140px;

    border-top:
        3px solid
        rgba(239,160,128,.72);

    border-radius: 50%;

    transform:
        rotate(-7deg);

    pointer-events: none;
}


/* klein hartje aan de lijn */

.flying-flightline::before {
    content: "♡";

    position: absolute;

    left: -15px;
    top: -44px;

    color: var(--theme-accent);

    font-family:
        Georgia,
        serif;

    font-size: 55px;

    line-height: 1;

    transform:
        rotate(7deg);
}


/* =========================================================
   STER
   ========================================================= */

.flying-star {
    position: absolute;

    z-index: 4;

    right: 40px;
    top: 195px;

    color: var(--theme-gold);

    font-size: 4rem;

    line-height: 1;
}


/* =========================================================
   KLEINE STERRETJES / PUNTJES
   ========================================================= */

.flying-spark {
    position: absolute;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--theme-gold);
}


.flying-spark-1 {
    right: 32px;
    top: 175px;
}


.flying-spark-2 {
    right: 105px;
    top: 250px;

    width: 4px;
    height: 4px;
}


.flying-spark-3 {
    right: 18px;
    top: 270px;

    width: 4px;
    height: 4px;
}


/* =========================================================
   BOOMPJES
   ========================================================= */

.flying-trees {
    position: absolute;

    z-index: 3;

    right: 75px;
    bottom: 27px;

    display: flex;
    align-items: flex-end;

    gap: 7px;

    color: var(--theme-green);
}


/*
 * Simpele CSS-boompjes.
 *
 * Als je later een echte SVG hebt kun je deze
 * gemakkelijk vervangen.
 */

.flying-trees .tree {
    display: block;

    font-size: 64px;

    line-height: .72;

    transform: scaleX(.7);

    transform-origin: bottom;
}


.flying-trees .tree-1 {
    font-size: 74px;
}


.flying-trees .tree-2 {
    font-size: 55px;

    opacity: .9;
}


.flying-trees .tree-3 {
    font-size: 42px;

    opacity: .8;
}


/* grondlijn */

.flying-trees::after {
    content: "";

    position: absolute;

    left: -20px;
    right: -25px;

    bottom: -9px;

    height: 18px;

    border-top:
        2px solid
        rgba(80,109,89,.75);

    border-radius: 50%;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .flying-hero {
        min-height: 330px;

        padding:
            44px
            42px;

        background:
            linear-gradient(
                115deg,
                var(--theme-primary) 0%,
                var(--theme-primary) 78%,
                var(--theme-light) 78%,
                var(--theme-light) 100%
            );
    }


    .flying-hero-content {
        max-width: 600px;
    }


    .flying-plane {
        top: 65px;
        right: 25px;

        width: 260px;
    }


    .flying-star {
        right: 25px;

        font-size: 3.2rem;
    }


    .flying-trees {
        right: 40px;

        transform:
            scale(.85);

        transform-origin:
            bottom right;
    }


    .flying-flightline {
        left: 48%;

        width: 300px;
    }

}


/* =========================================================
   TABLET KLEIN
   ========================================================= */

@media (max-width: 850px) {

    .flying-hero {
        min-height: 310px;

        background:
            linear-gradient(
                115deg,
                var(--theme-primary) 0%,
                var(--theme-primary) 84%,
                var(--theme-light) 84%,
                var(--theme-light) 100%
            );
    }


    .flying-hero-content {
        max-width: 520px;
    }


    .flying-hero h1 {
        font-size: 3.5rem;
    }


    .flying-plane {
        top: 70px;
        right: 5px;

        width: 210px;

        opacity: .9;
    }


    .flying-trees {
        right: 15px;

        transform:
            scale(.7);

        transform-origin:
            bottom right;
    }


    .flying-star {
        display: none;
    }


    .flying-spark {
        display: none;
    }

}


/* =========================================================
   MOBIEL
   ========================================================= */

@media (max-width: 650px) {

    .flying-hero {
        display: block;

        min-height: 0;

        margin:
            12px
            0
            25px;

        padding:
            25px
            20px
            105px;

        border-radius: 17px;

        background: var(--theme-primary);
    }


    .flying-hero-content {
        max-width: 100%;
    }


    .flying-eyebrow {
        margin-bottom: 11px;

        font-size: .63rem;
    }


    .flying-hero h1 {
        margin-bottom: 14px;

        font-size: 2.45rem;

        line-height: .95;
    }


    .flying-hero h1 span {
        margin-top: 6px;

        font-size: .55em;
    }


    .flying-intro {
        max-width: 100%;

        font-size: .86rem;

        line-height: 1.45;
    }


    .flying-meta {
        gap: 6px;

        margin-top: 17px;

        font-size: .68rem;
    }


    /* -------------------------
       vliegtuig mobiel
       ------------------------- */

    .flying-visual {
        top: auto;
        right: 0;
        bottom: 0;

        width: 100%;
        height: 105px;
    }


    .flying-plane {
        top: auto;
        right: 15px;
        bottom: 9px;

        width: 180px;
        height: 90px;

        opacity: .95;
    }


    /* -------------------------
       vluchtlijn mobiel
       ------------------------- */

    .flying-flightline {
        top: auto;
        left: 25px;
        bottom: 53px;

        width: 190px;
        height: 55px;

        border-top-width: 2px;

        opacity: .7;
    }


    .flying-flightline::before {
        left: -8px;
        top: -30px;

        font-size: 38px;
    }


    .flying-star {
        display: block;

        top: auto;
        right: 13px;
        bottom: 70px;

        font-size: 2rem;

        opacity: .75;
    }


    .flying-trees {
        display: none;
    }


    .flying-spark {
        display: none;
    }

}


/* =========================================================
   KLEINE TELEFOONS
   ========================================================= */

@media (max-width: 390px) {

    .flying-hero {
        padding:
            22px
            17px
            95px;
    }


    .flying-hero h1 {
        font-size: 2.08rem;
    }


    .flying-intro {
        font-size: .82rem;
    }


    .flying-meta {
        font-size: .64rem;
    }


    .flying-plane {
        right: 5px;

        width: 160px;
    }


    .flying-flightline {
        left: 18px;

        width: 160px;
    }

}