/* Hero */
.properties-hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
                url("../images/background/hero.jpg") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.properties-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.properties-hero p {
    font-size: 1.2rem;
}

/* Search */
.search-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 40px 10%;
    background: #f8f9fa;
}

.search-bar input,
.search-bar select {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    min-width: 250px;
    font-size: 16px;
}

.search-bar button {
    padding: 15px 30px;
    background: #f4b400;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.search-bar button:hover {
    background: #d89c00;
}

/* Properties Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 80px 10%;
}

.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.property-card:hover {
    transform: translateY(-8px);
}

.property-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.property-content {
    padding: 25px;
}

.property-content h3 {
    margin-bottom: 10px;
}

.price {
    color: #0d3b66;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.property-content p {
    margin-bottom: 10px;
}

.property-content .btn {
    display: inline-block;
    margin-top: 15px;
    background: #f4b400;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

.property-content .btn:hover {
    background: #d89c00;
}

/* Mobile */
@media (max-width:768px){

    /* Hero */

    .properties-hero{
        height:45vh;
        padding:20px;
    }

    .properties-hero h1{
        font-size:2.2rem;
        line-height:1.2;
    }

    .properties-hero p{
        font-size:1rem;
        max-width:320px;
        margin:auto;
    }

    /* Search */

    .search-bar{
        padding:30px 20px;
        gap:15px;
    }

    .search-bar input,
    .search-bar select,
    .search-bar button{
        width:100%;
        min-width:100%;
    }

    .search-bar button{
        padding:14px;
    }

    /* Properties */

    .properties-grid{
        grid-template-columns:1fr;
        gap:25px;
        padding:35px 20px;
    }

    .property-card img{
        height:220px;
    }

    .property-content{
        padding:18px;
    }

    .property-content h3{
        font-size:22px;
    }

    .price{
        font-size:1.2rem;
    }

    .property-content p{
        font-size:15px;
    }

    .property-content .btn{
        display:block;
        width:100%;
        text-align:center;
        padding:14px;
    }

}