/* GENERAL STYLES */
:root {
    --bg-main: #faf7f2;
    --bg-main-alt: #f5f0e8;
    --bg-header: #faf7f2;
    --bg-footer: #32322f;
    --bg-subfooter: #1b1b1a;
    --clr-paragraph: #615b4c;
    --clr-header: #32322f;
    --clr-alt: #6b3f87;
    --clr-alt-light: #c9a8dc;
    --clr-cta: #460858;
    --clr-light: #faf7f2;
    --clr-light-alt: #868686;
    --box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);

    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: var(--clr-paragraph);
    scroll-behavior: smooth;
}

.site-width {
    max-width: 1440px;
    margin: auto;
}

h1,
h2,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--clr-header);
    font-weight: 300;
}

h1 {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 3rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

h3 {
    font-family: 'Lato', sans-serif;
    color: var(--clr-alt);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 700;
}

h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

ul {
    list-style: circle;
}

nav ul {
    list-style: none;
}

a {
    cursor: pointer;
    text-decoration: none;
    color: var(--clr-cta);
    transition: color 0.5s ease;
}

a:hover {
    color: var(--clr-paragraph);
}

p,
li {
    line-height: 2rem;
    font-weight: 300;
}

p {
    margin: 1rem 0;
}

img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    box-shadow: var(--box-shadow);
}

section {
    scroll-margin: 5rem;
    padding: 3rem 0;
    padding-left: 2rem;
    padding-right: 2rem;
}

section.background-alt {
    background: var(--bg-main-alt);
}

.cta-button {
    font-family: inherit;
    font-size: inherit;
    font-weight: 300;
    outline: none;
    background: var(--clr-cta);
    color: var(--clr-light);
    cursor: pointer;
    border: none;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    line-height: inherit;
    border-radius: 2px;
    transition: background 0.2s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.cta-button:hover {
    background: var(--clr-alt);
    color: var(--clr-light);
}

@media (min-width: 768px) {
    h1 {
        margin-bottom: 10rem;
    }

    section {
        padding: 8rem 2rem;
    }
}

/* HEADER */
.header {
    position: sticky;
    height: 7rem;
    top: 0;
    z-index: 101;
    background: var(--bg-header);
}

.site-logo {
    height: 7rem;
    padding: 1.5rem;
}

.site-logo a,
.site-logo svg {
    display: block;
    height: 100%;
    width: auto;
}

.header img {
    box-shadow: unset;
}

.header h1 {
    text-align: center;
}

.header .site-width {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header.scrolled {
    box-shadow: var(--box-shadow);
}

.header:has(.menu-toggle.open) {
    box-shadow: none;
    transition: box-shadow 0.3s ease;
}

.menu-toggle {
    user-select: none;
    width: 32px;
    height: 24px;
    position: relative;
    margin-right: 1rem;
    transform: rotate(0deg);
    transition: 0.5s ease-in-out;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--clr-header);
    border-radius: 4px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.menu-toggle span:nth-child(1) {
    top: 0px;
}

.menu-toggle span:nth-child(2),
.menu-toggle span:nth-child(3) {
    top: 10px;
}

.menu-toggle span:nth-child(4) {
    top: 20px;
}

.menu-toggle.open span:nth-child(1) {
    top: 10px;
    width: 0%;
    left: 50%;
}

.menu-toggle.open span:nth-child(2) {
    transform: rotate(45deg);
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg);
}

.menu-toggle.open span:nth-child(4) {
    top: 10px;
    width: 0%;
    left: 50%;
}

.navigation--desktop {
    display: none;
}

.navigation--mobile {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100dvw;
    height: 100dvh;
    z-index: 100;
    background-color: var(--bg-header);
    padding-top: 10rem;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.navigation--mobile.open {
    pointer-events: all;
    opacity: 1;
    visibility: visible;
}

.navigation--mobile ul {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.navigation--mobile li {
    color: var(--clr-header);
    font-size: 1.75rem;
    font-weight: 300;
}

.navigation-item {
    color: var(--clr-paragraph);
    text-transform: uppercase;
}

.over-mij .image-wrapper {
    max-width: 260px;
    margin: auto;
}

@media (min-width: 768px) {
    .navigation--mobile {
        display: none;
    }

    .menu-toggle {
        display: none;
    }

    .navigation--desktop {
        display: block;
    }

    .navigation--desktop ul {
        display: flex;
        gap: 1.5rem;
        margin-right: 2rem;
        align-items: center;
    }

    .navigation--desktop li a:not(.cta-button) {
        height: 100%;
        position: relative;
        padding-bottom: 0.25rem;
    }

    .navigation--desktop li a:not(.cta-button):after {
        content: '';
        position: absolute;
        bottom: 1px;
        left: 0;
        background: var(--clr-paragraph);
        height: 1px;
        width: 100%;
        transform: scaleX(0);
        transition: transform 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95);
        transform-origin: left;
    }

    .navigation--desktop li:hover a:after {
        transform: scaleX(1);
    }

    .header h1 {
        text-align: left;
    }
}

@media (min-width: 1024px) {
}

@media (min-width: 1280px) {
}

/* MAIN */
.main {
    background: var(--bg-main);
}

.divider {
    height: 1px;
    width: 4rem;
    margin: 3rem 0;
    background-color: var(--clr-paragraph);
}

.image-wrapper img {
    border-radius: 5px;
}

.info-wrapper {
    padding: 2rem 0;
}

.info-wrapper ul li:not(last-child) {
    margin-bottom: 1rem;
}

.hero {
    padding-top: 8rem;
}

.hero .image-wrapper {
    max-width: 90%;
    margin: auto;
}

.hero .image-wrapper img {
    object-position: center 25%;
}

.usp {
    display: flex;
    flex-direction: column;
}

.usp .image-wrapper {
    align-self: center;
    width: 240px;
    height: 240px;
}

.usp .image-wrapper img {
    border-radius: 50%;
    box-shadow: var(--box-shadow);
}

@media (min-width: 768px) {
    .info-image-container {
        display: flex;
        flex-direction: row-reverse;
        justify-content: flex-end;
        align-items: center;
    }

    .info-image-container .image-wrapper {
        width: 50%;
        height: 700px;
    }

    .info-image-container .info-wrapper {
        width: 50%;
    }

    .info-image-container .info-wrapper {
        padding: 2rem;
    }

    .info-wrapper {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 2.25rem;
        margin-bottom: 4rem;
        text-align: center;
        font-weight: 700;
    }

    .hero ul {
        list-style: circle;
        margin-left: 2rem;
    }

    .hero .image-wrapper {
        width: 550px;
        height: 350px;
    }

    .hero .info-wrapper h4 {
        margin-bottom: 3rem;
    }

    .diensten {
        text-align: center;
    }

    .diensten .divider {
        background-color: var(--bg-main-alt);
    }

    .usp-container {
        display: flex;
    }

    .usp {
        align-items: center;
    }

    .usp .info-wrapper {
        padding: 4rem;
    }

    .usp .info-wrapper h4 {
        text-align: center;
    }

    .over-mij .info-image-container {
        flex-direction: row;
    }

    .over-mij .info-wrapper {
        padding-left: 0;
    }

    .werkwijze .image-wrapper,
    .over-mij .image-wrapper {
        position: relative;
    }

    .werkwijze img,
    .over-mij img {
        width: 300px;
        height: 400px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .contact a h2 {
        color: var(--clr-cta);
        transition: color 0.5s ease;
    }

    .contact a:hover h2 {
        color: var(--clr-alt);
    }
}

@media (min-width: 1024px) {
}

@media (min-width: 1280px) {
}

/* FOOTER */
.footer {
    background: var(--bg-footer);
    padding: 3rem 0;
    font-size: 14px;
    padding-left: 2rem;
}

.subfooter {
    font-size: 14px;
    padding: 1rem 0;
    padding-left: 2rem;
}

.footer a {
    color: var(--clr-light-alt);
    margin-bottom: 2px;
    cursor: pointer;
}

.footer a:hover {
    color: var(--clr-light);
}

.footer .company-info {
    margin-bottom: 4rem;
}

.footer .company-info h2 {
    margin-bottom: 0.5rem;
}

.footer .company-info h4 {
    color: var(--clr-light);
    font-size: 1rem;
}

.footer h2 {
    color: var(--clr-light);
    font-size: 1.25rem;
}

.footer h3 {
    text-transform: none;
    color: var(--clr-alt-light);
    font-weight: 300;
}

.footer p,
.footer span {
    color: var(--clr-light-alt);
}

.footer .contact-info {
    height: 1rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.footer .contact-info svg {
    height: 100%;

    path {
        fill: var(--clr-light-alt);
    }
}

.subfooter {
    background: var(--bg-subfooter);
}

@media (min-width: 768px) {
}

@media (min-width: 1024px) {
}

@media (min-width: 1280px) {
}
