.container-fluid {
    flex-direction: column;
}

body {
    background-color: #ffffff;
    font-family: "Wix Madefor Text", sans-serif;
}

.nav-item {
    font-family: "Wix Madefor Text", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.navbar-toggler {
    border: none;
}

#logo {
    width: 180px;
    height: auto;
    margin-top: -40px;
    margin-bottom: -35px;
}

.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.390), rgba(0, 0, 0, 0.522)), url(assets/media/room-interior.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 150px 0;
}

.hero h1 {
    color: aliceblue;
    font-size: 45px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}

.listings {
    margin-top: 50px;
}

.listings h2 {
    color: #4f4f4f;
    font-size: 20px;
    text-align: left;
}

.listings h1 {
    color: #4f4f4fcd;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.listings p {
    color: #4f4f4f;
    font-size: 16px;
    text-align: center;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 1100px;
    margin: auto;
    margin-top: 35px;
    margin-bottom: 60px;
}

.property-card {
    overflow: hidden;
    background: white;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.15);
}

.property-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.property-image {
    border-radius: 5px;
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #eee;
}

.property-content {
    padding: 12px;
}

.property-title {
    margin: 0 0 8px 0;
    font-size: 15px;
    color: #4f4f4f;
}

.property-price {
    color: #007bff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 6px;
}

.property-city {
    color: #555;
    margin-bottom: 8px;
}

.property-description {
    font-size: 0.9rem;
    color: #444;
}

.property-icons {
    display: flex;
    gap: 14px;
    margin: 8px 0 8px 0;
    font-size: 13px;
    color: #444;
}

.property-icons i {
    margin-right: 4px;
    color: #626262;
    font-size: 1.1em;
    opacity: 0.85;
}

/*Footer*/
.footer {
    background-color: #2c3e5083;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    font-family: "Wix Madefor Text", sans-serif;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 20px;
}

/*Media Queries*/
/*Max Width - 600px*/
@media (max-width:600px) {

    .container-fluid {
        flex-direction: row;
    }

    #logo {
        width: 150px;
    }

    .nav-item {
        padding-left: 15px;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 30px;
    }

    .listings-grid {
        grid-template-columns: 1fr;
        width: auto;
    }
}

/*Min width: 601px and Max width - 768px*/
@media (min-width:601px) and (max-width:768px) {

    .container-fluid {
        flex-direction: row;
    }

    #logo {
        width: 150px;
    }

    .hero {
        padding: 100px 0;
    }

    .hero h1 {
        font-size: 30px;
    }

    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
        width: auto;
    }
}

/*Minimum Screen Width: 769px*/
@media (min-width: 769px) and (max-width: 991px) {

    .container-fluid {
        flex-direction: row;
    }

    .hero {
        padding: 120px 0;
    }

    .hero h1 {
        font-size: 35px;
    }

    .listings-grid {
        grid-template-columns: repeat(3, 1fr);
        width: auto;
    }
}

@media (min-width: 992px) and (max-width: 1024px) {

    .body {
        width: auto;
    }

    .listings-grid {
        grid-template-columns: repeat(3, 1fr);
        width: auto;
    }
}