@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");

:root {
    --content-text-color: #5a5a5a;
    --hero-title-color: #9b9b9b;
    --nav-text-color: #9b9b9b;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    overscroll-behavior-y: none;
}

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

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-latin-variable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 20px;
    background: #f7f7f7;
    overflow-x: clip;
    overscroll-behavior-y: none;
}

.color-block {
    padding: 2rem 1rem;
    margin-bottom: 0;
    border-radius: 0;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.header {
    background: #3a3a6a;
    text-align: center;
}

.hero {
    min-height: 100svh;
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero h1 {
    position: absolute;
    font-family: "Roboto", Arial, sans-serif;
    left: 50%;
    bottom: 8.5rem;
    transform: translateX(-50%);
    margin: 0;
    font-size: 5rem;
    color: var(--hero-title-color);
    /* font-weight: 700; */
    z-index: 2;
}

.fullscreen-header {
    min-height: 100svh;
    height: 100svh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0; /* achtergrond-layer */
    /* Afbeelding wordt nu via HTML toegevoegd als <img> */
}

.fullscreen-header > img {
    width: 100%;
    height: 100svh !important;
    object-fit: cover;
    z-index: 0 !important;
}

.fullscreen-header::after {
    content: "";
    position: absolute;
    inset: 0;

    /* Hero Overlay */
    background: rgba(0, 0, 0, 0);
    /* background: rgba(0, 0, 0, 0.42); */
    pointer-events: none;
    z-index: 1;
}

.content-wrapper {
    position: relative;
    z-index: 1; /* content-layer */
    margin-top: 0;
    width: 100%;
    overflow-x: clip;
}

.section-inner {
    width: min(600px, 100%);
    margin: 0 auto;
}

.nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    text-align: center;
    box-shadow: none;
    z-index: 2;
}
.nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.nav a {

    /* Navigator Kleur */
    color: var(--nav-text-color);
    /* color: #fff; */

    text-decoration: none;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.nav a:hover,
.nav a.active {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.intro {
    background: #8a3a3a;
    text-align: center;
    font-size: 1.2rem;
    margin-top: 0;
}

.scroll-indicator {
    width: 42px;
    height: 42px;
    display: block;
    margin: 0 auto;
}

.scroll-link {
    display: inline-block;
}

.scroll-indicator-wrap {
    background: transparent;
    box-shadow: none;
}

.scroll-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 20;
}

.scroll-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-to-top-icon {
    width: 48px;
    height: 48px;
    display: block;
}

.intro-overlay {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    width: min(420px, calc(100% - 2rem));
    z-index: 2;
}

.main-content {
    background: #ffffff;
    color: var(--content-text-color);
    padding-top: 9rem;
}

.section-index-galerij {
    min-height: calc(100svh - 140px);
}

.index-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
}

.index-gallery-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.index-gallery-trigger {
    display: block;
}

.portfolio-gallery-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.portfolio-gallery-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.portfolio-gallery-trigger {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    width: 100%;
    text-align: inherit;
}

.portfolio-gallery-trigger:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 6px;
}

.portfolio-gallery-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--content-text-color);
}

.portfolio-gallery-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.portfolio-gallery-trigger:hover .portfolio-gallery-image,
.portfolio-gallery-trigger:focus-visible .portfolio-gallery-image {
    transform: scale(1.01);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.portfolio-gallery-meta {
    margin: 0;
    font-size: 0.92rem;
    color: var(--content-text-color);
    line-height: 1.5;
}

.portfolio-lightbox {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow: hidden;
    overscroll-behavior: contain;
    touch-action: none;
}

.portfolio-lightbox[hidden] {
    display: none !important;
}

.portfolio-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: #ffffff;
}

.portfolio-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 1200px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    overflow: hidden;
    background: #ffffff;
}

.portfolio-lightbox-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    min-width: 0;
    overflow: hidden;
    max-height: calc(100svh - 3rem);
    touch-action: none;
}

.portfolio-lightbox-image {
    display: block;
    max-width: 100%;
    max-height: min(78svh, 900px);
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
}

.portfolio-lightbox-caption {
    width: min(100%, 820px);
    text-align: center;
    color: var(--content-text-color);
    overflow: hidden;
}

.portfolio-lightbox-count,
.portfolio-lightbox-title,
.portfolio-lightbox-meta {
    margin: 0;
}

.portfolio-lightbox-count {
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(90, 90, 90, 0.72);
    margin-bottom: 0.55rem;
}

.portfolio-lightbox-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.portfolio-lightbox-meta {
    margin-top: 0.45rem;
    color: var(--content-text-color);
}

.portfolio-lightbox-close,
.portfolio-lightbox-nav {
    border: 0;
    background: rgba(17, 17, 17, 0.08);
    color: #111111;
    cursor: pointer;
}

.portfolio-lightbox-close {
    position: absolute;
    top: -0.25rem;
    right: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    font-size: 1.8rem;
    line-height: 1;
}

.portfolio-lightbox-nav {
    width: 3.5rem;
    height: 5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, transform 0.18s ease;
}

.portfolio-lightbox-nav span {
    font-size: 2.5rem;
    line-height: 1;
}

.portfolio-lightbox-image.is-transitioning-next,
.portfolio-lightbox-caption.is-transitioning-next {
    animation: portfolio-lightbox-slide-next 0.24s ease;
}

.portfolio-lightbox-image.is-transitioning-prev,
.portfolio-lightbox-caption.is-transitioning-prev {
    animation: portfolio-lightbox-slide-prev 0.24s ease;
}

@keyframes portfolio-lightbox-slide-next {
    from {
        opacity: 0;
        transform: translateX(18px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes portfolio-lightbox-slide-prev {
    from {
        opacity: 0;
        transform: translateX(-18px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.portfolio-lightbox-close:hover,
.portfolio-lightbox-close:focus-visible,
.portfolio-lightbox-nav:hover,
.portfolio-lightbox-nav:focus-visible {
    background: rgba(17, 17, 17, 0.15);
    transform: scale(1.03);
    outline: none;
}

body.portfolio-lightbox-open {
    overflow: hidden;
    height: 100svh;
    touch-action: none;
}

.over-mij-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.over-mij-gallery-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.over-mij-content-text {
    color: var(--content-text-color);
    line-height: 1.7;
}

.vitamine-k-content {
    text-align: center;
}

.vitamine-k-title {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.2;
    font-weight: 700;
}

.vitamine-k-title-muted {
    color: #7b7b7b;
}

.vitamine-k-title-primary {
    color: var(--content-text-color);
}

.vitamine-k-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem;
}

.vitamine-k-gallery-grid-single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
}

.vitamine-k-gallery-grid-double {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.vitamine-k-gallery-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.vitamine-k-text {
    margin: 0 0 2rem;
    color: var(--content-text-color);
    line-height: 1.7;
}

.vitamine-k-text a {
    color: var(--content-text-color);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
    word-break: break-word;
}

.vitamine-k-text-strong {
    font-weight: 700;
}

.vitamine-k-content-image {
    display: block;
    width: min(100%, 420px);
    margin: 0 auto 2rem;
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.contact-content {
    text-align: center;
}

.contact-name {
    margin: 0 0 2rem;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.2;
    color: var(--content-text-color);
}

.contact-content-image {
    display: block;
    width: min(100%, 420px);
    margin: 0 auto 2rem;
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: center;
}

.contact-details p {
    margin: 0;
    color: var(--content-text-color);
    line-height: 1.6;
}

.contact-details a {
    color: var(--content-text-color);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
    word-break: break-word;
}

.extra-content {
    background: #ffffff;
    color: var(--content-text-color);
}

.image-placeholder {
    background: #fff2a8;
    color: #333;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin: 1rem 0;
    font-weight: bold;
    font-size: 1.1rem;
}

.footer {
    background: #ffffff;
    color: #111111;
    text-align: center;
    font-size: 0.95rem;
    border-top: 1px solid #d9d9d9;
}
.footer .social-links {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
.footer .social-links a {
    color: #111111;
    text-decoration: underline;
}

.socials-section {
    background: #ffffff;
    color: #111111;
    border-top: 1px solid #d9d9d9;
}
.socials-section .social-links {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
.socials-section .social-links img {
    width: 48px;
    height: 48px;
}
.socials-section .social-links img:hover {
    transform: scale(1.15);
    transition: transform 0.2s;
}

@media (max-width: 900px) {
    body {
        font-size: 18px;
    }

    .color-block {
        padding: 1.75rem 1rem;
    }

    .hero h1 {
        width: min(88vw, 680px);
        bottom: 7rem;
        font-size: clamp(2.6rem, 8vw, 4.2rem);
        text-align: center;
    }

    .nav {
        padding-top: 0.75rem;
    }

    .nav ul {
        flex-wrap: wrap;
        gap: 0.85rem 1.25rem;
        padding: 0 1rem;
    }

    .nav a {
        font-size: 0.98rem;
    }

    .main-content {
        padding-top: 6.5rem;
    }

    .section-inner {
        width: min(100%, 640px);
    }

    .index-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem;
    }

    .portfolio-gallery-list {
        gap: 3rem;
    }

    .portfolio-lightbox {
        padding: 1.25rem;
    }

    .portfolio-lightbox-dialog {
        width: min(100%, 980px);
        gap: 0.75rem;
    }

    .portfolio-lightbox-nav {
        width: 3rem;
        height: 4.5rem;
    }

    .over-mij-gallery-grid {
        gap: 1.5rem;
    }

    .vitamine-k-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
        margin: 1.75rem 0 2.5rem;
    }

    .socials-section .social-links {
        gap: 1.1rem;
    }

    .socials-section .social-links img {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 17px;
    }

    .color-block {
        padding: 1.25rem 0.9rem;
    }

    .hero {
        min-height: 100svh;
    }

    .hero h1 {
        width: calc(100% - 2rem);
        bottom: 6.4rem;
        font-size: clamp(2.2rem, 11vw, 3.3rem);
        line-height: 1.08;
    }

    .nav {
        top: 0.35rem;
    }

    .nav ul {
        gap: 0.6rem 0.9rem;
        padding: 0 0.75rem;
    }

    .nav a {
        font-size: 0.92rem;
    }

    .intro-overlay {
        width: min(280px, calc(100% - 1.5rem));
    }

    .scroll-indicator {
        width: 36px;
        height: 36px;
    }

    .main-content {
        padding-top: 5rem;
    }

    .section-index-galerij {
        min-height: auto;
    }

    .index-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .portfolio-gallery-list {
        gap: 2.25rem;
    }

    .portfolio-gallery-item {
        gap: 0.8rem;
    }

    .portfolio-gallery-title {
        font-size: 1.2rem;
    }

    .portfolio-lightbox {
        padding: 0.9rem;
    }

    .portfolio-lightbox-dialog {
        grid-template-columns: 1fr;
    }

    .portfolio-lightbox-close {
        top: -0.15rem;
        right: -0.15rem;
        width: 2.75rem;
        height: 2.75rem;
    }

    .portfolio-lightbox-nav {
        display: none;
    }

    .portfolio-lightbox-image {
        max-height: min(72svh, 700px);
    }

    .portfolio-lightbox-caption {
        width: 100%;
    }

    .portfolio-lightbox-title {
        font-size: 1.15rem;
    }

    .portfolio-lightbox-meta {
        font-size: 0.94rem;
    }

    .portfolio-lightbox-count {
        font-size: 0.82rem;
    }

    .over-mij-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 2rem;
    }

    .vitamine-k-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .vitamine-k-title,
    .contact-name {
        font-size: clamp(1.45rem, 7vw, 2rem);
    }

    .vitamine-k-text,
    .contact-details p,
    .over-mij-content-text,
    .portfolio-gallery-meta {
        font-size: 0.88rem;
        line-height: 1.6;
    }

    .contact-details {
        gap: 0.5rem;
    }

    .scroll-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 48px;
        height: 48px;
    }

    .scroll-to-top-icon {
        width: 40px;
        height: 40px;
    }

    .footer {
        font-size: 0.88rem;
    }
}

@media (max-width: 420px) {
    .hero h1 {
        bottom: 6rem;
        font-size: clamp(2rem, 11.5vw, 2.8rem);
    }

    .nav ul {
        gap: 0.45rem 0.75rem;
    }

    .nav a {
        font-size: 0.86rem;
    }

    .socials-section .social-links img {
        width: 38px;
        height: 38px;
    }
}
