/*------------------------Fonts-------------------------*/
/* Poppins: Regular + Medium */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-Regular.woff2') format('woff2'),
         url('../fonts/Poppins/Poppins-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-Medium.woff2') format('woff2'),
         url('../fonts/Poppins/Poppins-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Sora ExtraLight */
@font-face {
    font-family: 'Sora';
    src: url('../fonts/Sora/Sora-ExtraLight.woff2') format('woff2'),
         url('../fonts/Sora/Sora-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

/*------------------------Variabelen (Figma)-------------------------*/
:root {
    /* Figma variables */
    --aesthe-color-01: #f7f6f3;
    --aesthe-color-02: #efe9dd;

    /* Overige kleuren uit het frame */
    --color-bg: #f1f0ec;
    --color-title-sub: #d8d1c5;
    --color-label: #afae90;

    /* Typografie */
    --font-body: 'Poppins', sans-serif;
    --font-title: 'Sora', 'Poppins', sans-serif;

    --fs-title: clamp(1.5rem, 1.1rem + 1.8vw, 2.1875rem); /* 24px -> 35px */
    --lh-title: 1.143;                                    /* 40 / 35 */
    --fs-body: 0.875rem;                                  /* 14px mobiel (Figma: 12px) */
    --fs-label: 0.6875rem;                                /* 11px mobiel (Figma: 10px) */
    --lh-body: 1.55;

    /* Layout (desktop: 242px links, 247px rechts op 1920px) */
    --gutter: 24px;
    --max-width: 1920px;
}

@media (min-width: 768px) {
    :root {
        --gutter: clamp(48px, 12.6vw, 242px);
        --fs-body: 0.9375rem; /* 15px (Figma: 12px) */
        --fs-label: 0.75rem;  /* 12px (Figma: 10px) */
    }
}

/*------------------------Keyframes-------------------------*/
@keyframes fadeUp {
    0%   { opacity: 0; transform: translate(0, 60px); }
    100% { opacity: 1; transform: translate(0); }
}

.fadeanimation {
    opacity: 0;
}

.fadeanimation.fadeUp {
    animation: fadeUp 1s ease-in-out forwards;
}
.fadeanimation.fadeUp.delay03 { animation-delay: .3s; }
.fadeanimation.fadeUp.delay05 { animation-delay: .5s; }
.fadeanimation.fadeUp.delay07 { animation-delay: .7s; }

@media (prefers-reduced-motion: reduce) {
    .fadeanimation.fadeUp {
        animation: none;
        opacity: 1;
    }
}

/*------------------------Base-------------------------*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    margin: 0;
    min-height: 100%;
    background-color: var(--color-bg);
    /* Mobiel: lichte donkere laag voor leesbaarheid op de heldere delen van de foto */
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('../images/aesthe/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    letter-spacing: 0;
    color: var(--aesthe-color-02);
    -webkit-font-smoothing: antialiased;
}

p,
address,
ul,
h1,
h2 {
    margin: 0;
    padding: 0;
}

address {
    font-style: normal;
}

ul {
    list-style: none;
}

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

a:hover,
a:focus-visible {
    text-decoration: underline;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/*------------------------Layout-------------------------*/
.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px var(--gutter) 32px;
}

/* Header */
.header {
    position: relative;
}

/* Decoratief kruisje rechtsboven (enkel desktop, zoals in Figma) */
.header__icon {
    display: none;
}

.logo {
    display: block;
    width: 72px;
    height: auto;
}

/* Main */
.main {
    margin-top: 64px;
}

.title {
    font-family: var(--font-title);
    font-weight: 200;
    font-size: var(--fs-title);
    line-height: var(--lh-title);
    text-transform: uppercase;
    color: var(--aesthe-color-01);
}

.title span {
    display: block;
}

.title__sub {
    color: var(--color-title-sub);
}

/* Secties met lijn (Figma: Line 3, 0.5px #d8d1c5) */
.about,
.contact {
    position: relative;
}

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

.about p + p {
    margin-top: 1.55em; /* lege regel uit het frame */
}

.about::before,
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    border-top: 0.5px solid var(--color-title-sub);
}

/* ::before op .contact staat bovenaan, tweede lijn onder .about is de bovenlijn van .contact */
.contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 32px;
}

.label {
    font-size: var(--fs-label);
    line-height: var(--lh-body);
    text-transform: uppercase;
    color: var(--color-label);
}

.label--medium {
    font-weight: 500;
}

.contact__block > .label {
    margin-bottom: calc(var(--fs-body) * var(--lh-body)); /* lege regel uit het frame */
}

.contact address,
.emails a {
    color: var(--aesthe-color-01);
}

.emails li {
    display: flex;
    flex-direction: column;
}

.emails li + li {
    margin-top: 12px;
}

/* Footer */
.footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 48px;
    margin-top: auto;
    padding-top: 64px;
    color: var(--aesthe-color-01);
}

/*------------------------Desktop (Figma-frame 1920 x 1250)-------------------------*/
@media (min-width: 768px) {
    body {
        background-image: url('../images/aesthe/background.png');
    }

    .emails li {
        flex-direction: row;
        column-gap: 10px;
    }

    .emails li + li {
        margin-top: 0;
    }

    .page {
        padding-top: 106px;
        padding-bottom: 69px;
        padding-right: clamp(48px, 12.86vw, 247px);
    }

    .logo {
        width: 111px;
    }

    .header__icon {
        display: block;
        position: absolute;
        top: -5px;
        right: 0;
        width: 30.7px;
        height: auto;
    }

    .main {
        margin-top: 140px;
    }

    .about {
        margin-top: 56px;
        padding-top: 55px;
        padding-bottom: 56px;
    }

    .contact {
        grid-template-columns: 355px 1fr;
        gap: 0;
        padding-top: 55px;
    }

    .footer {
        display: grid;
        grid-template-columns: 355px 1fr;
        gap: 0;
        padding-top: 120px;
    }
}
