/* ============================
   Projects Page - Advanced Filter
   Wide & Clean Design
   ============================ */

:root {
    --filter-gold: #B8985D;
    --filter-gold-light: #D4AF77;
    --filter-gold-bg: rgba(184, 152, 93, 0.08);
    --filter-border: #e8e8e8;
    --filter-bg: #fafafa;
}

/* Page Body */
.projects-page-body {
    background-color: #f5f5f5;
    padding-top: 80px;
    min-height: 100vh;
}

/* Navbar */
.navbar-projects {
    background-color: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.navbar-projects .nav-link {
    color: #333 !important;
    font-weight: 500;
}

.navbar-projects .nav-link:hover,
.navbar-projects .nav-link.active {
    color: var(--filter-gold) !important;
}

.navbar-projects .navbar-brand img {
    filter: none;
}

/* Page Header */
.projects-page-header {
    background: linear-gradient(180deg, #1a1a1a 0%, #403f3f 100%);
    position: relative;
    padding: 100px 0 50px;
    background-image: url('../images/bg-section.png');
    background-size: cover;
    background-position: center;

}

.projects-page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width:100%;
    height: 100% !important;
    height: 2px;
    background: #000000da;
}

.page-header-content {
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.projects-page-header .container {
    overflow: hidden;
}

.projects-page-header .breadcrumb {
    justify-content: center;
    margin-top: 15px;
    background: none;
    padding: 0;
}

.projects-page-header .breadcrumb-item a {
    color: var(--filter-gold-light);
    text-decoration: none;
    font-size: 14px;
}

.projects-page-header .breadcrumb-item.active {
    color: rgba(255,255,255,0.7);
}

.projects-page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

.projects-page-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    font-family: var(--font-secondary);
}

.projects-page-header p {
    display: none;
}

/* ============================
   MAIN LAYOUT - Side by Side
   ============================ */
.projects-main-section {
    padding: 30px 0 60px;
}

.projects-layout {
    display: flex;
    gap: 30px;
    flex-direction: row-reverse;
}

/* ============================
   FILTER SIDEBAR - CLEAN MODERN DESIGN
   ============================ */
.filter-sidebar-wrapper {
    width: 280px;
    min-width: 280px;
    flex-shrink: 0;
}

.filter-sidebar {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    position: sticky;
    top: 100px;
    border: 1px solid #f0f0f0;
    max-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
}

/* Filter Content - Scrollable */
.filter-content {
    padding: 0;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: #ddd #f5f5f5;
}

.filter-content::-webkit-scrollbar {
    width: 5px;
}

.filter-content::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.filter-content::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.filter-content::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

/* Filter Header */
.filter-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    border-bottom: 1px solid #eee;
    border-radius: 12px 12px 0 0;
    flex-shrink: 0;
}

.filter-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-sidebar-header h3 {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-secondary);
}

.filter-sidebar-header h3 i {
    font-size: 13px;
    color: var(--filter-gold);
}

.btn-close-filter {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 8px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-close-filter:hover {
    background: #eee;
    color: #333;
}

.btn-reset-filters {
    background: none;
    border: none;
    color: var(--filter-gold);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-reset-filters:hover {
    background: var(--filter-gold-bg);
}


/* Filter Groups */
.filter-group {
    padding: 18px 20px;
    border-bottom: 1px solid #f5f5f5;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-title {
    font-size: 14px;
    font-weight: 700;
    font-style: italic;
    color: #333;
    margin-bottom: 14px;
    display: block;
}

/* ============================
   FILTER LIST - Clean Checkbox Design
   ============================ */
.filter-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 1px solid #f8f8f8;
    position: relative;
}

.filter-item:last-child {
    border-bottom: none;
}

.filter-item:hover {
    background: transparent;
}

.filter-item input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.filter-checkbox {
    width: 18px;
    height: 18px;
    min-width: 18px;
    background: #fff;
    border: 2px solid #d0d0d0;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.filter-item:hover .filter-checkbox {
    border-color: var(--filter-gold);
}

.filter-item input:checked ~ .filter-checkbox {
    background: var(--filter-gold);
    border-color: var(--filter-gold);
}

.filter-checkbox::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.filter-item input:checked ~ .filter-checkbox::after {
    opacity: 1;
}

.filter-label {
    flex: 1;
    font-size: 14px;
    color: #444;
    font-weight: 400;
    line-height: 1.4;
}

.filter-count {
    font-size: 13px;
    color: var(--filter-gold);
    font-weight: 600;
    min-width: 20px;
    text-align: left;
}

/* ============================
   DROPDOWN - Location Select
   ============================ */
.filter-dropdown-wrapper {
    position: relative;
}

.filter-dropdown {
    width: 100%;
    padding: 12px 40px 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.filter-dropdown:focus {
    outline: none;
    border-color: var(--filter-gold);
    box-shadow: 0 0 0 3px rgba(184, 152, 93, 0.1);
}

.filter-dropdown:hover {
    border-color: #bbb;
}

.filter-dropdown-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 11px;
    pointer-events: none;
}

/* ============================
   RANGE SLIDER - Modern Design with noUiSlider
   ============================ */
.range-slider-wrapper {
    padding: 8px 0;
}

.range-values {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

.range-values span {
    font-size: 13px;
    color: #333;
    font-weight: 600;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 6px;
    min-width: 90px;
    text-align: center;
    border: 1px solid #eee;
}

.range-values .range-separator {
    color: #bbb;
    font-weight: 400;
    background: transparent;
    border: none;
    padding: 0;
    min-width: auto;
}

/* noUiSlider Base - Override all defaults */
#priceSlider.noUi-target,
#areaSlider.noUi-target,
.filter-group .noUi-target {
    background: #e5e5e5 !important;
    border: none !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    height: 6px !important;
    margin: 15px 0 !important;
}

#priceSlider .noUi-base,
#areaSlider .noUi-base,
#priceSlider .noUi-connects,
#areaSlider .noUi-connects,
.filter-group .noUi-base,
.filter-group .noUi-connects {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    z-index: 1 !important;
    border-radius: 4px !important;
}

/* Connected Range (Gold Fill) - High specificity */
#priceSlider .noUi-connect,
#areaSlider .noUi-connect,
.filter-group .noUi-connect {
    background: #B8985D !important;
    height: 100% !important;
    border-radius: 4px !important;
    top: 0 !important;
    bottom: 0 !important;
}

/* Slider Handles */
#priceSlider .noUi-handle,
#areaSlider .noUi-handle,
.filter-group .noUi-horizontal .noUi-handle {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 2px solid #B8985D !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2) !important;
    cursor: grab !important;
    top: -6px !important;
}

#priceSlider .noUi-handle:hover,
#areaSlider .noUi-handle:hover,
.filter-group .noUi-horizontal .noUi-handle:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 2px 8px rgba(184, 152, 93, 0.4) !important;
}

#priceSlider .noUi-handle::before,
#priceSlider .noUi-handle::after,
#areaSlider .noUi-handle::before,
#areaSlider .noUi-handle::after,
.filter-group .noUi-handle::before,
.filter-group .noUi-handle::after,
.noUi-handle::before,
.noUi-handle::after {
    display: none !important;
    content: none !important;
    background: transparent !important;
    width: 0 !important;
    height: 0 !important;
}

.filter-group .noUi-handle:focus {
    outline: none !important;
}

/* Origin positioning fix */
#priceSlider .noUi-origin,
#areaSlider .noUi-origin,
.filter-group .noUi-origin {
    height: 0 !important;
}

/* Ensure connects container fills track */
#priceSlider .noUi-connects,
#areaSlider .noUi-connects {
    border-radius: 4px !important;
    overflow: hidden !important;
}

/* Pips and tooltips hidden */
.noUi-pips,
.noUi-tooltip {
    display: none !important;
}



/* ============================
   PROJECTS CONTENT AREA
   ============================ */
.projects-content-wrapper {
    flex: 1;
    min-width: 0;
}

/* ============================
   TOP TABS BAR - Like Image
   ============================ */
.projects-tabs-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 0;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    overflow: hidden;
}

.tabs-wrapper {
    display: flex;
    flex: 1;
}

.project-type-tab {
    flex: 1;
    padding: 18px 30px;
    border: none;
    background: #fff;
    font-size: 16px;
    font-weight: 700;
    color: #888;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    font-family: var(--font-primary);
}

.project-type-tab:hover {
    color: #333;
    background: #fafafa;
}

.project-type-tab.active {
    color: var(--filter-gold);
    background: #fff;
}

.project-type-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--filter-gold);
}

.project-type-tab:not(:last-child) {
    border-left: 1px solid #f0f0f0;
}

.results-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
    border-right: 1px solid #eee;
}

.results-badge span:first-child {
    font-size: 32px;
    font-weight: 900;
    color: #333;
    line-height: 1;
}

.results-badge .badge-label {
    font-size: 13px;
    font-weight: 600;
    color: #22c55e;
}

/* Top Bar */
.projects-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 12px 20px;
    border-radius: 0;
    margin-bottom: 24px;
    border: 1px solid #e5e5e5;
    border-left: none;
    border-right: none;
}

.results-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.results-count {
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

.results-count strong {
    color: #333;
    font-weight: 700;
    font-size: 16px;
}

.sort-dropdown .form-select {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 35px 8px 15px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    min-width: 120px;
    background-color: #fff;
    transition: all 0.2s ease;
}

.sort-dropdown .form-select:focus {
    border-color: var(--filter-gold);
    box-shadow: none;
    outline: none;
}

/* View Tabs */
.view-tabs {
    display: flex;
    gap: 0;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 4px;
}

.view-tab {
    padding: 10px 24px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    border-radius: 6px;
}

.view-tab:hover {
    color: #333;
    background: rgba(255,255,255,0.5);
}

.view-tab.active {
    background: var(--filter-gold);
    color: #fff;
    box-shadow: 0 2px 8px rgba(184, 152, 93, 0.3);
}

.btn-mobile-filter {
    display: none;
    position: fixed;
    bottom: 100px;
    left: 20px;
    z-index: 1001;
    background: var(--primary-gold);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.btn-mobile-filter:hover {
    background: var(--secondary-gold);
}

.btn-mobile-filter:active {
    opacity: 0.9;
}

.btn-mobile-filter i {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================
   PROJECTS GRID
   ============================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Project Card */
.project-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.project-card-inner {
    display: block;
    text-decoration: none;
    color: inherit;
}

.project-card .project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.project-badges .badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.badge-status {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
}

.badge-status.status-construction {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.badge-status.status-booking {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.badge-status.status-sold {
    background: linear-gradient(135deg, #800020, #a52a2a);
}

.badge-type {
    background: rgba(0,0,0,0.6);
    color: #fff;
    backdrop-filter: blur(4px);
}

.btn-favorite {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    color: #bbb;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.btn-favorite:hover {
    background: #fff;
    color: #ef4444;
    transform: scale(1.1);
}

.btn-favorite.active {
    color: #ef4444;
}

/* Project Info */
.project-info {
    padding: 20px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.project-title-wrap {
    flex: 1;
}

.project-type {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--filter-gold);
    background: var(--filter-gold-bg);
    padding: 4px 10px;
    border-radius: 5px;
    margin-bottom: 6px;
}

.project-name {
    font-size: 16px;
    font-weight: 800;
    color: #222;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-developer {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin-right: 10px;
}

.project-developer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.project-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

.project-location i {
    color: var(--filter-gold);
    font-size: 11px;
}

.project-price {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    color: #222;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.project-price i {
    color: var(--filter-gold);
    font-size: 12px;
}

.project-features {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.project-features .feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
}

.project-features .feature i {
    color: var(--filter-gold);
    font-size: 14px;
}

.project-features .feature span {
    font-weight: 700;
}

/* ============================
   PAGINATION
   ============================ */
.projects-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}

.pagination-btn {
    min-width: 45px;
    height: 45px;
    border: 2px solid #eee;
    background: #fff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--filter-gold);
    color: var(--filter-gold);
}

.pagination-btn.active {
    background: var(--filter-gold);
    border-color: var(--filter-gold);
    color: #fff;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ============================
   MOBILE FILTER OVERLAY
   ============================ */
.mobile-filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-filter-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================
   WHATSAPP & SCROLL TOP
   ============================ */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    left: 25px;
    width: 55px;
    height: 55px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    left: 25px;
    width: 50px;
    height: 50px;
    background: var(--filter-gold);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(184, 152, 93, 0.4);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-4px);
}

/* ============================
   FOOTER
   ============================ */
.footer-section {
    background: #1a1a1a;
    padding: 30px 0;
    margin-top: 50px;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    margin: 0;
    font-size: 14px;
}

/* ============================
   LIST VIEW
   ============================ */
.projects-grid.list-view {
    grid-template-columns: 1fr;
    gap: 16px;
}

.projects-grid.list-view .project-card {
    display: flex;
}

.projects-grid.list-view .project-card .project-image {
    width: 300px;
    min-width: 300px;
    height: auto;
    min-height: 200px;
}

.projects-grid.list-view .project-card .project-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
}

.projects-grid.list-view .project-features {
    justify-content: flex-start;
    gap: 25px;
}

/* ============================
   NO RESULTS
   ============================ */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 30px;
    background: #fff;
    border-radius: 16px;
}

.no-results i {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 25px;
}

.no-results h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.no-results p {
    color: #888;
    margin-bottom: 25px;
    font-size: 15px;
}

.no-results .btn-reset {
    background: var(--filter-gold);
    color: #fff;
    border: none;
    padding: 14px 35px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.no-results .btn-reset:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(184, 152, 93, 0.35);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1400px) {
    .filter-sidebar-wrapper {
        width: 260px;
        min-width: 260px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1200px) {
    .filter-sidebar-wrapper {
        width: 250px;
        min-width: 250px;
    }
    
    .filter-group {
        padding: 16px 18px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .projects-page-body {
        padding-top: 70px;
    }
    
    .filter-sidebar-wrapper {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        z-index: 1050;
        transition: right 0.35s ease;
    }
    
    .filter-sidebar-wrapper.active {
        right: 0;
    }
    
    .filter-sidebar {
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        border: none;
        display: flex;
        flex-direction: column;
    }
    
    .filter-sidebar .filter-sidebar-header {
        flex-shrink: 0;
        border-radius: 0;
    }
    
    .filter-sidebar .filter-content {
        flex: 1;
        overflow-y: auto;
        padding-bottom: 20px;
    }
    
    .btn-mobile-filter {
        display: flex;
        bottom: 100px;
        left: 18px;
        width: 58px;
        height: 58px;
        font-size: 19px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .projects-grid.list-view {
        grid-template-columns: 1fr;
    }
    
    .projects-grid.list-view .project-card {
        flex-direction: column;
    }
    
    .projects-grid.list-view .project-card .project-image {
        width: 100%;
        min-width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .projects-page-header {
        padding: 80px 15px 40px;
        overflow: hidden;
    }
    
    .projects-page-header h1 {
        font-size: 24px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .projects-page-header .breadcrumb {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 5px;
    }
    
    .projects-page-header .breadcrumb::-webkit-scrollbar {
        display: none;
    }
    
    .projects-page-header .breadcrumb-item {
        white-space: nowrap;
        font-size: 12px;
    }
    
    .projects-top-bar {
        flex-wrap: wrap;
        gap: 15px;
        padding: 16px 20px;
    }
    
    .results-info {
        width: 100%;
        justify-content: center;
    }
    
    .view-options {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .sort-dropdown {
        order: 3;
        width: 100%;
    }
    
    .sort-dropdown .form-select {
        width: 100%;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .project-card .project-image {
        height: 160px;
    }
    
    .project-info {
        padding: 16px;
    }
    
    .project-name {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .project-card .project-image {
        height: 200px;
    }
    
    .project-info {
        padding: 18px;
    }
    
    .btn-mobile-filter {
        bottom: 100px;
        left: 15px;
        width: 56px;
        height: 56px;
        font-size: 18px;
    }
}

/* ============================
   ANIMATIONS
   ============================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card {
    animation: fadeInUp 0.5s ease forwards;
}

.project-card:nth-child(1) { animation-delay: 0.05s; }
.project-card:nth-child(2) { animation-delay: 0.1s; }
.project-card:nth-child(3) { animation-delay: 0.15s; }
.project-card:nth-child(4) { animation-delay: 0.2s; }
.project-card:nth-child(5) { animation-delay: 0.25s; }
.project-card:nth-child(6) { animation-delay: 0.3s; }


/* ============================
   UNITS PAGINATION
   ============================ */
.units-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 50px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.units-pagination .pagination-info {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.units-pagination .pagination-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.units-pagination .pagination-btn {
    min-width: 42px;
    height: 42px;
    border: 2px solid #eee;
    background: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.units-pagination .pagination-btn:hover:not(:disabled):not(.disabled) {
    border-color: var(--filter-gold);
    color: var(--filter-gold);
}

.units-pagination .pagination-btn.active {
    background: var(--filter-gold);
    border-color: var(--filter-gold);
    color: #fff;
}

.units-pagination .pagination-btn:disabled,
.units-pagination .pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.units-pagination .pagination-dots {
    color: #999;
    font-size: 14px;
    padding: 0 5px;
}

@media (max-width: 576px) {
    .units-pagination {
        padding: 15px;
    }
    
    .units-pagination .pagination-btn {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}
