 @import url('https://fonts.googleapis.com/css2?family=Matangi:wght@300..900&display=swap');
 @import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

@font-face {
  font-family: 'Ki';
  src: url('../fonts/Mint\ Type\ -\ Ki-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Ki';
  src: url('../fonts/Mint\ Type\ -\ Ki-LightItalic.otf.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
}

@font-face {
    font-family: 'Grand Mighty';
    src: url('../fonts/Grand\ Mighty.otf') format('opentype');
}

@font-face {
    font-family: 'ZT Mostion';
    src: url('../fonts/ZT\ Mostion.otf') format('opentype');
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('../fonts/BebasNeuePro-Regular.otf') format('opentype');
    font-weight: 400;
}

@font-face {
    font-family: "Ostia Antica WEB";
    src: url("https://db.onlinewebfonts.com/t/c288d1a3d0f20ed507f51a58cbfa19f4.eot");
    src: url("https://db.onlinewebfonts.com/t/c288d1a3d0f20ed507f51a58cbfa19f4.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/c288d1a3d0f20ed507f51a58cbfa19f4.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/c288d1a3d0f20ed507f51a58cbfa19f4.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/c288d1a3d0f20ed507f51a58cbfa19f4.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/c288d1a3d0f20ed507f51a58cbfa19f4.svg#Ostia Antica WEB")format("svg");
}

@font-face {
    font-family: 'Morion';
    src: url('../fonts/morion-bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
 
 :root {
    --primary-color: #1E1E21;
    --background-color: #F5F3F0;
    --DQ-purple: #6358E3;
    --Blue-grey1: #BCC7D9;
    --Blue-grey2: #ccd4e2;
    --Blue-grey3: #dde2eb;
    --Blue-grey4: #eff2f6;
    --Lime: #c4fb62;
    --Lime2: #d4fc81;
    --Lime3: #e1fda7;
    --Lime4: #f0fed4;
    --font-title: 'Anton', sans-serif;
    --font-body: 'Matangi', sans-serif;
    --font-custom: 'Ki', sans-serif;
    --font-GrandMighty: 'Grand Mighty', sans-serif;
    --font-ZTMostion: 'ZT Mostion', sans-serif;
    --font-BebasNeue: 'Bebas Neue', sans-serif;
    --font-OstiaAntica: 'Ostia Antica WEB', sans-serif;
    --font-morion: 'Morion', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p {
    color: var(--primary-color);
}

html {
    scroll-behavior: smooth;
    animation: scrollAnim 2s cubic-bezier(0.77, 0, 0.175, 1);
    cursor: url('https://blijhuis.be/wolf/icons8-circle-48.png'), auto;
}

@keyframes scrollAnim {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--primary-color);
}

h1, h2, h3, h4 {
    font-family: var(--font-OstiaAntica);
}

p {
    font-family: var(--font-morion);
    line-height: 1.6;
    color: var(--primary-color);
}

.project-home-section {
    text-align: left;
    padding: 100px 60px 20px;
}

.project-home-section .title {
    font-size: 8rem;
    font-weight: 200;
    line-height: 7rem;
    margin-bottom: 1.5rem;
    text-transform: normal;
}

.project-home-section .subtitle {
    font-size: 3.5rem;
    font-weight: 200;
    line-height: 3.4rem;
    text-transform: uppercase;
}

.project-section {
    width: 100%;
}

.parallax-image {
    width: 100%;
    height: 80vh;
    overflow: hidden;
    position: relative;
}

.parallax-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-out;
}

.project-intro {
    text-align: center;
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.project-intro p {
    font-size: 1.2rem;
    line-height: 1.2;
    font-family: var(--font-morion);
    color: var(--primary-color);
    text-shadow: none;
}

@media (max-width: 768px) {
    .project-home-section {
        padding: 32px 20px 20px;
    }

    .project-home-section .title {
        font-size: 3.2rem;
        line-height: 3rem;
    }

    .project-home-section .subtitle {
        font-size: 1.2rem;
        margin-top: 0.5rem;
    }
}

.project-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px 20px;
    max-width: 1800px;
    margin: 0 auto;
}

.project-image-grid-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

.project-grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Makes sure the image fills the tile nicely */
    transition: transform 0.3s ease;
    display: block;
}

.project-image-grid-item:hover .project-grid-image {
    transform: scale(1.05);
}

.project-image-grid-caption {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    font-size: 0.9rem;
    font-style: italic;
    border-radius: 5px;
}

/* Fullscreen Viewer */
.project-fullscreen-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 1001;
}

.project-fullscreen-viewer.open {
    opacity: 1;
    pointer-events: auto;
}

.project-fullscreen-viewer img {
    max-width: 90%;
    max-height: 90%;
    cursor: grab;
    touch-action: none;
    transition: transform 0.2s ease;
}

.project-close-button {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    transition: transform 0.2s;
}

.project-close-button:hover {
    transform: scale(1.2);
}

/* Responsive Tweaks */
@media (max-width: 1200px) {
    .project-image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .project-image-grid {
        grid-template-columns: 1fr;
    }

    .project-image-grid-caption {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
}



.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 30px 60px 20px;
    font-size: 1.2rem;
    color: var(--primary-color);
    text-decoration: none;
    font-family: var(--font-morion);
    transition: transform 0.2s, opacity 0.2s;
}

.back-button i {
    font-size: 1.5rem;
}

.back-button:hover {
    transform: translateX(-5px);
    opacity: 0.7;
}

@media (max-width: 768px) {
    .back-button {
        margin: 36px 12px 10px;
        font-size: 1rem;
    }

    .back-button i {
        font-size: 1.2rem;
    }
}

