@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --ink-900: #101828;
    --ink-700: #344054;
    --ink-500: #667085;
    --brand-700: #1f5bd6;
    --brand-600: #2d7dd2;
    --brand-500: #3f8cff;
    --brand-100: #e8f1ff;
    --surface-0: #ffffff;
    --surface-1: #f7f9fc;
    --shadow-1: 0 10px 30px rgba(16, 24, 40, 0.12);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--ink-900);
    background: var(--surface-1);
}

h1, h2, h3, .hero-title {
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.2px;
}
.pre-img {
    width: 140px;
    height: 80px;
}
.box-shadow {
    cursor: pointer;
    box-shadow: var(--shadow-1);
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface-0);
    border: 1px solid rgba(16, 24, 40, 0.08);
}


.box-padding {
    padding: 0 12px;
}

.pchrs {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.img-zoom {
    transition: transform .2s;
}

.img-zoom:hover {
    -ms-transform: scale(1.3);
    /* IE 9 */
    -webkit-transform: scale(1.3);
    /* Safari 3-8 */
    transform: scale(1.3);
}
.logo-img {
    width: 200px;
    height: auto;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
    object-fit: contain;
}
#myNavbar {
    font-size:17px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f4f5ef !important;
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.08);
}
.w3-bar #myNavbar .w3-bar-item {
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
#myNavbar .w3-button {
    color: var(--ink-700);
}
#myNavbar .w3-button:hover {
    background: #e8efe0;
    color: var(--ink-900);
}
#myNavbar .w3-button.w3-blue,
#myNavbar .w3-button.w3-green {
    color: #fff !important;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(31, 90, 158, 0.18);
}
#myNavbar .w3-button.w3-blue:hover {
    background: #1f6fd0 !important;
}
#myNavbar .w3-button.w3-green:hover {
    background: #2e8f3a !important;
}
#myNavbar .fa-heart {
    filter: drop-shadow(0 2px 6px rgba(220, 38, 38, 0.2));
}


.site-nav {
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}
.logo-link {
    display: inline-flex;
    align-items: center;
}
.nav-link {
    color: var(--ink-700);
    border-radius: 10px;
    margin-right: 4px;
}
.nav-link:hover {
    background: var(--brand-100);
    color: var(--brand-700);
}
.nav-cta {
    border-radius: 10px;
    font-weight: 600;
}

.main-sld-img {
    width:100%;
    height: 520px;
    object-fit: cover;
}

.hero-title-highlight {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 999px;
     color: #fff;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.22);
}

.hero-subtitle-highlight {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 14px;
    border-radius: 999px;
     color: #fff;
    font-weight: 600;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.sldimg {
    cursor: pointer;
    margin: auto;
    max-width: 100%;
    height: 350px;
}

.card-img {
    width:100%;
    height:220px;
    object-fit: cover;
}

.icon-img {
    width:29px;
    height:29px;
    margin-left: auto;
    margin-right: auto;
}

.floating-button {
    position: fixed;
    right: 0px;
    bottom: 30px;
    z-index: 1;
}

.floating-button img {
    width: 48px;
    cursor: pointer;
}

.hero {
    position: relative;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 12, 26, 0.35), rgba(9, 12, 26, 0.6));
    z-index: 1;
}
.hero .main-sld-img {
    position: relative;
    z-index: 0;
}
.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: left;
}
.hero-title {
    text-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.92);
    margin-top: 10px;
}

.search-panel {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 20px 50px rgba(16, 24, 40, 0.18);
    border-radius: 16px;
    padding: 6px 0;
}
.input-pill {
    border-radius: 12px !important;
    border: 1px solid rgba(16, 24, 40, 0.12) !important;
    padding: 10px 12px;
}
.hero-search-btn {
    background: var(--brand-600) !important;
    font-weight: 700;
    letter-spacing: 0.2px;
}
.hero-search-btn:hover {
    background: var(--brand-700) !important;
}

.w3-container.w3-padding-64 {
    background: var(--surface-1);
}

.type-tab {
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(16, 24, 40, 0.1);
    margin: 0 4px;
}
.type-tab.w3-blue {
    background: var(--brand-600);
    color: #fff;
    border-color: var(--brand-600);
}

/* Listing cards */
.listing-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.18);
}
.listing-media {
    position: relative;
    background: #0f172a;
}
.listing-image {
    height: 210px;
    width: 100%;
    object-fit: cover;
    display: block;
}
.listing-chip {
    border-radius: 999px;
    padding: 4px 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
}
.listing-fav {
    font-size: 22px;
    color: #fff;
    text-shadow: 0 8px 18px rgba(0,0,0,0.4);
}
.listing-photo-count {
    color: #fff;
    font-weight: 600;
    background: rgba(0,0,0,0.45);
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
}
.listing-body {
    padding: 14px 16px 16px 16px;
}
.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.listing-id {
    font-size: 14px;
    color: var(--ink-500);
    font-weight: 700;
    letter-spacing: 0.4px;
}
.listing-distance {
    font-size: 12px;
    color: #1f8f5f;
    background: rgba(31, 143, 95, 0.12);
    padding: 4px 8px;
    border-radius: 999px;
}
.listing-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}
.listing-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink-900);
}
.listing-price span {
    font-size: 12px;
    color: var(--ink-500);
    font-weight: 600;
}
.listing-type {
    font-size: 12px;
    color: var(--ink-500);
    font-weight: 600;
}
.listing-icons {
    margin: 6px 0 8px 0;
}
.listing-desc {
    color: var(--ink-700);
    margin: 6px 0 10px 0;
}
.listing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.listing-location {
    color: var(--brand-700);
    font-weight: 600;
    max-width: 58%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.listing-btn {
    border-radius: 10px;
    background: var(--brand-600);
    color: #fff;
    border: none;
    padding: 6px 12px;
    font-weight: 600;
}
.listing-btn:hover {
    background: var(--brand-700);
}

/* Story sections */
.story-section {
    max-width: 1100px;
    margin: 0 auto 48px auto;
    padding: 0 16px;
}
.section-head {
    text-align: center;
    margin-bottom: 24px;
}
.section-title {
    color: var(--ink-900);
    margin-bottom: 6px;
}
.section-subtitle {
    color: var(--ink-500);
    font-size: 16px;
}
.chip-row {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--brand-100);
    color: var(--brand-700);
    font-weight: 600;
    font-size: 12px;
}
.info-grid {
    margin-top: 10px;
}
.info-card {
    background: var(--surface-0);
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: var(--shadow-1);
    margin-bottom: 16px;
}
.highlight-card {
    display: flex;
    align-items: center;
    gap: 14px;
}
.highlight-gif {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2d7dd2, #6ea8ff);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 20px;
    animation: pulse 2s infinite;
}
.highlight-title {
    font-weight: 700;
    color: var(--ink-900);
}
.highlight-text {
    color: var(--ink-500);
}
.image-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}
.image-caption {
    margin-top: 10px;
    color: var(--ink-500);
    font-size: 13px;
}
.feature-card {
    text-align: center;
}
.feature-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px auto;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #f1f5ff;
    color: var(--brand-700);
    font-size: 22px;
}
.feature-title {
    font-weight: 700;
    margin-bottom: 6px;
}
.feature-text {
    color: var(--ink-500);
}
.step-list {
    display: grid;
    gap: 12px;
}
.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(16, 24, 40, 0.06);
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.08);
}
.step-chip {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--brand-600);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(45, 125, 210, 0.35); }
    70% { box-shadow: 0 0 0 12px rgba(45, 125, 210, 0); }
    100% { box-shadow: 0 0 0 0 rgba(45, 125, 210, 0); }
}

/* Footer polish */
.site-footer {
    background: linear-gradient(180deg, #f6f8fb, #eef2f7);
    border-top: 1px solid rgba(16, 24, 40, 0.08);
}
.site-footer h4 {
    color: var(--ink-900);
    letter-spacing: 0.3px;
}
.site-footer a.w3-button {
    border-radius: 10px;
}

/* Listing filters */
.listing-page {
    background: var(--surface-1);
}
.listing-page #filter-box.filter-panel {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(16, 24, 40, 0.1);
    border-radius: 16px;
    box-shadow: var(--shadow-1);
    padding: 6px 0;
    margin: 18px 16px 8px 16px;
}
.listing-page #mfilter .w3-select {
    border-radius: 12px !important;
    border: 1px solid rgba(16, 24, 40, 0.12) !important;
    padding: 10px 12px;
    background: #fff;
}
.listing-page #mfilter label.w3-text-white {
    color: var(--ink-700) !important;
}
.listing-page #mfilter .w3-btn.w3-blue {
    background: var(--brand-600) !important;
    border-radius: 12px;
    font-weight: 700;
}
.listing-page #mfilter .w3-btn.w3-blue:hover {
    background: var(--brand-700) !important;
}
.listing-page #filter-box .w3-border.w3-border-blue {
    border-color: var(--brand-600) !important;
    color: var(--brand-600) !important;
    border-radius: 999px;
}
.listing-page #more_search {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: var(--shadow-1);
    margin: 12px 16px;
}
.listing-page #more_search .w3-text-blue {
    color: var(--ink-700) !important;
    font-weight: 600;
}
.listing-page #more_search label {
    color: var(--ink-700);
}
.listing-page #more_search .w3-check {
    accent-color: var(--brand-600);
}
.listing-page #more_search .w3-btn.w3-red {
    border-radius: 999px;
}

/* Property details premium */
.property-page {
    background: var(--surface-1);
}
.property-page .w3-card {
    border-radius: 16px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: var(--shadow-1);
}
.property-page #sldimgs {
    border-radius: 16px;
    overflow: hidden;
}
.property-page .w3-container.w3-text-blue b {
    font-family: 'Playfair Display', serif;
    color: var(--ink-900);
}
.property-page .w3-text-indigo {
    color: var(--ink-700) !important;
}
.property-page .w3-button.w3-black {
    border-radius: 10px;
}
.property-page #imgcnt {
    background: rgba(15, 23, 42, 0.55);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
}
.property-blocks {
    max-width: 1140px;
    margin: 0 auto 36px auto;
    padding: 0 18px;
}
.property-blocks .w3-card {
    margin: 18px 0 !important;
}
.property-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 6px 0;
    padding: 0;
}
.highlight-chip {
    background: var(--brand-100);
    color: var(--brand-700);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
}

.property-summary {
    margin: 12px 0 18px 0;
    padding: 16px 18px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    background: #fff;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 16px;
    box-shadow: var(--shadow-1);
}
.summary-kicker {
    color: var(--ink-500);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.summary-title {
    margin: 0 0 6px 0;
    font-size: 28px;
}
.summary-location {
    color: var(--ink-500);
    margin-bottom: 10px;
}
.summary-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.summary-tag {
    background: #f1f5ff;
    color: var(--brand-700);
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 12px;
}
.summary-side {
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    border: 1px solid rgba(16, 24, 40, 0.06);
}
.summary-label {
    color: var(--ink-500);
    font-size: 12px;
    margin-bottom: 6px;
}
.summary-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--ink-900);
    margin-bottom: 12px;
}
.summary-actions {
    display: grid;
    gap: 8px;
}
.summary-btn {
    border-radius: 12px;
    background: var(--brand-600);
    color: #fff;
    font-weight: 700;
}
.summary-btn.ghost {
    background: #fff;
    color: var(--brand-700);
    border: 1px solid var(--brand-600);
}
.property-page table {
    width: 100%;
    border-collapse: collapse;
}
.property-page table th,
.property-page table td {
    padding: 10px 8px;
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}
.property-page #amin .w3-btn {
    border-radius: 999px;
    font-weight: 600;
}
.property-page #foodtimes .w3-btn,
.property-page #amin .w3-btn {
    margin: 4px 6px 4px 0;
}

/* Small */
@media only screen and (max-width: 600px) {
    #socialnavbar {font-size: 13px;}
    #socialnavbar>.w3-button {
        padding: 8px 8px;
    }
    .icon-img {
        width:26px;
        height:26px;
    }
    .main-sld-img {
        height: 420px;
    }
    .hero-overlay {
        width: 90% !important;
        text-align: center;
    }
    .search-panel {
        position: static !important;
        margin: 12px;
    }
    #filter-box {
        position: static !important;
        transform: none !important;
    }
    .listing-image {
        height: 190px;
    }
    .property-highlights {
        justify-content: center;
    }
    .property-summary {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Medium */
@media only screen and (min-width:601px) and (max-width: 992px) {
    #socialnavbar {font-size: 13px;}
    #socialnavbar>.w3-button {
        padding: 8px 10px;
    }
    .icon-img {
        width:26px;
        height:26px;
    }
    .main-sld-img {
        height: 480px;
    }
    .hero-overlay {
        width: 80% !important;
    }
}
