/* Residential Properties Page */

/* Page Banner */
.page-banner {
    position: relative;
    padding: 150px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FDB827;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    justify-content: center;
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;
    background: transparent;
    font-size: 0.9rem;
}

.breadcrumb-item {
    padding: 0 0.5rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #FDB827;
}

.breadcrumb-item.active {
    color: #FDB827;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: rgba(255, 255, 255, 0.5);
    padding-right: 0.5rem;
}

/* Properties Section */
.properties-section {
    padding: 80px 0; /* Reset horizontal padding */
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin: 0 auto 50px;
    max-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-title h2,
.section-title p {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.section-title .subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #FDB827;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 auto 15px;
    color: #23120B;
    text-align: center;
    max-width: 100%;
}

.section-title p {
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    text-align: center;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Property Filters */
.property-filters {
    margin-bottom: 40px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.filter-group {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #23120B;
}

.filter-group .form-select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background-color: #fff;
    font-size: 0.95rem;
    color: #495057;
    transition: all 0.3s ease;
}

.filter-group .form-select:focus {
    border-color: #FDB827;
    box-shadow: 0 0 0 0.25rem rgba(253, 184, 39, 0.25);
    outline: none;
}

/* Property Grid */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.property-item {
    height: 100%;
    min-width: 0;
    /* background: #fff; */
    /* border-radius: 8px; */
    /* overflow: hidden; */
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); */
    /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

.property-item:hover {
    /* transform: translateY(-5px); */
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); */
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin: 60px 0 20px;
    width: 100%;
}

.pagination {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.page-item {
    margin: 0;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #23120B;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: #fff;
    white-space: nowrap;
}

.page-link:hover {
    background-color: #f8f9fa;
    border-color: #FDB827;
    color: #FDB827;
}

.page-item.active .page-link {
    background-color: #FDB827;
    border-color: #FDB827;
    color: #fff;
    font-weight: 600;
}

.page-item.disabled .page-link {
    color: #adb5bd;
    background-color: #f8f9fa;
    border-color: #e9ecef;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .pagination {
        gap: 5px;
    }
    
    .page-link {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 0.9rem;
    }

    .property-grid {
        gap: 15px;
        padding: 0 10px;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .properties-section {
        padding: 60px 0;
    }
    
    .filter-group {
        min-width: 160px;
    }
}

@media (max-width: 768px) {
    .properties-section {
        padding: 40px 0;
    }

    .property-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 0 15px;
    }
    
    .filter-options {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-group {
        max-width: 100%;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .banner-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .property-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .banner-content h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .property-filters {
        margin-bottom: 30px;
    }
}
