@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;
    }
}