.imageblock-block {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
    background-color: var(--green);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-height: 400px;
}

.imageblock-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 30px;
    max-width: 50%;
    color: #fff;
    gap: 30px;
}

.imageblock-text h1 {
    font-weight: 400;
}

.imageblock-text h2 {
    text-transform: uppercase;
    font-weight: 400;
}

.imageblock-text p {
    margin: 0;
}

.imageblock-media {
    flex: 1;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imageblock-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .imageblock-block {
        flex-direction: column;
        min-height: auto;
    }

    .imageblock-text {
        text-align: center;
        order: 1;
        max-width: 100%;
        padding: 20px;
    }

    .imageblock-text p {
        text-align: justify;
    }

    .imageblock-media {
        max-height: 350px;
        width: 100%;
        order: 2;
    }
}

@media screen and (max-width: 480px) {
    .imageblock-block {
        margin: 15px 5px;
        border-radius: 10px;
    }

    .imageblock-text {
        padding: 25px 15px;
    }
}
