body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #ffffff;

}

.hero {
    background: url('../images/Sanne Bas - Curio - Terheijdenseweg 350-2.jpg') center/cover no-repeat;
    height: 520px;
    position: relative;
}



.topbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 7%;
    background: rgba(12, 77, 55, 0.95);
    border-bottom: 1px solid rgba(255, 203, 5, 0.35);
}

.brand{
    font-size: 25px;
    padding-left: 20%;
}

.logo {
    font-weight: bold;
    letter-spacing: 2px;
}

.banner {
    position: fixed;
    top: 0;
    right: 0;
    background: #FFCB05;
    padding: 15px;
    border-bottom-left-radius: 20px;
    text-align: center;
    color:black;
    z-index : 1;
}

.name {
    font-size: 20px;
}

.services {
    background: #0C4D37;
    text-align: center;
    padding: 70px 0;
    color: #FFCB05;
    font-size: larger;
}

.services h2 {
    text-align: center;
    font-size: 30px;
    letter-spacing: 2px;
    margin-bottom: 40px;

}
.Underlined{
    font-size: 20px;
    text-decoration: underline;
}

.Underlinedsimple{
    text-decoration: underline;
}

.imaginary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px 100px;
}

.imaginary {
    margin-left: 10%;
    margin-right: 10%;
    width: 300px;

    display: flex;
    gap: 30px;
}


.imaginary-text {
    text-align:start;
    /* margin-top: 50px; */
    margin-left: 400px;
    margin-right:900px;
    margin-top: 50px
}

.imaginary-text p {
    width: 365%;
    background: transparent;
    border: 2px solid #FFCB05;
    padding: 20px;
}

.imaginary img {
    width: 450px;
    height: 250px;
    object-fit: cover;
}

.imaginary:nth-child(even) {
    justify-self: end;
    margin-top: 390px;
    flex-direction: row-reverse;
}



.imaginary h3 {
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.image-container {
    position: relative;
    width: 650px;
    height: 350px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.35);
}

.image-container img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}

/* Image zoom */

.image-container:hover img {
    transform: scale(1.06);

    filter: brightness(0.65);
}


.image-button {
    background-color: #FFCB05;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    padding: 15px 25px;
    cursor: pointer;
    transition: opacity 0.3s;
    border: 2px solid #000000;
    border-radius: 25px;
}

.image-container:hover .image-button {
    opacity: 1;
}

.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);

    justify-content: center;
    align-items: center;
}

.popup-content {
    position: relative;
    width: min(800px, 90%);
    min-height: 250px;
    padding: 40px;
    background: #0C4D37;
    border: 2px solid #FFCB05;
    border-radius: 18px;
    text-align: center;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5);
}


.popup-content img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 8px;
    right: 20px;
    font-size: 45px;
    color: #FFCB05;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.close:hover {
    transform: rotate(90deg);
}

.banner {
    position: fixed;
    top: 0;
    right: 0;
    background: #FFCB05;
    color: #071f18;
    padding: 16px 25px;
    border-bottom-left-radius: 18px;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}


.contact {
    background: url('../images/circuit.jpg') center/cover no-repeat;
    padding: 80px 130px;
    display: flex;
    gap: 100px;
    background-color: #413f3f;;
    background-blend-mode:overlay;
}

.form-area {
    flex: 1;
}

.contact-info {
    flex: 1;
    color: #ffffff;
    max-width: 350px;
    font-size: 14px;
    line-height: 1.6;
}

.contact label {
    font-size: 12px;
    letter-spacing: 1px;
}

input, textarea {
    width: 100%;
    margin: 10px 0 25px;
    padding: 12px;
    background: transparent;
    border: 2px solid #ffffff;
    color: white;
}

textarea {
    height: 120px;
    width: 135%;
}

input[type="submit"] {
    background: white;
    border: none;
    padding: 12px 40px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    width: 50%;
}



footer {
    background: #0C4D37;
    padding: 40px;
    color: #FFCB05;
    text-align: center;
    font-size: 12px;
    letter-spacing: 1px;
}
.mini-box{
    background: transparent;
    border: 2px solid #FFCB05;
    width: 15%;
    margin-left: 750px;
    padding-top: 10px;
    padding-bottom: 10px;
}

footer span {
    margin-left: 20px;
}






@media (max-width: 750px) {

    .hero {
        height: 400px;
    }

    .topbar {
        padding: 20px;
    }

    .services {
        padding: 50px 20px;
    }

    .imaginary-grid {
        gap: 70px;
    }

    .imaginary,
    .imaginary:nth-child(even) {
        flex-direction: column;

        width: 100%;

        position: static;

        gap: 20px;
    }

    .image-container {
        width: 100%;
        height: auto;
    }

    .image-container img {
        width: 100%;
        height: auto;
    }

    .imaginary-text {
        width: 100%;
    }

    .imaginary-text p {
        width: auto;
    }

    .contact {
        flex-direction: column;

        padding: 50px 20px;

        gap: 40px;
    }

    input[type="submit"] {
        width: 100%;
    }

    .mini-box {
        width: 70%;
    }
}