
/* ==================================================
   FONTS
   ================================================== */

@font-face {
    font-family: 'HoneySalt';
    src: url('../fonts/Honey Salt.otf') format('opentype');
}

@font-face {
    font-family: 'Raleway';
    src: url('../fonts/Raleway/static/Raleway-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}


/* ==================================================
   ALGEMEEN
   ================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #252125;
    color: #f5f5f5;
    font-family: 'HoneySalt', sans-serif;
    line-height: 1.5;
}


/* ==================================================
   TYPOGRAFIE
   ================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 900;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1,
h2,
h3 {
    font-weight: 400;
}

h1 {
    font-size: clamp(3rem, 7vw, 7rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

h3 {
    font-size: 1.4rem;
}

p {
    color: #b5b5b5;
}

.eyebrow {
    margin-bottom: 20px;
    color: #ff9bea;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


/* ==================================================
   LINKS
   ================================================== */

a {
    color: inherit;
    text-decoration: none;
}

.project-video {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.project-image {
    width: 50%;
    min-width: 0;
}


/* ==================================================
   HEADER
   ================================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 5vw;
    z-index: 100;
    background: rgba(56, 33, 63, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
}


/* LOGO */

.logo {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #ff9bea;
}


/* NAVIGATIE */

.nav-links {
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    position: relative;
    color: #b5b5b5;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: #ff9bea;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a:hover::after {
    width: 100%;
}


/* ==================================================
   HERO
   ================================================== */

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 160px 5vw 100px;
}

.hero-content {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.hero h1 {
    max-width: 1000px;
    margin-bottom: 35px;
}

.hero-text {
    max-width: 550px;
    margin-bottom: 40px;
    font-size: 1.1rem;
}


/* ==================================================
   BUTTON
   ================================================== */

.button {
    display: inline-flex;
    align-items: center;
    padding: 14px 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 0.85rem;
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}

.button:hover {
    background: #ff9bea;
    border-color: #ff9bea;
    color: #0a0a0a;
}


/* ==================================================
   SECTIES
   ================================================== */

section {
    width: 100%;
}

.portfolio,
.overmij,
.contact {
    max-width: 1600px;
    margin: 0 auto;
    padding: 120px 5vw;
}


/* ==================================================
   SECTION HEADING
   ================================================== */

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 60px;
}

.section-heading p:last-child {
    max-width: 400px;
}

.header-space {
    height: 140px;
}


/* ==================================================
   PORTFOLIO CATEGORIEËN
   ================================================== */

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 30px;
}


/* ==================================================
   CATEGORY CARD
   ================================================== */

.category-card {
    display: block;
    overflow: hidden;
}

.category-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    filter: grayscale(15%);
    transition: transform 0.6s ease, filter 0.6s ease;
    transform-origin: center center;
}

.category-card:hover img {
    transform: scale(1.03);
    filter: grayscale(0%);
}

.category-info {
    display: grid;
    grid-template-columns: 50px 1fr;
    padding-top: 20px;
}

.category-info p {
    color: #666;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.category-info h3 {
    transition: color 0.3s ease;
}

.category-card:hover h3 {
    color: #ff9bea;
}


/* ==================================================
   CATEGORIE PAGINA
   ================================================== */

.category-header {
    max-width: 1600px;
    margin: 0 auto;
    padding: 200px 5vw 100px;
}

.category-header h1 {
    max-width: 1000px;
    margin-bottom: 35px;
}

.category-header > p:last-child {
    max-width: 550px;
    font-size: 1.1rem;
}


/* ==================================================
   PROJECTEN
   ================================================== */

.projects {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5vw 150px;
}

.project {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 70px;
    align-items: center;
    margin-bottom: 140px;
}

.project:nth-child(even) {
    grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr);
}

.project:nth-child(even) .project-image {
    order: 2;
}

.project:nth-child(even) .project-info {
    order: 1;
}

.project-image {
    overflow: hidden;
    background: #151515;
}

.project-image img {
    display: block;
    width: 100%;
    transition: transform 0.6s ease;
}

.project:hover .project-image img {
    transform: scale(1.025);
}

.project-info {
    max-width: 450px;
}

.project-number {
    margin-bottom: 20px;
    color: #666;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
}

.project-info h2 {
    margin-bottom: 25px;
}

.project-info p {
    margin-bottom: 20px;
}

.project-tools {
    color: #777;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}


/* ==================================================
   OVER MIJ
   ================================================== */

.overmij {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.overmij h2 {
    max-width: 700px;
    margin-bottom: 30px;
}

.overmij p:not(.eyebrow) {
    max-width: 550px;
    margin-bottom: 35px;
}


/* ==================================================
   CONTACT
   ================================================== */

.contact {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact h2 {
    max-width: 800px;
    margin-bottom: 40px;
}


/* ==================================================
   FOOTER
   ================================================== */

footer {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 5vw;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    color: #666;
    font-size: 0.8rem;
}


/* ==================================================
   GALLERY
   ================================================== */

.portfolio-gallery {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

/* Afbeeldingen binnen elk project onder elkaar */
.project-gallery .portfolio-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    width: 100%;
    max-width: none;
    margin: 0;
}

.gallery-item {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b090c;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.video-item {
    aspect-ratio: auto;
    display: block;
}

.video-item video {
    width: 100%;
    height: auto;
    display: block;
}

/* ==================================================
   PROJECTENOVERZICHT
   ================================================== */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 70px;

    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 3vw;

    align-items: start;
}

.project-gallery {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
}

.project-gallery h2 {
    font-size: 2rem;
    margin-top: 30px;
    margin-bottom: 30px;
}

.project-gallery .portfolio-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;

    width: 100%;
    max-width: none;
    margin: 0;
}

.gallery-item {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b090c;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        row-gap: 50px;
    }
}

/* ==================================================
   GRAFISCH ONTWERP
   ================================================== */

.graphic-project {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 3vw 80px;
}

.graphic-project h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.graphic-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    width: 100%;
}

.graphic-item {
    width: 100%;
    min-width: 0;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b090c;
}

.graphic-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
}

@media (max-width: 1024px) {
    .graphic-gallery {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .graphic-gallery {
        gap: 15px;
    }

    .graphic-project {
        padding-bottom: 60px;
    }
}

/* ==================================================
   WEBSITES PAGINA
   ================================================== */

.websites-page {
    width: 100%;
}

.websites-intro {
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 5vw;
}

.websites-intro h1 {
    margin-bottom: 25px;
}

.websites-intro > p:last-child {
    max-width: 550px;
    font-size: 1.1rem;
}

.website-links {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5vw 120px;
}

.website-card {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 25px;

    padding: 35px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);

    transition:
        background-color 0.3s ease,
        padding 0.3s ease;
}

.website-card:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.website-card:hover {
    background: rgba(255, 155, 234, 0.06);
    padding-left: 30px;
    padding-right: 30px;
}

.website-number {
    color: #ff9bea;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.website-card h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.website-card:hover h2 {
    color: #ff9bea;
}

.website-card p {
    font-size: 1rem;
}

.website-arrow {
    justify-self: end;
    font-family: Arial, sans-serif;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.website-card:hover .website-arrow {
    transform: translate(4px, -4px);
}

@media (max-width: 600px) {
    .website-card {
        grid-template-columns: 30px minmax(0, 1fr) 25px;
        gap: 15px;
        padding: 25px 5px;
    }

    .website-card:hover {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* ==================================================
   RESPONSIVE
   ================================================== */

@media (max-width: 1024px) {
    .overmij {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 900px) {

    header {
        padding: 20px 5vw;
    }

    .nav-links {
        gap: 20px;
    }

    .hero {
        min-height: 80vh;
        padding-top: 140px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .project,
    .project:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 100px;
    }

    .project:nth-child(even) .project-image,
    .project:nth-child(even) .project-info {
        order: initial;
    }

    .about-preview {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}


@media (max-width: 768px) {

    .projects-grid {
        grid-template-columns: 1fr;
        row-gap: 50px;
    }

    .projects-column {
        gap: 50px;
    }

    .portfolio-gallery {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 600px) {

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 0.75rem;
    }

    .logo {
        font-size: 1rem;
    }

    .hero {
        padding-top: 130px;
    }

    .portfolio,
    .about-preview,
    .contact {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .section-heading {
        display: block;
        margin-bottom: 40px;
    }

    .section-heading h2 {
        margin-bottom: 20px;
    }

    .category-header {
        padding-top: 150px;
        padding-bottom: 70px;
    }

    .projects {
        padding-bottom: 80px;
    }

    .project {
        margin-bottom: 80px;
    }
}

/* ==================================================
   FOTOGRAFIE
   ================================================== */

.photography-projects {
    display: flex;
    flex-direction: column;
    gap: 80px;

    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 3vw 100px;
}

.photography-project {
    width: 100%;
    min-width: 0;
}

.photography-project h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.photography-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;

    width: 100%;
}

.photography-item {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    background: #0b090c;
}

.photography-item img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

/* ==================================================
   FOTO LIGHTBOX
   ================================================== */

.photography-item img,
.gallery-item img {
    cursor: zoom-in;
}

body.homepage .gallery-item img {
    cursor: default;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 50px 70px;
    background: rgba(0, 0, 0, 0.94);
    overflow: hidden;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    display: block;
    max-width: 95%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: zoom-in;
    transform: translate(var(--pan-x, 0px), var(--pan-y, 0px)) scale(1);
    transition: transform 0.2s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox img.zoomed {
    cursor: grab;
    transform: translate(var(--pan-x, 0px), var(--pan-y, 0px)) scale(2);
    transition: none;
}

.lightbox img.zoomed:active {
    cursor: grabbing;
}

.lightbox-close,
.lightbox-arrow {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lightbox-close:hover,
.lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-close {
    top: 15px;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 2rem;
}

.lightbox-arrow {
    top: 50%;
    width: 45px;
    height: 60px;
    border-radius: 6px;
    font-size: 2rem;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: 15px;
}

.lightbox-next {
    right: 15px;
}

@media (max-width: 600px) {
    .lightbox {
        padding: 50px 45px;
    }

    .lightbox-arrow {
        width: 35px;
        height: 50px;
    }

    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }
}

@media (max-width: 1000px) {
    .photography-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .photography-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .photography-projects {
        gap: 60px;
    }
}

/* Smalle mobiele schermen: 1 foto per rij */
@media (max-width: 400px) {
    .photography-gallery {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   CONTACTPAGINA
   ================================================== */

.contact-page {
    width: 100%;
}

.contact-intro {
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 5vw;
}

.contact-intro h1 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.contact-intro > p:last-child {
    max-width: 600px;
    font-size: 1.1rem;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;

    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5vw 150px;
}

.contact-detail {
    min-width: 0;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-label {
    display: block;
    margin-bottom: 20px;
    color: #ff9bea;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-detail p {
    min-height: 30px;
    margin-bottom: 25px;
    overflow-wrap: anywhere;
    font-size: 1.1rem;
}

.contact-detail p a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: #ff9bea;
    text-underline-offset: 5px;
}

.contact-reveal {
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-reveal:hover:not(:disabled) {
    background: #ff9bea;
    border-color: #ff9bea;
    color: #151015;
}

.contact-reveal:disabled {
    opacity: 0.6;
    cursor: default;
}

@media (max-width: 700px) {
    .contact-details {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 90px;
    }
}