:root{
    --primary:#042759;
    --secondary:#1f3c88;
    --accent:#ff9800;
    --glass:rgba(255,255,255,0.15);
    --blur:blur(14px);
}
/* RESET */
body{
    margin:0;
    font-family:'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* HERO */
.hero-search{
    position:relative;
    min-height:560px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:1rem;
}
/* CARD */
.search-card{
    width:100%;
    max-width:900px;
    background:var(--glass);
    backdrop-filter:var(--blur);
    border-radius:24px;
    padding:2.4rem;
    box-shadow:0 25px 60px rgba(0,0,0,.35);
}

/* SEO TEXT */
.hero-heading{
    text-align:center;
    color:#fff;
    margin-bottom:1.6rem;
}
.hero-heading h1{
    font-size:1.85rem;
    font-weight:600;
    line-height:1.35;
    margin:0;
    min-height:2.6em;
}
.hero-heading p{
    margin-top:.5rem;
    font-size:.95rem;
    opacity:.95;
}

/* TABS */
.search-tabs{
    display:flex;
    justify-content:center;
    gap:1rem;
    margin-bottom:1.6rem;
    flex-wrap:wrap;
}
.tab-btn{
    border:none;
    background:rgba(4,39,89,.9);
    color:#fff;
    padding:.6rem 1.6rem;
    border-radius:50px;
    font-weight:500;
    cursor:pointer;
    transition:.25s;
}
.tab-btn.active,
.tab-btn:hover{
    background:var(--accent);
    color:#042759;
}

/* SEARCH */
.search-box{
    position:relative;
}
.search-box input{
    width:100%;
    padding:1rem 3.2rem 1rem 1.2rem;
    border-radius:14px;
    border:none;
    font-size:1rem;
    outline:none;
}
.search-box i{
    position:absolute;
    right:16px;
    top:50%;
    transform:translateY(-50%);
    color:var(--secondary);
}

/* RESULTS WRAPPER (CRITICAL – DO NOT CHANGE STRUCTURE) */
#show-list{
    margin-top:1.2rem;
    width:100%;
    max-width:100%;
    overflow:hidden;
}

/* GRID – MATCHES AJAX HTML */
.results-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:1.5rem;
}

/* RESULT CARD (MATCHES AJAX OUTPUT) */
.result-card{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 15px 35px rgba(0,0,0,.12);
    transition:.3s;
}
.result-card:hover{
    transform:translateY(-6px);
    box-shadow:0 25px 55px rgba(0,0,0,.2);
}

/* IMAGE */
.result-img{
    height:190px;
    overflow:hidden;
}
.result-img img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* CONTENT */
.result-content{
    padding:1.2rem;
}
.result-title{
    font-size:1.05rem;
    font-weight:600;
    color:#042759;
}
.result-location{
    font-size:.85rem;
    color:#777;
    margin-top:.25rem;
}

/* META */
.result-meta{
    display:flex;
    justify-content:space-between;
    margin-top:.8rem;
}
.rating{
    background:#f1f4ff;
    padding:.3rem .7rem;
    border-radius:50px;
    font-size:.8rem;
}
.price{
    color:#ff5722;
    font-weight:600;
}

/* BUTTON */
.result-btn{
    display:block;
    margin-top:1rem;
    text-align:center;
    padding:.6rem;
    border-radius:12px;
    background:#042759;
    color:#fff;
    text-decoration:none;
}

/* SKELETON (STRUCTURE-COMPATIBLE) */
.card-skeleton{
    height:320px;
    border-radius:22px;
    background:linear-gradient(90deg,#eee 25%,#f5f5f5 37%,#eee 63%);
    background-size:400% 100%;
    animation:shimmer 1.4s infinite;
}
@keyframes shimmer{
    from{background-position:-400px 0;}
    to{background-position:400px 0;}
}

/* MOBILE */
@media(max-width:600px){
    .search-card{padding:1.6rem;}
    .hero-heading h1{font-size:1.35rem;}
}

.hero-subtext{
    text-align:center;
    color:#fff;
    font-size:.95rem;
    opacity:.9;
    margin-top:.8rem;
}
.hero-cta{
    display:flex;
    justify-content:center;
    margin-top:1.4rem;
}

.primary-cta{
    background:linear-gradient(135deg,#ff9800,#ff5722);
    color:#fff;
    border:none;
    padding:0.85rem 1.6rem;
    border-radius:999px;
    font-size:0.95rem;
    font-weight:600;
    cursor:pointer;
    letter-spacing:.3px;
    box-shadow:0 8px 20px rgba(0,0,0,.25);
    transition:all .25s ease;
    max-width:100%;
}

/* hover */
.primary-cta:hover{
    transform:translateY(-1px);
    box-shadow:0 12px 28px rgba(0,0,0,.35);
}

/* active (click feel) */
.primary-cta:active{
    transform:scale(0.98);
}

/* mobile optimization */
@media(max-width:600px){
    .primary-cta{
        width:100%;
        font-size:.9rem;
        padding:.8rem 1.2rem;
    }
}
.hero-trust{
    text-align:center;
    color:#fff;
    font-size:.85rem;
    margin-top:.6rem;
    opacity:.9;
}