* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    color: var(--tertiary-color);
    line-height: 1.2;
    font-size: 1em;
    /* height: 100vh; */
}

ul {
    list-style: none;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

.logo {
    z-index: 11;
    display: none;
}


.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 40px;
    height: 3px;
    margin: 13px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--tertiary-color);
}


/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--tertiary-color);
    /* opacity: 0.8; */
    width: 100%;
    height: 100px;
    position: fixed;
    top: 0px;
    padding: 0 30px;
    transition: 0.5s;
    z-index: 10;
}

.navbar.top {
    background: transparent;
}

.navbar a {
    color: var(--tertiary-color);
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 5px;
}

.navbar a:hover,
.navbar a.active {
    border-bottom: var(--tertiary-color) 3px solid;
    padding-bottom: 5px;
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    padding: 10px 20px;
}

.navbar .logo {
    font-weight: 400;
}

/* Header */
.hero {
    background: url('../images/home/hero.webp') no-repeat center center/cover;
    height: 100vh;
    position: relative;
}

.hero .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-height: 100vh;
    padding: 100px 20px 50px 20px;
    text-align: center;
}

.hero .content h1,
.gallery h1 {
    font-size: 55px;
    text-transform: uppercase;
    color: var(--tertiary-color);
    font-weight: 300;
    margin-top: 20px;
}

.hero .content .buttons {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    z-index: 2;
}

.hero .content .buttons .row {
    width: 100%;
}


.hero .content .buttons .col {
    padding: 30px 0px;
}

.hero .herobtn {
    cursor: pointer;
    display: inline-block;
    padding: 10px 30px;
    background-color: rgba(239, 239, 239, 0.8);
    border: none;
    border-radius: 5px;
    color: var(--tertiary-color);
    text-transform: uppercase;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    padding: 25px 40px;
    width: 430px;
    border-radius: 15px;
}

.hero .herobtn:hover {
    background-color: rgba(239, 239, 239, 1);
}

.hero * {
    z-index: 10;
}

.image {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

/* Garanties */
#garanties {
    position: relative;
    padding: 20px;
}

#garanties .garantie-image {
    position: absolute;
    top: 0;
    right: 23%;
    z-index: 1;
    height: 100%;
}

#garanties h2 {
    position: relative;
    text-align: center;
    text-transform: uppercase;
    margin-top: 20px;
    z-index: 2;
}

#garanties .garantie-list {
    position: relative;
    width: 550px;
    max-width: 100%;
    margin: 0 auto;
    z-index: 2;
}

#garanties .garantie-list ul li {
    background: transparent url("../images/H_LOGO.png") no-repeat left top;
    background-size: 2.3rem;
    padding-left: 70px;
    margin: 30px 2px;
}

/* Projects */
#projects {
    padding-top: 50px;
}

.project-container {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}

.project-container:hover .image {
    opacity: 0.3;
}

.bottom {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-weight: 700;
}

.project-container:hover .bottom {
    opacity: 1;
}

.overlay-text {
    background-color: var(--tertiary-color);
    color: white;
    font-size: 20px;
    padding: 16px 32px;
    text-transform: uppercase;
}

/* Testimonials */
#testimonials {
    height: 100%;
    background: url('../images/home/testimonials.jpg') no-repeat center center/cover;
    padding-top: 100px;
}

#testimonials h2 {
    color: #fff;
    text-align: center;
    padding-bottom: 40px;
}

.l-heading {
    font-size: 40px;
    line-height: 1.2;
}

#testimonials .testimonial {
    padding: 20px;
    margin-bottom: 40px;
    border-radius: 15px;
    opacity: 0.9;
    min-height: 140px;
}

#testimonials .testimonial img {
    width: 100px;
    float: left;
    margin-right: 20px;
    border-radius: 50%;
}

.swiper {
    width: 80%;
}

/* target the active bullet */
span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--secondary-color);
}

/* target all bullets */
.swiper-pagination-bullet {
    height: 20px;
    width: 20px;
    background-color: var(--tertiary-color);
    opacity: 1;
}

/* Callback Form */
#contact {
    padding: 0px 30px 10px 30px;
}

#contact h2 {
    text-transform: uppercase;
}

.callback-form {
    width: 100%;
    padding: 20px 0;
}

.callback-form .form-control {
    margin-bottom: 15px;
}

.callback-form input {
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    padding: 4px;
    height: 40px;
    border: var(--quaternary-color) 1px solid;
    color: var(--tertiary-color);
    font-size: 16px;
}

.callback-form textarea {
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    padding: 4px;
    padding-top: 8px;
    border: var(--quaternary-color) 1px solid;
    color: var(--tertiary-color);
    font-size: 16px;
}

.callback-form .success-message {
    display: none;
    padding: 20px;
    background-color: #fff;
    /* Green */
    color: var(--tertiary-color);
    margin-bottom: 15px;
    font-weight: 700;
    border: none;
}

.callback-form .fail-message {
    display: none;
    padding: 20px;
    background-color: #fff;
    /* Red */
    color: #f44336;
    margin-bottom: 15px;
    font-weight: 700;
    border: none;
}

::placeholder {
    font-family: 'Montserrat', sans-serif;
    color: var(--tertiary-color);

}

.callback-form input:focus {
    outline-color: var(--primary-color);
}

.callback-form .contact-btn {
    padding: 12px 0;
    margin-top: 20px;
    background: var(--tertiary-color);
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
    border: none;
}

.callback-form .contact-btn:hover {
    opacity: 0.8;
}

/* Footer */
.footer {
    color: #fff;
    font-size: 0.9em;
    background: var(--primary-color);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    height: 180px;
    margin-top: 30px;
    padding: 20px 50px;
}

.footer .address {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
}

.footer a {
    color: #fff;
}

.footer .splynter {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: right;
}

footer p,
footer p>a {
    color: #fff;
}

.footer i {
    font-size: 1.6em;
}

.footer img {
    height: 2em;
}

.footer img:hover {
    opacity: 0.8;
}

.footer a:hover {
    color: var(--secondary-color);
}

.footer .social {
    margin-top: 20px;
}

.footer .certifications {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    align-content: center;
}

.footer .certification img {
    margin: 20px 10px 0px 10px;
}

/* Project pages */
.head-image {
    height: 50vh;
    padding: 0px 20px;
    position: relative;
    margin: 100px 50px 30px 50px;
    z-index: 0;
}

.head-image.detail-dakwerken {
    background: url("../images/projects/daktimmerwerken.webp") no-repeat top center/cover;
}

.head-image.detail-gevelbekleding {
    background: url("../images/projects/gevelbekleding/HOLEMANS_GEVEL_3.webp") no-repeat center center/cover;
}

.head-image.detail-hellendedaken {
    background: url("../images/projects/hellendedaken.webp") no-repeat top center/cover;
}

.head-image.detail-isolatie {
    background: url("../images/projects/isolatiewerken/isolatie2.webp") no-repeat top center/cover;
}

.head-image.detail-zinkwerken {
    background: url("../images/projects/lood2.webp") no-repeat top center/cover;
}

.head-image.detail-plattedaken {
    background: url("../images/projects/plattedaken/HOLEMANS_PLATDAK_8.webp") no-repeat top center/cover;
}

.project-buttons {
    margin: 30px 50px 50px 50px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.projectbtn {
    display: inline-flex;
    text-transform: uppercase;
    background-color: var(--quaternary-color);
    color: var(--tertiary-color);
    font-size: 1em;
    font-weight: 700;
    padding: 20px;
    width: 100%;
    border-radius: 25px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.projectbtn:hover {
    opacity: 0.6;
}

.projectbtn.active {
    background-color: var(--secondary-color);
    color: #fff;
}

.project-title {
    background-color: var(--secondary-color);
    position: relative;
    text-align: center;
    text-transform: uppercase;
    margin-top: 20px;
    z-index: 1;
    padding: 40px;
}

.project-title .project-image {
    position: absolute;
    top: 0;
    right: 10%;
    z-index: 2;
    height: 100%;
}

.project-title h1 {
    position: relative;
    text-transform: uppercase;
    color: #fff;
    font-weight: 400;
    z-index: 3;
}

.gallery {
    display: grid;
    max-width: 100vw;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 50px;
    gap: 50px;
}

.gallery-image {
    /* object-fit: cover; */
    aspect-ratio: 1;
}

.gallery-image img {
    object-fit: cover;
    max-width: 100%;
    height: 100%;
}

.gallery img:hover {
    opacity: 0.7;
}

/* .lb-data .lb-close {
    display:block;
    position:absolute;
    right:80px;
    top:5px;
    float: right;
    } */

.privacy-content {
    padding: 50px;
}

.privacy-content p,
.privacy-content h3,
.privacy-content h4 {
    margin-bottom: 20px;
}

/* Mobile */

@media(max-width: 1350px) {
    .hero .content .buttons {
        flex-direction: column;
        max-height: 100%;
        padding: 20px 10px;
        /* justify-content: space-between; */
    }

    .hero .content h1 {
        font-size: 36px;
    }

    .hero .content .buttons .col {
        padding: 0px;
        max-height: 100%;
        padding: 10px;
    }

    .hero .herobtn {
        cursor: pointer;
        display: inline-block;
        padding: 10px;
        background-color: rgba(239, 239, 239, 0.8);
        border: none;
        border-radius: 5px;
        color: var(--tertiary-color);
        text-transform: uppercase;
        text-align: center;
        font-size: 24px;
        font-weight: 700;
        padding: 20px;
        width: 430px;
        border-radius: 15px;
    }
}

@media(max-width: 1150px) {
    .logo {
        display: block;
        position: absolute;
        top: 10px;
        left: 10px;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        position: fixed;
        top: 10px;
        right: 25px;
        z-index: 12;
        transition: transform 0.5s ease-in-out;
    }

    .hamburger.hidden {
        -webkit-transform: translateY(-200%);
        transform: translateY(-200%);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        -webkit-transform: translateY(16px) rotate(45deg);
        transform: translateY(16px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        -webkit-transform: translateY(-16px) rotate(-45deg);
        transform: translateY(-16px) rotate(-45deg);
    }

    .navbar {
        display: none;
        opacity: 1;
    }

    .navbar.active {
        background: rgba(208, 222, 229, 0.9);
    }

    .navbar.active,
    .navbar.top.active,
    #navMain,
    .navbar.active ul {
        display: flex;
        flex-direction: column;
        width: 100vw;
        height: 100%;
        -webkit-transition: 0.5s;
        transition: 0.5s;
        z-index: 12;
        margin: 0px;
        margin-top: 100px;
        animation: 1s ease-out 0s 1 slideInFromTop;
        text-align: center;
    }

    .navbar.active img {
        display: none;
    }

    .navbar.active ul a {
        color: rgba(20, 31, 51, 1);
    }

    .navbar.active ul a.active {
        border-bottom: var(--quaternary-color) 2px solid;
    }

    .navbar li {
        font-size: 1.6rem;
        text-align: center;
        padding: 10px 0px;
    }

    .hero .content .text {
        margin: 20px auto;
        color: #fff;
        text-align: center;
    }

    .hero .content p {
        font-size: 18px;
        max-width: 600px;
        margin: 20px 0 30px;
    }

    #about .column-2 {
        text-align: center;
        align-items: center;
    }

    .bottom {
        opacity: 0.9;
        position: absolute;
        bottom: 0;
        width: 100%;
        text-align: center;
        font-weight: 700;
    }

    .overlay-text {
        background-color: var(--tertiary-color);
        color: white;
        font-size: 16px;
        padding: 16px 32px;
    }

    .flex-items {
        flex-direction: column;
    }

    .flex-columns .column,
    .flex-grid .column {
        flex: 100%;
        max-width: 100%;
    }

    .contact.flex-columns.flex-reverse .row {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .team img {
        width: 70%;
    }

    .footer {
        flex-direction: column;
        height: auto;
    }

    .footer .address,
    .footer .socials,
    .footer .splynter {
        margin: 20px;
        text-align: center;
    }

    .project-buttons {
        display: none;
    }
}

@media(max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 20px;
    }

    .navbar a {
        padding: 10px 10px;
        margin: 0 3px;
    }

    .hero .content .buttons .col {
        padding: 12px 30px;
    }

    .hero .herobtn {
        cursor: pointer;
        display: inline-block;
        padding: 10px;
        background-color: rgba(239, 239, 239, 0.8);
        border: none;
        border-radius: 5px;
        color: var(--tertiary-color);
        text-transform: uppercase;
        text-align: center;
        font-size: 16px;
        font-weight: 700;
        padding: 15px;
        width: 400px;
        border-radius: 15px;
        max-width: 100%;
        ;
    }


    #garanties .garantie-image {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1;
        height: 100%;
    }

    #garanties .asbest-image {
        position: absolute;
        bottom: 20px;
        left: 20px;
        z-index: 1;
        height: 20px;
    }

    #contact.section-padding {
        padding: 0px 20px;
    }

    .flex-items {
        flex-direction: column;
    }

    .flex-columns .column,
    .flex-grid .column,
    .flex-grid.dt .column {
        flex: 100%;
        max-width: 100%;
    }

    .team img {
        width: 70%;
    }

    .footer .splynter img {
        height: 1.3em;
    }

    .head-image {
        height: 30vh;
        padding: 0px 20px;
        position: relative;
        margin: 100px 20px 20px 20px;
        z-index: 0;
    }

    .project-title {
        padding: 30px;
    }

    .project-title h1 {
        font-size: 1.6em;
    }

    .gallery {
        display: grid;
        max-width: 100vw;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
        padding: 20px;
        gap: 20px;
    }

    .privacy-content {
        padding: 30px;
    }
}