
/* titel en subtitel */

.content-header-wrapper {
    margin-inline: 7.5vw;
}

.page-title {
    font-weight: 400;
    font-size: 45px;
    margin-left: -3px;
}

@media only screen and (min-width: 600px) {
    .page-title {
        font-size: 60px;
    }
}

@media only screen and (min-width: 900px) {
    .page-title {
        font-size: 70px;
        margin-left: -5px;
    }
}

@media only screen and (min-width: 1200px) {
    .page-title {
        font-size: 80px;
    }
}

/* end titel en subtitel */


/* realisatie omschrijving section*/

#realisatie-description {
    margin-top: 15px;
    margin-inline: 7.5vw;
}

.realisatie-description-text {
    font-size: 18px;
    color: #000;
    line-height: 165%;
}

@media only screen and (min-width: 600px) {
    .realisatie-description-text {
        font-size: 18px;
    }
}

@media only screen and (min-width: 900px) {
    #realisatie-description {
        margin-top: 20px;
    }
}

@media only screen and (min-width: 950px) {
    .realisatie-description-text {
        width: 75vw;
    }
}

@media only screen and (min-width: 1200px) {
    .realisatie-description-text {
        width: 65vw;
    }
}

@media only screen and (min-width: 1600px) {
    .realisatie-description-text {
        font-size: 19px;
    }
}

/* end realisatie omschrijving section*/

/* realisatie voor en na foto's section*/

#realisatie-before-after {
    margin-top: 50px;
    margin-inline: 7.5vw;
}

.realisatie-before-after__content--container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.realisatie-before-after__content {
    display: flex;
    flex-direction: column;
}

.realisatie-before-after__content--1 {
    justify-content: flex-start;
}

.realisatie-before-after__content--2 {
    justify-content: flex-end;
}

.realisatie-before-after__image--wrapper { 
    width: 47.5%;
    aspect-ratio: 3/2;
    border-radius: 15px;
    overflow: hidden;
}

.realisatie-before-after__image {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 3/2;aspect-ratio: 3/2;
    border-radius: 15px;
}

.realisatie-before-after__text--wrapper-voor {
    position: absolute;
    left: 0;
    top: 0;
    padding: 10px 20px;
    background: var(--primary-color);
    border-bottom-right-radius: 10px;
    border-top-left-radius: 10px;
}

.realisatie-before-after__text {
    font-size: 21px;
    color: #ffffff;
    font-weight: 600;
}

.realisatie-before-after__text--wrapper-na {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 10px 20px;
    background: var(--primary-color);
    border-bottom-right-radius: 10px;
    border-top-left-radius: 10px;
}

@media only screen and (min-width: 600px) {
    .realisatie-before-after__text--wrapper-voor {
        padding: 15px 40px;
    }
        
    .realisatie-before-after__text--wrapper-na {
        padding: 15px 40px;
    }

    .realisatie-before-after__text {
        font-size: 30px;
    }
}

@media only screen and (min-width: 1000px) {
    #realisatie-before-after {
        margin-top: 100px;
    }

    .realisatie-before-after__content--container {
        flex-direction: row;
        gap: 5vw;
    }

    .realisatie-before-after__content {
        flex: 1;
        position: relative;
    }

    .realisatie-before-after__content {
        aspect-ratio: 9/10;
    }

    .realisatie-before-after__text {
        font-size: 55px;
        font-weight: 400;
        color: #000;
    }

    .realisatie-before-after__text--wrapper-na {
        right: 0;
        bottom: 5%;
        padding-right: 10px;
        padding-block: 10px;
        background: none;
        border-bottom-right-radius: 0;
        border-top-left-radius: 0;
        border-right: 6px solid var(--primary-color);
    }
    
    .realisatie-before-after__text--wrapper-voor {
        left: 0;
        top: 5%;
        padding-left: 10px;
        padding-block: 10px;
        background: none;
        border-bottom-right-radius: 0;
        border-top-left-radius: 0;
        border-left: 6px solid var(--primary-color);
    }
}

@media only screen and (min-width: 1200px) {
    .realisatie-before-after__text {
        font-size: 65px;
    }

    .realisatie-before-after__text--wrapper-na {
        border-right: 7px solid var(--primary-color);
    }
    
    .realisatie-before-after__text--wrapper-voor {
        border-left: 7px solid var(--primary-color);
    }
}

@media only screen and (min-width: 1600px) {
    .realisatie-before-after__text {
        font-size: 75px;
    }
}

/* end realisatie voor en na foto's section*/

/* realisatie images section */

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

.zoom-in__overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(246, 244, 244, 0.65);
    top: 50%;
    left: 50%;
    width: 30%;
    height: 30%;
    border-radius: 50%;
    opacity: 1;
    z-index: 2;
    transform: translate(-50%, -50%);
}

.zoom_in__indicator {
    width: 50%;
}

@media only screen and (min-width: 600px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media only screen and (min-width: 1000px) {
    .gallery {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    .gallery-item {
        cursor: pointer;
        border-radius: 15px;
    }

    .gallery-image {
        transform: scale3d(1, 1, 1);
        transform-style: preserve-3d;
        transition: transform 0.3s ease-out;
    }
    
    .gallery-item:hover .gallery-image {
        transform: scale3d(1.05, 1.05, 1);
        will-change: transform;
    }

    .zoom-in__overlay {
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(246, 244, 244, 0.65);
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        opacity: 0;
        z-index: 2;
        transition: opacity 0.3s ease-in-out;
        transform: none;
    }
    
    .gallery-item:hover .zoom-in__overlay {
        opacity: 1;
    }
    
    .zoom_in__indicator {
        width: 10%;
        transition: transform 0.3s ease-in-out;
    }
    
    .gallery-item:hover .zoom_in__indicator {
        transform: scale(1.5);
    }
}

@media only screen and (min-width: 1200px) {
    .gallery {
        gap: 40px;
    }
}
/* end realisatie images section*/


/* testimonial and contact section*/

/* classes when we have a testimonial */

#testimonial-and-contact {
    margin-top: 60px;
    padding-bottom: 40px;
    margin-inline: 7.5vw;
}

.testimonial-and-contact__container {
    display: flex;
    gap: 50px;
    flex-direction: column;
}

.testimonial-container {
    flex: 1;
    position: relative;
}

.testimonial-wrapper {
    font-weight: 500;
    font-size: 17px;
}

.testimonial-quotes-image-top {
    position: absolute;
    width: 100px;
    z-index: -1;
    top: -40px;
    left: -5vw;
    opacity: 0.75;
}

.testimonial-quotes-image-bottom {
    position: absolute;
    width: 100px;
    z-index: -1;
    bottom: -40px;
    right: -5vw;
    transform: rotate(180deg);
    opacity: 0.75;
}

.testimonial-content-wrapper {
    position: relative;
    line-height: 160%;
}

.testimonial-author {
    margin-top: 15px;
}

/* end classes when we have a testimonial */

/* classes for FAQ when we do not have testimonials */

#frequently-asked-questions-and-contact {
    position: relative;
    margin-top: 60px;
    padding-bottom: 40px;
    margin-inline: 7.5vw;
}

.frequently-asked-questions-and-contact__container {
    display: flex;
    gap: 50px;
    flex-direction: column;
}

.frequently-asked-questions-container {
    flex: 1;
}

.frequently-asked-questions {
    display: flex;
    flex-direction: column;
}

.frequently-asked-questions__title {
    font-weight: 400;
    font-size: 25px;
    margin-bottom: 20px;
}

.question-and-answer-wrapper {
    border-top: 1px solid var(--main-black);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.question-and-answer-wrapper:last-of-type {
    border-bottom: 1px solid var(--main-black);
}

.question-wrapper {
    display: flex;
    justify-content: space-between;
    padding: 20px 35px 20px 10px;
    position: relative;
    cursor: pointer;
}

.answer-wrapper {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: height 0.5s ease-out, opacity 0.5s ease-out;
    transform-origin: top;
}

.answer {
    padding: 0 30px 30px 10px;
    font-size: 16px;
    color: #000;
    line-height: 170%;
}

.answer a {
    color: #000;
}

.question {
    font-size: 17px;
    line-height: 165%;
}

.dropdown-indicator-arrow {
    width: 13px;
    height: 13px;
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 0;
    transition: 0.4s ease;
    text-align: left;
    transform: rotate(0) translate(-50%, -50%);
    float: right;
}

.dropdown-indicator-arrow::before {
    content: "";
    background-color: transparent;
    width: 2px;
    height: 10px;
    display: inline-block;
    position: absolute;
    border-bottom: 12px solid var(--main-black);
    top: 0;
    left: 0;
    transform: rotate(-135deg);
    transition: 0.4s ease;
}

.dropdown-indicator-arrow::after {
    content: "";
    background-color: transparent;
    width: 2px;
    height: 10px;
    display: inline-block;
    position: absolute;
    border-bottom: 12px solid var(--main-black);
    top: 0;
    left: 0;
    transform: rotate(135deg);
    transition: 0.4s ease;
}
    
.is-active .dropdown-indicator-arrow {
    transform: translate(-50%, calc(-50% - 6px));
}
  
.is-active .dropdown-indicator-arrow::before {
    transform: rotate(-45deg);
}
  
.is-active .dropdown-indicator-arrow::after {
    transform: rotate(45deg);
}

/* end classes for FAQ when we do not have testimonials */

.contact-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    gap: 25px;
}

.contact-CTA-text-wrapper {
    display: flex;
    justify-content: center;
}

.contact-CTA-text {
    font-size: 18px;
    font-weight: 500;
    line-height: 155%;
    text-align: center;
}
  
.contact-link-wrapper {
    display: flex;
    justify-content: center;
}

.contact-link {
    text-decoration: none;
    border-radius: 50px;
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 500;
    transition: transform .3s;
    background-color: var(--main-black);
    border: 1px solid var(--main-black);
    color: #ffffff;
}

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

@media only screen and (min-width: 600px) {
    #frequently-asked-questions-and-contact {
        margin-top: 75px;
        padding-bottom: 50px;
    }

    #testimonial-and-contact {
        margin-top: 75px;
        padding-bottom: 50px;
    }

    .contact-CTA-text {
        width: 70%;
    }
}

@media only screen and (min-width: 900px) {
    .frequently-asked-questions__title {
        font-size: 30px;
        margin-bottom: 25px;
    }

    .contact-wrapper {
        gap: 20px;
    }

    .contact-CTA-text {
        width: 65%;
    }
}

@media only screen and (min-width: 1000px) {
    #frequently-asked-questions-and-contact {
        margin-top: 75px;
        padding-bottom: 100px;
    }

    #testimonial-and-contact {
        margin-top: 75px;
        padding-bottom: 100px;
    }

    .testimonial-wrapper {
        padding-inline: 4vw;
    }

    .frequently-asked-questions__title {
        font-size: 30px;
        margin-bottom: 25px;
    }

    .frequently-asked-questions-and-contact__container {
        gap: 5vw;
        flex-direction: row;
    }

    .testimonial-and-contact__container {
        flex-direction: row;
    }

    .testimonial-quotes-image-top {
        left: -50px;
    }
    
    .testimonial-quotes-image-bottom {
        right: -50px;
    }
    
    .contact-CTA-text {
        width: 100%;
    }
}

@media only screen and (min-width: 1200px) {
    .contact-CTA-text {
        width: 75%;
    }
}

@media only screen and (min-width: 1600px) {
    .frequently-asked-questions__title {
        font-size: 35px;
    }

    .question {
        font-size: 18px;
    }

    .answer {
        font-size: 17px;
    }

    .contact-CTA-text {
        width: 70%;
        font-size: 19px;
    }

    .testimonial-wrapper {
        font-size: 18px;
    }
}

/* end testimonial and contact section*/

/* realisatie images carousel*/

#realisatie-images {
    margin-top: 60px;
    margin-inline: 7.5vw;
}

.realisatie-images__subtitle {
    font-weight: 400;
    font-size: 30px;
    margin-bottom: 25px;
}

.realisatie-images-carousel-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 1001;
    display: none;
}

.realisatie-images-carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.embla {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: center;
    align-items: center;
    height: auto;
    display: flex;
}

.embla__container {
    display: flex;
    height: auto;
}

.embla__slide {
    position: relative;
    flex: 0 0 100%;
    height: 70vh;
    justify-content: center;
    display: flex;
    align-items: center;
    padding-inline: 0;
}

.embla__img {
    max-width: 85%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
    border: none;
}

.open-carousel {
    display: flex;
}

.close-carousel-button {
    position: absolute;
    right: 7.5vw;
    top: 25px;
    width: 50px;
    height: 50px;
    outline: none;
    border: none;
    background: transparent;
    cursor: pointer;
}

.close-carousel-button-icon {
    width: 50px;
    height: 50px;
}

.arrow-buttons-wrapper {
    display: none;
}

.arrow-button {
    outline: none;
    border: 1px solid #fff;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    width: 50px;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
}

.arrow-icon {
    width: 30px;
    height: 30px;
    margin-block: auto;
}

.navigation-dots-wrapper {
    position: absolute;
    bottom: 30px;
    display: flex;
    left: 50%; 
    transform: translateX(-50%);
    padding: 0 0 0 0;
    max-width: 85%;
    flex-wrap: wrap;
    row-gap: 15px;
    justify-content: center;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 10px;
    border: 1px solid #ffffff;
    background-color: transparent;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    cursor: pointer;
}
  
.dot.active {
    background-color: #ffffff;
}

@media only screen and (min-width: 1000px) {
    #realisatie-images {
        margin-top: 100px;
    }

    .realisatie-images__subtitle {
        font-size: 45px;
        margin-bottom: 40px;
    }

    .arrow-buttons-wrapper {
        display: flex;
        position: absolute;
        right: 5vw;
        bottom: 50px;
        gap: 30px;
    }

    .embla__img {
        max-width: 100%;
        max-height: 100%;
        border-radius: 15px;
    }

    .close-carousel-button {
        right: 5vw;
        top: 50px;
        width: 50px;
        height: 50px;
        outline: none;
        border: none;
        background: transparent;
        cursor: pointer;
    }
    
    .close-carousel-button-icon {
        width: 50px;
        height: 50px;
    }

    .navigation-dots-wrapper {
        bottom: 50px;
    }
}

  
/* end realisatie images carousel*/

