@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap');

/* =============================================
   BASE
   ============================================= */

body {
    font-family: 'Inter', sans-serif;
    color: #222;
}

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

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.section {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 360px);
    gap: 20px;
    margin-top: 20px;
}

.page-section {
    margin: 140px auto;
    max-width: 1000px;
}

.page-title {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 60px;
}

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

.image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* =============================================
   HEADER & NAVBAR
   ============================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 2000;
    background: white;
    overflow: visible;
    transition: all 0.3s ease;
}

.site-header.shrink {
    opacity: 1.0;
}

.site-header.shrink .header {
    font-size: 28px;
    margin: 8px auto;
    transform: translateY(-2px);
    transition-delay: 0.08s;
}

.site-header.shrink .navbar {
    padding: 6px 20px;
}

.header {
    text-align: left;
    font-size: 36px;
    margin: 20px auto;
    max-width: 1200px;
    padding: 0 20px;
    transition:
        font-size 0.35s ease,
        margin 0.35s ease,
        transform 0.35s ease;
}

.header-link {
    text-decoration: none;
    color: inherit;
    display: inline;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 19px;
    border-bottom: 1px solid #ccc;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1000;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
}

.nav-left {
    display: flex;
    gap: 10px;
}

.nav-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: black;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -11px;
    height: 3px;
    background: black;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
    z-index: 1001;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.site-header.shrink .nav-link::after {
    bottom: -7px;
}

.lang-toggle {
    background: none;
    border: 1px solid #222;
    color: #222;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    line-height: 1;
    width: 48px;
    align-self: center;
}

.lang-toggle:hover {
    background: #222;
    color: white;
}

/* =============================================
   HOME PAGE
   ============================================= */

.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.home-section {
    margin: 100px 0;
}

.home-section-title {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 36px;
}

/* Hero */
.home-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    margin-top: 48px;        /* ← space below navbar */
    margin-bottom: 100px;
    overflow: hidden;
}

.home-fade-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease;
}

.home-fade-image.active {
    opacity: 1;
}

.home-hero-overlay {
    position: absolute;
    bottom: 48px;
    left: 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.home-hero-sub {
    font-size: 14px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin: 0;
}

.home-hero-btn {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    border: 1px solid rgba(255,255,255,0.6);
    padding: 12px 28px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.home-hero-btn:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
}

/* About strip */
.home-about-strip {
    display: block;
    text-decoration: none;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 48px 0;
    margin: 0 0 100px 0;
    transition: opacity 0.2s ease;
}

.home-about-strip:hover {
    opacity: 0.6;
}

.home-about-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.home-about-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 680px;
}

.home-about-label {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #aaa;
}

.home-about-title {
    font-size: 22px;
    font-weight: 500;
    color: #222;
    margin: 0;
}

.home-about-text {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

.home-about-arrow {
    font-size: 28px;
    color: #bbb;
    flex-shrink: 0;
}

/* Nieuws */
.home-nieuws-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 32px;
}

.home-nieuws-more {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-decoration: none;
    color: #aaa;
    border-bottom: 1px solid #ddd;
    padding-bottom: 2px;
    transition: opacity 0.2s ease;
}

.home-nieuws-more:hover {
    opacity: 0.6;
}

.home-nieuws-item {
    max-width: 600px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.home-nieuws-heading {
    font-size: 20px;
    font-weight: 500;
    margin: 12px 0 14px 0;
    letter-spacing: 0.02em;
    color: #222;
}

.home-nieuws-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

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

.hero-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: start;
    margin: 140px auto 60px auto;
    max-width: 1200px;
}

.hero-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 4px;
    cursor: pointer;
    display: block;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    line-height: 0;
    overflow: hidden;
    width: 100%;
}

.hero-image-wrapper img {
    display: block;
    transition: transform 0.25s ease;
}

.hero-image-wrapper::after {
    display: none;
}

.hero-image-inner {
    position: relative;
    display: inline-block;
    line-height: 0;
}

.hero-image-inner:hover img {
    transform: scale(1.005);
    cursor: pointer;
}

.hero-image-inner:hover .hero-image-overlay {
    opacity: 1;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.18);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    border-radius: 4px;
}

/* kept for hover::after consistency — pseudo-element disabled above */
.hero-image-wrapper:hover::after {
    opacity: 1;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-title {
    font-size: 34px;
    font-weight: 500;
    letter-spacing: 0.06em;
    margin: 0;
}

.hero-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background: #ddd;
    margin-top: 16px;
}

.hero-intro {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    max-width: 420px;
}

/* =============================================
   GALLERY
   ============================================= */

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.gallery-image {
    width: 360px;
    height: 270px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-image-wrapper {
    position: relative;
    display: inline-block;
}

.gallery-image-wrapper img {
    display: block;
    transition: transform 0.25s ease;
}

.gallery-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.12);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.gallery-image-wrapper:hover::after {
    opacity: 1;
}

.gallery-image-wrapper:hover img {
    transform: scale(1.015);
    cursor: pointer;
}

.gallery-wide-text {
    grid-column: 1 / -1;
}

.separating-quote {
    position: relative;
    max-width: 900px;
    margin: 120px auto;
    padding: 40px 20px;
    font-family: "Playfair Display", serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
    color: #2a2a2a;
    white-space: pre-line;
    z-index: 1;
}

.separating-quote::before {
    content: "\201C";
    position: absolute;
    top: -40px;
    left: -20px;
    font-size: 220px;
    font-family: "Playfair Display", serif;
    color: rgba(0, 0, 0, 0.05);
    z-index: 0;
}

.separating-quote::after {
    content: "\201D";
    position: absolute;
    bottom: -100px;
    right: -20px;
    font-size: 220px;
    font-family: "Playfair Display", serif;
    color: rgba(0, 0, 0, 0.05);
    z-index: 0;
}

.quote-text {
    display: block;
    font-style: italic;
}

.quote-author {
    display: block;
    width: fit-content;
    margin-top: 20px;
    margin-left: auto;
    margin-right: 15%;
    text-align: right;
    font-size: 26px;
    color: #666;
    letter-spacing: 0.05em;
}

/* =============================================
   WORKS PAGE
   ============================================= */

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 360px);
    gap: 20px;
    justify-content: center;
    margin: 80px auto;
}

.works-grid a {
    text-decoration: none;
}

.image-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.image-wrapper img {
    display: block;
    width: 360px;
    height: 270px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(20, 20, 20, 0.28);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.image-wrapper:hover::after {
    opacity: 1;
}

.image-wrapper:hover img {
    transform: scale(1.02);
}

.hover-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Helvetica Neue", "Inter", "Arial", sans-serif;
    font-size: 19px;
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.97);
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(6px);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
    pointer-events: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding-bottom: 4px;
}

.image-wrapper:hover .hover-text {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   LIGHTBOX
   ============================================= */

body.lightbox-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.lightbox-overlay {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255);
    padding: 5px;
    z-index: 2000;
    overflow: hidden;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.show {
    display: flex;
    opacity: 1;
}

.lightbox-container {
    display: flex;
    gap: 20px;
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox-overlay.show .lightbox-container {
    transform: scale(1);
}

.lightbox-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
}

.lightbox-image-wrapper {
    height: calc(88vh - 0px);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
    width: auto;
    height: auto;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
    border-radius: 10px;
    border: 1px solid #ccc;
}

.lightbox-caption {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #666;
}

.lightbox-caption strong {
    color: #222;
}

.lightbox-corner-controls {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3000;
}

.lightbox-close-btn {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.lightbox-close-btn:hover {
    color: #FF4136;
    transform: scale(1.2);
}

.lightbox-close-btn:active {
    transform: scale(1.0);
}

.lightbox-info-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #000;
    background: white;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.lightbox-info-btn:hover {
    transform: scale(1.1);
    background-color: #f0f0f0;
}

.lightbox-side-panel {
    flex: 0 0 400px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#lightbox-side-wrapper {
    flex: 1 1 auto;
    display: flex;
    overflow: hidden;
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        visibility 0.35s ease;
    will-change: opacity, transform;
}

#lightbox-side-wrapper.hidden {
    opacity: 0;
    transform: translateX(20px);
    visibility: hidden;
}

.lightbox-side-text {
    flex: 1 1 auto;
    font-size: 14px;
    color: #333;
    background-color: #f5f5f5;
    border-radius: 5px 5px 0 0;
    padding: 16px;
    overflow-y: auto;
    text-align: left;
    scrollbar-width: thin;
}

.lightbox-side-text::-webkit-scrollbar {
    width: 6px;
}

.lightbox-side-text::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
}

.lightbox-metadata {
    flex-shrink: 0;
    padding: 8px 16px 12px 16px;
    background-color: #f5f5f5;
    border-radius: 0 0 5px 5px;
    margin-top: -5px;
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        visibility 0.35s ease;
}

.lightbox-metadata.hidden {
    opacity: 0;
    transform: translateX(20px);
    visibility: hidden;
}

.lightbox-metadata-inner {
    display: flex;
    flex-direction: column;
    gap: 3px;
    border-top: 1px solid #e0e0e0;
    padding-top: 8px;
}

.lightbox-metadata-inner span {
    font-size: 11px;
    color: #888;
    line-height: 1.5;
}

.meta-afmeting {
    font-style: italic;
}

.meta-collectie {
    color: #888;
}

.meta-afmeting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lightbox-thumbnails-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.thumbnail-nav-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    flex-wrap: nowrap;
    margin-bottom: -4px;
}

.thumb-nav-btn {
    background: transparent;
    border: none;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 54px;
    font-weight: 200;
    color: rgba(0,0,0,0.25);
    cursor: pointer;
    border-radius: 8px;
    transition:
        color 0.2s ease,
        transform 0.2s ease,
        background 0.2s ease,
        opacity 0.2s ease;
    opacity: 0.85;
    padding: 0;
}

.thumb-nav-btn:hover {
    color: rgba(0,0,0,0.9);
    transform: translateX(0);
    opacity: 1;
}

.thumb-nav-btn:active {
    opacity: 0.5;
}

.lightbox-thumbnails {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(3 * 64px + 2 * 12px);
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px;
    box-sizing: border-box;
    scroll-snap-type: x mandatory;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.lightbox-thumbnails::-webkit-scrollbar {
    display: none;
}

.lightbox-thumbnails img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    flex-shrink: 0;
    opacity: 0.5;
    cursor: pointer;
    border-radius: 4px;
    box-sizing: border-box;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease,
        border-color 0.25s ease;
    scroll-snap-align: center;
    margin: 0;
    padding: 0;
}

.lightbox-thumbnails img:hover {
    border-color: #007BFF;
    transform: scale(1.1);
}

.lightbox-thumbnails img.active {
    opacity: 1;
    transform: scale(1.4);
    object-fit: cover;
}

.lightbox-counter {
    font-size: 13px;
    color: #666;
    text-align: center;
    margin-bottom: 6px;
    user-select: none;
}

/* =============================================
   BIO PAGE
   ============================================= */

.bio-content {
    align-items: start;
    max-width: 720px;
}

.bio-text {
    font-size: 17px;
    line-height: 1.9;
    color: #444;
}

.bio-text p {
    margin-bottom: 24px;
}

.bio-image-wrapper {
    overflow: hidden;
}

.bio-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

.bio-section-title {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #222;
    margin-top: 60px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

/* =============================================
   CONTACT PAGE
   ============================================= */

.contact-content {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

.contact-email {
    display: inline-block;
    margin-top: 20px;
    font-size: 20px;
    text-decoration: none;
    color: #111;
    border-bottom: 1px solid #ccc;
    padding-bottom: 4px;
    transition: opacity 0.2s ease;
}

.contact-email:hover {
    opacity: 0.6;
}

.contact-divider {
    width: 60px;
    height: 1px;
    background: #ddd;
    margin: 40px 0;
}

.contact-links a {
    text-decoration: none;
    color: #111;
    border-bottom: 1px solid #ccc;
    padding-bottom: 4px;
}

.contact-links a:hover {
    opacity: 0.6;
}

/* =============================================
   NEWS PAGE
   ============================================= */

.news-list {
    max-width: 800px;
    margin: 100px auto 140px auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.news-item {
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.news-date {
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 14px;
}

.news-heading {
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 16px 0;
    letter-spacing: 0.02em;
}

.news-text {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    max-width: 650px;
}

.news-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 15px;
    text-decoration: none;
    color: #111;
    border-bottom: 1px solid #ccc;
    padding-bottom: 3px;
    transition: opacity 0.2s ease;
}

.news-link:hover {
    opacity: 0.6;
}

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

.footer {
    border-top: 1px solid #eee;
    padding: 12px 20px;
    text-align: center;
    font-size: 13px;
    color: #888;
    margin-top: 40px;
}

.footer-link {
    color: #888;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
    padding-bottom: 2px;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 0.6;
}

.footer-dot {
    color: #ccc;
    padding: 0 8px;
}