/* ============================================
   WAYTOTRIP — 3D SACRED STAYS, DHARAMSHALAS & HOTELS (hotels.css)
   ============================================ */
:root {
    --bg-dark: #02060d;
    --gold-primary: #f59e0b;
    --gold-glow: rgba(245, 158, 11, 0.35);
    --saffron-primary: #ff7700;
    --saffron-glow: rgba(255, 119, 0, 0.35);
    --teal-primary: #10b981;
    --glass-bg: rgba(6, 16, 29, 0.88);
    --glass-border: rgba(255, 255, 255, 0.12);
    --text-white: #ffffff;
    --text-sub: #9ca3af;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    position: relative;
}

/* Fixed Header Navbar Always Visible */
#navbar, header#navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 60px !important;
    z-index: 99999 !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    display: flex !important;
    align-items: center !important;
    background: rgba(3, 9, 16, 0.95) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border-bottom: 1px solid rgba(245, 158, 11, 0.3) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.7) !important;
}

/* ============================================
   1. DEEP COSMIC SPACE BACKGROUND & NEBULA
   ============================================ */
#hotels-space-viewport {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 35%, #0c182c 0%, #030712 55%, #010205 100%);
    pointer-events: none;
}

.aurora-bg-glow {
    position: absolute;
    top: -25%;
    left: 50%;
    transform: translateX(-50%);
    width: 150vw;
    height: 80vh;
    background: 
        radial-gradient(ellipse at 30% 30%, rgba(255, 119, 0, 0.22) 0%, rgba(245, 158, 11, 0.18) 40%, transparent 70%),
        radial-gradient(ellipse at 70% 25%, rgba(16, 185, 129, 0.18) 0%, rgba(59, 130, 246, 0.12) 45%, transparent 75%);
    filter: blur(75px);
    pointer-events: none;
    animation: cosmicNebulaPulse 16s ease-in-out infinite alternate;
}

@keyframes cosmicNebulaPulse {
    0% { transform: translateX(-50%) scale(1) rotate(-1deg); opacity: 0.8; }
    50% { transform: translateX(-48%) scale(1.18) rotate(2deg); opacity: 1; }
    100% { transform: translateX(-52%) scale(0.92) rotate(-2deg); opacity: 0.85; }
}

.tempo-starfield {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.tempo-star {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    animation: starPulse var(--dur, 3s) ease-in-out infinite alternate;
}

@keyframes starPulse {
    0% { opacity: 0.15; transform: scale(0.7); }
    50% { opacity: 1; transform: scale(1.4); box-shadow: 0 0 10px #ffffff, 0 0 20px rgba(0, 225, 255, 0.8); }
    100% { opacity: 0.25; transform: scale(0.85); }
}

.cosmic-meteor {
    position: absolute;
    width: 180px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,1), rgba(255, 119, 0, 0.8), rgba(245, 158, 11, 0.4), transparent);
    border-radius: 50%;
    transform: rotate(-38deg);
    opacity: 0;
    pointer-events: none;
    animation: cosmicMeteorShower var(--meteor-dur, 8s) linear infinite;
    animation-delay: var(--meteor-delay, 0s);
}

@keyframes cosmicMeteorShower {
    0% { transform: translateX(0) translateY(0) rotate(-38deg); opacity: 0; }
    4% { opacity: 1; filter: drop-shadow(0 0 8px #ff7700); }
    12% { transform: translateX(-500px) translateY(350px) rotate(-38deg); opacity: 0; }
    100% { transform: translateX(-500px) translateY(350px) rotate(-38deg); opacity: 0; }
}

/* ============================================
   2. MAIN PAGE LAYOUT WRAPPER
   ============================================ */
#hotels-main-layout {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    padding-top: 105px;
    padding-bottom: 60px;
    max-width: 1340px;
    margin: 0 auto;
    width: 94%;
}

/* Hero Header */
.hotels-hero-header {
    text-align: center;
    margin-bottom: 25px;
}

.hotels-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 119, 0, 0.12);
    border: 1px solid rgba(255, 119, 0, 0.35);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--saffron-primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hotels-hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 8px;
}

.hotels-hero-title span {
    background: linear-gradient(135deg, #ffed4a 0%, #ff7700 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(255, 119, 0, 0.45);
}

.hotels-hero-sub {
    font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    color: var(--text-sub);
    max-width: 720px;
    margin: 0 auto;
}

/* Category Filter Pills Bar */
.stay-filter-pills {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.stay-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 25px;
    padding: 8px 20px;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--text-sub);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stay-pill i {
    color: var(--gold-primary);
    font-size: 0.85rem;
}

.stay-pill:hover, .stay-pill.active {
    background: linear-gradient(135deg, rgba(255, 119, 0, 0.2), rgba(245, 158, 11, 0.1));
    border-color: var(--saffron-primary);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 119, 0, 0.3);
}

.stay-pill.active i {
    color: var(--saffron-primary);
}

/* ============================================
   3. STAYS GRID DISPLAY
   ============================================ */
.stays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stay-card {
    background: rgba(6, 16, 29, 0.88);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    position: relative;
}

.stay-card:hover {
    transform: translateY(-8px);
    border-color: var(--saffron-primary);
    box-shadow: 0 25px 60px rgba(0,0,0,0.85), 0 0 30px rgba(255, 119, 0, 0.25);
}

.stay-badge-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(2, 6, 11, 0.88);
    backdrop-filter: blur(10px);
    border: 1px solid var(--saffron-primary);
    color: var(--saffron-primary);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 15px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stay-thumb-box {
    position: relative;
    height: 220px;
    width: 100%;
    overflow: hidden;
}

.stay-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.stay-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.stay-title {
    font-family: 'Cinzel', serif;
    font-size: 1.18rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.stay-location {
    font-size: 0.72rem;
    color: var(--text-sub);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stay-location i {
    color: var(--saffron-primary);
}

.stay-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.feat-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.62rem;
    color: #d1d5db;
    padding: 3px 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.feat-chip i {
    color: var(--saffron-primary);
    font-size: 0.6rem;
}

.stay-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stay-price-box {
    display: flex;
    flex-direction: column;
}

.stay-price-label {
    font-size: 0.58rem;
    color: var(--text-sub);
    text-transform: uppercase;
}

.stay-price-val {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--saffron-primary);
}

.book-stay-btn {
    padding: 8px 18px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff7700 0%, #d97706 100%);
    color: #02060c;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.book-stay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 119, 0, 0.45);
}

/* ============================================
   4. INSTANT SACRED & LUXURY RESERVATION CONSOLE
   ============================================ */
.reservation-console-box {
    max-width: 960px;
    margin: 0 auto;
    background: rgba(6, 16, 29, 0.92);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 119, 0, 0.35);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.85);
}

.console-header {
    text-align: center;
    margin-bottom: 20px;
}

.console-title {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--saffron-primary);
}

.console-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.console-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.console-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--saffron-primary);
    text-transform: uppercase;
}

.console-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 6px 12px;
    height: 44px;
}

.console-wrapper i {
    color: var(--saffron-primary);
    font-size: 0.85rem;
}

.console-select, .console-input {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    outline: none;
}

.console-select option {
    background: #040c16;
    color: #fff;
}

.console-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: rgba(255, 119, 0, 0.06);
    border: 1px solid rgba(255, 119, 0, 0.3);
    border-radius: 16px;
    padding: 14px 20px;
}

.confirm-booking-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff7700 0%, #d97706 100%);
    color: #02060c;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 119, 0, 0.45);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.confirm-booking-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 119, 0, 0.65);
}

/* Home Button */
.home-glow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    background: linear-gradient(135deg, rgba(255, 119, 0, 0.18), rgba(255, 119, 0, 0.06));
    border: 1.5px solid #ff7700;
    color: #ff7700;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 0 18px rgba(255, 119, 0, 0.25);
}

.home-glow-btn:hover {
    background: #ff7700;
    color: #02060c;
    box-shadow: 0 0 28px rgba(255, 119, 0, 0.6);
    transform: translateY(-2px);
}

/* WhatsApp Floating Button */
.whatsapp-float-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    background: #25d366;
    color: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s;
}

.whatsapp-float-btn:hover {
    transform: translateY(-3px) scale(1.03);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #hotels-main-layout {
        padding-top: 95px;
        width: 92%;
    }

    .stays-grid {
        grid-template-columns: 1fr;
    }

    .console-footer-bar {
        flex-direction: column;
        text-align: center;
    }

    .confirm-booking-btn {
        width: 100%;
        justify-content: center;
    }
}
