/* ================= PROPERTIES HERO ================= */

.projects-hero{
    min-height:520px;
    padding:100px 30px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    background:
        linear-gradient(rgba(29,21,53,.82),rgba(29,21,53,.92)),
        url("../img/hero-building.jpg") center/cover no-repeat;
}

.projects-hero-content{
    max-width:850px;
}

.projects-hero .section-label{
    margin-bottom:20px;
}

.projects-hero h1{
    color:#fff;
    font-size:clamp(3rem,6vw,5rem);
    line-height:1.05;
    margin-bottom:25px;
}

.projects-hero h1 span{
    color:#d4a017;
}

.projects-hero p{
    max-width:650px;
    margin:auto;
    color:#ddd;
    font-size:1.05rem;
    line-height:1.8;
}


/* ================= FILTER ================= */

.property-filter-section{
    padding:45px 20px 20px;
    background:#f7f7f5;
}

.property-filter{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.filter-btn{
    border:1px solid #ddd;
    background:#fff;
    color:#555;
    padding:12px 24px;
    border-radius:50px;
    font-family:inherit;
    font-size:.85rem;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.filter-btn:hover{
    border-color:#d4a017;
    color:#d4a017;
}

.filter-btn.active{
    background:#1d1535;
    border-color:#1d1535;
    color:#fff;
}


/* ================= PROPERTIES SECTION ================= */

.properties-section{
    padding:70px 0 120px;
    background:#f7f7f5;
}

.properties-container{
    width:90%;
    max-width:1250px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:35px;
}


/* ================= PROPERTY CARD ================= */

.property-card{
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    border:1px solid #eee;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.4s ease;
}

.property-card:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 55px rgba(0,0,0,.13);
}


/* ================= PROPERTY MEDIA ================= */

.property-media{
    position:relative;
    background:#111;
}

.property-badge{
    position:absolute;
    top:20px;
    left:20px;
    z-index:5;
    padding:8px 15px;
    border-radius:30px;
    background:#d4a017;
    color:#fff;
    font-size:.68rem;
    font-weight:700;
    letter-spacing:1px;
}


/* ================= SLIDER ================= */

.slider{
    position:relative;
    width:100%;
    height:390px;
    overflow:hidden;
}

.slides{
    width:100%;
    height:100%;
}

.slide{
    display:none;
    width:100%;
    height:100%;
}

.slide.active{
    display:block;
}

.slide img,
.slide video{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}


/* ================= SLIDER CONTROLS ================= */

.prev,
.next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:4;
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:rgba(29,21,53,.75);
    color:#fff;
    font-size:1.1rem;
    cursor:pointer;
    transition:.3s;
}

.prev{
    left:18px;
}

.next{
    right:18px;
}

.prev:hover,
.next:hover{
    background:#d4a017;
}


/* ================= PHOTO COUNTER ================= */

.photo-counter{
    position:absolute;
    right:18px;
    top:18px;
    z-index:4;
    padding:7px 12px;
    border-radius:20px;
    background:rgba(0,0,0,.55);
    color:#fff;
    font-size:.72rem;
}


/* ================= DOTS ================= */

.dots{
    position:absolute;
    bottom:18px;
    left:50%;
    transform:translateX(-50%);
    z-index:4;
    display:flex;
    gap:6px;
}

.dots span{
    width:7px;
    height:7px;
    border-radius:50%;
    background:rgba(255,255,255,.55);
    cursor:pointer;
}

.dots span.active{
    background:#d4a017;
}


/* ================= PROPERTY INFO ================= */

.property-info{
    padding:32px;
}

.property-type{
    display:inline-block;
    margin-bottom:13px;
    padding:6px 12px;
    border-radius:20px;
    background:#efe3b8;
    color:#806000;
    font-size:.67rem;
    font-weight:700;
    letter-spacing:1px;
}

.property-info h2{
    color:#1d1535;
    font-size:1.8rem;
    line-height:1.2;
    margin-bottom:15px;
}

.property-location{
    display:flex;
    align-items:flex-start;
    gap:9px;
    color:#666;
    font-size:.85rem;
    line-height:1.6;
    margin-bottom:20px;
}

.property-location i{
    color:#d4a017;
    margin-top:4px;
}

.property-description{
    color:#666;
    font-size:.88rem;
    line-height:1.85;
    margin-bottom:25px;
}


/* ================= FEATURES ================= */

.property-features{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:28px;
}

.property-features span{
    display:flex;
    align-items:center;
    gap:7px;
    color:#555;
    font-size:.78rem;
    font-weight:500;
}

.property-features i{
    color:#d4a017;
}


/* ================= PROPERTY BUTTON ================= */

.property-info .btn{
    width:100%;
}


/* ================= NO PROPERTIES ================= */

.no-properties{
    grid-column:1/-1;
    padding:90px 30px;
    text-align:center;
    background:#fff;
    border-radius:25px;
    border:1px solid #eee;
}

.no-properties > i{
    color:#d4a017;
    font-size:3rem;
    margin-bottom:20px;
}

.no-properties h2{
    color:#1d1535;
    margin-bottom:10px;
}

.no-properties p{
    color:#777;
}


/* ================= PROPERTY CTA ================= */

.properties-cta{
    padding:120px 30px;
    text-align:center;
    background:
        linear-gradient(rgba(29,21,53,.94),rgba(29,21,53,.97)),
        url("../img/hero-building.jpg") center/cover no-repeat;
}

.properties-cta-content{
    max-width:750px;
    margin:auto;
}

.properties-cta h2{
    color:#fff;
    font-size:clamp(2.5rem,5vw,4rem);
    line-height:1.1;
    margin-bottom:20px;
}

.properties-cta h2 span{
    color:#d4a017;
}

.properties-cta p{
    color:#ccc;
    margin-bottom:35px;
}


/* ================= HIDDEN FILTERED CARD ================= */

.property-card.hidden{
    display:none;
}


/* ================= MOBILE ================= */

@media(max-width:768px){

    .projects-hero{
        min-height:470px;
        padding:80px 25px;
    }

    .projects-hero h1{
        font-size:2.7rem;
    }

    .projects-hero p{
        font-size:.92rem;
    }

    .property-filter-section{
        padding:35px 20px 10px;
    }

    .property-filter{
        gap:8px;
    }

    .filter-btn{
        padding:10px 17px;
        font-size:.75rem;
    }

    .properties-section{
        padding:50px 0 80px;
    }

    .properties-container{
        width:90%;
        grid-template-columns:1fr;
        gap:25px;
    }

    .slider{
        height:320px;
    }

    .property-info{
        padding:25px;
    }

    .property-info h2{
        font-size:1.55rem;
    }

    .property-description{
        font-size:.85rem;
    }

    .property-features{
        flex-direction:column;
        gap:10px;
    }

    .properties-cta{
        padding:85px 25px;
    }

    .properties-cta h2{
        font-size:2.5rem;
    }

}

@media(max-width:420px){

    .projects-hero h1{
        font-size:2.3rem;
    }

    .slider{
        height:280px;
    }

    .property-info{
        padding:22px;
    }

    .prev,
    .next{
        width:36px;
        height:36px;
    }

}