﻿/* ==========================================================
   VOYAGECONNECT HOTEL PAGE
========================================================== */

:root {
    --vc-blue: #1565C0;
    --vc-blue-dark: #0D47A1;
    --vc-blue-light: #EAF3FF;
    --vc-orange: #F7941D;
    --vc-orange-dark: #E67E00;
    --vc-orange-light: #FFF4E6;
    --vc-bg: #F7F9FC;
    --vc-card: #FFFFFF;
    --vc-text: #1F2937;
    --vc-muted: #6B7280;
    --vc-border: #E5E7EB;
    --shadow-sm: 0 4px 12px rgba(0,0,0,.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,.08);
    --shadow-lg: 0 20px 45px rgba(21,101,192,.15);
    --radius: 18px;
}

/* ==========================================================
   RESET
========================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Inter, Arial, sans-serif;
    background: var(--vc-bg);
    color: var(--vc-text);
    line-height: 1.6;
}

/* ==========================================================
   PAGE
========================================================== */

.city-page {
    width: 100%;
    min-height: 100vh;
}

.page-container {
    max-width: 1380px;
    margin: auto;
    padding: 24px 30px 80px;
}

/* ==========================================================
   BREADCRUMB
========================================================== */

.breadcrumb {
    max-width: 1380px;
    margin: auto;
    padding: 20px 0 24px 12px; /* Left padding added */
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
}

    .breadcrumb a {
        color: var(--vc-blue);
        text-decoration: none;
        font-weight: 600;
        transition: .25s;
    }

        .breadcrumb a:hover {
            color: var(--vc-orange);
        }

    .breadcrumb span {
        color: #94A3B8;
    }

    .breadcrumb .current {
        color: var(--vc-muted);
        font-weight: 600;
    }

/* ==========================================================
   HERO
========================================================== */

.city-hero {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 55%, #082E69 100%);
    min-height: 190px;
    display: flex;
    align-items: center;
    margin-bottom: 32px;
    box-shadow: var(--shadow-lg);
}

    /* Decorative circles */

    .city-hero::before {
        content: "";
        position: absolute;
        width: 340px;
        height: 340px;
        border-radius: 50%;
        right: -120px;
        top: -120px;
        background: rgba(255,255,255,.08);
    }

    .city-hero::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        left: -120px;
        bottom: -120px;
        background: rgba(247,148,29,.18);
    }

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1380px;
    margin: auto;
    padding: 40px 48px;
    color: #fff;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    background: var(--vc-orange);
    color: white;
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: 16px;
}

.hero-content h1 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}

    .hero-content h1::after {
        content: "";
        display: block;
        width: 80px;
        height: 4px;
        border-radius: 30px;
        margin-top: 12px;
        background: var(--vc-orange);
    }

.hero-content p {
    max-width: 760px;
    font-size: 16px;
    line-height: 1.8;
    opacity: .95;
    margin-top: 16px;
}

/* ==========================================================
   HEADER
========================================================== */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 42px;
}

    .page-header h2 {
        font-size: 34px;
        font-weight: 800;
        color: var(--vc-text);
        margin-bottom: 10px;
    }

    .page-header p {
        color: var(--vc-muted);
        font-size: 16px;
        max-width: 720px;
        line-height: 1.7;
    }

/* ==========================================================
   SUMMARY CARD
========================================================== */

.summary-card {
    background: white;
    min-width: 180px;
    border-radius: 20px;
    padding: 24px 34px;
    border: 1px solid var(--vc-border);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

    .summary-card h3 {
        color: var(--vc-orange);
        font-size: 42px;
        font-weight: 800;
        margin-bottom: 6px;
    }

    .summary-card span {
        color: var(--vc-muted);
        font-size: 14px;
        font-weight: 500;
    }

/* ==========================================================
   HOTEL LIST
========================================================== */

.hotel-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

/* ==========================================================
   HOTEL CARD
========================================================== */

.hotel-card {
    display: grid;
    grid-template-columns: 270px 1fr;
    min-height: 250px;
    background: var(--vc-card);
    border: 1px solid var(--vc-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .30s ease, box-shadow .30s ease, border-color .30s ease;
}

    .hotel-card.card-expanded {
        min-height: auto;
    }

    .hotel-card:hover {
        transform: translateY(-5px);
        border-color: rgba(21,101,192,.18);
        box-shadow: 0 18px 45px rgba(21,101,192,.14);
    }

/* ==========================================================
   IMAGE
========================================================== */

.hotel-image {
    position: relative;
    overflow: hidden;
    height: 100%;
}

    .hotel-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .45s ease;
    }

.hotel-card:hover .hotel-image img {
    transform: scale(1.08);
}

/* ==========================================================
   RATING BADGE
========================================================== */

.hotel-rating {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient( 135deg, var(--vc-orange), var(--vc-orange-dark) );
    color: white;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
}

/* ==========================================================
   CONTENT
========================================================== */

.hotel-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 30px;
    gap: 14px;
    height: 100%;
}

.hotel-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==========================================================
   HOTEL NAME
========================================================== */

.hotel-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--vc-blue-dark);
    line-height: 1.35;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 60px;
    transition: color .25s;
}

.hotel-card:hover .hotel-name {
    color: var(--vc-blue);
}

/* ==========================================================
   LOCATION
========================================================== */

.hotel-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--vc-muted);
    font-size: 14px;
    font-weight: 500;
    min-height: 24px;
    font-weight: 700;
    color: orange;
}

    .hotel-location::before {
        content: "📍";
        flex-shrink: 0;
    }


/* ==========================================================
   DESCRIPTION
========================================================== */

.hotel-description {
    color: var(--vc-muted);
    font-size: 14px;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 74px;
}

    .hotel-description.expanded {
        display: block;
        overflow: visible;
        -webkit-line-clamp: unset;
        min-height: auto;
    }

.description-toggle {
    display: none;
    width: fit-content;
    cursor: pointer;
    color: var(--vc-blue);
    font-size: 13px;
    font-weight: 700;
    transition: .25s;
}

    .description-toggle:hover {
        color: var(--vc-orange);
        text-decoration: underline;
    }

/* ==========================================================
   FOOTER
========================================================== */

.hotel-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    border-top: 1px solid var(--vc-border);
}

/* ==========================================================
   STARS
========================================================== */

.hotel-stars {
    display: flex;
    gap: 3px;
    font-size: 18px;
    color: var(--vc-orange);
}

/* ==========================================================
   BUTTON
========================================================== */

.view-hotel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    background: linear-gradient( 135deg, var(--vc-orange), var(--vc-orange-dark) );
    color: white;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .view-hotel-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(247,148,29,.30);
    }

/* ==========================================================
   EMPTY STATE
========================================================== */

.no-hotels {
    background: var(--vc-card);
    border: 1px solid var(--vc-border);
    border-radius: 24px;
    padding: 80px 50px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.no-hotels-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.no-hotels h2 {
    font-size: 32px;
    color: var(--vc-blue-dark);
    font-weight: 800;
    margin-bottom: 12px;
}

.no-hotels p {
    max-width: 700px;
    margin: auto;
    color: var(--vc-muted);
    line-height: 1.8;
    font-size: 15px;
}

/* ==========================================================
   LOAD MORE
========================================================== */

.load-more-section {
    display: flex;
    justify-content: center;
    margin: 60px 0 25px;
}

.load-more-btn {
    border: none;
    cursor: pointer;
    background: linear-gradient( 135deg, var(--vc-orange), var(--vc-orange-dark) );
    color: white;
    padding: 15px 40px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .load-more-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(247,148,29,.28);
    }

    .load-more-btn:disabled {
        opacity: .6;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

/* ==========================================================
   TOP CITIES
========================================================== */

.top-cities-wrapper {
    margin-top: 80px;
}

.section-heading {
    margin-bottom: 28px;
}

    .section-heading h2 {
        font-size: 34px;
        color: var(--vc-blue-dark);
        font-weight: 800;
        margin-bottom: 10px;
    }

    .section-heading p {
        color: var(--vc-muted);
        font-size: 16px;
    }

/* ==========================================================
   LINKS
========================================================== */

a {
    color: inherit;
}

.hotel-image,
.view-hotel-btn {
    text-decoration: none;
}

/* ==========================================================
   RESPONSIVE - LARGE
========================================================== */

@media (max-width:1200px) {

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .summary-card {
        width: 100%;
    }

    .hotel-card {
        grid-template-columns: 240px 1fr;
    }
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width:992px) {

    .city-hero {
        min-height: 220px;
    }

    .hero-content {
        padding: 34px;
    }

        .hero-content h1 {
            font-size: 34px;
        }

    .hotel-card {
        grid-template-columns: 220px 1fr;
        min-height: 240px;
    }

    .hotel-content {
        padding: 22px;
    }

    .hotel-name {
        font-size: 20px;
    }
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width:768px) {

    .page-container {
        padding: 18px 16px 50px;
    }

    .city-hero {
        border-radius: 18px;
        min-height: 220px;
    }

    .hero-content {
        padding: 24px;
    }

        .hero-content h1 {
            font-size: 28px;
        }

        .hero-content p {
            font-size: 14px;
        }

    .page-header h2 {
        font-size: 28px;
    }

    .hotel-list {
        gap: 18px;
    }

    .hotel-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hotel-image {
        height: 240px;
    }

    .hotel-content {
        padding: 20px;
    }

    .hotel-name {
        font-size: 20px;
        min-height: auto;
    }

    .hotel-description {
        min-height: auto;
    }

    .hotel-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .view-hotel-btn {
        width: 100%;
    }

    .load-more-card {
        padding: 28px 20px;
    }
}

/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width:576px) {

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .summary-card {
        padding: 20px;
    }

        .summary-card h3 {
            font-size: 34px;
        }

    .hotel-image {
        height: 210px;
    }

    .hotel-content {
        padding: 18px;
    }

    .hotel-name {
        font-size: 18px;
    }

    .hotel-description {
        font-size: 13px;
    }

    .view-hotel-btn {
        font-size: 13px;
        padding: 12px 18px;
    }
}

/* ==========================================================
   SCROLLBAR
========================================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #EEF3F8;
}

::-webkit-scrollbar-thumb {
    background: #C5D2E6;
    border-radius: 20px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--vc-blue);
    }

/* ==========================================================
   ANIMATIONS
========================================================== */

.hotel-card {
    animation: fadeUp .45s ease both;
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}