﻿:root {
    --nawy-blue: #004a87;
    --nawy-text: #333333;
    --nawy-border: #e6e6e6;
    --nawy-bg: #f8f9fa;
    --nawy-orange: #f2a900;
    --teal: #2c7a7b;
    --teal-light: #e0f4f4;
    --ink: #1a2b2b;
    --muted: #6b8080;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 40px 20px;
    color: var(--nawy-text);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    color: #2c7a7b;
    font-size: 24px;
    font-weight: 800;
    /*    margin-bottom: 25px;*/
    padding-bottom: 0px;
    text-align: start;
}

/* --- Main Search Bar --- */
.search-container {
    position: relative;
    margin-bottom: 15px;
}

    .search-container i {
        position: absolute;
        left: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
    }

.main-search {
    width: 100%;
    padding: 16px 16px 16px 50px;
    border: 1px solid var(--nawy-border);
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}

/* --- Custom Filters Bar --- */
.filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.filter-item {
    position: relative;
}

.filter-trigger {
    padding: 10px 20px;
    border: 1px solid var(--nawy-border);
    border-radius: 25px;
    background-color: var(--nawy-bg);
    color: #555;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 130px;
    justify-content: space-between;
}

/* The Hidden Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    width: 280px;
    background: white;
    border: 1px solid var(--nawy-border);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 15px;
}

    .dropdown-menu.show {
        display: block;
    }

/* Search Inside Dropdown */
.inner-search {
    position: relative;
    margin-bottom: 10px;
}

    .inner-search input {
        width: 100%;
        padding: 10px 10px 10px 35px;
        border: 1px solid var(--nawy-border);
        border-radius: 8px;
        font-size: 13px;
        outline: none;
        box-sizing: border-box;
    }

    .inner-search i {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #bbb;
        font-size: 12px;
    }

/* Tag bubbles */
.tags-area {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.tag {
    background: #fff;
    border: 1px solid var(--nawy-border);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

    .tag i {
        cursor: pointer;
        color: #999;
    }

/* Checkbox List */
.checkbox-list {
    max-height: 200px;
    overflow-y: auto;
    border-top: 1px solid #f5f5f5;
    padding-top: 10px;
}

.check-row {
    display: flex;
    align-items: center;
    padding: 8px 5px;
    cursor: pointer;
    font-size: 14px;
}

    .check-row:hover {
        background: #fcfcfc;
    }

    .check-row input {
        margin-right: 12px;
        width: 17px;
        height: 17px;
        accent-color: var(--nawy-blue);
    }

/* --- Property Grid --- */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.card {
    border: 1px solid var(--nawy-border);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.card-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
}

.contact-btns {
    display: flex;
    gap: 8px;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-phone {
    background: #f0f5f9;
    color: var(--nawy-blue);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.offer-text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

    .offer-text span {
        color: var(--nawy-orange);
        font-weight: 800;
    }

.card-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 13px;
    cursor: pointer;
}

.empty-state {
    text-align: center;
    padding: 70px 20px;
    color: var(--muted);
}

    .empty-state .empty-icon {
        width: 80px;
        height: 80px;
        background: var(--teal-light);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        font-size: 2rem;
        color: var(--teal);
    }

    .empty-state h5 {
        font-family: 'Playfair Display', serif;
        font-weight: 700;
        font-size: 1.3rem;
        color: var(--ink);
        margin-bottom: 8px;
    }

    .empty-state p {
        font-size: .9rem;
    }