/* kleuren */
:root {
    --blauw: #1a3c5a;
    --goud: #cfa94e;
    --licht: #f5f5f5;
}

/* basis */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--blauw);
    background-color: #ffffff;
}

 body h1{
    font-size: 1.8vw;
 }









/* blauwe header bovenaan */
.header {
    background-color: var(--blauw);
}

.header-inner {
    max-width: 70vw;
    margin: auto;
    padding: 1.2vw 2vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 4vw;
    max-height: 3.125vw;
}

    /* tekst in de blauwe header */
.menu a {
    color: white;
    text-decoration: none;
    margin-left: 2vw;
    font-size: 1.2vw;
    font-weight: 500;
    transition: color 0.2s ease;
}

.menu a:hover {
    color: var(--goud);
    text-decoration: underline; 
}




/* dropdown menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    cursor: pointer;
}

/* dropdown inhoud */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--blauw);
    min-width: 16vw;
    padding: 0.8vw 0;
    border-radius: 0.4vw;
    box-shadow: 0 0.625vw 1.5625vw rgba(0,0,0,0.25);

    opacity: 0;
    visibility: hidden;
    transform: translateY(0.5vw);
    transition: all 0.25s ease;
    z-index: 1000;
}

.dropdown-menu a {
    display: block;
    padding: 0.6vw 0.8vw;
    font-size: 1vw;
    color: white;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: rgba(255,255,255,0.08);
    color: var(--goud);
}

/* tonen bij hover */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}








/*copyright*/
.copyright{
    max-width: 70vw;
    margin: 3vw auto;
    text-align: center;
    font-size: 0.85vw;
}

.copyright p{

    color: var(--blauw);
    text-decoration: none;
    transition: color 0.2s ease;
}

.copyright a{
    color: var(--blauw);
    text-decoration: none;
    transition: color 0.2s ease;
}

.copyright a:hover{
    color: var(--goud);
    text-decoration: underline;
}






/* Home*/

    /* grijze strook met afbeelding*/
.hero {
    background-color: var(--licht);
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 3vw;
    margin: 3vw auto;
    max-width: 70vw;
}

.hero-img {
    width: 45%;
    max-width: 26,0417vw;
    height: auto;
    border-radius: 0,2604vw;
    box-shadow: 0 0.625vw 1.5625vw rgba(0,0,0,0.2);
    
}

.hero-text {
    width: 50%;
}



.hero-text h1 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1vw;
}

.hero-text p {
    font-size: clamp(0.8333vw, 1.4vw, 0.9375vw);
    line-height: 1.6;
}


    /* introductie tekst */
.intro {
    max-width: 60vw;
    margin: 3vw auto;
}

.intro p {
    font-size: clamp(0.8333vw, 1.3vw, 0.9375vw);
    line-height: 1.6;
}


    /* specialisatie lijst */
.specialisaties {
    max-width: 60vw;
    margin: 3vw auto;
}

.specialisaties h2 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1.5vw;
}

.specialisaties ul {
    list-style: none;
    padding: 0;
}

.specialisaties li {
    margin-bottom: 0.8vw;
}

.specialisaties a {
    color: var(--blauw);
    text-decoration: none;
    font-size: clamp(0.8333vw, 1.3vw, 0.9375vw);
    transition: color 0.2s ease;
}

.specialisaties a:hover {
    color: var(--goud);
    text-decoration: underline; 
}










/* gespecialiseerd_in*/

    /* list voor specialisaties */
.specialisaties-list {
    list-style: none;
    padding: 0;
    margin: 1.5vw 0;
}

.specialisaties-list li {
    margin-bottom: 0.8vw;
}

.specialisaties-list a {
    text-decoration: none;
    color: var(--blauw);
    font-size: clamp(0.8333vw, 1.3vw, 0.9375vw);
    transition: color 0.2s ease;
}

.specialisaties-list a:hover {
    color: var(--goud);
    text-decoration: underline;
}

    /* erkenningen*/
.partner-logos {
    display: flex;
    gap: 3vw;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1.5vw;
}

.erkenning-list{
    font-size: 0.9vw;
}

.partner-logos img{
    border-radius: 0.2604vw;
}










/*over ons*/

    /* grijze balk met tekst en foto's*/
.over_ons{
    max-width: 60vw;
    margin: 3vw auto;
}

.over_ons p{
    font-size: clamp(0.8333vw, 1.3vw, 0.9375vw);
}

.over_ons_img{
    display: flex;
    justify-content: center;
    gap: 1vw;
    border-radius: 1vw;
    width: 50%;
}

.hero_overons{
    display: flex;
    align-items: center;      
    justify-content: center;
    gap: 1.8vw;
    margin: 4vw 0;
    background-color: var(--licht);
}

.tekstjeroen,
.tekstlogo{
    width: 25%;
    max-width: 16.6667vw;
    padding: 0 0.8vw;
}

.tekstjeroen p,
.tekstlogo p{
    line-height: 1.5;
    margin-top: 1vw;
}


.over_ons_img img {
    width: 48%;
    height: auto;
    border-radius: 0.5208vw;
    box-shadow: 0 0.625vw 1.5625vw rgba(0,0,0,0.2);
}

    /* tijdlijn/ geschiedenis */
.timeline-background {
  width: 100%;
  background-color: var(--licht);
  padding: 2.5vw 0;
  overflow: hidden; 
}

.timeline-wrapper {
  max-width: 88.0208vw;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.6vw;
  padding: 0 0.83vw;
}

.timeline-row {
  display: flex;
  gap: 3.3vw;
  align-items: center;

}

.timeline-text {
  flex: 0 0 16.6667vw;
}

.timeline-bar {
  flex: 1;
  display: flex;
  gap: 1.6vw;

  overflow-x: auto;
  scroll-behavior: smooth;

  padding-block: 0.83vw;
  scrollbar-width: none;
  padding-left: 6vw;
}


.timeline-bar::-webkit-scrollbar {
  display: none;
}

.timeline-item {
  flex: 0 0 auto;
  width: 12.5vw;

  background-color: #6f8294;
  color: #fff;
  padding: 0.83vw;
  border-radius: 0.5208vw;
  text-align: center;

  opacity: 0.45;
  transform: scale(0.95);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.timeline-item:hover {
  opacity: 1;
  transform: scale(1.08);
  box-shadow: 0 0.625vw 1.5625vw rgba(0,0,0,0.2);
  cursor: grab;
}










/* contact */

    /* tekst */
.contact{
    max-width: 60vw;
    margin: 3vw auto;
}

.contact h2{
    margin-bottom: 0.5vw;
}

.contact p{
    font-size: clamp(0.8333vw, 1.3vw, 0.9375vw);
}

.contact a{
    text-decoration: none;
    color: var(--blauw);
    font-size: clamp(0.8333vw, 1.3vw, 0.9375vw);
    transition: color 0.2s ease;
}

.contact a:hover{
    color: var(--goud);
    text-decoration: underline;
}

    /*tabel openingstijden*/
.contact table, th, td{
    border: 0.104vw solid var(--blauw); 
    border-collapse: collapse;
}

    /* foto animatie */
.hero_contact{
    background-color: var(--licht);
    display: flex;
    justify-content: center;  
    margin: 4vw 0;
    overflow: hidden;
    width: 100%;
    isolation: isolate;
}

.contact_img {
    display: flex;
    gap: 1.5vw;
    width: max-content;
    will-change: transform;
    animation: scrollImages 20s linear infinite;
}

.contact_img img {
    height: 9.842vw;
    width: auto;
    object-fit: cover;
    border-radius: 0.5208vw;
}









/* levensverzekeringen */
    /* tekst */
.levensverzekering{
    max-width: 60vw;
    margin: 3vw auto;
}

.levensverzekering p {
    font-size: clamp(0.8333vw, 1.3vw, 0.9375vw);
}

.levensverzekering h2{
    font-size: 1.1vw;
}

    /* pfd levensverzekeringen */
 .levensverzekering a{
    color: var(--blauw);
    text-decoration: none;
    transition: color 0.2s ease;
 }

 .levensverzekering a:hover{
    color: var(--goud) ;
    text-decoration: underline;
 }

    /* plaatje levensverzekeringen */
.plaatje_levensverzekering{
    display: block;
    margin: 0 auto;
    box-shadow: 0 0.625vw 1.5625vw rgba(0,0,0,0.2);
}







/* pensioenen */
.pensioenen-lijfrente{
    max-width: 60vw;
    margin: 3vw auto; 
}

.pensioenen-lijfrente p {
    font-size: clamp(0.8333vw, 1.3vw, 0.9375vw);
}

.pensioenen-lijfrente a{
    color: var(--blauw);
    text-decoration: none;
    transition: color 0.2s ease;
}

.pensioenen-lijfrente a:hover{
    color: var(--goud) ;
    text-decoration: underline;
}

    /* plaatje pensioen/lijfrente */
.plaatje_pensioen-lijfrente{
    display: block;
    margin: 0 auto;  
    width: 30vw;
    box-shadow: 0 0.625vw 1.5625vw rgba(0,0,0,0.2);
} 







/* financieel en planning */
.financieel{
    max-width: 60vw;
    margin: 3vw auto; 
}

.financieel p{
    font-size: clamp(0.8333vw, 1.3vw, 0.9375vw);
}

.financieel a{
    color: var(--blauw);
    text-decoration: none;
    transition: color 0.2s ease;
}

.financieel a:hover{
    color: var(--goud) ;
    text-decoration: underline;
}

    /* plaatje financieel advies en planning */
.plaatje_financieel{
    display: block;
    margin: 0 auto;
    width: 20vw;
    box-shadow: 0 0.625vw 1.5625vw rgba(0,0,0,0.2);
}






/* goudenhanddruk en afvloeïngs regeling*/
.gouden-handdruk{
    max-width: 60vw;
    margin: 3vw auto;
}

.gouden-handdruk p{
    font-size: clamp(0.8333vw, 1.3vw, 0.9375vw);
}

.gouden-handdruk a{
    color: var(--blauw);
    text-decoration: none;
    transition: color 0.2s ease;
}

.gouden-handdruk a:hover{
    color: var(--goud) ;
    text-decoration: underline;
}

    /* plaatje gouden-handdruk */
.plaatje_gouden-handdruk{
    display: block;
    margin: 0 auto;
    width: 35vw;
    box-shadow: 0 0.625vw 1.5625vw rgba(0,0,0,0.2);
}






/* verzekeren particulieren*/
.verzekeren_particulieren{
    max-width: 60vw;
    margin: 3vw auto;
}

.verzekeren_particulieren p{
    font-size: clamp(0.8333vw, 1.3vw, 0.9375vw);
}

.verzekeren_particulieren a{
    color: var(--blauw);
    text-decoration: none;
    transition: color 0.2s ease;
}

.verzekeren_particulieren a:hover{
    color: var(--goud) ;
    text-decoration: underline;
}

    /* plaatje verzekeren particulieren */
.plaatje_verzekeren-particulieren{
    display: block;
    margin: 0 auto;
    width: 35vw;
    box-shadow: 0 0.625vw 1.5625vw rgba(0,0,0,0.2);
}






/* verzekeren bedrijven*/
 .verzekeren_bedrijven{
    max-width: 60vw;
    margin: 3vw auto;
}

.verzekeren_bedrijven p{
    font-size: clamp(0.8333vw, 1.3vw, 0.9375vw);
}

.verzekeren_bedrijven a{
    color: var(--blauw);
    text-decoration: none;
    transition: color 0.2s ease;
}

.verzekeren_bedrijven a:hover{
    color: var(--goud) ;
    text-decoration: underline;
}

    /* plaatje verzekeren bedrijven */
.plaatje_verzekeren-bedrijven{
    display: block;
    margin: 0 auto;
    width: 35vw;
    box-shadow: 0 0.625vw 1.5625vw rgba(0,0,0,0.2);
}











/* responsive */
@media (max-width: 40vw) {

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu {
        margin-top: 2vw;
    }

    .menu a {
        font-size: 4vw;
        margin-left: 0;
        margin-right: 4vw;
    }

    .hero-inner {
        flex-direction: column;
        gap: 3vw;
    }

    .hero-img {
        width: 90%;
        max-width: none;
    }

    .hero-text {
        width: 100%;
    }

    .hero-text h1 {
        font-size: 6vw;
    }

    .hero-text p,
    .intro p,
    .specialisaties a {
        font-size: 4vw;
    }
}

@media (max-width: 46.875vw) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .tekstjeroen,
    .tekstlogo,
    .over_ons_img {
        width: 100%;
    }

    .over_ons_img {
        flex-direction: column;
    }

    .over_ons_img img {
        width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 46.875vw) {
    .contact_img {
        flex-direction: column;
        align-items: center;
    }

    .contact_img img {
        width: 80%;
        max-width: 18.2292vw;
    }
}

@keyframes scrollImages {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-33.33%);
    }
}




/* ============================= */
/* Responsive additions (auto)   */
/* Original code untouched       */
/* ============================= */

@media (max-width: 1024px) {
    body {
        padding: 0;
        margin: 0;
    }
    img, video {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    * {
        box-sizing: border-box;
    }
    .container, .wrapper, .content {
        width: 100% !important;
        max-width: 100% !important;
    }
    nav ul {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    h1, h2, h3 {
        line-height: 1.2;
    }
    body {
        font-size: 16px;
    }
}
