
/* realisaties page title */

.page-title {
    display: flex;
    flex-direction: column;
    font-weight: 400;
}

.page-title__small-text {
    font-size: 25px;
}

.page-title__large-text {
    font-size: 55px;
    margin-left: -3px;
}

/* end realisaties page title */

/* Content Header */
.content-header-wrapper {
    display: flex;
    flex-direction: column;
    margin-inline: 7.5vw;
    gap: 30px;
}

.related-pages-navigation-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.services-navigation-title {
    font-weight: 400;
    font-size: 19px;
}

.related-pages-navigation-wrapper ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Centreert de lijstitems */
    row-gap: 20px;
    column-gap: 20px;
}

.related-pages-navigation-wrapper ul li {
    display: flex;
}

.service-realisaties-link {
    background: var(--main-black);
    text-decoration: none;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 30px;
    transition: transform .3s;
}

.service-realisaties-link:hover {
    transform: scale(1.03);
}

/* End content Header */

/* realisaties */

#realisaties {
    margin-top: 30px;
}

.realisaties-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-inline: 7.5vw;
    margin-bottom: 75px;
}

.realisatie-wrapper {
    display: flex;
    position: relative;
    flex-direction: column;
    text-decoration: none;
}

.realisatie__image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3/2;
    border-radius: 10px;
    overflow: hidden;
}

.realisatie__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.realisatie__details-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-tag-wrapper {
    display: flex;
}

.service-tag {
    position: absolute;
    top: 0;
    left: 0;
    color: #ffffff;
    font-weight: 500;
    background: var(--primary-color);
    padding: 10px 20px; 
    font-size: 16px;
    border-top-left-radius: 10px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 10px;
    z-index: 2;
}

.realisatie-details-title {
    margin-top: 20px;
    font-weight: 500;
    font-size: 25px;
    color: #000;
    line-height: 150%;
}

.realisatie-details-text {
    margin-top: 10px;
    font-size: 17px;
    line-height: 155%;
    color: #000;
}

.underline-wrapper {
    position: relative;
    width: 100%;
    height: 2px; /* Adjust the height of the line as needed */
    margin-top: 5px;
}

.hover-line {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
}

.realisatie__link-indicator-container {
    display: flex;
    margin-top: 20px;
    color: #000;
    align-items: end;
    font-weight: 500;
}

.realisatie__link-indicator-wrapper {
    position: relative;
    font-size: 17px;
}

.link-indicator-arrow {
    position: absolute;
    top: 50%;
    width: 20px;
    right: -35px;
    transform: translateY(-50%);
}

@media only screen and (min-width: 600px) {
    .page-title__small-text {
        font-size: 27px;
    }
    
    .page-title__large-text {
        font-size: 70px;
    }

    .related-pages-navigation-wrapper {
        max-width: 50vw;
    }

    .service-tag {
        font-size: 17px;
    }
}

@media only screen and (min-width: 900px) {
    .page-title__small-text {
        font-size: 40px;
    }
    
    .page-title__large-text {
        font-size: 90px;
        margin-left: -5px;
    }

    .realisaties-wrapper {
        gap: 80px;
        margin-bottom: 100px;
    }

    .realisatie-wrapper {
        flex-direction: row;
    }

    .realisatie__image-wrapper {
        width: 50%;
        aspect-ratio: 1.6;
        border-radius: 15px;
    }

    .realisatie__image {
        transform: scale3d(1, 1, 1);
        transform-style: preserve-3d;
        transition: transform 0.3s ease-out; /* Animation duration and easing */
    }
    
    .realisatie-wrapper:hover .realisatie__image {
        /* Final transformation */
        transform: scale3d(1.05, 1.05, 1);
        will-change: transform;
    }

    .realisatie__details-wrapper {
        padding-left: 50px;
        max-width: 50%;
    }

    .realisatie__link-indicator-container {
        justify-content: flex-start;
    }
    
    .background-line {
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: #B1B1B1;
    }
    
    .hover-line {
        width: 0;
        background-color: var(--main-black);
        transition: width 0.3s ease-out;
    }
    
    .realisatie-wrapper:hover .hover-line {
        width: 100%;
    }
}

@media only screen and (min-width: 1000px) {
    .content-header-wrapper {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }

    .related-pages-navigation-wrapper {
        max-width: 25vw;
        gap: 30px;
    }
}

@media only screen and (min-width: 1100px) {
    .services-navigation-title {
        font-size: 20px;
    }
}

@media only screen and (min-width: 1200px) {
    #realisaties {
        margin-top: 50px;
    }

    .service-tag {
        position: static;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        font-size: 17px;
    }
}

@media only screen and (min-width: 1400px) {
    .realisatie-details-text {
        font-size: 18px;
        line-height: 160%;
    }

    .realisatie-details-title {
        font-size: 27px;
    }
}

@media only screen and (min-width: 1600px) {
    .service-tag {
        font-size: 18px;
    }

    .realisatie-details-text {
        font-size: 19px;
    }

    .realisatie__link-indicator-wrapper {
        font-size: 18px;
    }

    .realisatie-details-title {
        font-size: 29px;
    }

    .services-navigation-title {
        font-size: 22px;
    }

    .service-realisaties-link {
        font-size: 17px;
    }
}

