@font-face {
    font-family: "KG Second Chances Sketch";
    src: url("/fonts/kg_second_chances/KGSecondChancesSketch.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "KG Second Chances Solid";
    src: url("/fonts/kg_second_chances/KGSecondChancesSolid.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Garet";
    src: url("/fonts/Dikgedrukte.tekst/Garet-Heavy.otf") format("opentype");
    font-style: normal;
    font-weight: 800;
}

body, html {
    margin: 0;
    overflow-x: hidden;
    background-color: #ffffff;
    color: #9CC5FB;
    cursor: url("/media/cursor2x-72.png") 18 18, auto;
}

/* Projecten Navbar Styles */
.navbar {
    background-color: transparent;
    color: #9CC5FB; /* Dark text color */
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px; /* Slightly taller for emphasis */
    padding: 0 20px;
    margin-top: 8px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
}

a,
button,
.burger {
    cursor: url("/media/cursor2x-72.png") 18 18, pointer;
}

.logo a {
    text-decoration: none;
    font-family: "KG Second Chances Solid", Arial, sans-serif;
    font-size: 36px;
    font-weight: 400;
    color: #9CC5FB; /* Dark text color */
}

/* Navbar Links */
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px; /* Reduced spacing for a balanced layout */
    font-size: 28px;
    transition: all 0.3s ease;
}

/* Links Styling */
.nav-links a {
    text-decoration: none;
    color: #9CC5FB; /* Dark text color */
    font-family: "KG Second Chances Sketch", Arial, sans-serif; /* Ensure consistency */
    font-weight: 400; /* Matches the requested style */
    transition: color 0.3s;
}

.nav-links a.is-active,
.logo a.is-active {
    font-family: "KG Second Chances Solid", Arial, sans-serif;
}

.nav-links a:hover {
    color: #9CC5FB; /* Hover effect with a subtle color shift */
}

/* Burger Menu Button */
.burger {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    color: #9CC5FB;
}

.burger span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: currentColor; /* Matches nav text color */
    border-radius: 2px;
    transition: all 0.3s ease; /* Smooth animation for lines */
}

/* Burger Animation */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .burger {
        display: flex; /* Show burger menu button on mobile */
        position: relative;
        z-index: 60;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0;
        left: 0;
        width: min(70vw, 360px);
        height: 100vh;
        margin: 0;
        padding: 88px 22px 24px;
        box-sizing: border-box;
        gap: 16px;
        font-size: 24px;
        background-color: #46151B;
        border-right: 1px solid rgba(156, 197, 251, 0.35);
        transform: translateX(-104%);
        transition: transform 0.28s ease;
        z-index: 50;
    }

    .nav-links.mobile {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 24px; /* Adjust for smaller screens */
        text-align: left;
    }
}

/* About Container */
.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: linear-gradient(rgba(70, 21, 27, 0.45), rgba(70, 21, 27, 0.45)), url("/media/hobby.jpg");
    background-position: center 24%;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 40px;
    padding-left: 80px;
    padding-right: 80px;
    padding-bottom: 100px;
    gap: 20px;
    min-height: 700px;
}

/* Text Section */
.about-text {
    width: 50%; /* 60% width for the text section */
    color: #9CC5FB;
}

.about-text h1 {
    font-size: 96px;
    font-weight: 800;
    font-family: "Garet", Arial, sans-serif;
    margin-bottom: 0px;
}

.about-text h2 {
    margin-left: 20%;
    margin-top: 0px !important;
    font-size: 48px;
    font-weight: 900;
    font-family: "KG Second Chances Sketch", Arial, sans-serif;
    margin-bottom: 20px;
    width: fit-content;
    max-width: 60%;
    line-height: 1.05;
}

.about-text p {
    margin-top: 100px;
    font-size: 32px;
    line-height: 46.4px;
    margin-bottom: 20px;
}

/* Image Section */
.about-image {
    width: 30%; /* Remaining space for the image */
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 400px; /* Adjust size as needed */
    height: 400px;
    border-radius: 50%; /* Makes the image round */
    object-fit: cover; /* Ensures the image maintains aspect ratio */
    border: 5px solid #FBDE9C; /* Optional: border around the image */
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 8px 14px;
    }

    .logo a {
        font-size: 26px;
    }

    .about-container {
        flex-direction: column; /* Stack items vertically */
        text-align: center;
        min-height: auto;
        padding: 96px 20px 40px;
        background-position: center;
    }

    .about-text {
        width: 100%; /* Full width for text */
    }

    .about-text h1 {
        font-size: clamp(52px, 14vw, 72px);
    }

    .about-text h2 {
        margin-left: 0;
        max-width: 100%;
        font-size: clamp(30px, 8vw, 42px);
    }

    .about-text p {
        margin-top: 24px;
        font-size: 20px;
        line-height: 1.55;
    }

    .about-image {
        width: 100%; /* Full width for the image */
        margin-top: 20px; /* Add spacing above the image */
    }

    .about-image img {
        width: 150px; /* Smaller image on mobile */
        height: 150px;
    }
}

/* New Gallery Container */
.gallery-container {
    background-color: #ffffff;
    padding: 80px 80px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.gallery-column {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.gallery-item {
    width: 100%;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    cursor: zoom-in;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    display: flex;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    z-index: 2000;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-image {
    max-width: min(92vw, 1300px);
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.94);
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox.is-open .lightbox-image {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 44px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.lightbox-close:hover {
    transform: scale(1.08);
    opacity: 0.85;
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
    .gallery-container {
        padding: 28px 20px 40px;
        flex-direction: column;
        gap: 14px;
    }

    .gallery-column {
        width: 100%;
        gap: 14px;
    }

    .lightbox {
        padding: 18px;
    }

    .lightbox-close {
        top: 14px;
        right: 16px;
        font-size: 36px;
    }
}

