/* ══════════════════════════════════════════════════════════════
   Homepage — Project Listings
══════════════════════════════════════════════════════════════ */

/* ── Nav links ─────────────────────────────────────────────── */
.sgnl-nav-links {
    display: flex;
    gap: 28px;
    flex: 1;
    justify-content: center;
}

.sgnl-nav-links a {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(240,236,228,0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.sgnl-nav-links a:hover {
    color: #c8aa64;
}

/* ── Home hero ──────────────────────────────────────────────── */
.sgnl-home-hero {
    padding: 80px 40px 64px;
    background: linear-gradient(to bottom, #111008, #0d0d0d);
}

.sgnl-home-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.sgnl-home-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    color: #f0ece4;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.sgnl-home-subtitle {
    font-size: 16px;
    color: rgba(240,236,228,0.5);
    max-width: 520px;
    line-height: 1.8;
    margin: 0;
}

/* ── Filters bar ────────────────────────────────────────────── */
.sgnl-filters-bar {
    background: #0a0905;
    border-bottom: 1px solid rgba(200,170,100,0.12);
    padding: 20px 40px;
    position: sticky;
    top: 64px;
    z-index: 90;
}

.sgnl-filters-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.sgnl-filters-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
}

.sgnl-filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sgnl-filter-label {
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(200,170,100,0.5);
}

.sgnl-filter-select {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(200,170,100,0.2);
    color: rgba(240,236,228,0.7);
    padding: 8px 32px 8px 12px;
    font-size: 12px;
    font-family: Georgia, serif;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23c8aa64' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    min-width: 150px;
    transition: border-color 0.2s;
}

.sgnl-filter-select:focus {
    outline: none;
    border-color: rgba(200,170,100,0.5);
}

.sgnl-filter-select option {
    background: #1a1810;
    color: #f0ece4;
}

.sgnl-filter-clear {
    font-size: 11px;
    color: rgba(200,170,100,0.5);
    text-decoration: none;
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(200,170,100,0.25);
    padding-bottom: 1px;
    transition: color 0.2s;
    align-self: flex-end;
    margin-bottom: 1px;
}

.sgnl-filter-clear:hover {
    color: #c8aa64;
}

.sgnl-results-count {
    font-size: 11px;
    color: rgba(240,236,228,0.3);
    letter-spacing: 0.08em;
    margin-left: auto;
    white-space: nowrap;
}

/* ── Projects grid ──────────────────────────────────────────── */
.sgnl-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2px;
}

/* ── Project card ───────────────────────────────────────────── */
.sgnl-project-card {
    background: #0f0f0c;
    border: 1px solid rgba(200,170,100,0.1);
    transition: border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sgnl-project-card:hover {
    border-color: rgba(200,170,100,0.35);
}

.sgnl-card-img-wrap {
    position: relative;
    display: block;
    height: 240px;
    overflow: hidden;
    background: #1a1810;
    text-decoration: none;
}

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

.sgnl-project-card:hover .sgnl-card-img {
    transform: scale(1.04);
}

.sgnl-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(200,170,100,0.25);
    font-size: 12px;
    letter-spacing: 0.1em;
}

.sgnl-card-status {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 12px;
    font-family: Georgia, serif;
}

.status-selling {
    background: rgba(37,211,102,0.15);
    color: #25D366;
    border: 1px solid rgba(37,211,102,0.3);
}

.status-upcoming {
    background: rgba(200,170,100,0.12);
    color: #c8aa64;
    border: 1px solid rgba(200,170,100,0.25);
}

.status-sold {
    background: rgba(255,255,255,0.06);
    color: rgba(240,236,228,0.4);
    border: 1px solid rgba(255,255,255,0.1);
}

.sgnl-card-avail {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(13,13,13,0.8);
    color: #25D366;
    font-size: 10px;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    backdrop-filter: blur(4px);
}

/* ── Card body ──────────────────────────────────────────────── */
.sgnl-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sgnl-card-district {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(200,170,100,0.55);
    margin-bottom: 8px;
}

.sgnl-card-title {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 6px;
}

.sgnl-card-title a {
    color: #f0ece4;
    text-decoration: none;
    transition: color 0.2s;
}

.sgnl-card-title a:hover {
    color: #c8aa64;
}

.sgnl-card-dev {
    font-size: 12px;
    color: rgba(240,236,228,0.4);
    margin-bottom: 20px;
    letter-spacing: 0.03em;
}

.sgnl-card-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-wrap: wrap;
}

.sgnl-card-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sgnl-card-stat-val {
    font-size: 14px;
    color: #f0ece4;
    font-family: Georgia, serif;
}

.sgnl-card-stat-lbl {
    font-size: 10px;
    color: rgba(240,236,228,0.35);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ── Card action buttons ────────────────────────────────────── */
.sgnl-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.sgnl-card-btn-details {
    flex: 1;
    text-align: center;
    padding: 11px 16px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c8aa64 !important;
    border: 1px solid rgba(200,170,100,0.35);
    text-decoration: none !important;
    transition: all 0.2s;
    font-family: Georgia, serif;
}

.sgnl-card-btn-details:hover {
    border-color: #c8aa64;
    background: rgba(200,170,100,0.06);
    opacity: 1;
}

.sgnl-card-btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 16px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: #25D366;
    color: #fff !important;
    text-decoration: none !important;
    transition: background 0.2s;
    font-family: Georgia, serif;
    white-space: nowrap;
}

.sgnl-card-btn-wa:hover {
    background: #1fb855;
    opacity: 1;
}

/* ── No results ─────────────────────────────────────────────── */
.sgnl-no-results {
    text-align: center;
    padding: 80px 20px;
    color: rgba(240,236,228,0.4);
}

.sgnl-no-results p {
    font-size: 18px;
    margin-bottom: 24px;
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .sgnl-home-hero { padding: 52px 20px 44px; }
    .sgnl-filters-bar { padding: 16px 20px; top: 56px; }
    .sgnl-filters-form { gap: 8px; }
    .sgnl-filter-select { min-width: 120px; font-size: 11px; }
    .sgnl-projects-grid { grid-template-columns: 1fr; }
    .sgnl-nav-links { display: none; }
    .sgnl-results-count { display: none; }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .sgnl-projects-grid { grid-template-columns: repeat(2, 1fr); }
}

.sgnl-nav-active {
    color: #c8aa64 !important;
}

/* Force custom select styling — override browser defaults */
.sgnl-filters-bar .sgnl-filter-select {
    background-color: #0a0905 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23c8aa64' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    border: 1px solid rgba(200,170,100,0.25) !important;
    color: rgba(240,236,228,0.7) !important;
    padding: 8px 36px 8px 12px !important;
    font-size: 12px !important;
    font-family: Georgia, serif !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    border-radius: 0 !important;
    min-width: 150px;
    outline: none !important;
}

.sgnl-filters-bar .sgnl-filter-select:focus {
    border-color: rgba(200,170,100,0.55) !important;
    box-shadow: none !important;
}

.sgnl-filters-bar .sgnl-filter-select option {
    background: #111008 !important;
    color: #f0ece4 !important;
}