/* =============================================================
   PAGE SKELETON LOADING  –  shimmer placeholders shown while
   React JS is still downloading / mounting.
   React replaces the root-div innerHTML on mount, so these
   elements automatically disappear once the real UI is ready.
   ============================================================= */

/* ---------- keyframe ---------- */
@keyframes sk-shimmer {
    0%   { background-position: -900px 0; }
    100% { background-position:  900px 0; }
}

/* ---------- base shimmer box ---------- */
.sk-box {
    background: linear-gradient(
        90deg,
        #ececec 25%,
        #dcdcdc 50%,
        #ececec 75%
    );
    background-size: 900px 100%;
    animation: sk-shimmer 1.5s ease-in-out infinite;
    border-radius: 6px;
    display: block;
}

/* dark variant (used inside dark header) */
.sk-box--dark {
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.08) 25%,
        rgba(255,255,255,0.15) 50%,
        rgba(255,255,255,0.08) 75%
    );
    background-size: 900px 100%;
    animation: sk-shimmer 1.5s ease-in-out infinite;
    border-radius: 6px;
    display: block;
}

/* orange-tinted variant (CTA button placeholder) */
.sk-box--orange {
    background: linear-gradient(
        90deg,
        rgba(249,148,14,0.45) 25%,
        rgba(249,148,14,0.65) 50%,
        rgba(249,148,14,0.45) 75%
    );
    background-size: 900px 100%;
    animation: sk-shimmer 1.5s ease-in-out infinite;
    border-radius: 999px;
    display: block;
}

/* ---------- wrapper that hides once React mounts ---------- */
.page-skeleton {
    width: 100%;
    overflow: hidden;
}

/* =============================================================
   SHARED  –  sticky dark header bar
   ============================================================= */
.sk-header {
    position: sticky;
    top: 0;
    z-index: 120;
    height: 68px;
    background: #0a1120;
    border-bottom: 1px solid #0a1120;
    display: flex;
    align-items: center;
    padding: 0 24px;
}
.sk-header__inner {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    gap: 12px;
}
.sk-header__right {
    margin-left: auto;
    display: flex;
    gap: 10px;
    align-items: center;
}

/* =============================================================
   HOME  –  hero section
   ============================================================= */
.sk-hero {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px 60px;
    gap: 14px;
}
.sk-hero__title {
    width: min(420px, 80%);
    height: 42px;
    background: linear-gradient(90deg,rgba(255,255,255,0.25) 25%,rgba(255,255,255,0.4) 50%,rgba(255,255,255,0.25) 75%);
    background-size: 900px 100%;
    animation: sk-shimmer 1.5s ease-in-out infinite;
    border-radius: 8px;
}
.sk-hero__subtitle {
    width: min(300px, 65%);
    height: 22px;
    background: linear-gradient(90deg,rgba(255,255,255,0.18) 25%,rgba(255,255,255,0.3) 50%,rgba(255,255,255,0.18) 75%);
    background-size: 900px 100%;
    animation: sk-shimmer 1.5s ease-in-out infinite;
    border-radius: 5px;
}
.sk-hero__form {
    width: min(700px, 94%);
    height: 90px;
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    margin-top: 14px;
}

/* =============================================================
   HOME  –  city / card rows
   ============================================================= */
.sk-section {
    padding: 32px 24px 16px;
    max-width: 1280px;
    margin: 0 auto;
}
.sk-section--bg {
    background: #f9f9f9;
    max-width: 100%;
    padding: 32px 40px;
}
.sk-section__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

/* horizontal scrollable row of cards */
.sk-cards-row {
    display: flex;
    gap: 16px;
    overflow: hidden;
    flex-wrap: nowrap;
}

/* city / popular card */
.sk-city-card {
    flex: 0 0 calc((100% - 5*16px) / 6);
    min-width: 130px;
}
@media (max-width: 900px) {
    .sk-city-card { flex: 0 0 140px; }
}
.sk-city-card__img {
    width: 100%;
    height: 110px;
    border-radius: 12px;
    margin-bottom: 8px;
}
.sk-city-card__label {
    width: 70%;
    height: 14px;
    margin: 0 auto;
}

/* generic listing/recommended card */
.sk-listing-card {
    flex: 0 0 calc((100% - 3*16px) / 4);
    min-width: 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
@media (max-width: 900px) {
    .sk-listing-card { flex: 0 0 220px; }
}
.sk-listing-card__img {
    width: 100%;
    height: 160px;
    border-radius: 0;
    margin-bottom: 0;
}
.sk-listing-card__body {
    padding: 12px;
    background: #fff;
}
.sk-listing-card__title {
    width: 85%;
    height: 16px;
    margin-bottom: 8px;
}
.sk-listing-card__sub {
    width: 55%;
    height: 13px;
    margin-bottom: 6px;
}
.sk-listing-card__price {
    width: 40%;
    height: 18px;
    margin-top: 10px;
}

/* =============================================================
   SEARCH PAGE
   ============================================================= */
.sk-search-bar {
    background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
    padding: 28px 24px;
}
.sk-search-bar__form {
    background: #fff;
    border-radius: 8px;
    height: 80px;
    max-width: 1100px;
    margin: 0 auto;
}
.sk-search-content {
    display: flex;
    gap: 24px;
    padding: 28px 24px;
    max-width: 1280px;
    margin: 0 auto;
}
.sk-search-sidebar {
    flex: 0 0 240px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
@media (max-width: 900px) {
    .sk-search-sidebar { display: none; }
}
.sk-search-results {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.sk-search-item {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    align-items: center;
}
.sk-search-item__img {
    width: 130px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 8px;
}
.sk-search-item__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* =============================================================
   LISTING DETAIL PAGE
   ============================================================= */
.sk-listing-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px;
}
.sk-breadcrumb {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}
.sk-listing-layout {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}
.sk-listing-left {
    flex: 1;
    min-width: 0;
}
.sk-listing-right {
    flex: 0 0 320px;
    position: sticky;
    top: 88px;
}
@media (max-width: 900px) {
    .sk-listing-layout { flex-direction: column; }
    .sk-listing-right  { width: 100%; flex: none; }
}
.sk-gallery {
    width: 100%;
    height: 360px;
    border-radius: 14px;
    margin-bottom: 18px;
}
.sk-text-block {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 22px;
}
.sk-booking-widget {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eee;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

/* =============================================================
   CATEGORY / CITY / SUBCATEGORY PAGE
   ============================================================= */
.sk-cat-hero {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 24px;
    gap: 12px;
}
.sk-cat-hero__title {
    width: min(360px, 75%);
    height: 36px;
    background: linear-gradient(90deg,rgba(255,255,255,0.2) 25%,rgba(255,255,255,0.35) 50%,rgba(255,255,255,0.2) 75%);
    background-size: 900px 100%;
    animation: sk-shimmer 1.5s ease-in-out infinite;
    border-radius: 7px;
}
.sk-cat-hero__sub {
    width: min(260px, 60%);
    height: 18px;
    background: linear-gradient(90deg,rgba(255,255,255,0.13) 25%,rgba(255,255,255,0.23) 50%,rgba(255,255,255,0.13) 75%);
    background-size: 900px 100%;
    animation: sk-shimmer 1.5s ease-in-out infinite;
    border-radius: 5px;
}
.sk-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    padding: 32px 24px;
    max-width: 1280px;
    margin: 0 auto;
}
.sk-grid-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    background: #fff;
}
.sk-grid-card__img {
    width: 100%;
    height: 170px;
    border-radius: 0;
}
.sk-grid-card__body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* =============================================================
   BLOG PAGE
   ============================================================= */
.sk-blog-hero {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
}
.sk-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 32px 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.sk-blog-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    background: #fff;
}
.sk-blog-card__img {
    width: 100%;
    height: 190px;
}
.sk-blog-card__body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* =============================================================
   ARTICLE PAGE
   ============================================================= */
.sk-article-hero {
    width: 100%;
    height: 340px;
    border-radius: 0;
    margin-bottom: 0;
}
.sk-article-content {
    max-width: 820px;
    margin: 32px auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* =============================================================
   AGENCY PAGE
   ============================================================= */
.sk-agency-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 24px;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid #eee;
}
.sk-agency-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
}
.sk-agency-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* =============================================================
   SIMPLE CONTENT PAGE  (About, FAQ, How We Work, Support …)
   ============================================================= */
.sk-content-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e293b 100%);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 24px;
    gap: 12px;
}
.sk-content-body {
    max-width: 860px;
    margin: 36px auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* =============================================================
   FOOTER PLACEHOLDER
   ============================================================= */
.sk-footer {
    background: #0a1120;
    height: 180px;
    margin-top: 48px;
}
