/* ==========================================================================
   LANDORA INDEX PAGE — Clean Responsive Stylesheet
   Matches new UI design with Bootstrap compatibility
========================================================================== */

:root {
    --primary-green: #0B5E42;
    --primary-green-hover: #084832;
    --primary-green-light: #E8F3EF;
    --accent-orange: #D96B27;
    --accent-orange-light: #FDF0E6;
    --demand-bg: #FCF6F0;
    --demand-border: #F2DEC9;
    --badge-sale: #C83737;
    --badge-rent: #4B5B9C;
    --bg-main: #FAFAFA;
    --bg-white: #FFFFFF;
    --text-dark: #1E242B;
    --text-muted: #5F6B7A;
    --text-light: #8A94A6;
    --border-color: #E6E8EC;
    --shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.05);
    --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);
    --shadow-lg: 0 14px 32px rgba(16, 24, 40, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

.landora-index-main {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: 'Plus Jakarta Sans', 'Noto Sans Myanmar', "Myanmar Text", system-ui, sans-serif;
    line-height: 1.6;
}

.landora-index-main a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.landora-index-main .ld-container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   1. HERO SECTION (SVG Cityscape & Pagoda Illustration)
========================================================================== */
.hero-section {
    position: relative;
    padding: 54px 0 42px;
    overflow: hidden;
}

.hero-illustration {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-illustration svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-header-text {
    text-align: center;
    margin-bottom: 28px;
}

.hero-header-text h1 {
    font-size: 2.35rem;
    font-weight: 700;
    color: #1D232A;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.hero-header-text p {
    font-size: 1.02rem;
    color: #FFFFFF;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
    margin: 0;
}

/* Search Bar */
.hero-search-bar {
    width: 100%;
    max-width: 960px;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 8px 10px 8px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 24px;
}

.search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.search-icon {
    color: #9CA3AF;
    font-size: 1rem;
    flex-shrink: 0;
}

.search-input-group input {
    width: 100%;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: transparent;
    padding: 6px 0;
}

.search-input-group input::placeholder {
    color: #8E98A8;
}

.search-divider {
    width: 1px;
    height: 28px;
    background-color: #E5E7EB;
    flex-shrink: 0;
}

.search-location-group {
    min-width: 155px;
}

.search-location-group select {
    width: 100%;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    color: #374151;
    background-color: transparent;
    cursor: pointer;
    padding: 6px 4px;
}

.btn-filter-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    color: #4B5563;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.btn-filter-toggle:hover {
    background-color: #F3F4F6;
    color: var(--primary-green);
}

.btn-search-submit {
    background-color:#2F4156;
    color: #FFFFFF;
    font-size: 0.98rem;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.btn-search-submit:hover {
    background-color: #161f29;
}

/* Dual Hero Action Cards */
.hero-action-cards {
    width: 100%;
    max-width: 960px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.action-card {
    background-color: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.action-card:hover {
    transform: translateY(-2px);
    background-color: #FFFFFF;
    box-shadow: var(--shadow-lg);
}

.action-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.action-icon-box.green-bg {
    background-color: var(--primary-green);
    color: #FFFFFF;
}

.action-icon-box.orange-bg {
    background-color: var(--accent-orange);
    color: #FFFFFF;
}

.action-card-info {
    flex: 1;
}

.action-card-info h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 2px;
}

.action-card-info p {
    font-size: 0.83rem;
    color: var(--text-muted);
    margin: 0;
}

.action-arrow {
    font-size: 1rem;
}

.green-arrow {
    color: var(--primary-green);
}

.orange-arrow {
    color: var(--accent-orange);
}

/* ==========================================================================
   2. CATEGORY ICON STRIP
========================================================================== */
.category-section {
    padding: 28px 0 12px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 14px;
}

.category-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px 10px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.category-card span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2D3748;
}

.cat-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1rem;
    flex-shrink: 0;
}

.cat-green { background-color: #48A868; }
.cat-orange { background-color: #E67E22; }
.cat-purple { background-color: #6C5CE7; }
.cat-amber { background-color: #F39C12; }
.cat-teal { background-color: #2B8A9E; }
.cat-lime { background-color: #559E44; }
.cat-slate { background-color: #5C768D; }
.cat-crimson { background-color: #C0392B; }

/* ==========================================================================
   3. FEATURED PROPERTIES SECTION
========================================================================== */
.featured-section {
    padding: 32px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
}

.section-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary-green);
    white-space: nowrap;
}

.view-all-link:hover {
    text-decoration: underline;
    color: var(--primary-green-hover);
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.property-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    display: block;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.property-thumb {
    position: relative;
    height: 165px;
    background-color: #F3F4F6;
    overflow: hidden;
}

.property-thumb img,
.prop-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.property-thumb .ld-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #FFFFFF;
    z-index: 2;
}

.ld-badge-sale {
    background-color: var(--badge-sale);
}

.ld-badge-rent {
    background-color: var(--badge-rent);
}

.fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #FFFFFF;
    color: #6B7280;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.fav-btn:hover,
.fav-btn.active {
    color: var(--badge-sale);
}

.fav-btn:disabled {
    cursor: not-allowed;
    opacity: 1;
}

.property-body {
    padding: 16px;
}

.property-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 2.7em;
    margin-bottom: 5px;
    color: var(--text-dark);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
}

.property-price {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.land-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    margin-bottom: 9px;
    padding: 4px 10px;
    border: 1px solid #B9DDC8;
    border-radius: 999px;
    background: #EAF6EE;
    color: #17613B;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.4;
}

.land-type-badge i {
    flex-shrink: 0;
}

.land-type-badge span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-green { background-color: #10B981; }
.dot-blue { background-color: #3B82F6; }
.dot-teal { background-color: #14B8A6; }
.dot-purple { background-color: #8B5CF6; }
.dot-orange { background-color: #F97316; }
.dot-pink { background-color: #EC4899; }
.dot-red { background-color: #EF4444; }
.dot-amber { background-color: #F59E0B; }

.property-specs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #6B7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spec-sep {
    color: #D1D5DB;
}

.property-creator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.creator-avatar {
    display: inline-flex;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-green-light);
    color: var(--primary-green);
    font-size: 0.72rem;
}

.creator-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.creator-details {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.3;
}

.creator-label {
    color: var(--text-muted);
    font-size: 0.68rem;
}

.creator-name {
    overflow: hidden;
    color: var(--text-dark);
    font-size: 0.78rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==========================================================================
   4. CURRENT DEMANDS SECTION
========================================================================== */
.demands-section {
    padding: 12px 0 42px;
}

.demands-wrapper {
    background-color: var(--demand-bg);
    border: 1px solid var(--demand-border);
    border-radius: var(--radius-lg);
    padding: 26px;
}

.demands-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.demands-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.demand-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--accent-orange-light);
    border: 1px solid #F7D4B8;
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.demands-title-group h2 {
    font-size: 1.32rem;
    font-weight: 700;
    color: #C2591A;
    margin: 0 0 2px;
}

.demands-title-group p {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin: 0;
}

.btn-view-demands {
    background-color: #FFFFFF;
    border: 1px solid #EBC9AC;
    color: #C2591A;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-view-demands:hover {
    background-color: var(--accent-orange);
    color: #FFFFFF;
    border-color: var(--accent-orange);
}

.demands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.demand-card {
    background-color: var(--bg-white);
    border: 1px solid #EFE4D8;
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.demand-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.demand-loc {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demand-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px;
    line-height: 1.45;
}

.demand-budget {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 14px;
}

.demand-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-light);
    padding-top: 10px;
    border-top: 1px solid #F3F4F6;
}

.trust-footer {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 32px 0;
}

.trust-footer .ld-container {
    width: 100%;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    justify-content: center;
    gap: 30px 130px;
    align-items: center;
    width: 100%;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-width: 0;
}

.trust-info {
    min-width: 0;
}

.trust-quote {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
    margin-top: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.trust-quote p {
    margin: 0 auto 4px auto;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark, #1e293b);
}

.trust-quote span {
    display: inline-block;
    font-size: 13px;
    color: var(--text-muted, #64748b);
}

@media (max-width: 991px) {
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 40px;
    }

    .trust-quote {
        margin-top: 8px;
        padding-top: 16px;
    }
}

.trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #F3F4F6;
    color: #4B5563;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.trust-icon.check-icon {
    background-color: #E8F3EF;
    color: var(--primary-green);
}

.trust-info {
    display: flex;
    flex-direction: column;
}

.trust-info strong {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
}

.trust-info span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.trust-quote {
    text-align: center;
    padding-left: 16px;
}

.trust-quote p {
    font-size: 0.88rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 2px;
}

.trust-quote span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Toast Notification */
.toast-msg {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #1F2937;
    color: #FFFFFF;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: all 0.25s ease;
    z-index: 2000;
}

.toast-msg.show {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   6. RESPONSIVE MEDIA QUERIES
========================================================================== */
@media (max-width: 1100px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .property-grid,
    .demands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .hero-header-text h1 {
        font-size: 1.9rem;
    }

    .hero-action-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .landora-index-main .ld-container {
        padding: 0 16px;
    }

    .hero-section {
        padding: 36px 0 28px;
    }

    .hero-header-text h1 {
        font-size: 1.5rem;
        line-height: 1.35;
    }

    .hero-header-text p {
        font-size: 0.9rem;
    }

    .hero-search-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        gap: 10px;
    }

    .search-input-group {
        padding: 6px 4px;
        border-bottom: 1px solid #F3F4F6;
    }

    .search-divider {
        display: none;
    }

    .search-location-group {
        width: 100%;
        padding: 4px 0;
    }

    .btn-filter-toggle {
        display: none;
    }

    .btn-search-submit {
        width: 100%;
        padding: 12px;
        text-align: center;
    }

    .action-card {
        padding: 14px 16px;
    }

    .action-icon-box {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .action-card-info h3 {
        font-size: 0.98rem;
    }

    .action-card-info p {
        font-size: 0.78rem;
    }

    .category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .category-card {
        padding: 12px 6px;
        gap: 6px;
    }

    .cat-icon-circle {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    .category-card span {
        font-size: 0.72rem;
    }

    .section-header h2 {
        font-size: 1.15rem;
    }

    .property-grid,
    .demands-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .demands-wrapper {
        padding: 18px 14px;
    }

    .demands-title-group h2 {
        font-size: 1.12rem;
        margin-left: 25px;
    }

    .btn-view-demands {
        width: 100%;
        justify-content: center;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .trust-quote {
        text-align: center;
        padding-left: 0;
    }

    .trust-item {
        gap: 10px;
    }

    .trust-icon {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    .trust-info strong {
        font-size: 0.9rem;
    }

    .trust-info span {
        font-size: 0.72rem;
    }
}
