@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Grotesk:wght@400;500&display=swap");

:root {
    --cream: #F2EFDF;
    --orange: #F28339;
    --blue: #9AB9BA;
    --grey: #6B6B6B;
    --black: #1A1A1A;
    --white: #FFFFFF;

    --page-width: 1143px;
    --side: clamp(24px, 4vw, 64px);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--grey);
    font-family: "Space Grotesk", sans-serif;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

.page {
    width: min(100%, var(--page-width));
    margin: 0 auto;
    background: var(--cream);
}

/* GENERAL */

.section-label {
    margin: 0 0 16px;
    color: var(--orange);
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 56px;
    padding: 0 34px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.button-primary {
    background: var(--orange);
    color: var(--cream);
}

.button-secondary {
    background: var(--blue);
    color: var(--cream);
}

.button-outline {
    border: 2px solid var(--blue);
    color: var(--blue);
}

/* HERO */

.hero {
    position: relative;
    min-height: 960px;
    padding: 48px var(--side) 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    top: 70px;
    right: 62px;
    width: clamp(150px, 22vw, 256px);
    aspect-ratio: 1;
    background: var(--blue);
    opacity: 0.2;
    transform: rotate(12deg);
}

.hero-label {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--blue);
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.hero-dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--orange);
}

.hero-title {
    position: relative;
    z-index: 1;
}

.hero-title h1 {
    margin: 0;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    line-height: 0.85;
    text-transform: uppercase;
}

.hero-title span {
    display: block;
    font-size: clamp(118px, 22vw, 256px);
}

.hero-title span:first-child {
    color: var(--orange);
}

.hero-title span:last-child {
    position: relative;
    color: var(--blue);
}

.hero-title span:last-child::before,
.hero-title span:last-child::after {
    content: "";
    position: absolute;
    top: 52%;
    width: clamp(48px, 8vw, 96px);
    height: 4px;
    background: currentColor;
}

.hero-title span:last-child::before {
    right: calc(100% + 24px);
    background: var(--blue);
}

.hero-title span:last-child::after {
    left: calc(100% + 24px);
    background: var(--orange);
}

.hero-subtitle {
    margin-top: 44px;
    max-width: 780px;
    color: var(--blue);
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.2;
    letter-spacing: 0.75px;
    text-transform: uppercase;
}

.hero-subtitle strong {
    color: var(--orange);
    font-weight: 400;
}

.hero-text {
    margin: 10px 0 46px;
    color: var(--grey);
    font-size: 16px;
    line-height: 24px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-bottom {
    position: absolute;
    left: var(--side);
    right: var(--side);
    bottom: 64px;
    display: flex;
    justify-content: space-between;
    color: var(--blue);
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* ABOUT */

.about {
    padding: 70px var(--side) 150px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(56px, 8vw, 100px);
    align-items: start;
}

.about-left h2,
.contact-left h2 {
    margin: 0;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    line-height: 0.95;
    text-transform: uppercase;
}

.about-left h2 span,
.contact-left h2 span {
    display: block;
}

.about-left h2 span:first-child,
.contact-left h2 span:first-child {
    color: var(--blue);
}

.about-left h2 span:last-child,
.contact-left h2 span:last-child {
    color: var(--orange);
}

.about-left h2 span {
    font-size: clamp(88px, 12vw, 128px);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 160px 0 200px;
}

.stats strong {
    display: block;
    margin-bottom: 4px;
    color: var(--orange);
    font-family: "Bebas Neue", sans-serif;
    font-size: 48px;
    line-height: 48px;
    font-weight: 400;
}

.stats div:nth-child(2) strong {
    color: var(--blue);
}

.stats span {
    display: block;
    color: var(--grey);
    font-size: 14px;
    line-height: 20px;
}

.about-card {
    position: relative;
    background: var(--white);
    padding: clamp(36px, 5vw, 64px);
    border: 4px solid var(--blue);
    min-height: 818px;
}

.about-card h3 {
    margin: 0 0 44px;
    max-width: 420px;
    color: var(--black);
    font-family: "Bebas Neue", sans-serif;
    font-size: 30px;
    line-height: 36px;
    letter-spacing: 0.6px;
    font-weight: 400;
    text-transform: uppercase;
}

.about-card p {
    margin: 0 0 24px;
    color: var(--grey);
    font-size: 16px;
    line-height: 26px;
}

.skills {
    margin-top: 40px;
}

.skills h4 {
    margin: 0 0 16px;
    color: var(--black);
    font-family: "Bebas Neue", sans-serif;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0.4px;
    font-weight: 400;
    text-transform: uppercase;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-list span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 16px;
    background: var(--cream);
    border: 1px solid rgba(154, 185, 186, 0.3);
    color: var(--black);
    font-size: 14px;
    line-height: 20px;
}

/* PORTFOLIO */

.portfolio {
    padding: 0 var(--side) 160px;
}

.portfolio-header {
    margin-bottom: 80px;
}

.portfolio-header > div {
    display: flex;
    align-items: flex-end;
    gap: 32px;
    flex-wrap: wrap;
}

.portfolio-header h2 {
    margin: 0;
    color: var(--blue);
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(92px, 14vw, 160px);
    line-height: 0.85;
    letter-spacing: 3.2px;
    font-weight: 400;
    text-transform: uppercase;
}

.portfolio-header span {
    margin-bottom: 18px;
    color: var(--grey);
    font-size: 16px;
    line-height: 24px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 72px 64px;
}

.project-image {
    position: relative;
    aspect-ratio: 523.5 / 654.38;
    background: var(--white);
    overflow: hidden;
}

.project-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(154,185,186,0.22), rgba(242,131,57,0.16)),
        var(--white);
    z-index: 0;
}

.project-image img {
    position: relative;
    z-index: 1;
}

/* Verbergt broken-image icoon wanneer je afbeelding nog niet bestaat */
.project-image img[src=""],
.project-image img:not([src]) {
    opacity: 0;
}

.project-image span {
    position: absolute;
    z-index: 2;
    top: 24px;
    right: 24px;
    color: var(--orange);
    opacity: 0.85;
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(64px, 8vw, 96px);
    line-height: 1;
}

.project-info {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
}

.project-info h3 {
    margin: 0;
    color: var(--orange);
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(28px, 4vw, 36px);
    line-height: 45px;
    letter-spacing: 0.72px;
    font-weight: 400;
    text-transform: uppercase;
}

.project-info h4 {
    margin: 0;
    color: var(--blue);
    font-family: "Bebas Neue", sans-serif;
    font-size: 24px;
    line-height: 30px;
    font-weight: 400;
    text-transform: uppercase;
}

.project-info span {
    color: var(--grey);
    font-size: 14px;
    line-height: 20px;
}

.project-card p {
    margin: 8px 0 0;
    color: var(--grey);
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.portfolio-button {
    display: flex;
    justify-content: center;
    margin-top: 104px;
}

/* CONTACT */

.contact {
    position: relative;
    padding: 150px var(--side) 200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(56px, 8vw, 96px);
    align-items: start;
}

.contact::after {
    content: "";
    position: absolute;
    top: 125px;
    right: 0;
    width: 46%;
    height: 681px;
    background: var(--orange);
    z-index: 0;
}

.contact-left,
.contact-form-wrap {
    position: relative;
    z-index: 1;
}

.contact-left h2 span {
    font-size: clamp(92px, 13vw, 144px);
}

.contact-intro {
    margin: 150px 0 32px;
    color: var(--grey);
    font-size: 16px;
    line-height: 26px;
}

.contact-details {
    display: grid;
    gap: 14px;
}

.contact-details small {
    display: block;
    color: var(--grey);
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.contact-details a,
.contact-details span {
    display: block;
    color: var(--orange);
    font-family: "Bebas Neue", sans-serif;
    font-size: 24px;
    line-height: 32px;
    text-transform: uppercase;
}

.contact-details div:nth-child(2) span {
    color: var(--blue);
}

.contact-form-wrap {
    background: var(--white);
    padding: clamp(36px, 5vw, 48px);
    margin-top: 28px;
}

.contact-form {
    display: grid;
    gap: 24px;
}

.contact-form label {
    display: grid;
    gap: 8px;
}

.contact-form label span {
    color: var(--grey);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 0;
    outline: 2px solid transparent;
    background: var(--cream);
    padding: 14px 16px;
    color: rgba(26, 26, 26, 0.8);
    font-family: "Space Grotesk", sans-serif;
    font-size: 16px;
}

.contact-form input,
.contact-form select {
    height: 52px;
}

.contact-form textarea {
    min-height: 148px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline-color: rgba(154, 185, 186, 0.7);
}

.contact-form button {
    border: 0;
    min-height: 64px;
    background: var(--blue);
    color: var(--cream);
    font-family: "Bebas Neue", sans-serif;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    cursor: pointer;
}

/* FOOTER */

.footer {
    border-top: 1px solid rgba(154, 185, 186, 0.3);
    padding: 48px var(--side);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: center;
}

.footer-logo {
    color: var(--blue);
    font-family: "Bebas Neue", sans-serif;
    font-size: 30px;
    line-height: 36px;
    text-transform: uppercase;
}

.footer nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer nav a,
.footer p {
    color: var(--grey);
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.footer p {
    margin: 0;
    text-align: right;
    letter-spacing: 0;
    text-transform: none;
}

/* TABLET */

@media (max-width: 900px) {
    .hero {
        min-height: 820px;
    }

    .hero-title span:last-child::before,
    .hero-title span:last-child::after {
        display: none;
    }

    .about,
    .contact {
        grid-template-columns: 1fr;
    }

    .stats {
        margin: 90px 0 80px;
    }

    .about-card {
        min-height: auto;
    }

    .project-grid {
        gap: 56px 32px;
    }

    .contact::after {
        top: auto;
        bottom: 160px;
        width: 100%;
        height: 420px;
    }

    .contact-intro {
        margin-top: 80px;
    }

    .footer {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer p {
        text-align: center;
    }
}

/* MOBILE */

@media (max-width: 640px) {
    :root {
        --side: 20px;
    }

    .hero {
        min-height: 760px;
        padding-top: 32px;
        padding-bottom: 96px;
    }

    .hero-dot {
        width: 34px;
        height: 34px;
    }

    .hero-shape {
        top: 88px;
        right: -24px;
        width: 140px;
    }

    .hero-text {
        font-size: 14px;
    }

    .hero-bottom {
        bottom: 32px;
        font-size: 10px;
    }

    .button {
        width: 100%;
    }

    .hero-buttons {
        width: 100%;
    }

    .about {
        padding-top: 40px;
        padding-bottom: 100px;
    }

    .stats {
        grid-template-columns: 1fr;
        margin: 64px 0;
    }

    .about-card {
        padding: 32px 24px;
        border-width: 3px;
    }

    .portfolio {
        padding-bottom: 100px;
    }

    .portfolio-header {
        margin-bottom: 48px;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .project-info {
        align-items: flex-start;
    }

    .contact {
        padding-top: 96px;
        padding-bottom: 120px;
    }

    .contact-form-wrap {
        padding: 32px 24px;
    }

    .contact-details a,
    .contact-details span {
        font-size: 21px;
        line-height: 28px;
        word-break: break-word;
    }

    .footer nav {
        gap: 16px;
    }
}