@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Poppins:wght@400;500;600;700&display=swap');

/* ============================================================================
   ROOT & GLOBAL STYLES
   ============================================================================ */

:root {
    /* Color Palette */
    --color-linnenzand: #DAD3C1;
    --color-honingklei: #F4E0C9;
    --color-kastanjebruin: #78563A;
    --color-espressohout: #4A3325;
    --color-porseleinwit: #FDF9F5;
    --color-saliegroen-taupe: #7D795E;
    --color-bosmos: #44422B;
    --color-leisteenblauw: #64757D;
    --color-mistgroen: #919D9D;

    /* Semantic Colors */
    --color-text: var(--color-saliegroen-taupe);
    --color-text-heading: var(--color-espressohout);
    --color-bg: var(--color-porseleinwit);
    --color-border: var(--color-linnenzand);
    --color-code-bg: var(--color-honingklei);
    --color-accent: var(--color-leisteenblauw);
    --color-accent-bg: rgba(100, 117, 125, 0.1);
    --color-accent-border: rgba(100, 117, 125, 0.5);
    --color-section-bg: rgba(244, 224, 201, 0.5);
    --color-shadow: rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;

    --font-sans: 'Poppins', sans-serif;
    --font-heading: 'Libre Baskerville', serif;
    --font-mono: 'Poppins', sans-serif;

    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;

    --size-mobile: 375px;
    --size-tablet: 768px;
    --size-desktop: 1024px;
    --size-wide: 1440px;

    font: 18px/1.45 var(--font-sans);
    letter-spacing: 0.18px;
    color-scheme: light dark;
    color: var(--color-text);
    background: var(--color-bg);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ============================================================================
   RESET & BASE STYLES
   ============================================================================ */

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

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
}

main {
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-text-heading);
    margin: 0;
}

h1 {
    font-size: 56px;
    letter-spacing: -1.68px;
    line-height: 1.2;
}

h2 {
    font-size: 48px;
    letter-spacing: -1.44px;
    line-height: 1.2;
}

h3 {
    font-size: 32px;
    letter-spacing: -0.96px;
    line-height: 1.2;
}

h4 {
    font-size: 24px;
    letter-spacing: -0.24px;
    line-height: 1.18;
}

p {
    margin: 0;
    line-height: 1.45;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ============================================================================
   HEADER & NAVIGATION
   ============================================================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.header__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.header__logo {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.24px;
    margin: 0;
}

.header__logo-link {
    color: var(--color-espressohout);
    text-decoration: none;
    transition: none;
    border-bottom: none;
}

.header__logo-link:hover {
    color: var(--color-espressohout);
    text-decoration: none;
    border-bottom: none;
}

.header__tagline {
    display: none;
}

.header__tagline-link {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.header__tagline-link:hover {
    color: var(--color-accent);
}

.header__nav-list {
    display: flex;
    gap: var(--spacing-lg);
}

.header__menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    background-color: transparent;
    border-radius: 6px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.header__menu-icon {
    display: block;
    width: 22px;
    height: 22px;
}

.header__nav-link {
    font-size: 16px;
    color: var(--color-kastanjebruin);
    text-decoration: none;
    transition: color 0.2s ease, font-weight 0.2s ease;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    font-weight: 400;
}

.header__nav-link:hover {
    color: var(--color-espressohout);
    font-weight: 600;
}

/* Active state for home page */
html[data-page="home"] .header__nav-link[data-nav="home"],
/* Active state for Nathalie page */
html[data-page="nathalie"] .header__nav-link[data-nav="nathalie"],
/* Active state for Lieven page */
html[data-page="lieven"] .header__nav-link[data-nav="lieven"] {
    color: var(--color-espressohout);
    border-bottom-color: var(--color-espressohout);
    font-weight: 600;
}

.header__nav-link.is-active {
    color: var(--color-espressohout);
    border-bottom-color: var(--color-espressohout);
    font-weight: 600;
}


/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero {
    position: relative;
    width: 100%;
    padding-top: 65px;
    height: calc(100vh - 65px);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
    background-color: var(--color-linnenzand);
}

.hero__picture {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__image2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: #fff;
    padding: var(--spacing-2xl);
    max-width: 600px;
}

.hero__title {
    font-size: 72px;
    font-weight: 600;
    letter-spacing: -2.16px;
    margin-bottom: var(--spacing-md);
    color: #fff;
    margin: 0;
    min-width: 675px;
}

.hero__subtitle {
    font-size: 20px;
    line-height: 1.4;
    color: #fff;
    font-style: italic;
    margin: 0;
    min-width: 650px;
}


/* ============================================================================
   FOOTER
   ============================================================================ */

.footer {
    width: 100%;
    background-color: var(--color-espressohout);
    color: #fff;
    padding: 60px 40px;
}

/* GRID: 2 kolommen + 1 rij onderaan */
.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 40px;
}

/* Beide kolommen */
.footer__col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer__col:nth-child(2) {
    align-items: flex-end;
    text-align: right;
}

/* Contact titel */
.footer__title {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}

/* Email */
.footer__email {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}

.footer__email:hover {
    opacity: 0.8;
}

/* Social icons */
.footer__socials {
    display: flex;
    gap: 16px;
}

.footer__icon img {
    width: 28px;
    height: 28px;
    transition: opacity 0.2s ease;
}

.footer__icon:hover img {
    opacity: 0.7;
}

/* Handle onder icons */
.footer__handle {
    font-size: 16px;
    opacity: 0.9;
    margin-top: 8px;
}

.footer__brand-row {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.footer__credit {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    width: fit-content;
}

.footer__credit-label {
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

/* Zultebeke onderaan */
.footer__brand {
    text-align: left;
    font-size: 120px;
    font-weight: 600;
    margin-top: 0;
    letter-spacing: 8px;
    color: #fff;
}

.footer__credit-link {
    display: block;
    width: fit-content;
}

.footer__credit-link:hover {
    opacity: 0.8;
}

.footer__credit-logo {
    width: 50px;
    height: auto;
    filter: brightness(0) invert(1);
    display: block;
}

/* ============================================================================
   RESPONSIVE LAYOUT
   ============================================================================ */

/* Phone */
@media (max-width: 767px) {
    :root {
        font-size: 16px;
    }

    h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    h2 {
        font-size: 34px;
        letter-spacing: -0.8px;
    }

    h3 {
        font-size: 26px;
        letter-spacing: -0.5px;
    }

    h4 {
        font-size: 21px;
    }

    .header__container {
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        padding: var(--spacing-sm);
    }

    .header__menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .header__nav {
        width: 100%;
    }

    .header[data-mobile-nav="ready"] .header__nav {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.25s ease, opacity 0.2s ease;
    }

    .header[data-mobile-nav="ready"].header--menu-open .header__nav {
        max-height: 240px;
        opacity: 1;
    }

    .header__nav-list {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-top: 8px;
    }

    .header__nav-link {
        font-size: 15px;
    }

    .hero {
        padding-top: 0;
        min-height: 85svh;
        height: 85svh;
    }

    .hero__image {
        object-position: 70% center;
    }

    .hero__image2 {
        object-position: 20% center;
    }

    .hero__content {
        padding: var(--spacing-lg) var(--spacing-md);
        max-width: 100%;
    }

    .hero__title,
    .hero__subtitle {
        min-width: 0;
    }

    .hero__title {
        font-size: 42px;
        letter-spacing: -1.1px;
    }

    .hero__subtitle {
        font-size: 17px;
        max-width: 34ch;
    }

    .footer {
        padding: 40px 20px;
    }

    .footer__container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer__brand-row {
        margin-top: 0;
        gap: 14px;
        align-items: center;
    }

    .footer__credit {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .footer__credit-link {
        display: inline-flex;
        justify-content: flex-start;
        align-self: flex-start;
    }

    .footer__credit-label {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .footer__brand {
        font-size: 27px;
        letter-spacing: 2px;
    }

    .footer__credit-logo {
        width: 50px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1199px) {
    .header__container {
        padding: var(--spacing-md);
    }

    .header__nav-list {
        gap: var(--spacing-md);
    }

    .hero {
        padding-top: 0;
    }

    .hero__content {
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    .hero__title,
    .hero__subtitle {
        min-width: 0;
    }

    .hero__title {
        font-size: 58px;
        letter-spacing: -1.5px;
    }

    .footer {
        padding: 48px 28px;
    }

    .footer__brand {
        font-size: clamp(72px, 11vw, 96px);
        letter-spacing: 4px;
    }

    .footer__credit-logo {
        width: 50px;
    }
}

/* Larger than desktop */
@media (min-width: 1440px) {
    .header__container {
        max-width: 1520px;
        padding-left: var(--spacing-xl);
        padding-right: var(--spacing-xl);
    }

    .hero__content {
        max-width: 740px;
        padding-left: clamp(64px, 7vw, 140px);
        padding-right: clamp(64px, 7vw, 140px);
    }

    .hero__title {
        font-size: clamp(72px, 5vw, 92px);
        letter-spacing: -2px;
    }

    .hero__subtitle {
        font-size: 22px;
    }

    .footer__container {
        max-width: 1320px;
    }

    .footer__brand {
        font-size: clamp(120px, 9vw, 180px);
    }

    .footer__credit-logo {
        width: 50px;
    }
}