@font-face {
    font-family: Dopafont;
    src: url(/fonts/Helvetica.woff) format('woff');
  }

@font-face {
    font-family: Dopafont;
    src: url(/fonts/Helvetica-Bold.woff) format('woff');
    font-weight: bold;
}

:root {
        --dopablauw: #28388E;
        --dopadonkerblauw: #0C1215;
        --dopabeige: #EDE8DA;
    --dopawhite: #FFF;
        --dopared: #DE4A26;
        --dopablack: #000;
        --dopaorange: #DE4A26;
    --dopagradient1: #0C1215;
    --dopagradient2: #233A92;
    --dopagradient3: #D2DBFC;
    --overlay-bg: rgba(0,0,0,.9);

    font-family: Dopafont;                                             
}

/*Zwevende bol taalkeuze*/
.lang-switch {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;           /* of top: 1.2rem; voor rechterbovenhoek */
  z-index: 999;             /* boven de rest */
}

.lang-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;       /* maakt 'm rond */
  border: 2px solid var(--dopawhite);
  background: var(--dopawhite);   /* semi-transparant */
  color: var(--dopadonkerblauw);
  font-size: 0.8rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.lang-btn:hover {
  transform: scale(1.08);
}

body {
    color: var(--dopawhite); 
     min-height: 100vh;   
}

.inactivelang {
    display: none;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
    color: var(--dopawhite);
}

.dopa {
    background-image: linear-gradient(var(--dopagradient1),var(--dopagradient2), var(--dopagradient2));
    color: var(--dopawhite);
}

.dopalogobackground {
    position: relative;
    min-height: 100vh;   /* minstens volledige schermhoogte */
    display: flex;
    flex-direction: column;
    overflow: hidden;    /* alles wat “buiten” valt (zoals je watermark) wordt niet meer zichtbaar */
}

/*CONSTRUCT PAGINA*/
.bgconstruct {
    /*   background-color: var(--dopablauw);*/
    background-image: linear-gradient(var(--dopagradient1),var(--dopagradient2), var(--dopagradient2));
}

div.construct {
    background-color: transparent;
    color: var(--dopabeige);
    width: 80%;
    margin: auto;
}

/*
.dopawatermerk {
    position: fixed;
    bottom: calc(-45*max(1vh,1vw));   /* iets onder het zichtbare scherm 
    right: calc(-36*max(1vh,1vw));           /* iets buiten beeld rechts 
    height: auto;           /* calc(250*max(vh,vw)); iets groter dan volledige hoogte van scherm 
    width: calc(120*max(1vh,1vw));
    transform: rotate(-15deg);
    z-index: 0;
    opacity: 0.05;
    pointer-events: none;
}

*/

.dopawatermerk {
    position: fixed;
    bottom: -150px;   /* iets onder het zichtbare scherm */
    right: -100px;           /* iets buiten beeld rechts */
    height: auto;           /* calc(250*max(vh,vw)); iets groter dan volledige hoogte van scherm */
    width: 1000px;
    transform: rotate(-15deg);
    z-index: 0;
    opacity: 0.05;
    pointer-events: none;
}

@media screen and (min-width: 1000px) {
    .dopawatermerk {
    width: 1500px;
    }
}

.construct > p > a {
    text-decoration:  none;
    color: var(--dopabeige);
}

.constructimage {
    height: 100px;
    display: flex;
    justify-content: center;
}

.constructcontact {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    font-size: 1.5rem;
}

.constructtitle {
    text-align: center;
    font-size: 3rem;
    padding: 1rem;
}

@media screen and (max-width: 1250px) {
    .constructcontact {
    font-size: 1.2rem;
    }

    .constructtitle {
        text-align: center;
        font-size: 2rem;
        padding: 1rem;
    }
    
}

@media screen and (max-width: 900px) {
    .constructtitle {
        width:90%;
        font-size: 2rem;
    }

    .constructcontact {
        flex-direction: column;
        align-items: center;
    }
}
/*EINDE CONSTRUCTPAGINA*/

/*NAVBALK*/

header {
    background-color: var(--dopagradient1);
    color: var(--dopawhite);
}

.dopanav {
    display: flex;
    justify-content:space-between;
}

.dopalogo {
   margin-left: 1rem;
}

.dopalogo a img {
    max-height: 30px;
    padding: .2rem;
}

.width33pct {
    width: 33%;
    padding: .5rem;
}

.widthmenu {
    width: 10rem;
    padding: .5rem;
}

#mobilemenu:target {
    right: 0;
}

.close-btn {
    position: absolute;
    right: 5px;
    font-size: 2rem;  
    font-weight: bold;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    color: var(--dopawhite);
}

.menu {
    display: none;
    font-size: .5rem;
    font-weight: bold;
}

.bars {
    display: flex;
    justify-content: end;
    font-size: 2rem;
    margin-top: -1rem;
    align-items: center;
}

@media screen and (min-width: 500px) {
    .bars {
        font-size: 3rem;
    }
    .dopalogo a img {
    max-height: 60px;
    padding: .5rem;
    }
    .menu {
        font-size: 1.5rem;
    }

    .widthmenu {
    width: 15rem;
    padding: .5rem;
    }
}

.mobilenav {
    position: fixed;
    top: 1rem;
    right: -100%; /* Initially hidden */
    width: 150px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
    transition: left 0.3s ease-in-out;
    z-index: 1000;
}

@media screen and (min-width: 100px) { /*min width to 'always'*/
    .menu {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding-right: 2rem;
    }
    
    .bars {
        display: none;
    }

    .mobilenav {
        display: none;
    }
}

/*HOMEPAGINA*/
.gradient1 {
    width: 100%;
    background-color: var(--dopagradient1);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.gradient2 {
    width: 100%;
    background-image: linear-gradient(var(--dopagradient1),var(--dopagradient2));
    display: flex;
    flex-direction: column;
    flex: 1;
}

.firstdiv {
    width: 96%;
    margin: auto;
    border-radius: 10px;
}

.centerdivphotos {
    position: relative; /* Ensure it acts as a reference for absolute positioning */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.photocontainer {
    width: 75%;
    height: calc(75vw* 9 / 16); /* Ensures 9:16 aspect ratio */
    /*max-height: 80vh; /* Prevent excessive height */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;  /*Allows small overflow */
    padding: 2rem;
}

@media screen and (min-width: 1100px) {
    .photocontainer {
        width: 65%;
        height: calc(65vw* 9 / 16); /* Ensures 9:16 aspect ratio */
    }
}

.frames {
   width: 100%;
   /*height: 100%; /* Make sure it fills .photocontainer */
   position: absolute; /* Stacks images */
   margin: auto;
}

.frames img {
    display: block;
    width: 98%;
    height: 98%;
    object-fit: scale-down;
}

.frame1 {
    transform: rotate(-2deg) translate(5px, 3px);
}

.frame2 {
    transform: rotate(5deg) translate(-5px, -1px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3); /* enkel onderkant zichtbaar */
}

.frame3 {
    transform: rotate(3deg) translate(2px, -2px);
}

.frame4 {
    transform: rotate(-1deg) translate(5px, 3px);
}

.frame5 {
    transform: rotate(-4deg) translate(-5px, 2px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3); /* enkel onderkant zichtbaar */

}

.frame6 {
    transform: rotate(0) translate(0);
   }

#videodiv {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    z-index: 1;
}

#videodiv video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* or contain */
    display: block;
}

.centerdivlogos {
   position: relative;
}

#scrollcontainerlogos {   
    position: relative; 
    width: 100%;
    height: 50px;
    overflow: hidden;        /* al aanwezig, laat staan */
    display: block;          /* flex is hier niet nodig */
}

.scrollbox {
    position: absolute;      /* blijft */
    top: 0;                  /* ✅ nieuw */
    left: 0;                 /* ✅ nieuw */
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 4rem;
    padding: 0 2rem;
    width: max-content;      /* ✅ robuuster dan fit-content */
    will-change: transform;  /* ✅ soepelere animatie */
    animation-play-state: paused;
}

.scrollbox.running {
  animation-play-state: running;
}


.scrolllogo {
    display: flex;
    align-items: center;
    white-space: nowrap;
    height: 50px;
}

.scrolllogo img {
    height: 100%;
    max-height: 100%;
    object-fit: contain;
}

#scroll3 {
    animation: scrollanimation3 20s linear infinite;
}

#scroll4 {
    animation: scrollanimation4 20s linear infinite;
}

@keyframes scrollanimation3 {
    0% {transform: translateX(0%);}
    100% {transform: translateX(-100%);}
}

@keyframes scrollanimation4 {
    0% {transform: translateX(100%);}
    100% {transform: translateX(0%);}
}

@media screen and (min-width: 500px) {
    #scrollcontainerlogos { 
        height: 70px;
    }

    .scrollitem {
    font-size: 4rem;
    }
    .scrolllogo {
    height: 70px;
    }
}

.a360service {
    font-size: .8rem;
    text-align: center;
    font-weight: bold;
}

.ambassador {
    padding: 0 1rem;
    margin: auto;
    width: 85%;
    font-size: 2rem; 
    font-weight: bold;
}

.dopamine {
    width: 100%;
    margin: auto;
    padding: 1rem;
    font-weight: bold;
    font-size: 1rem;
}

.strategy {
    padding: 0 1rem;
    margin: auto;
    width: 90%;
    font-size: 2rem; 
    font-weight: bold;
}

.spacedivone {
    height: 2rem;
}

.spacedivtwo {    
    height: 5rem;
}

.spacediv5 {
    height: 5rem;
}

.spacediv2 {
    height: 2rem;
}

.blue {
    color: var(--dopadonkerblauw);
}

/* CONTENT VIEWPORT + BLUR EDGES */
.contentwindow {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Two gradient overlays on top of the track */
.contentwindow::before,
.contentwindow::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;                  /* how wide the fade zone is */
  pointer-events: none;        /* don’t block clicks */
  z-index: 10;
}

/* Left side fade (to the right) */
.contentwindow::before {
  left: 0;
  background: linear-gradient(
    to right,
    var(--dopagradient1) 0%,   /* solid bg */
    transparent 100%           /* fully see-through toward center */
  );
}

/* Right side fade (to the left) */
.contentwindow::after {
  right: 0;
  background: linear-gradient(
    to left,
    var(--dopagradient1) 0%,   /* solid bg */
    transparent 100%
  );
}


/* TRACK (moving strip) */
.track {
  display: flex;
  gap: 20px;                   /* MUST match JS "gap" */
  flex-wrap: nowrap;
  transition: transform 0.4s ease;
}

.track::-webkit-scrollbar {
  display: none;
}


/* CARD BASE */
/* CARD BASE */
.case-card {
  flex: 0 0 auto;
  width: 80vw;
  aspect-ratio: 3 / 2;
  position: relative;
  cursor: pointer;
  perspective: 1000px;
 /* transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;*/
}

/* inner wrapper for flip effect */
.case-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;  /* ✅ Safari */
  transition: transform 0.6s ease;
  border-radius: 20px;
  overflow: hidden;
}

/* fronts & backs */
.case-card-front,
.case-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;  /* for Safari but harmless in Chrome */
    transition: transform 0.6s ease; 
}

/* FRONT: image */
.case-card-front {
  transform: rotateY(0deg);
}

.case-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* BACK: text */
.case-card-back {
  transform: rotateY(180deg);
  background: rgba(12, 18, 21, 0.95);
  color: var(--dopawhite);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.case-card-back h2 {
    font-size: 1rem;
}

/* Flip on hover: rotate FRONT out, BACK in */
.case-card:hover .case-card-front {
  transform: rotateY(-180deg);
}

.case-card:hover .case-card-back {
  transform: rotateY(0deg);
}


/* Center (active) card styling */
.case-card.active {
  filter: none;
  opacity: 1;
  z-index: 2;
}

/* Side cards: slightly smaller, blurred */
.case-card.side {
  filter: blur(2px) grayscale(0.3);
  opacity: 0.7;
  z-index: 1;
}

/* Optional: on hover, side cards sharpen a bit */
.case-card.side:hover {
  filter: blur(1px) grayscale(0.1);
  opacity: 0.9;
}


/* ARROWS INSIDE CONTENTWINDOW */
.case-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;                 /* above gradients & cards */
  background: transparent;
  border: none;
  color: var(--dopawhite);
  font-size: 1.5rem;
  padding: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.case-nav:hover {
  transform: translateY(-50%) scale(1.15);
}

.case-nav.prev {
  left: 1rem;
}

.case-nav.next {
  right: 1rem;
}


/* MOBILE TWEAKS */
@media (min-width: 750px) {
  .track {
    gap: 35px;
  }

  .case-card {
    width: 65vw;               /* smaller / responsive card width */
  }

  .case-nav {
    font-size: 2.2rem;
  }

  .case-card-back h2 {
    font-size: 2rem;        
  }

  .case-card-back p {
    font-size: 1.2rem;    
  }
}

@media (min-width: 1000px) {
    .track {
    gap: 50px;
  }

  .case-card {
    width: 50vw;
  }

  .case-nav {
    font-size: 3rem;
  }

  .case-card-back h2 {
    font-size: 3rem;    
  }

  .case-card-back p {
    font-size: 1.5rem;    
  }
}


.activities {
    font-size: 1rem;
    width: 75%;
    margin: auto;
}

.content {
    margin-bottom: 5rem;
    background-color: var(--dopagradient2);
    padding: 1rem;

    color: var(--dopablauw);
    background-color: var(--dopawhite);
    border-radius: 10px;
}

.activities h2 {
    font-size: 2rem;
    margin: 0 auto 10px;
}

.textcenter {
    text-align: center;
}

.textleft {
    text-align: left;
}

.smallp {
    font-size:.5rem;
    font-weight: normal;
}

.bottomslogan {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.contactbutton {
    font-weight: bold;
    background-color: var(--dopawhite);
    border: none;
    border-radius: 20px;
    color: var(--dopablauw);
    margin: auto;
    padding: .5rem 1rem;
    cursor: pointer;
}

.videomain {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;                 /* ruimte tussen items */
    padding: .5rem;             /* marge rondom (binnen het scherm) */
    width: 100%;
    margin: auto;
    box-sizing: border-box;        
    z-index: 1;
}

.videoitem {
    flex: 1 1 auto;
    width: 100%;
    margin: auto;
}

.videobutton img {
    width: 100%;
    border-radius: 10px;
}

.videobrand {
    font-weight: bold;
}

.videotype {
    color: #e6e6e680;
    font-size: .8rem;
}


.videobutton {
    background: none;       /* geen achtergrondkleur */
    border: none;           /* geen rand */
    box-shadow: none;       /* geen schaduw */
    padding: 0;             /* geen binnenruimte */
    margin: 0;              /* geen buitenruimte */
    cursor: pointer;      
}

#videomodal[aria-hidden="true"] {
  display: none; /* helemaal weg */
}

#videomodal[aria-hidden="false"] {
  display: flex; 
  flex-direction: column;
  justify-content: center;
}

/* Vervang je huidige .lightbox en voeg fallbacks toe */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;                 /* ✅ iOS dynamic viewport */
  display: none;
  place-items: center;            /* je had 'top', center voelt meestal beter; pas aan indien gewenst */
  z-index: 9999;
  background-color: var(--overlay-bg);
  overscroll-behavior: contain;   /* voorkom rubber-band scroll */
  padding-bottom: env(safe-area-inset-bottom); /* cover tot onder de home bar */
}



/* Fallback voor browsers zonder 100dvh */
@supports not (height: 100dvh) {
  .lightbox { height: 100vh; }
}

#player {
  position:relative;
  max-width: 98%;
  max-height: 98%;
  aspect-ratio: 9/16;
  background:#000;
  border-radius:12px;
  overflow:hidden;
  margin-left: auto;
  margin-right: auto;
}
#player video {
    width:100%; 
    height:100%; 
    display:block;
}

.backdrop {
    display: flex;
    justify-content: end;
    width: 100%;
    height: 2rem;
}

.backdrop > i {
    margin-right: 2px;
}


@media screen and (min-width: 500px) {

    .videorow img {
        border-radius: 20px;
    }

    .spacedivone {
        height: 3rem;
    }

    .spacedivtwo {
        height: 7rem;
    }

    .ambassador {
        padding: 0 2rem;
        margin: auto;
        font-size: 3rem; 
    }

    .strategy {
        padding: 0 2rem;
        margin: auto;
        font-size: 3rem; 
    }

    .videomain {
        padding: 1rem;
        gap: 1.5rem;
    }

    .videoitem {
        width: 45%;
    }
    
}

@media screen and (min-width: 1000px) {

    .videomain {
        width: 90%;
    }

    .spacedivone {
        height: 5rem;
    }

    .spacedivtwo {
        height: 10rem;
    }

    .ambassador {
        width: 65%;
        font-size: 4rem;
    }

    .dopamine {
         font-size: 1.5rem;
    }

    .strategy {
        width: 65%;
        font-size: 4rem;
    }


    
    .activities {
        font-size: 1.5rem;
    }

    .videomain {
        padding: 2rem;
        gap: 2rem;
    }

    .videoitem {
        width: 30%;
    }

    .videobrand {
        font-size: 1.5rem;
    }

    .videotype {
        font-size: 1rem;
    }

}


/*FOOTER*/

.footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--dopawhite);
    background-color: var(--dopablauw);
    z-index: 2;
}

.footer i {
  font-size: 2rem; /* or 32px — increase/decrease as needed */
  color: var(--dopawhite); /* keep consistent color */
  transition: transform 0.2s ease;
  padding: .5rem;
}

.footer i:hover {
  transform: scale(1.2); /* optional hover effect */
}



/*CONTACTPAGINA*/

.contactmain {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: center;
    font-weight: bold;
    flex: 1;
}

.centerdivcontact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    font-weight: bold;
    flex: 1;
}

.contactdata, .contactadressen {
    width: 18rem;
    height: 100%;
    padding: 1rem;
}

.contactdata p, .contactadressen p {
    height: 30px;
}

.contactform {
    width: 80%;
    padding: 1rem;
    background-color: var(--dopawhite);
    border-radius: 20px;
    color: var(--dopablauw);
    margin: 0 auto 3rem;
}

.credentialsinput p,
.messageinput p {
    display: flex;
    flex-direction: column;
    align-items: flex-start;     /* label + input links uitlijnen */
    gap: 0.4rem;                 /* wat ruimte tussen label en input */
    width: 100%;
}


.contactform input,
.contactform textarea {
    width: 100%;                 /* niet meer 95% */
    box-sizing: border-box;
    padding: 10px;
    border-radius: 20px;
    border: solid var(--dopablauw) 2px;
    color: var(--dopablauw);
}


.credentialsinput {
    display: block;
    margin: auto;
    width: 95%;
}



.messageinput {
    width: 95%;
    margin: 5px auto;
}

.contactred {
    color: var(--dopared);
}

.contactbuttondiv {
    width: 95%;
    margin: 5px auto;
}
.submitbutton {
    background-color: var(--dopablauw);
    border: none;
    border-radius: 20px;
    color: var(--dopawhite);
    margin: auto;
    padding: .5rem 1rem;
    font-weight: bold;
}

.contacttitle {
    font-size: 1.3rem;
    width: 95%;
    margin: 0 auto 10px;
}

.bottomdivcontact {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: auto;
}

.contactsmalltext {
    line-height: 1; /* Reduces unnecessary spacing */
    padding-left: 0.3rem;
}
.contactlargetext {
    line-height: 1; /* Reduces unnecessary spacing */
    font-size: 3.5rem;
     overflow: hidden;
}

.contactsmalltext p,
.contactlargetext p {
    margin: 0;
}

@media screen and (min-width: 500px) {
    .contacttitle {
        font-size: 1.8rem;
    }

    .smallp {
        font-size: 1rem;
    }   

    .contactsmalltext p {
        display: inline;
    }
    .contactlargetext {
        font-size: 4.5rem;
    }
}


@media screen and (min-width: 1000px) {
    .centerdivcontact {
        flex-direction: row;
        align-content: center;
    }

    .contactform {
        width: 70%;
    }

    .contacttitle {
        font-size: 2.5rem;
    }

    .smallp {
        font-size: 1.5rem;
    }   

    .contactsmalltext {
        padding-left: 1rem;
    }

    .contactlargetext {
        line-height: 1; /* Reduces unnecessary spacing */
        font-size: 9rem;
    }

    .bottomdivcontact {
        width: 70%;
    }
    
}
