/* Bestaande CSS */
body {
    font-family: Lato, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #ffffff;
    font-size: 16px;
}

/* Header sectie */
.header {
    position: relative;
    width: 101%;
    height: 650px; /* Verhoogde hoogte van de header */
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.header-image {
    width: 100%;
    height: 100%;
}

.header-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 100%;
}

/* Header cirkels */
.header-circles {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: absolute;
    top: -50px; /* Pas aan indien nodig */
    left: 500px; /* Pas aan indien nodig */
}

.circle {
    width: 200px; /* Verhoog de grootte indien nodig */
    height: 200px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    font-size: 18px; /* Pas het lettertype aan indien nodig */
    margin-bottom: -30px; /* Voeg ruimte toe tussen de cirkels */
}

.orange-circle {
    background-color: #f8910b;
    z-index: 1;
}

.white-circle {
    background-color: white;
    z-index: 0;
    position: relative;
    left: -60px; /* Verplaats de witte cirkel iets naar links */
    top: -20px; /* Verplaats de witte cirkel iets omhoog */
}

.circle-text {
    color: black; /* Zorg ervoor dat de tekst leesbaar is */
    font-weight: bold;
}

.orange-circle .circle-text {
    color: white; /* Witte tekst voor oranje cirkel */
}

.white-circle .circle-text {
    color: #f8910b; /* Oranje tekst voor witte cirkel */
}

/* Header titels */
.header-title {
    font-size: 3rem;
    margin-left: 38%;
}

.header-subtitle {
    font-size: 3rem;
    margin-top: 10px;
    margin-left: 17%;
}

/* Zoekbalk in de header */
.header-search-bar {
    position: absolute;
    top: 150px; /* Geplaatst onderaan de header */
    left: 67%;
    transform: translateX(-50%);
    width: 600px;
    background-color: rgba(255, 255, 255, 0); /* Transparante achtergrond */
    border: 3px solid white;
    padding: 6px;
}

.header-search-bar input {
    width: calc(100% - 10px);
    border: none;
    outline: none;
    background: none;
    font-size: 16px;
}

.header-search-bar input::placeholder {
    color: white;
}

.header-search-bar input:focus::placeholder {
    color: white;
}

/* Zoekicoon */
.search-icon {
    position: absolute; /* Absolute positionering binnen de relatieve container */
    right: 10px; /* Ruimte vanaf de rechterrand */
    top: 50%; /* Verticaal centreren */
    transform: translateY(-50%); /* Aanpassen voor perfecte centrering */
    color: white; /* Kleur van het icoon */
    pointer-events: none; /* Zorg ervoor dat het icoon de invoerinteractie niet blokkeert */
}

/* Dropdown voor zoekresultaten */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 10px); /* Onder de zoekbalk met wat ruimte */
    right: 0px; /* Uitgelijnd aan de rechterkant */
    width: 600px; /* Breedte van de dropdown */
    background-color: rgba(255, 255, 255, 0.9); /* Witte achtergrond met minder transparantie */
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 180px;
    overflow-y: auto;
}

.search-results-dropdown a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
    text-align: left;
}

.search-results-dropdown a:hover {
    background: #f4f4f4;
}

.search-results-dropdown .no-results {
    padding: 10px;
    color: #999;
    text-align: center;
}

/* Hoofdinhoud */
.main-content {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sectie titels */
.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    color: #0a0a0a;
}

/* Container voor bedrijven */
.companies-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Bedrijfscard */
.company-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: calc(25% - 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s;
    box-sizing: border-box;
}

.company-card:hover {
    transform: translateY(-5px);
}

/* Bedrijfslogo */
.company-logo img {
    width: 150px; /* Stel een vaste breedte in voor de afbeeldingen */
    height: 150px; /* Stel een vaste hoogte in voor de afbeeldingen */
    object-fit: cover; /* Zorgt ervoor dat de afbeelding binnen het opgegeven formaat past zonder de verhoudingen te wijzigen */
    margin-bottom: 10px;
}

/* Bedrijfsnaam */
.company-name {
    font-size: 1.2rem; /* Stel een vaste grootte in voor de bedrijfsnamen */
    margin: 10px 0; /* Voegt ruimte toe boven en onder de bedrijfsnamen */
    color: #000000; /* Behoud de oorspronkelijke tekstkleur */
    text-decoration: none; /* Verwijder eventuele decoratie */
    display: block; /* Zorgt ervoor dat de bedrijfsnaam in een blokelement zit */
}

/* Bedrijfsinformatie */
.company-info {
    width: 100%; /* Neemt de volledige breedte van de container in */
    padding: 0 20px; /* Voegt wat ruimte toe aan de zijkanten */
}

/* Beoordelingsweergave */
.rating-display {
    display: flex;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

/* Sterren buitenkant */
.stars-outer {
    display: inline-block;
    position: relative;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 1.5rem;
    color: #ccc;
    margin-right: 10px;
}

.stars-outer::before {
    content: "\f005 \f005 \f005 \f005 \f005";
}

/* Sterren binnenkant */
.stars-inner {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    color: #f8ce0b;
}

.stars-inner::before {
    content: "\f005 \f005 \f005 \f005 \f005";
}

/* Beoordelingsscore */
.rating-score {
    font-size: 2rem;
    display: block;
    color: #10adf1;
    font-weight: bold;
}

/* Knopstijl */
.button {
    background-color: #10adf1;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.button:hover {
    background-color: #0b88bd;
}

/* Nieuwe promotie sectie CSS */
.promo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px 0;
}

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

/* Grijze achtergrond voor de widgets met 3 containers */
.widget {
    position: relative; /* Toegevoegd voor overlay */
    float: left;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    min-height: 400px;
    min-width: 400px;
    border-radius: 2px;
    padding: 30px 30px 10px;
    width: 30.66%;
    margin: 0 50px 100px 0; /* Marge aanpassing */
    transition: transform 0.3s;
    box-sizing: border-box;
}

.width-1-3 {
    width: 30.66%;
}

.widget:first-child {
    margin-left: 0;
}

.widget:hover {
    transform: translateY(-5px);
}

.widget img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Voeg deze CSS toe voor de linker widget */
.widget.left-widget {
    background-image: url('/assets/block1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative; /* Toegevoegd voor positionering */
    padding: 30px; /* Pas de padding aan indien nodig */
    box-sizing: border-box;
}

.widget.left-widget .widget-content {
    position: absolute;
    font-size: 2rem;
    top: 20px;
    left: 20px;
    color: #000000;
    background: none; /* Verwijder grijze achtergrond */
    padding: 0; /* Verwijder padding */
}

.widget.left-widget .circle-text {
    position: absolute;
    bottom: 20px; /* Positioneer onderaan de widget */
    left: 20px; /* Pas de linkerpositie aan indien nodig */
    width: 160px;
    height: 160px;
    background-color: #f8910b; /* Oranje cirkel */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/* Voeg deze CSS toe voor de middelste widget */
.widget.middle-widget {
    background-image: url('/assets/block2.jpg');
    background-size: cover;
    background-position: center;
    color: white; /* Zorg ervoor dat de tekst leesbaar is op de achtergrondafbeelding */
}

/* Specifieke stijlen voor overlay tekst en knop */
.widget-content {
    position: relative;
    bottom: 20px;
    left: 20px;
    color: white;
    padding: 20px;
    border-radius: 8px;
}

.widget-content h3 {
    font-size: 1.5rem;
    margin: 0 0 10px;
}

.widget-content p {
    font-size: 1rem;
    margin: 0;
}

/* Promo Box 1 specifieke stijlen */
.promo-box-rect.left-promo-box {
    background-image: url('/assets/block-bottom1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative; /* Toegevoegd voor overlay */
    padding: 50px; /* Verhoogde padding */
    text-align: center;
    transition: transform 0.3s;
    box-sizing: border-box;
    margin: 0 30px; /* Verhoogde marge */
    min-height: 400px;
    min-width: 700px;
    width: 30.66%;
}

.promo-box-rect.left-promo-box:hover {
    transform: translateY(-5px);
}

.promo-box-rect.left-promo-box .promo-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #000000;
    padding: 20px;
    border-radius: 8px;
}

.promo-box-rect.left-promo-box .promo-content h3 {
    font-size: 1.9rem;
    margin: 0 0 10px;
}

.promo-box-rect.left-promo-box .promo-content p {
    font-size: 1.5rem;
    margin: 0;
}

.promo-box-rect.left-promo-box .promo-content .circle-text {
    position: absolute;
    width: 160px;
    height: 160px;
    background-color: #f8910b;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: bold;
    left: 450px;
    top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Promo Box 2 specifieke stijlen */
.promo-box-rect.right-promo-box {
    background-image: url('/assets/block-bottom2.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative; /* Toegevoegd voor overlay */
    padding: 50px; /* Verhoogde padding */
    text-align: center;
    transition: transform 0.3s;
    box-sizing: border-box;
    margin: 0 30px; /* Verhoogde marge */
    min-height: 400px;
    min-width: 700px;
    width: 30.66%;
}

.promo-box-rect.right-promo-box:hover {
    transform: translateY(-5px);
}

.promo-box-rect.right-promo-box .promo-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    padding: 20px;
    border-radius: 8px;
}

.promo-box-rect.right-promo-box .promo-content h3 {
    font-size: 1.9rem;
    margin: 0 0 10px;
}

.promo-box-rect.right-promo-box .promo-content p {
    font-size: 1.5rem;
    margin: 0;
}

.promo-box-rect.right-promo-box .promo-content .circle-text {
    position: absolute;
    width: 160px;
    height: 160px;
    background-color: #f8910b;
    color: white;
    padding: 10px 20px;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: bold;
    left: 450px;
    top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Specifieke stijlen voor de rechter widget */
.widget.right-widget {
    position: relative;
}

.widget.right-widget h3 {
    font-size: 1.5rem;
    color: black;
    margin-bottom: 20px;
}

.widget.right-widget ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: left;
    color: black;
}

.widget.right-widget ul li {
    font-size: 1.2rem;
    margin: 10px 0;
}

.widget.right-widget ul li::before {
    content: '>';
    color: #10adf1; /* Blauwe kleur */
    margin-right: 10px;
}

.widget.right-widget .signup-button {
    background-color: #f8910b; /* Oranje kleur voor de knop */
    font-size: 1.2rem;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 30px;
}

.widget.right-widget .signup-button:hover {
    background-color: #c6760f;
}
.linker:hover{
    color: #10adf1;
}
.signup-button {
    background-color: #10adf1;
    font-size: 1.2rem;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 30px;
}

.more-info-button {
    background-color: #f8910b;
    font-size: 1.2rem;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 30px;
}

.signup-button:hover {
    background-color: #0b88bd;
}

.more-info-button:hover {
    background-color: #c6760f;
}
