/* Hele site */

@font-face {
    font-family: equalFont;
    src: url(GeistVF.ttf);
    font-display: swap;
}

@font-face {
    font-family: equalFont2;
    src: url(equalfont2.otf);
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #eeeeee;
    display: inline-block;
    transition: background-color 0.3s, transform 0.5s;
    font-weight: bold;
}

a:visited {
    color: inherit;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: equalFont;
    background-color: rgb(27, 27, 27);
    color: #eeeeee;
}

span {
    font-weight: bold;
    color: #6CBFFE;
}

/* Hoofdig + Navbar */

header {
    margin-bottom: 5rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.25rem;
}

nav img {
    max-width: 15.75rem;
}

.navbuttons a, .form-container a {
    color: #eeeeee;
    font-size: 1.25rem;
    border-radius: 0.3125rem;
    margin: 0 1rem;
}

.navbuttons a:hover, .form-container a:hover {
    color: #6CBFFE;
    transform: scale(1.15);
}

.navbuttons .selected {
    color: #858585;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    width: 1.5625rem;
    height: 0.1875rem;
    background-color: #eeeeee;
    margin: 0.3125rem 0;
    transition: 0.4s;
}

hr {
    height: 0.1rem;
    border: none;
    color: #4b4b4b;
    background-color: #4b4b4b;
}

/* Glow effect */

.glow-container {
    position: relative;
    text-align: center;
}

.glow-container p {
    margin: 0 auto;
}

.glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    max-width: 600px;
    max-height: 320px;
    background: linear-gradient(to top right, #046ebe, #6CBFFE);
    filter: blur(118px);
    opacity: 0.2;
    z-index: -1;
}

/* Footer */

footer {
    background-color: rgb(27, 27, 27);
    color: #eeeeee;
    padding: 1.25rem 0;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    margin: 0 auto;
}

footer p, footer a, #currentYear {
    color: #eeeeee;
    margin-top: 0.25rem;
    font-size: 1rem;
    font-weight: normal;
}

footer p:first-of-type {
    margin-top: 1rem;
}

footer a:hover {
    text-decoration: underline;
}

/* Website */

.container {
    width: 95%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.container h1 {
    font-size: 3.7rem;
    margin-bottom: 0.8rem;
    text-align: center;
}

.container p {
    width: 60%;
    color: #c7c7c7;
    font-size: 1.3rem;
    text-align: center;
}

.knoppen {
    margin-top: 2rem;
    font-size: 1.2rem;
    display: flex;
    gap: 0.8rem;
}

.knoppen a {
    background-color: #6CBFFE;
    color: #000000;
    padding: 0.6rem;
    border-radius: 2rem;
    font-size: 1.15rem;
    font-weight: 500;
}

.knoppen a:hover {
    transform: scale(1.08);
}

.partner, .extrainfo, .reviews {
    width: 95%;
    max-width: 3000px;
    margin: 0 auto;
    margin-top: 5.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.extrainfo p, .reviews p {
    color: #c7c7c7;
}

.reviews span p {
    color: #6CBFFE;
}

.partner {
    flex-direction: column;
}

.partnerlogo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.partnerlogo img {
    width: 50%;
    border-radius: 25%;
}

.partnerlogo img:hover {
    transform: scale(1.1);
}

.partnerlogo a {
    text-align: center;
}

.extrainfo, .reviews {
    flex-direction: column;
}

.extracontainers {
    display: flex;
    gap: 1rem;
    width: 85%;
    max-width: 1200px;
}

.extracontainers article {
    flex: 1;
    border: 0.15rem solid #6CBFFE;
    border-radius: 0.7rem;
    padding: 1rem;
    padding-top: 0.2rem;
    box-sizing: border-box;
}

.extracontainers h3, .reviewcontainers h3 {
    font-weight: 600;
    font-size: 1.45rem;
    font-family: equalFont2;
}

.klantencontainer {
    text-align: center;
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12rem;
    text-transform: uppercase;
}

.counter {
    color: #6CBFFE;
    font-size: 2rem;
    font-weight: bold;
    transition: all 3.5s ease-in-out;
}

.klantencontainer p {
    font-size: 1.3rem;
}

.stars {
    margin-top: 0.8rem;
}

.review-carousel {
    overflow: hidden;
    width: 75%;
    max-width: 1225px;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    position: relative;
}

.reviewcontainers {
    display: flex;
    width: 100%;
    gap: 1rem;
    animation: scroll 700s linear infinite;
}

.reviewcontainers article {
    flex: 0 0 25%;
    display: flex;
    flex-direction: column;
    border: 0.15rem solid #6CBFFE;
    border-radius: 0.7rem;
    padding: 1rem;
    padding-top: 0.2rem;
    box-sizing: border-box;
}

.reviewcontainers article span {
    margin-top: auto;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-25% * 6 * 14.5));
    }
}


article h2, .partner h2, .extrainfo h2, .reviews h2 {
    font-size: 2.3rem;
    margin-bottom: 1.25rem;
}

.toscontainer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: start;
    gap: 2.5rem;
    margin-top: 2rem;
}

.toscontainer h2 {
    color: #6CBFFE;
    font-size: 2.1rem;
}

.toscontainer h3 {
    font-size: 1.7rem;
}

.toscontainer p {
    width: 100%;
    text-align: start;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-style: italic;
    color: #c7c7c7;
}

.toscontainer section {
    width: 60%;
    border: 0.3rem solid #6CBFFE;
    padding: 1.25rem;
    border-radius: 1.5rem;
}

/* Portfolio */
.portfolio-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.portfolio-item {
    flex: 1 1 calc(33.333% - 1rem);
    color: #333;
    padding: 1rem;
    border-radius: 8px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.portfolio-item h2 {
    margin-bottom: 1rem;
}

.portfolio-item img {
    width: 100%;
    height: 300px; /* Gefixeerde hoogte van de afbeelding */
    object-fit: cover; /* Behoud de verhoudingen en vul de container */
    border-radius: 8px;
}

.portfolio-item:hover {
    transform: scale(1.05);
    color: #6CBFFE;
}

/* Quote form */

.form-container {
    background-color: #333;
    border-radius: 8px;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    margin: 2rem auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.form-container h2 {
    font-size: 2rem;
    color: #6CBFFE;
    margin-bottom: 1rem;
    text-align: center;
}
.form-container label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #eeeeee;
}
.form-container input,
.form-container textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #6CBFFE;
    border-radius: 4px;
    background-color: #222;
    color: #eeeeee;
    font-size: 1rem;
}
.form-container input::placeholder,
.form-container textarea::placeholder {
    color: #888;
}
.form-container button {
    background-color: #6CBFFE;
    color: #000;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}
.form-container button:hover {
    background-color: #58a8d4;
    transform: scale(1.05);
}
.form-container .success {
    color: #6CBFFE;
    text-align: center;
    font-size: 1.1rem;
    margin-top: 1rem;
}
.form-container .error {
    color: #ff4d4d;
    text-align: center;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Responsive */

@media (max-width: 1430px) {
    .container h1 {
        font-size: 2.8rem;
    }

    .container p {
        font-size: 1.2rem;
    }
}

@media (max-width: 840px) {
    header {
        margin-bottom: 1.5rem;
    }

    .container p {
        font-size: 1rem;
        width: 90%;
    }

    .navlinks {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .navlinks.active {
        display: flex;
        flex-direction: column;
        text-align: center;
        background-color: #333;
        position: absolute;
        top: 4.3rem;
        left: 0;
        right: 0;
        padding: 1.25rem;
        z-index: 10;
    }

    .navlinks.active a {
        margin-bottom: 0.625rem;
    }

    .navbuttons {
        flex-direction: column;
        align-items: center;
    }

    .navbuttons a {
        margin: 0.3125rem 0;
    }

    .navbuttons a:last-child {
        margin-bottom: 0;
    }

    .navbuttons a:hover {
        transform: scale(1.0);
    }

    nav img {
        max-width: 12.5rem;
    }

    footer {
        padding: 0.625rem;
    }

    .footer-content {
        flex-direction: column;
    }

    .partnerlogo {
        gap: 1.2rem;
    }
    
    .partnerlogo img {
        width: 60%;
    }

    .partner, .extrainfo, .reviews {
        margin-top: 4rem;
    }

    .klantencontainer {
        gap: 2rem;
        display: block;
    }

    .klantencontainer h3 {
        font-size: 2.8rem;
    }

    .klantencontainer p {
        font-size: 2rem;
    }

    .klantencontainer .remspace {
        margin-bottom: 1.5rem;
    }

    .review-carousel {
        width: 95%;
    }

    .reviewcontainers article {
        flex: 0 0 70%;
    }

    .extracontainers {
        flex-direction: column;
    }

    .extracontainers {
        width: 95%;
    }

    .toscontainer section {
        width: 95%;
    }
}

@media (max-width: 768px) {
    .portfolio-item {
        flex: 1 1 calc(50% - 1rem);
    }
    .form-container {
        padding: 1.5rem;
    }
    .form-container h2 {
        font-size: 1.5rem;
    }
    .form-container button {
        padding: 0.7rem 1.2rem;
        font-size: 1rem;
    }  
    .form-container a {
        margin-top: 1rem;    
    }
}


@media (max-width: 480px) {
    .portfolio-item {
        flex: 1 1 100%;
    }
}

@media (max-width: 390px) {
    .container h1 {
        font-size: 1.9rem;
    }
}

/* === ABOUT ME SECTION === */

.about {
    width: 70%;
    max-width: 900px;
    margin: 1.2rem auto;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #c7c7c7;
    text-align: justify;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(108, 191, 254, 0.25);
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    box-shadow: 0 0 25px rgba(108, 191, 254, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 35px rgba(108, 191, 254, 0.2);
}

.about strong {
    color: #6CBFFE;
    font-family: equalFont2;
    font-weight: 600;
}

.about em {
    color: #eeeeee;
    font-style: normal;
    font-weight: 500;
}

.about + .about {
    margin-top: 1rem;
}

/* Titel boven 'About Me' */
.extrainfo h2 {
    font-size: 2.4rem;
    color: #6CBFFE;
    margin-bottom: 1.5rem;
    font-family: equalFont2;
    text-align: center;
}

/* Responsive tweaks */
@media (max-width: 900px) {
    .about {
        width: 90%;
        font-size: 1.05rem;
        padding: 1.2rem 1.3rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .about {
        font-size: 1rem;
        line-height: 1.6;
        padding: 1rem 1.2rem;
    }
}
