﻿/* =========================
   THEME VARIABLES
========================= */
:root {
    --vc-primary: #1a73e8;
    --vc-primary-dark: #0b57d0;
    --vc-accent: #fbbc04;
    --vc-accent-dark: #f59e0b;
    --vc-bg: #f6f8fb;
    --vc-card: #ffffff;
    --vc-text: #111827;
    --vc-muted: #6b7280;
}

/* =========================
   GLOBAL LAYOUT
========================= */
.page-container {
    display: flex;
    gap: 24px;    
    margin: auto;
    padding: 24px;
    align-items: flex-start;
    background: linear-gradient(180deg, #f6f8fb 0%, #eef4ff 100%);
    margin-top:20px;
}

/* =========================
   FILTER PANEL
========================= */
.filter-panel {
    width: 260px;
    position: sticky;
    top: 20px;
    background: var(--vc-card);
    padding: 18px;
    border-radius: 14px;
    border-top: 3px solid var(--vc-accent);
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}

    .filter-panel h3 {
        font-size: 16px;
        margin-bottom: 12px;
        color: var(--vc-primary-dark);
        font-weight: 700;
    }

    .filter-panel label {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 10px 0;
        font-size: 14px;
        color: var(--vc-muted);
        cursor: pointer;
    }

/* =========================
   RIGHT SECTION
========================= */
.hotel-section {
    flex: 1;
}

/* =========================
   TOP BAR
========================= */
.top-bar {
    margin-bottom: 14px;
}

    .top-bar h2 {
        font-size: 26px;
        margin: 0;
        color: #f97316;
        font-weight: 800;
    }

        .top-bar h2::after {
            content: "";
            display: block;
            width: 60px;
            height: 4px;
            margin-top: 6px;
            background: var(--vc-accent);
            border-radius: 10px;
        }

/* =========================
   HOTEL CARD
========================= */
.hotel-card {
    display: flex;
    background: var(--vc-card);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid #e9eef5;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

    .hotel-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 50px rgba(26,115,232,0.15);
        border-color: rgba(251,188,4,0.3);
    }

/* =========================
   IMAGE
========================= */
.hotel-img {
    position: relative;
}

    .hotel-img img {
        width: 280px;
        height: 200px;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.hotel-card:hover .hotel-img img {
    transform: scale(1.05);
}

/* =========================
   DETAILS
========================= */
.hotel-details {
    flex: 1;
    padding: 16px 18px;
}

.hotel-title-row {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 10px;
}

/* HOTEL NAME */
.hotel-name {
    color: var(--vc-primary);
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    transition: 0.2s;
}

.hotel-card:hover .hotel-name {
    color: var(--vc-accent-dark);
}

/* LOCATION */
.location {
    font-size: 13px;
    color: var(--vc-muted);
    margin-top: 6px;
}

/* =========================
   TAGS
========================= */
.tags {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

    .tags span {
        font-size: 11px;
        background: #eef6ff;
        color: var(--vc-primary);
        padding: 4px 10px;
        border-radius: 999px;
    }

/* =========================
   NOTE
========================= */
.note {
    margin-top: 10px;
    font-size: 13px;
    color: #16a34a;
    font-weight: 500;
}

/* =========================
   PRICE SECTION
========================= */
.hotel-price {
    width: 200px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    border-left: 1px solid #f0f2f5;
}

.price-box {
    text-align: right;
}

.price-label {
    font-size: 11px;
    color: var(--vc-muted);
}

.price {
    font-size: 22px;
    font-weight: 800;
    color: var(--vc-text);
}

.tax {
    font-size: 11px;
    color: #9ca3af;
}

/* =========================
   VIEW BUTTON
========================= */
.view-btn {
    width: 100%;
    margin-top: 12px;
    background: linear-gradient(135deg, var(--vc-primary), var(--vc-primary-dark));
    color: #fff;
    border: none;
    padding: 11px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .view-btn:hover {
        transform: scale(1.03);
        background: linear-gradient(135deg, var(--vc-accent), #ffb300);
        color: #111;
    }

/* =========================
   RATING
========================= */
.rating {
    background: linear-gradient(135deg, var(--vc-accent), #ffb300);
    color: #111;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

/* =========================
   SHOW MORE
========================= */
.show-more-container {
    text-align: center;
    margin: 30px 0;
}

.hotel-count {
    margin-bottom: 12px;
    color: var(--vc-muted);
    font-size: 14px;
}

.show-more-btn {
    background: linear-gradient(135deg, var(--vc-primary), var(--vc-primary-dark));
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
}

    .show-more-btn:hover {
        background: linear-gradient(135deg, var(--vc-accent), #ffb300);
        color: #111;
    }

/* =========================
   LOADER
========================= */
.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 90px;
    color: var(--vc-muted);
}

.loader {
    width: 44px;
    height: 44px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid var(--vc-primary);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================
   EMPTY STATE
========================= */
.no-hotels {
    text-align: center;
    padding: 40px;
    color: var(--vc-muted);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .page-container {
        flex-direction: column;
        padding: 16px;
    }

    .filter-panel {
        width: 100%;
        position: relative;
    }

    .hotel-card {
        flex-direction: column;
    }

    .hotel-img img {
        width: 100%;
        height: 220px;
    }

    .hotel-price {
        width: 100%;
        align-items: flex-start;
        border-left: none;
        border-top: 1px solid #eee;
    }

    .view-btn {
        width: 100%;
    }
}

.hotel-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

    .hotel-link:hover {
        text-decoration: none;
        color: inherit;
    }

    .hotel-link:visited {
        color: inherit;
        text-decoration: none;
    }

    .hotel-link:active {
        color: inherit;
        text-decoration: none;
    }
.city-thumb {
    position: relative;
    overflow: hidden;
}
    .city-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }


/*==========================================
  BREADCRUMB
==========================================*/

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
    font-size: 14px;
    color: #6b7280;
}

    .breadcrumb a {
        color: #1565C0;
        text-decoration: none;
        font-weight: 500;
    }

        .breadcrumb a:hover {
            text-decoration: underline;
        }

    .breadcrumb span {
        color: #9ca3af;
    }

    .breadcrumb .current {
        color: #222;
        font-weight: 600;
    }


/*==========================================
  TOP CITIES SECTION
==========================================*/

.top-cities-section {
    margin-top: 60px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.top-cities-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 30px;
}

    .top-cities-header h2 {
        margin: 0;
        font-size: 32px;
        font-weight: 800;
        color: #0f172a;
    }

    .top-cities-header p {
        margin: 8px 0 0;
        color: #64748b;
        font-size: 15px;
    }

.city-count {
    background: #1565C0;
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.top-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 24px;
}

.city-card {
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e8eef7;
    transition: .3s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,.05);
}

    .city-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 45px rgba(21,101,192,.18);
        border-color: #1565C0;
    }

.city-thumb {
    height: 190px;
    position: relative;
    overflow: hidden;
    background: #eef4ff;
}

    .city-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .5s;
    }

.city-card:hover .city-thumb img {
    transform: scale(1.08);
}

.city-code-chip {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    color: #1565C0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,.15);
}

.city-body {
    padding: 18px;
}

    .city-body h3 {
        margin: 0;
        font-size: 20px;
        color: #111827;
    }

.city-location {
    margin-top: 8px;
    color: #6b7280;
    font-size: 14px;
}

.city-meta {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
}

.view-button {
    color: #1565C0;
    font-weight: 700;
    transition: .25s;
}

.city-card:hover .view-button {
    color: #f59e0b;
}

.search-empty {
    margin-bottom: 24px;
    padding: 16px;
    text-align: center;
    background: #fff8e8;
    border: 1px solid #fde68a;
    border-radius: 12px;
}

    .search-empty button {
        margin-left: 10px;
        background: #1565C0;
        color: #fff;
        border: none;
        padding: 8px 14px;
        border-radius: 8px;
        cursor: pointer;
    }

        .search-empty button:hover {
            background: #0b57d0;
        }
.top-cities-wrapper {
    width: 100%;
    margin-top: 60px;
    clear: both;
}