/* SimSim Trip — Popular Escapes Location Page */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --purple: #9810FA;
    --purple-dark: #5038C8;
    --main: #500EAF;
    --green: #22C55E;
    --red: #EF4444;
    --text: #1a1a2e;
    --text-mid: #4b5563;
    --text-light: #9ca3af;
    --white: #ffffff;
    --bg: #f8f7fd;
    --bg-light: #f3f4f6;
    --border: #e5e7eb;
    --shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 6px 32px rgba(0, 0, 0, 0.11);
    --radius: 16px;
    --radius-sm: 10px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Satoshi', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
}

.login-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 62px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.login-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--purple);
}

.login-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #9810FA, #500EAF);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.login-nav-pills {
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-nav-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 24px;
  border: 1.5px solid var(--main);
  color: var(--main);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.login-nav-pill:hover {
  background: rgba(74, 108, 247, 0.06);
}

.login-hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}

.login-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}
.mob-header {
    display: none;
}

/* ════════════════════════════════
   HERO CAROUSEL
════════════════════════════════ */
.pel-hero {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.pel-carousel {
    position: absolute;
    inset: 0;
}

.pel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.pel-slide.active {
    opacity: 1;
}

.pel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pel-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 5, 40, 0.25) 0%,
            rgba(20, 10, 60, 0.55) 60%,
            rgba(10, 5, 40, 0.72) 100%);
    z-index: 1;
}

.pel-hero-content {
    position: absolute;
    bottom: 48px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0 24px;
    z-index: 2;
}

.pel-hero-content h1 {
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
    margin-bottom: 8px;
    line-height: 1.25;
}

.pel-hero-content p {
    font-size: clamp(0.78rem, 1.2vw, 0.9rem);
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.5;
}

.pel-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 3;
}

.pel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
}

.pel-dot.active {
    background: var(--white);
    transform: scale(1.25);
}

/* ════════════════════════════════
   MAIN
════════════════════════════════ */
.pel-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 32px 60px;
}

/* ── List header ── */
.pel-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.pel-list-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
}

.pel-filter-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--white);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-mid);
    transition: border-color 0.2s, color 0.2s;
}

.pel-filter-btn:hover {
    border-color: var(--purple);
    color: var(--purple);
}

/* ════════════════════════════════
   DESKTOP — 2-column hotel grid
════════════════════════════════ */
.pel-hotels-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ── Hotel card ── */
.pel-hotel-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    transition: transform 0.25s, box-shadow 0.25s;
}

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

/* Image */
.pel-hotel-img {
    width: 160px;
    min-width: 160px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.pel-hotel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s;
}

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

.pel-photos-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.55);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    backdrop-filter: blur(3px);
}

/* Body */
.pel-hotel-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
    min-width: 0;
}

.pel-hotel-name {
    font-size: 0.97rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 2px;
}

.pel-hotel-loc {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.77rem;
    color: var(--text-light);
}

.pel-hotel-loc svg {
    flex-shrink: 0;
    color: #9ca3af;
}

.pel-stars {
    color: #F59E0B;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

.pel-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pel-rating-badge {
    background: var(--text);
    color: var(--white);
    font-size: 0.73rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 5px;
}

.pel-rating-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
}

.pel-rating-reviews {
    font-size: 0.73rem;
    color: var(--text-light);
}

.pel-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.pel-am {
    font-size: 0.7rem;
    color: var(--text-mid);
    padding: 2px 7px;
    border-radius: 5px;
    background: var(--bg-light);
    border: 1px solid var(--border);
}

.pel-am.no {
    color: var(--text-light);
}

.pel-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.pel-price-label {
    font-size: 0.7rem;
    color: var(--text-light);
    margin-bottom: 2px;
}

.pel-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--main);
    line-height: 1;
}

.pel-avail-btn {
    padding: 9px 14px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--main), var(--purple));
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(107, 72, 232, 0.28);
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.15s;
}

.pel-avail-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ════════════════════════════════
   MOBILE (≤768px)
════════════════════════════════ */
@media (max-width: 768px) {

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block;
    }

    /* ── Mobile header ── */
    .mob-header {
        display: flex;
        align-items: center;
        gap: 14px;
        position: sticky;
        top: 0;
        z-index: 100;
        padding: 12px 16px;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .mob-back {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: var(--bg-light);
        border: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: var(--text);
        flex-shrink: 0;
    }

    .mob-logo {
        display: flex;
        align-items: center;
        gap: 9px;
        font-weight: 700;
        font-size: 1rem;
        color: var(--purple);
        text-decoration: none;
    }

    .mob-logo-icon {
        width: 32px;
        height: 32px;
        border-radius: 9px;
        background: linear-gradient(135deg, #6B48E8, #4A90D9);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    /* ── Hero ── */
    .pel-hero {
        height: 240px;
    }

    .pel-hero-content {
        bottom: 40px;
    }

    .pel-hero-content h1 {
        font-size: 1.2rem;
    }

    .pel-hero-content p {
        font-size: 0.76rem;
    }

    /* ── Main ── */
    .pel-main {
        padding: 16px 14px 40px;
    }

    .pel-list-title {
        font-size: 1.05rem;
    }

    .pel-filter-btn {
        width: 36px;
        height: 36px;
    }

    /* ── Single column, horizontal card ── */
    .pel-hotels-list {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .pel-hotel-card {
        flex-direction: row;
        border-radius: 14px;
    }

    .pel-hotel-img {
        width: 120px;
        min-width: 120px;
    }

    .pel-photos-tag {
        font-size: 0.6rem;
        padding: 2px 6px;
    }

    .pel-hotel-body {
        padding: 12px 12px 14px;
        gap: 5px;
    }

    .pel-hotel-name {
        font-size: 0.9rem;
    }

    .pel-hotel-loc {
        font-size: 0.72rem;
    }

    .pel-stars {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .pel-rating-badge {
        font-size: 0.68rem;
        padding: 2px 6px;
    }

    .pel-rating-label {
        font-size: 0.73rem;
    }

    .pel-rating-reviews {
        font-size: 0.68rem;
    }

    .pel-am {
        font-size: 0.64rem;
        padding: 2px 5px;
    }

    .pel-price-row {
        padding-top: 8px;
    }

    .pel-price {
        font-size: 1.05rem;
    }

    .pel-price-label {
        font-size: 0.65rem;
    }

    .pel-avail-btn {
        padding: 9px 12px;
        font-size: 0.74rem;
        border-radius: 16px;
    }
}

/* Extra small */
@media (max-width: 380px) {
    .pel-hotel-img {
        width: 100px;
        min-width: 100px;
    }

    .pel-hotel-name {
        font-size: 0.84rem;
    }

    .pel-price {
        font-size: 0.95rem;
    }

    .pel-avail-btn {
        padding: 8px 10px;
        font-size: 0.7rem;
    }
}