/* ==========================================================================
   KANHA WILDPATH SAFARI - HOTELS NEAR KANHA LUXURY DIRECTORY
   Scoped Stylesheet for Curated Accommodations Showcase & Lightbox
   ========================================================================== */

:root {
    --kanha-gold: #dc9303;
    --kanha-gold-hover: #c48202;
    --kanha-gold-light: rgba(220, 147, 3, 0.12);
    --kanha-gold-border: rgba(220, 147, 3, 0.28);
    --kanha-dark: #1b2515;
    --kanha-dark-deep: #131c0e;
    --kanha-dark-surface: #222d1b;
    --kanha-dark-muted: #2f3e26;
    --kanha-text-light: #fbf8f2;
    --kanha-text-muted: #a6b39c;
    --kanha-bg-warm: #f7f3ec;
    --kanha-bg-card: #ffffff;
    --kanha-border-subtle: rgba(27, 37, 21, 0.08);
    --kanha-radius-lg: 16px;
    --kanha-radius-md: 12px;
    --kanha-radius-sm: 8px;
    --kanha-shadow-subtle: 0 10px 30px rgba(27, 37, 21, 0.06);
    --kanha-shadow-luxury: 0 20px 45px rgba(19, 28, 14, 0.12);
    --kanha-font-family: 'Baloo 2', cursive, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --------------------------------------------------------------------------
   Section Container & Header
   -------------------------------------------------------------------------- */
.kanha-hotels-section {
    position: relative;
    padding: 95px 0 105px;
    background-color: var(--kanha-bg-warm);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(220, 147, 3, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(27, 37, 21, 0.03) 0%, transparent 40%);
    overflow: hidden;
    font-family: var(--kanha-font-family);
}

.kanha-hotels-section .hotel-section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 2;
}

.kanha-hotels-section .hotel-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(220, 147, 3, 0.12);
    border: 1px solid var(--kanha-gold-border);
    border-radius: 30px;
    color: var(--kanha-gold);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 14px;
}

.kanha-hotels-section .hotel-section-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--kanha-dark);
    margin-bottom: 12px;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.kanha-hotels-section .hotel-section-subtitle {
    font-size: 1.08rem;
    color: #55624c;
    line-height: 1.65;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Main Interactive Layout: Left Directory + Right Showcase
   -------------------------------------------------------------------------- */
.kanha-hotels-section .hotels-showcase-wrapper {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 32px;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* --------------------------------------------------------------------------
   LEFT: Curated Luxury Hotel Directory
   -------------------------------------------------------------------------- */
.kanha-hotels-section .hotel-directory-col {
    background: var(--kanha-dark);
    border-radius: var(--kanha-radius-lg);
    box-shadow: var(--kanha-shadow-luxury);
    border: 1px solid rgba(220, 147, 3, 0.2);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    height: 560px;
    position: sticky;
    top: 90px;
}

.kanha-hotels-section .directory-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kanha-hotels-section .directory-header-title {
    color: var(--kanha-text-light);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.kanha-hotels-section .directory-header-title i {
    color: var(--kanha-gold);
    font-size: 1.05rem;
}

.kanha-hotels-section .directory-count-badge {
    background: rgba(220, 147, 3, 0.18);
    border: 1px solid rgba(220, 147, 3, 0.35);
    color: var(--kanha-gold);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

/* Scrollable Hotel List */
.kanha-hotels-section .hotel-directory-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 6px;
}

/* Custom Luxury Scrollbar */
.kanha-hotels-section .hotel-directory-list::-webkit-scrollbar {
    width: 5px;
}

.kanha-hotels-section .hotel-directory-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
}

.kanha-hotels-section .hotel-directory-list::-webkit-scrollbar-thumb {
    background: rgba(220, 147, 3, 0.35);
    border-radius: 4px;
}

.kanha-hotels-section .hotel-directory-list::-webkit-scrollbar-thumb:hover {
    background: var(--kanha-gold);
}

/* Individual Hotel Item Button in Directory */
.kanha-hotels-section .hotel-nav-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 14px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--kanha-radius-sm);
    color: #cfd8c7;
    text-align: left;
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    font-family: inherit;
}

.kanha-hotels-section .hotel-nav-num {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--kanha-gold);
    min-width: 28px;
    opacity: 0.85;
    letter-spacing: 0.5px;
}

.kanha-hotels-section .hotel-nav-name {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    flex: 1;
    margin: 0;
    padding-right: 8px;
    color: #dbe4d4;
    transition: color 0.2s ease;
}

.kanha-hotels-section .hotel-nav-arrow {
    font-size: 0.75rem;
    color: var(--kanha-gold);
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.25s ease;
}

/* Directory Item Hover & Active */
.kanha-hotels-section .hotel-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.08);
}

.kanha-hotels-section .hotel-nav-item:hover .hotel-nav-name {
    color: #ffffff;
}

.kanha-hotels-section .hotel-nav-item:hover .hotel-nav-arrow {
    opacity: 0.7;
    transform: translateX(0);
}

.kanha-hotels-section .hotel-nav-item.is-active {
    background: linear-gradient(90deg, rgba(220, 147, 3, 0.22) 0%, rgba(220, 147, 3, 0.06) 100%);
    border-left: 3px solid var(--kanha-gold);
    border-top: 1px solid rgba(220, 147, 3, 0.3);
    border-right: 1px solid rgba(220, 147, 3, 0.2);
    border-bottom: 1px solid rgba(220, 147, 3, 0.3);
}

.kanha-hotels-section .hotel-nav-item.is-active .hotel-nav-name {
    color: #ffffff;
    font-weight: 700;
}

.kanha-hotels-section .hotel-nav-item.is-active .hotel-nav-num {
    color: #ffbb33;
    font-weight: 800;
}

.kanha-hotels-section .hotel-nav-item.is-active .hotel-nav-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* --------------------------------------------------------------------------
   RIGHT: Selected Hotel Showcase Panel
   -------------------------------------------------------------------------- */
.kanha-hotels-section .hotel-showcase-col {
    background: var(--kanha-bg-card);
    border-radius: var(--kanha-radius-lg);
    border: 1px solid var(--kanha-border-subtle);
    box-shadow: var(--kanha-shadow-subtle);
    padding: 32px 30px;
    min-height: 560px;
    display: flex;
    flex-direction: column;
}

/* Container for individual hotel items */
.kanha-hotels-section .hotel-item {
    display: none;
    width: 100%;
}

.kanha-hotels-section .hotel-item.is-active {
    display: block;
    animation: kanhaHotelFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes kanhaHotelFadeIn {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hotel Panel Header */
.kanha-hotels-section .hotel-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--kanha-border-subtle);
}

.kanha-hotels-section .hotel-title-area {
    flex: 1;
    min-width: 260px;
}

.kanha-hotels-section .hotel-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.kanha-hotels-section .hotel-tag-badge {
    background: rgba(220, 147, 3, 0.12);
    color: var(--kanha-gold);
    border: 1px solid var(--kanha-gold-border);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kanha-hotels-section .hotel-location-text {
    font-size: 0.85rem;
    color: #6d7b64;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.kanha-hotels-section .hotel-location-text i {
    color: var(--kanha-gold);
}

.kanha-hotels-section .hotel-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--kanha-dark);
    margin: 0;
    line-height: 1.25;
}

.kanha-hotels-section .hotel-hint-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f4eee3;
    color: #685a43;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(220, 147, 3, 0.2);
}

.kanha-hotels-section .hotel-hint-pill i {
    color: var(--kanha-gold);
    font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Editorial 3-Image Showcase Grid (1 Large Primary + 2 Supporting Stacked)
   -------------------------------------------------------------------------- */
.kanha-hotels-section .hotel-gallery.editorial-layout {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 215px 215px;
    gap: 16px;
    height: 446px;
}

.kanha-hotels-section .hotel-img-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--kanha-radius-md);
    background: #182215;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(27, 37, 21, 0.08);
}

/* Primary Hero Card */
.kanha-hotels-section .hotel-img-card.primary-card {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
}

/* Sub Supporting Cards */
.kanha-hotels-section .hotel-img-card.sub-card-1 {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
}

.kanha-hotels-section .hotel-img-card.sub-card-2 {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
}

.kanha-hotels-section .hotel-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

/* Hover Vignette & Expand Button */
.kanha-hotels-section .hotel-img-card .img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(19, 28, 14, 0.75) 0%, rgba(19, 28, 14, 0.1) 60%, transparent 100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.kanha-hotels-section .hotel-img-card .view-pill {
    position: absolute;
    bottom: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(27, 37, 21, 0.85);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(220, 147, 3, 0.4);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    transform: translateY(4px);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.kanha-hotels-section .hotel-img-card .view-pill i {
    color: var(--kanha-gold);
}

.kanha-hotels-section .hotel-img-card:hover img {
    transform: scale(1.045);
    filter: brightness(1.03);
}

.kanha-hotels-section .hotel-img-card:hover .img-overlay {
    opacity: 0.85;
    background: linear-gradient(to top, rgba(19, 28, 14, 0.85) 0%, rgba(19, 28, 14, 0.25) 70%, rgba(220, 147, 3, 0.15) 100%);
}

.kanha-hotels-section .hotel-img-card:hover .view-pill {
    transform: translateY(0);
    background: var(--kanha-gold);
    color: #1b2515;
    border-color: var(--kanha-gold);
    font-weight: 700;
}

.kanha-hotels-section .hotel-img-card:hover .view-pill i {
    color: #1b2515;
}

/* --------------------------------------------------------------------------
   FULLSCREEN LUXURY LIGHTBOX MODAL
   -------------------------------------------------------------------------- */
.kanha-hotel-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(10, 15, 8, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px 24px;
    font-family: var(--kanha-font-family);
}

.kanha-hotel-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

body.lightbox-active {
    overflow: hidden !important;
}

/* Lightbox Topbar */
.kanha-hotel-lightbox .lightbox-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.kanha-hotel-lightbox .lightbox-hotel-info {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.kanha-hotel-lightbox .lightbox-hotel-title {
    color: var(--kanha-text-light);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.2px;
}

.kanha-hotel-lightbox .lightbox-counter {
    background: rgba(220, 147, 3, 0.2);
    border: 1px solid rgba(220, 147, 3, 0.4);
    color: var(--kanha-gold);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
}

.kanha-hotel-lightbox .lightbox-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.kanha-hotel-lightbox .lightbox-close-btn:hover {
    background: var(--kanha-gold);
    color: #1b2515;
    transform: rotate(90deg);
    border-color: var(--kanha-gold);
}

/* Lightbox Center Viewport */
.kanha-hotel-lightbox .lightbox-viewport {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 10px 0;
}

.kanha-hotel-lightbox .lightbox-img-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 74vh;
    max-width: 86vw;
}

.kanha-hotel-lightbox .lightbox-main-img {
    max-height: 74vh;
    max-width: 86vw;
    object-fit: contain;
    border-radius: var(--kanha-radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Lightbox Prev / Next Nav Buttons */
.kanha-hotel-lightbox .lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(27, 37, 21, 0.85);
    border: 1px solid rgba(220, 147, 3, 0.35);
    color: #ffffff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
}

.kanha-hotel-lightbox .lightbox-prev-btn {
    left: 10px;
}

.kanha-hotel-lightbox .lightbox-next-btn {
    right: 10px;
}

.kanha-hotel-lightbox .lightbox-nav-btn:hover {
    background: var(--kanha-gold);
    color: #1b2515;
    border-color: var(--kanha-gold);
    transform: translateY(-50%) scale(1.08);
}

/* Lightbox Bottombar (Thumbnails & Hint) */
.kanha-hotel-lightbox .lightbox-bottombar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    gap: 12px;
}

.kanha-hotel-lightbox .lightbox-thumbs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kanha-hotel-lightbox .lightbox-thumb-btn {
    width: 60px;
    height: 44px;
    border-radius: 6px;
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    background: #1b2515;
    cursor: pointer;
    opacity: 0.55;
    transition: all 0.2s ease;
}

.kanha-hotel-lightbox .lightbox-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kanha-hotel-lightbox .lightbox-thumb-btn.is-active,
.kanha-hotel-lightbox .lightbox-thumb-btn:hover {
    opacity: 1;
    border-color: var(--kanha-gold);
    transform: translateY(-2px);
}

.kanha-hotel-lightbox .lightbox-key-hint {
    color: #8c9c82;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.kanha-hotel-lightbox .lightbox-key-hint kbd {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: inherit;
}

/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
    .kanha-hotels-section .hotels-showcase-wrapper {
        grid-template-columns: 320px 1fr;
        gap: 24px;
    }

    .kanha-hotels-section .hotel-gallery.editorial-layout {
        grid-template-rows: 190px 190px;
        height: 396px;
    }

    .kanha-hotels-section .hotel-directory-col,
    .kanha-hotels-section .hotel-showcase-col {
        height: auto;
        min-height: 520px;
    }
}

@media (max-width: 991px) {
    .kanha-hotels-section {
        padding: 70px 0 80px;
    }

    .kanha-hotels-section .hotel-section-title {
        font-size: 2.2rem;
    }

    .kanha-hotels-section .hotels-showcase-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Transform directory to luxury horizontal scrolling tab bar */
    .kanha-hotels-section .hotel-directory-col {
        position: static;
        height: auto;
        min-height: auto;
        padding: 16px;
    }

    .kanha-hotels-section .directory-header {
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .kanha-hotels-section .hotel-directory-list {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 8px;
        padding-right: 0;
        gap: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .kanha-hotels-section .hotel-nav-item {
        flex: 0 0 auto;
        width: auto;
        white-space: nowrap;
        padding: 9px 16px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 30px;
    }

    .kanha-hotels-section .hotel-nav-item.is-active {
        border-radius: 30px;
        border: 1px solid var(--kanha-gold);
        background: rgba(220, 147, 3, 0.22);
    }

    .kanha-hotels-section .hotel-nav-arrow {
        display: none;
    }

    .kanha-hotels-section .hotel-showcase-col {
        padding: 24px 20px;
        min-height: auto;
    }

    .kanha-hotels-section .hotel-gallery.editorial-layout {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 240px 180px;
        height: auto;
    }

    .kanha-hotels-section .hotel-img-card.primary-card {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }

    .kanha-hotels-section .hotel-img-card.sub-card-1 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .kanha-hotels-section .hotel-img-card.sub-card-2 {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
}

@media (max-width: 575px) {
    .kanha-hotels-section {
        padding: 55px 0 65px;
    }

    .kanha-hotels-section .hotel-section-title {
        font-size: 1.85rem;
    }

    .kanha-hotels-section .hotel-title {
        font-size: 1.4rem;
    }

    .kanha-hotels-section .hotel-gallery.editorial-layout {
        grid-template-columns: 1fr;
        grid-template-rows: 220px 160px 160px;
        gap: 12px;
    }

    .kanha-hotels-section .hotel-img-card.primary-card {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .kanha-hotels-section .hotel-img-card.sub-card-1 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .kanha-hotels-section .hotel-img-card.sub-card-2 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .kanha-hotel-lightbox {
        padding: 14px 12px;
    }

    .kanha-hotel-lightbox .lightbox-hotel-title {
        font-size: 1.05rem;
    }

    .kanha-hotel-lightbox .lightbox-nav-btn {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .kanha-hotel-lightbox .lightbox-key-hint {
        display: none;
    }
}
