* {
    margin: 0 auto;
    padding: 0;
}


/** Navbar.php*/
.navbar {
    width: 100%;
    height: 100px;
}

.navbar.wrap {
    width: 960px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/** ends here */

.navbar.container {
    width: 100%;
    /* background-image: url("../img/backgroundv2.png"); */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 700px;
    z-index: 1000;
}

.transparant {
    background-color: rgba(0, 48, 78, 0.9);
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar.wrapper {
    width: 960px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left a {
    text-decoration: none;
    font-size: 1.6rem;
    color: #fff;
    font-weight: bold;
}

.left a .blue {
    color: #52bcec;
}

.transparant nav a {
    text-decoration: none;
    font-size: 1.2rem;
    color: #fff;
    margin-left: 20px;
    padding: 10px 15px;
    transition: all 0.3s ease-in-out;
}

.transparant nav a:hover {
    color: #52bcec;
    border-bottom: 2px solid #52bcec;
}


.section.container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.section.wrapper p {
    font-size: 3rem;
    color: #fff;
    margin: 5px 0;
}


.section.wrapper {

    justify-content: center;
    align-content: center;
}

.section.wrapper p {
    font-size: 3rem;
    text-align: center;
    color: white;
    border-radius: 15px;
}

.test {
    margin-bottom: 40px;
}

.blue {
    color: #00304e;

}

.line {
    text-decoration: underline;
    text-underline-offset: 10px;
}


.vakman.container {
    margin-top: 100px;
    width: 100%;
    height: 550px;
    background-color: #ededed;
}

.vakman.wrapper {
    width: 960px;
    margin: 0 auto;
}

.vakman.wrapper h1 {
    padding-top: 30px;
}


.box {
    margin-top: 50px;
    display: flex;
    flex-direction: row;
}

.textbox {
    width: 960px;
    font-size: 1.2rem;
    justify-content: flex-start;
    align-content: flex-start;
}

.textbox p {
    text-align: justify;
}


.textbox h1 {
    text-align: justify;
}

.imageslider {
    width: 400px;
    justify-content: center;
    align-content: center;
}

.imageslider img {
    width: 400px;
    height: 400px;
}

.borderimage {
    width: 410px;
    background-color: rgba(2, 2, 2, 0.514);
    display: flex;
    padding: 10px;
    position: relative;
}

.borderimage i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 24px;
}

.borderimage i.fa-arrow-left {
    left: 10px;
}

.borderimage i.fa-arrow-right {
    right: 10px;
}

.borderimage i:hover {
    color: green;
    border-color: rgba(0, 0, 0, 0.253);
    border: 1px solid black;
    border-radius: 25px;
    padding: 5px;
}

.diensten-container {
    max-width: 1200px;
    margin: 50px auto;
    text-align: center;
    padding: 20px;
}

h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.diensten-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.step {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-icon {
    font-size: 50px;
    color: #007BFF;
    margin-bottom: 15px;
}

.step-title {
    font-size: 22px;
    color: #222;
    margin-bottom: 10px;
}

.step-description {
    font-size: 16px;
    color: #555;
}




.footer {
    background-color: #00304e;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

.footer-container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-social h3,
.footer-contact h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #52bcec;
}

.footer-social a {
    text-decoration: none;
    color: #fff;
    display: block;
    margin: 5px 0;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #52bcec;
}

.footer-contact p {
    margin: 8px 0;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #52bcec;
}


.project-box {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    background-color: #dbeaf4;
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    width: 90%;
    max-width: 1200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 300px;
}

.project-content {
    max-width: 50%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #333;
}

.project-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}

.project.button {
    display: inline-block;
    background-color: #0a2941;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.project.button:hover {
    background-color: #08305b;
}

.project-image {
    max-width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


@media (max-width: 768px) {
    .navbar.wrapper {
        width: 100%;
        padding: 0 20px;
    }

    .transparant nav a {
        margin-left: 10px;
        font-size: 1rem;
        padding: 8px 10px;
    }

    .section.wrapper p {
        font-size: 1.6rem;
    }

    .section.wrapper .test {
        font-size: 1.8rem;
    }
}


@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Responsive Styles for Vakmanschap Section */
@media (max-width: 992px) {
    .vakman.wrapper {
        width: 100%;
        padding: 0 20px;
    }

    .box {
        flex-direction: column;
        align-items: center;
    }

    .textbox,
    .image.slider {
        width: 100%;
        text-align: center;
    }

    .border.image {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .vakman.wrapper {
        padding: 0 10px;
    }

    .vakman.wrapper h1 {
        font-size: 1.8rem;
        text-align: center;
    }

    .textbox {
        font-size: 1rem;
    }

    .border.image {
        max-width: 100%;
    }

    .border.image i {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .vakman.wrapper h1 {
        font-size: 1.6rem;
        padding-top: 20px;
    }

    .textbox {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .border.image i {
        font-size: 18px;
    }
}

/* Responsive Styles for Footer Section */
@media (max-width: 992px) {
    .footer-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .footer-social,
    .footer-contact {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-social h3,
    .footer-contact h3 {
        font-size: 1.2rem;
    }

    .footer-social a,
    .footer-contact p,
    .footer-contact a {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .footer-container {
        padding: 0 10px;
    }

    .footer-social h3,
    .footer-contact h3 {
        font-size: 1rem;
    }

    .footer-social a,
    .footer-contact p,
    .footer-contact a {
        font-size: 0.8rem;
    }
}



/** Test code */

.merken.container {
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.merken.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100px;
    margin-bottom: 15px;
}

.merkslide.container {
    display: flex;
    justify-content: start;
    align-items: center;
    animation: slide infinite 30s linear;
}

.merkslide {
    flex: 0 0 auto;
    margin: 0 15px;
}

.merkslide img {
    height: 80px;
    object-fit: contain;
}

@keyframes slide {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.merkslide.container:before,
.merkslide.container:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}


.slideshow-container {
    position: relative;
    max-width: 100%;
    height: 750px;
    overflow: hidden;
}

.slideshow {
    width: 100%;
    height: 700px;
    position: absolute;
    display: none;
}

.slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow.active {
    display: block;
}

.dots {
    display: none;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active {
    background-color: #717171;
}


.designs.wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10pxs\;
}

.design.container {
    margin-top: 15px;
    max-width: 500px;
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
}


.design.containerr {
    margin-top: 15px;
    max-width: 500px;
    height: 100vh;
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
}

.design.wrapper img {
    border-radius: 5%;
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
}

.bigger {
    width: 100% !important;
    max-width: 500px;
    margin: 0 auto;
}

.design.wrapper p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 600px;
}

.image-gallery img:hover {
    transform: scale(1.02);
}


.test.container {
    width: 960px;
    display: flex;
}


.testttt {
    text-align: center;
}


.imageg-container {
    display: flex;
    justify-content: center;
    align-content: center;
    padding: 20px;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 400px);
    gap: 15px;
    max-width: 1230px;
    margin: 0 auto;
}

.image-gallery img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.regular {
    border-radius: 5% !important;
    width: 400px !important;
    height: 400px !important;
}

.large {
    border-radius: 3%;
    grid-column: span 2;
    width: 815px !important;
    height: 540px !important;
}

.larger {
    border-radius: 3%;
    grid-column: span 2;
    width: 815px !important;
    height: 650px !important;
}

.taller {
    border-radius: 3%;
    grid-row: span 2;
    width: 400px;
    height: 650px !important;
}

.tall {
    border-radius: 3%;
    grid-row: span 2;
    width: 400px;
    height: 540px !important;
}

img.tall.tin {
    height: 621.25px !important;
}

.bigger {
    width: 500px;
}


a {
    text-decoration: none;
}

img.tall.lageham {
    height: 771.63px !important;
}




/** Contact page*/

.contact.container {
    margin-top: 15px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact.wrapper {
    width: 90%;
    max-width: 960px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact.box {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    background-color: #f0f0f0;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact.box h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form label {
    font-size: 1rem;
    color: #555;
    margin-bottom: 5px;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 97%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

form textarea {
    resize: none;
}

form input:focus,
form textarea:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

form input[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

form input[type="submit"]:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.returnbox {
    display: block;
    margin-bottom: 20px;
    margin-left: 380px;
    margin-right: auto;
    width: fit-content;
}




@media (max-width: 1024px) {
    .project-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .project-content {
        max-width: 100%;
        padding: 10px;
    }

    .project-image {
        max-width: 80%;
        margin-top: 20px;
    }

    .project-content h2 {
        font-size: 1.5rem;
    }

    .project-content p {
        font-size: 0.9rem;
    }

    .project.button {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

/* Large smartphones */
@media (max-width: 768px) {
    .project-box {
        padding: 15px;
        margin: 15px auto;
    }

    .project-content h2 {
        font-size: 1.3rem;
    }

    .project-content p {
        font-size: 0.85rem;
    }

    .project.button {
        font-size: 0.85rem;
        padding: 7px 14px;
    }

    .project-image {
        max-width: 90%;
    }
}

/* Small smartphones */
@media (max-width: 480px) {
    .project-box {
        padding: 10px;
        margin: 10px auto;
    }

    .project-content h2 {
        font-size: 1.2rem;
    }

    .project-content p {
        font-size: 0.8rem;
    }

    .project.button {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .project-image {
        max-width: 100%;
    }
}



/* Contact page/*

@media (max-width: 1024px) {
    .contact.box {
        padding: 15px;
    }

    .contact.box h1 {
        font-size: 1.8rem;
    }

    form input[type="text"],
    form input[type="email"],
    form textarea {
        width: 95%;
    }
}

/* Large smartphones */
@media (max-width: 768px) {
    .contact.box {
        padding: 10px;
    }

    .contact.box h1 {
        font-size: 1.6rem;
    }

    form input[type="text"],
    form input[type="email"],
    form textarea {
        width: 93%;
        padding: 10px;
    }

    form input[type="submit"] {
        padding: 10px;
    }
}

/* Small smartphones */
@media (max-width: 480px) {
    .contact.box {
        padding: 8px;
    }

    .contact.box h1 {
        font-size: 1.4rem;
    }

    form input[type="text"],
    form input[type="email"],
    form textarea {
        width: 90%;
        padding: 8px;
        font-size: 0.9rem;
    }

    form label {
        font-size: 0.9rem;
    }

    form input[type="submit"] {
        padding: 8px;
        font-size: 0.9rem;
    }
}



@media (max-width: 1024px) {
    .section.wrapper p {
        font-size: 2.5rem;
    }

    .vakman.wrapper h1 {
        font-size: 2rem;
    }

    .textbox {
        font-size: 1rem;
    }

    .diensten-container h1 {
        font-size: 28px;
    }

    .step-title {
        font-size: 20px;
    }

    .step-description {
        font-size: 14px;
    }
}

/* Large smartphones */
@media (max-width: 768px) {
    .section.wrapper p {
        font-size: 2rem;
    }

    .vakman.wrapper h1 {
        font-size: 1.8rem;
    }

    .textbox {
        font-size: 0.9rem;
    }

    .diensten-container h1 {
        font-size: 24px;
    }

    .step-title {
        font-size: 18px;
    }

    .step-description {
        font-size: 13px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }
}

/* Small smartphones */
@media (max-width: 480px) {
    .section.wrapper p {
        font-size: 1.5rem;
    }

    .vakman.wrapper h1 {
        font-size: 1.5rem;
    }

    .textbox {
        font-size: 0.8rem;
    }

    .diensten-container h1 {
        font-size: 20px;
    }

    .step-title {
        font-size: 16px;
    }

    .step-description {
        font-size: 12px;
    }

    .footer-social h3,
    .footer-contact h3 {
        font-size: 1.2rem;
    }

    .footer-social a,
    .footer-contact p {
        font-size: 0.9rem;
    }
}


@media (max-width: 1200px) {
    .designs.wrapper {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .design.wrapper img {
        max-height: 350px;
    }
}

@media (max-width: 768px) {
    .designs.wrapper {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .design.wrapper img {
        max-height: 300px;
    }

    .design.wrapper p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .designs.wrapper {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .design.wrapper img {
        max-height: 250px;
    }

    .design.wrapper p {
        font-size: 0.9rem;
    }
}


.gallery {
    padding: 40px 20px;
    text-align: center;
    background-color: #f8f8f8;
}

.gallery-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.03);
}

@media (max-width: 900px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 column */
@media (max-width: 600px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 1200px) {
    .imageslider img {
        width: 200px !important;
        height: 200px !important;
    }

    .textbox p {
        width: 280px;
    }
}