/*
  CSS formatted with logical property groups (no behavior changes)
  updated 12 feb 2025

  Order used inside rules:
  1) Layout/position (display, flex/grid, align/justify, position)
  2) Box model/sizing (width/height, min/max, overflow)
  3) Spacing (margin, padding, gap)
  4) Typography (font-*, line-height, text-*)
  5) Visual (color, background-*, border-*, border-radius, box-shadow)
  6) Effects/misc (transition, transform, animation, cursor, list-style, etc.)
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');
/* ========== Base ========== */
html{
    /* Typography */
    font-size: 62.5%;
}
body{
    /* Typography */
    font-family: 'Open sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #fff;

    /* Spacing */
    padding: 3rem;

    /* Visual */
    background-color: #1F2435;
    background-image: url('/img/backgrnd.svg');
    background-repeat: no-repeat;
}
h1{
    font-size: 6.8rem;
    font-weight: 700;
}
h2{
    font-size:4.8rem;
    font-weight: 700;
}
h3{
    font-weight: 700;
}
.h3{
    font-weight: 700;
}
.h3 a{
    text-decoration: none;
    color: #000;
}
p{
    font-weight: 400;
}

/* ========== Layout: Structural Elements ========== */

section{
    max-width: 1600px;
    margin: 0 auto;
}
article{
    max-width: 1540px;
    margin: 0 auto;
}

header{
    max-width: 1600px;
    margin: 0 auto;
}

footer{
    max-width: 40rem;
    margin: 6rem auto;
    text-align: center;
}
footer img{
    max-width:100%;

}

/* ========== Page Sections ========== */

#welkom{
    max-width: 120rem;
    padding:3rem 0 3rem 0;
}
#promotie{
    max-width: 120rem;
    padding:3rem 0 3rem 0;
}
#studio-toevoegen{
    max-width: 80rem;
    padding:3rem 0 3rem 0;
}
/* ========== Blog ========== */
#blogposts{
    /* Layout */
    display: flex;
    flex-wrap: wrap;

    /* Spacing */
    padding: 3rem 0 3rem 0;
}
#blogposts div{
    /* Layout */
    flex: 1;

    /* Spacing */
    margin: 2rem;
    padding: 2rem;

    /* Visual */
    background-color: #12151eac;
}
.blogpost{
    display: flex;
    flex-direction: column;

    align-content: space-between;
    align-items: flex-end;
}
.blogpost h2{
    margin-top: 0;
    padding-top: 0;
}
.blogpost a{
    color: #fff;
    text-decoration: none;
}
#blog-post{
    /* Spacing */
    margin-top: 6rem;
    padding: 3rem;

    /* Visual */
    color: #000;
    background-color: #ffffffef;
    border-radius: 1.6rem;
}
#blog-post h1{
    margin: 0;
}
#blog-post li{
    margin-bottom: 2rem;
}
#blog-post li strong{
    padding-right: 1rem;
}
#blog-post ul{
    max-width: 80%;
}
#blog-post p{
    max-width: 80%;
}
.blog .head-bottom{
    padding: 1rem;
    background-image: none;
}
/* ========== Reusable Blocks ========== */

.bttn{
    /* Layout */
    display: inline-block;

    /* Spacing */
    margin: 1rem 0;
    padding: 0.8rem 1.4rem;

    /* Typography */
    color: #fff;
    text-decoration: none;
    font-weight: 600;

    /* Visual */
    background-color: #007AFF;
    border-radius: 1.6rem;
}
.bttn.invert{
    background-color: #fff;
    color: #007AFF;
}
.mail{
    background-image:url('/img/mail.svg');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 3.4rem;
    padding:0.6rem 2rem 0.6rem 4rem;
}
.web{
    background-image:url('/img/web.svg');
    background-repeat: no-repeat;
    background-position: left center;  
    background-size: 4.4rem;
    padding:0.6rem 2rem 0.6rem 4rem;
}
.phn{
    background-color: #fff;
    background-image:url('/img/phn.svg');
    background-repeat: no-repeat;
    background-position: left center;   
    background-size: 5rem;
    padding:0.6rem 2rem 0.6rem 6rem;
    color: #007AFF;
}
.social-link{
    color: #fff;
}
/* ========== Header ========== */

.head-top{
    /* Layout */
    display: flex;
    align-items: center;
    justify-content: space-between;

    /* Spacing */
    padding: 2rem;

    /* Visual */
    background-color: #fff;
    border-top-left-radius: 3rem;
    border-top-right-radius: 3rem;
}
.head-top img{
    max-width: 20%;
    height: auto; /* preserve aspect ratio when scaling */
    margin-block: 3rem;
}
.head-top nav{
}
.head-top ul{
    /* Layout */
    display: flex;

    /* Spacing */
    margin: 0;
    padding: 0;
    gap: 0rem;

    /* Misc */
    list-style-type: none;
}
.head-top li{
    padding: 0.4rem 0;
}
.head-top li a{
    /* Typography */
    color: #1F2435;
    text-decoration: none;
    font-size: 1.6rem;

    /* Spacing */
    padding: 0.4rem 4rem;

    /* Visual */
    border-right: 2px solid #007AFF;
}
.head-top li:first-of-type{
    border-left: 2px solid #007AFF;
}
.head-top li a:hover{
    /* Visual */
    color: #fff;
    background-color: #007AFF;
}

.head-top .add{
    align-self: baseline;
    margin-top: 0rem;
}


.head-bottom{
    /* Typography */
    font-size: 1.4rem;

    /* Spacing */
    padding: 2rem;

    /* Visual */
    background-color: #007AFF;
    background-image: url('/img/map.svg');
    background-repeat: no-repeat;
    background-position: 0% 50%;
    background-size: 32rem;
    border-bottom-left-radius: 3rem;
    border-bottom-right-radius: 3rem;
}
.head-bottom nav{
    /* Box model */
    max-width: 75%;
    margin: 0 auto;
}
.head-bottom ul{
    /* Layout */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    justify-content: center;

    /* Spacing */
    margin: 0;
    padding: 0;
    gap: 2rem;

    /* Misc */
    list-style-type: none;
}
.head-bottom li{
    /* Spacing */
    margin: 0;

    /* Typography */
    text-align: center;
}

.head-bottom li a{
    /* Typography */
    color: #fff;
    text-decoration: none;

    /* Spacing */
    margin: .6rem 0;
    padding: .5rem 1.8rem;

    /* Layout */
    display: inline-block;
    white-space: nowrap;

    /* Visual */
    border: 1px solid transparent;
    /* border-radius: 9999px; */

    /* Effects */
    transition: border-color .2s ease;
}
.head-bottom li a:hover{
    /* Visual */
    box-shadow: inset 0px 0px 0px 1px #fff;
    border-color: #fff;

    /* Typography */
    font-weight: 600;
}

/* ========== Welkom ========== */

.welkom-area .tekstvlak{
    /* Layout */
    display: flex;
}
.welkom-area p{
    /* Layout */
    flex: 1;

    /* Spacing */
    margin: 0.8rem;
}
.welkom-area h1{
    /* Typography */
    text-align: center;
}

.city_text{
    /* Box model */
    max-width: 110rem;
    columns: 2;

    /* Spacing */
    margin-bottom: 3rem;
    margin-inline: auto;
}
.city_text h2{
    /* Typography */
    font-size: 1.8rem;

    /* Spacing */
    margin: 0;
    padding: 0;
}


/* ========== Promotie ========== */

.promotie-area{
    /* Layout */
    display: flex;

    /* Spacing */
    padding: 3rem;
    gap: 3rem;

    /* Visual */
    color: black;
    background-color: #eaeaea;
    box-shadow: 0.04rem 0.04rem 3rem #00000062;
    /* border-radius: 1.4rem; */
}
.promotie-area .textvlak{
    /* Spacing */
    padding-right: 2rem;
}
.promotie-area .promoimage{
    /* Box model */
    width: 100%;

    /* Visual */
    background-image: url('/img/groenland-profiel.jpg');
    background-position: center;
    background-size: 144%;
    border-radius: 1.4rem;
}
.promotie-area h2 a{
    /* Typography */
    color: black;
    text-decoration: none;
}
.promotie-area h2{
    /* Spacing */
    margin: 0;
    padding: 0;
}
.promotie-area .h3{
    /* Spacing */
    margin: 0;
    padding: 0;
}


/* ========== Studio toevoegen ========== */

.studio-toevoegen-area{
    /* Layout */
    display: flex;
    align-items: center;

    /* Spacing */
    padding: 2rem;
    gap: 4rem;

    /* Visual */
    background-color: #007AFF;
}
.studio-toevoegen-area .textvlak{
    /* Layout */
    flex: 3.5;
}
.studio-toevoegen-area a{
    /* Layout */
    flex: 1;
}

/* ========== Provincies ========== */
.prov{
    margin-top: 8rem;
    margin-bottom: 2rem;
}
.prov-title-highlight{
    color: #007AFF;
}

/* ========== Studios ========== */
.studios-container{
    /* Layout */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem,1fr));
    /* grid-template-columns: 1fr 1fr 1fr 1fr; */
    grid-gap: 2rem;
}
.studio{
    /* Layout */
    display: flex;
    flex-wrap: wrap;

    /* Box model */
    max-height: 14rem ;

    /* Spacing */
    padding: 1rem;

    /* Visual */
    color: #1F2435;
    background-color: #B5B5B5;
}
.studio.uitgebreid{
    background-color: #dddddd;
}
.studio.uitgebreid:hover{
    /* Box model */
    max-height: 30rem;

    /* Visual */
    box-shadow: 0px 0px 6px 0px rgb(255, 255, 255);
}
.studio.uitgebreid .studio_reveal{
    /* Layout */
    display: none;
}
.studio.uitgebreid .studio_reveal h2{
    /* Typography */
    font-size: 1.3rem;

    /* Spacing */
    margin: 0;
    padding: 0;
}
.studio.uitgebreid .studio_reveal ul{
    /* Typography */
    font-size: 1.3rem;

    /* Spacing */
    margin: 1rem 0 0 2rem;
    padding: 0;
}
.studio.uitgebreid .studio_reveal li{
    /* Spacing */
    margin-bottom: 1rem;
}
.studio.uitgebreid:hover .studio_reveal{
    /* Layout */
    display: block;
    width: 100%;

    /* Spacing */
    padding: 1rem;
    margin-top: 2rem;

    /* Visual */
    background-color: #fff;
}

@media (max-width:900px) {
    /* Ensure the parent can resize if needed */
    .studio.uitgebreid {
        /* Box model */
        max-height: 34rem;
    }
    .studio.uitgebreid .studio_reveal{
        /* Layout */
        display: block;
        width: 100%;

        /* Spacing */
        padding: 1rem;
        margin-top: 2rem;

        /* Visual */
        background-color:#fff;
    }
}
.studio .bttn{
    /* Typography */
    font-size: 1.4rem;

    /* Spacing */
    margin: .4rem 0;
}
.studio h3{
    /* Layout */
    flex-basis: 100%;

    /* Spacing */
    margin: 0;
}
.studio a{
    /* Layout */
    flex-basis: 100%;

    /* Spacing */
    margin: 0;
}
.studio-col-l{
    /* Layout */
    flex-basis: 52%;
    align-self: flex-end;
    vertical-align: bottom;

    /* Typography */
    font-size: 1.29rem;
    line-height: 170%;

    /* Spacing */
    margin-top: 0;
    padding: .6rem 0 .6rem 2%;
}
.studio-col-r{
    /* Layout */
    flex-basis: 46%;

    /* Typography */
    text-align: right;

    /* Spacing */
    margin-top: 0;
}
.studio .phn{
    /* Typography */
    letter-spacing: .14rem;
}

.studio.no-mail .mail{
    /* Misc */
    visibility: hidden;
}
.studio.no-phn .phn{
    /* Misc */
    visibility: hidden;
}

/* ========== Breakpoints ========== */
@media only screen and (max-width: 1200px) {
    .head-bottom{
        /* Visual */
        background-position: -10% 50%;
    }
    H1{
        /* Typography */
        font-size: 5rem;
    }
    .head-top li a{
        /* Spacing */
        padding: 0.4rem 2.6rem;
    }
    .promotie-area .promoimage{
        /* Visual */
        background-size: 170%;
    }
    #blogposts{
        /* Layout */
        flex-direction: column;
    }    
}
@media only screen and (max-width: 900px) {
    #blog-post ul{
        /* Box model */
        max-width: 100%;
     }
     #blog-post p{
        /* Box model */
        max-width: 100%;
     }
     
    .head-bottom{
        /* Visual */
        background-position: -30% 50%;
    }
    H1{
        /* Typography */
        font-size: 4rem;
    }
    H2{
        /* Typography */
        font-size: 3.6rem;
    }
    .promotie-area .promoimage{
    /* Layout */
    display: none;
    }
    .studio-toevoegen-area{
        /* Layout */
        flex-direction: column;
    }
    .head-top{
        /* Layout */
        flex-direction: column;
        gap: 2rem;
    }
    .head-top img{
        /* Box model */
        max-width: 36%;
    }
    .head-bottom nav{
        /* Box model */
        max-width: 99%;
    }
    .head-top .add{
        /* Layout */
        align-self:center;
        /* Spacing */
        margin: 0;
    }
    .head-top li{
        /* Spacing */
        padding: 0.2rem 0;
    }
    .head-top li a{
        /* Typography */
        font-size: 1.4rem;
        /* Spacing */
        padding: 0.2rem 2.6rem;
    }
    .head-bottom li{
        /* Layout */
        flex-basis:14rem;
        /* Spacing */
        margin: 1rem;
    }
    .city_text{
        /* Box model */
        columns: 1;
    }
    
}
@media only screen and (max-width: 600px) {
    #blogposts{
        /* Spacing */
        margin: 0;
    }
    .head-bottom{
        /* Visual */
        /* background-position: 16rem 140%; */
    }
    .welkom-area .tekstvlak{
        /* Layout */
        flex-direction: column;
    }
    .head-top img{
        /* Box model */
        max-width: 56%;
    }
    .head-top li a{
        /* Spacing */
        padding: 0.2rem 1.6rem;
    }
    .promotie-area .textvlak{
        /* Box model */
        max-width: 100%;
    }
    .promotie-area .textvlak H2{
        /* Typography */
        font-size: 3rem;
    }
    .promotie-area .textvlak H3{
        /* Typography */
        font-size: 1.4rem;
    }
}

/* ========== Mobiele toggle voor provincies ========== */
.prov-toggle { display: none; }

@media (max-width: 900px) {
  /* onzichtbare checkbox die de staat houdt */
  .prov-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  /* zichtbaar label als knop */
  .prov-toggle-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 1.2rem;
    padding: .8rem 1.2rem;
    width: fit-content;
    margin: 0 auto .4rem auto;
    cursor: pointer;
    font-weight: 600;
  }
  .prov-toggle-label::before {
    content: "︾"; /* dubbel pijltje omlaag */
    font-size: 1.6rem;
    line-height: 1;
    position: relative;
    top: 0.2em;    
  }
  .prov-toggle:checked + .prov-toggle-label::before {
    content: "︽"; /* dubbel pijltje omhoog bij open */
    position: relative;
    top: -0.2em;    
  }

  /* nav standaard dicht, met zachte animatie */
  .head-bottom nav {
    max-width: 95%;
    margin: 0 auto;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .3s ease;
  }
  .prov-toggle:checked ~ nav {
    max-height: 800px; /* ruim genoeg voor 12 items */
    opacity: 1;
  }
}

/* ========== Desktop: toggle verbergen, menu altijd open ========== */
@media (min-width: 901px) {
  .prov-toggle-label { display: none; }
  .head-bottom nav {
    max-height: none;
    opacity: 1;
    overflow: visible;
  }
}
