.carsCatalogueSection {
    width: 100%;
    height: fit-content;
    padding: 30px 50px;
    margin-top: 5%;
}

.carsCatalogueContainer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carsCatalogueContainer a {
    width: 30%;
    height: 350px;
}

.catalogue {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.catalogue img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
}

.catalogueTitle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.catalogueTitle h1 {
    color: white;
    font-size: 30px;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: center;
}

/* ZOOMING IN THE IMAGE ON HOVER */
.catalogue:hover .zoomable-image {
    transform: scale(1.1);
}

.zoomable-image {
    transition: transform 0.3s ease;
}

.sellCarSection {
    width: 100%;
    margin-top: 3%;
}

.sellCarSection button {
    width: 100%;
    text-transform: uppercase;
    font-size: 45px;
    color: white;
    padding: 20px;
    background-color: var(--secondaryColor);
    border: 1px solid var(--secondaryColor);
    cursor: pointer;
}

.sellCarSection button:hover {
    background-color: var(--lightSecondaryColor);
}

@media screen and (max-width: 1000px) {
    .carsCatalogueContainer {
        flex-direction: column;
        gap: 20px;
    }

    .carsCatalogueContainer a {
        width: 98%;
    }
}

@media screen and (max-width: 650px) {
    .carsCatalogueSection {
        padding: 20px;
    }

    .sellCarSection {
        display: flex;
        justify-content: center;
    }

    .sellCarSection button {
        width: 98%;
        font-size: 30px;
    }
}