/* ===========================
   Custom Overrides on Bootstrap
   احجزلي Design System
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;900&display=swap');

:root {
    --bs-primary:     #00457C;
    --bs-primary-rgb: 0, 69, 124;
    --accent:         #FCA311;
    --accent-rgb:     252, 163, 17;
    --dark:           #0f172a;
    --secondary-muted:#64748b;
    --light-bg:       #f8fafc;
    --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
    --shadow-md:  0 4px 16px rgba(0,0,0,.10);
    --shadow-lg:  0 12px 40px rgba(0,0,0,.13);
    --glass-bg:   rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-lg: 24px;
    --radius-md: 16px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Cairo', sans-serif;
    color: var(--dark);
    background: #fff;
    overflow-x: hidden;
}

/* ── Bootstrap Color Overrides ── */
.btn-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    transition: var(--transition);
}
.btn-primary:hover {
    background-color: #005fa3 !important;
    border-color: #005fa3 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,69,124,.3);
}
.btn-accent {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    transition: var(--transition);
}
.btn-accent:hover {
    background-color: #e5940e !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252,163,17,.35);
}

/* ── Navbar ── */
#navbar {
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: .8rem 0;
}
#navbar.scrolled {
    padding: .5rem 0;
    box-shadow: var(--shadow-md);
}
.navbar-brand {
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--bs-primary) !important;
    text-decoration: none;
}
.navbar-brand span { color: var(--accent); }

.nav-link-item {
    color: var(--dark) !important;
    font-weight: 600;
    transition: var(--transition);
    padding: .4rem .9rem !important;
    border-radius: 8px;
}
.nav-link-item:hover, .nav-link-item.active {
    color: var(--accent) !important;
    background: rgba(252,163,17,.08);
}

/* ── Hero ── */
.hero-section {
    background: 
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.55)),
        url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?auto=format&fit=crop&w=1600&q=80') 
        center/cover no-repeat fixed;
    min-height: 88vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.25;
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.hero-subtitle {
    font-size: 1.15rem;
    opacity: .9;
    max-width: 600px;
    margin: 1rem auto 2rem;
}

/* Search Widget */
.search-widget {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 960px;
    margin: 0 auto;
}
.search-widget .form-label {
    font-size: .8rem;
    font-weight: 700;
    color: var(--secondary-muted);
    margin-bottom: .25rem;
}
.search-widget .form-control,
.search-widget .form-select {
    font-family: 'Cairo', sans-serif;
    border: none;
    border-radius: 8px;
    background: var(--light-bg);
    font-size: .95rem;
    font-weight: 600;
    color: var(--dark);
}
.search-widget .form-control:focus,
.search-widget .form-select:focus {
    box-shadow: 0 0 0 3px rgba(0,69,124,.15);
    background: #fff;
}
.search-divider {
    width: 1px;
    background: #e2e8f0;
    align-self: stretch;
    margin: .5rem 0;
}

/* ── Stats Bar ── */
.stats-bar {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}
.stat-item {
    padding: 1.5rem;
    text-align: center;
    border-inline-end: 1px solid #f1f5f9;
}
.stat-item:last-child { border: none; }
.stat-item h3 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--bs-primary);
    margin: 0;
}
.stat-item p { font-size: .9rem; color: var(--secondary-muted); margin: 0; }

/* ── Section Headers ── */
.section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: .5rem;
}
.section-title span { color: var(--bs-primary); }

/* ── Destination Cards ── */
.dest-card {
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 380px;
    text-decoration: none;
    transition: var(--transition);
}
.dest-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.dest-card:hover img { transform: scale(1.08); }
.dest-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.78) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: #fff;
}
.dest-overlay h3 {
    font-size: 1.5rem;
    font-weight: 800;
    transform: translateY(8px);
    transition: var(--transition);
    margin: 0;
}
.dest-overlay p {
    font-size: .9rem;
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition) .05s;
    margin: .25rem 0 0;
}
.dest-card:hover .dest-overlay h3,
.dest-card:hover .dest-overlay p {
    transform: translateY(0);
    opacity: 1;
}

/* ── Hotel Cards ── */
.hotel-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: none;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.hotel-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.hotel-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform .4s ease;
}
.hotel-card:hover .card-img-top { transform: scale(1.04); }
.hotel-img-wrap { overflow: hidden; position: relative; }
.hotel-tag {
    position: absolute;
    top: .8rem;
    inset-inline-start: .8rem;
    background: var(--accent);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: .3rem .75rem;
    border-radius: 50px;
}
.hotel-rating { color: var(--accent); font-size: .85rem; }
.hotel-price {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--bs-primary);
}
.hotel-price small { font-size: .75rem; color: var(--secondary-muted); font-weight: 400; }

/* ── Feature Cards ── */
.feature-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid transparent;
    transition: var(--transition);
    height: 100%;
}
.feature-card:hover {
    border-color: var(--bs-primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.feature-icon {
    width: 72px; height: 72px;
    background: rgba(0,69,124,.07);
    color: var(--bs-primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}
.feature-card:hover .feature-icon {
    background: var(--bs-primary);
    color: #fff;
}

/* ── Testimonials ── */
.testimonials-section { background: var(--light-bg); }
.test-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    border: 1px solid #f1f5f9;
}
.test-content {
    font-size: 1rem;
    color: var(--secondary-muted);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}
.user-avatar-letter {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ── FAQ ── */
.faq-item {
    background: #fff;
    border-radius: var(--radius-md);
    margin-bottom: .75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
    overflow: hidden;
}
.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--dark);
    transition: var(--transition);
    user-select: none;
}
.faq-question:hover { color: var(--bs-primary); }
.faq-question i { transition: transform .3s ease; color: var(--bs-primary); }
.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all .35s ease;
    color: var(--secondary-muted);
    font-size: .95rem;
    line-height: 1.8;
}
.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.25rem;
    max-height: 200px;
}
.faq-item.active .faq-question i { transform: rotate(180deg); }

/* ── App Promo ── */
.app-promo-section {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #005fa3 100%);
    border-radius: var(--radius-lg);
    color: #fff;
}
.app-btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    padding: .7rem 1.4rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.app-btn:hover {
    background: rgba(255,255,255,.28);
    color: #fff;
    transform: translateY(-2px);
}
.app-mockup-icon {
    font-size: 8rem;
    opacity: .25;
    color: #fff;
}

/* ── Newsletter ── */
.newsletter-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
}

/* ── Footer ── */
footer {
    background: var(--dark);
    color: #94a3b8;
}
footer h5 { color: #fff; }
footer a { color: #94a3b8; text-decoration: none; transition: var(--transition); }
footer a:hover { color: var(--accent); }
.social-link {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.social-link:hover { background: var(--accent) !important; color: #fff !important; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 1.5rem;
    font-size: .85rem;
}

/* ── Hotels Page ── */
.listing-hero {
    background:
        linear-gradient(rgba(0,0,0,.58), rgba(0,0,0,.58)),
        url('https://images.unsplash.com/photo-1549294413-26f195200c16?auto=format&fit=crop&w=1600&q=80')
        center/cover;
    padding: 5rem 0;
    color: #fff;
    text-align: center;
}
.search-bar-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    margin-top: -2.5rem;
    position: relative;
    z-index: 10;
}
.filter-section {
    background: var(--light-bg);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.filter-title {
    font-size: .95rem;
    font-weight: 800;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}
.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

/* Pagination */
.page-link { color: var(--bs-primary); font-family: 'Cairo', sans-serif; border-radius: 8px !important; margin: 0 3px; }
.page-link:hover { background: rgba(0,69,124,.08); color: var(--bs-primary); }
.page-item.active .page-link { background: var(--bs-primary); border-color: var(--bs-primary); }

/* ── Hotel Details Page ── */
.breadcrumb-item a { color: var(--bs-primary); text-decoration: none; }
.gallery-main { height: 420px; border-radius: var(--radius-lg); overflow: hidden; }
.gallery-main img, .gallery-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); transition: transform .4s ease; }
.gallery-main img:hover, .gallery-thumb img:hover { transform: scale(1.04); }
.gallery-thumb { height: 200px; overflow: hidden; border-radius: var(--radius-md); }
.section-box {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
}
.section-box-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
    padding-bottom: .75rem;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 1.25rem;
}
.amenity-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 600;
    font-size: .92rem;
}
.amenity-item i { color: var(--bs-primary); width: 20px; }
.booking-sticky {
    background: var(--light-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 90px;
}
.booking-price-tag {
    font-size: 2rem;
    font-weight: 900;
    color: var(--bs-primary);
}
.booking-price-tag small { font-size: .9rem; color: var(--secondary-muted); font-weight: 400; }
.review-card {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

/* ── Login Page ── */
.login-page { min-height: 100vh; background: linear-gradient(135deg, var(--bs-primary) 0%, #00396a 100%); display: flex; align-items: center; justify-content: center; }
.login-card { background: #fff; border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-lg); width: 100%; max-width: 440px; }
.login-logo { font-size: 2rem; font-weight: 900; color: var(--bs-primary); }
.login-logo span { color: var(--accent); }

/* ── Dashboard ── */
:root {
    --sidebar-w: 270px;
    --sidebar-c: 72px;
    --header-h: 68px;
}
.admin-body { background: #f0f2f5; }
.sidebar {
    width: var(--sidebar-w);
    min-height: 100vh;
    background: var(--bs-primary);
    position: fixed;
    inset-block-start: 0;
    inset-inline-start: 0;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transition: width .3s ease;
    overflow: hidden;
}
.sidebar.collapsed { width: var(--sidebar-c); }
.sidebar-logo { font-size: 1.4rem; font-weight: 900; color: #fff; text-decoration: none; white-space: nowrap; }
.sidebar-logo span { color: var(--accent); }
.sidebar.collapsed .sidebar-logo,
.sidebar.collapsed .nav-text { display: none; }
.sidebar-toggle {
    background: rgba(255,255,255,.12);
    border: none;
    color: #fff;
    padding: .45rem .6rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}
.sidebar-toggle:hover { background: rgba(255,255,255,.22); }
.sidebar nav ul { list-style: none; padding: .75rem; }
.sidebar nav ul li { margin-bottom: .35rem; }
.sidebar-link {
    display: flex;
    align-items: center;
    padding: .7rem 1rem;
    color: rgba(255,255,255,.72);
    text-decoration: none;
    border-radius: 10px;
    transition: var(--transition);
    white-space: nowrap;
}
.sidebar-link i { width: 28px; font-size: 1.1rem; flex-shrink: 0; }
.sidebar-link:hover, .sidebar-link.active {
    background: rgba(255,255,255,.15);
    color: #fff;
}
.sidebar-link.active i { color: var(--accent); }

.main-content {
    margin-inline-start: var(--sidebar-w);
    transition: margin .3s ease;
    min-height: 100vh;
}
.main-content.expanded { margin-inline-start: var(--sidebar-c); }

.dash-header {
    height: var(--header-h);
    background: #fff;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 900;
}
.dash-search {
    background: #f1f5f9;
    border: none;
    border-radius: 30px;
    padding: .45rem 1.1rem;
    font-family: 'Cairo', sans-serif;
    outline: none;
    width: 280px;
}
.stat-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition);
    height: 100%;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-icon {
    width: 58px; height: 58px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.icon-blue { background: rgba(0,69,124,.1); color: var(--bs-primary); }
.icon-gold { background: rgba(252,163,17,.1); color: var(--accent); }
.icon-green { background: rgba(34,197,94,.1); color: #22c55e; }
.icon-red { background: rgba(239,68,68,.1); color: #ef4444; }
.stat-label { font-size: .82rem; color: var(--secondary-muted); margin-bottom: .2rem; }
.stat-value { font-size: 1.45rem; font-weight: 900; color: var(--dark); line-height: 1; }
.stat-trend { font-size: .75rem; margin-top: .25rem; }
.trend-up { color: #22c55e; }
.trend-down { color: #ef4444; }

.dash-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
}
.dash-card-title { font-size: 1.1rem; font-weight: 700; }

.status-badge { padding: .3rem .75rem; border-radius: 50px; font-size: .75rem; font-weight: 700; }
.status-confirmed { background: rgba(34,197,94,.12); color: #16a34a; }
.status-pending   { background: rgba(245,158,11,.12); color: #d97706; }
.status-cancelled { background: rgba(239,68,68,.12); color: #dc2626; }

.room-status-card {
    padding: .9rem 1rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    border-inline-start: 4px solid;
    text-align: center;
}
.room-occupied { border-color: var(--bs-primary); }
.room-vacant   { border-color: #22c55e; }
.room-cleaning { border-color: #f59e0b; }

.btn-icon {
    width: 32px; height: 32px;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    color: var(--secondary-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: .85rem;
}
.btn-icon:hover { background: var(--bs-primary); color: #fff; }

/* Common form for admin pages */
.admin-form-control {
    font-family: 'Cairo', sans-serif;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: .7rem 1rem;
    width: 100%;
    outline: none;
    transition: var(--transition);
    font-size: .95rem;
}
.admin-form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px rgba(0,69,124,.12);
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .sidebar { inset-inline-start: -100%; }
    .sidebar.mobile-open { inset-inline-start: 0; }
    .main-content { margin-inline-start: 0 !important; }
    .gallery-main { height: 260px; }
    .hero-section { min-height: 70vh; }
}

/* ── Language Switcher ── */
.lang-switcher-container { display: flex; align-items: center; }
.lang-btn {
    font-size: .78rem !important;
    padding: .3rem .75rem !important;
    font-weight: 700 !important;
    line-height: 1.4;
    border-radius: 50px !important;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
}
.lang-btn.btn-primary {
    background: var(--bs-primary) !important;
    color: #fff !important;
    border-color: var(--bs-primary) !important;
    transform: none !important;
    box-shadow: none !important;
}
.lang-btn.btn-outline-secondary {
    color: var(--secondary-muted) !important;
    border-color: #e2e8f0 !important;
    background: transparent !important;
}
.lang-btn.btn-outline-secondary:hover {
    background: var(--light-bg) !important;
    transform: none !important;
    box-shadow: none !important;
}
@media (max-width: 768px) {
    .search-widget { padding: 1rem; }
    .listing-hero { padding: 3rem 0; }
    .stat-item { border: none; border-bottom: 1px solid #f1f5f9; }
}

/* ── Hover Zoom Utility ── */
.hover-zoom img { transition: transform 0.5s ease; }
.hover-zoom:hover img { transform: scale(1.08); }
.hover-zoom-content { transition: transform 0.4s ease; }
.hover-zoom:hover .hover-zoom-content { transform: translateY(-5px); }
.inset-0 { inset: 0 !important; }
.object-fit-cover { object-fit: cover !important; }

/* ── Offers Immersive Page (Enhanced) ── */
.offers-wrapper {
    background: 
        linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.9)),
        url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=80') 
        center/cover no-repeat fixed;
    min-height: 100vh;
}
.offer-hero-full {
    padding: 12rem 0 8rem;
    text-align: center;
    color: #fff;
    background: linear-gradient(to bottom, rgba(15,23,42,0.6) 0%, transparent 100%);
}
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    color: #fff;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}
.glass-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.45);
}
.offer-spotlight {
    background: rgba(252, 163, 17, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(252, 163, 17, 0.3);
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.offer-spotlight::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(252,163,17,0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Editorial Layouts */
.editorial-row {
    margin-bottom: 6rem;
    align-items: center;
}
.editorial-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.editorial-img-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.editorial-content-float {
    margin-inline-start: -100px; /* Overlap effect */
    position: relative;
    z-index: 2;
}
.editorial-row:nth-child(even) .editorial-content-float {
    margin-inline-start: 0;
    margin-inline-end: -100px;
}
@media (max-width: 991px) {
    .editorial-content-float { margin: -60px 1.5rem 0 !important; }
    .editorial-img-wrap img { height: 350px; }
}

.price-tag-large {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Nav Clarity Assist */
#navbar.offers-nav {
    background: rgba(15, 23, 42, 0) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
#navbar.offers-nav.scrolled {
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
#navbar.offers-nav .nav-link-item {
    color: rgba(255,255,255,0.8) !important;
}
#navbar.offers-nav .nav-link-item:hover,
#navbar.offers-nav .nav-link-item.active {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
}


/* ── Hotel Mosaic Gallery ── */
.hotel-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 12px;
    margin-bottom: 2rem;
}
.mosaic-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.mosaic-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.mosaic-item:hover img { transform: scale(1.05); }

/* Main large photo */
.mosaic-main { grid-column: span 2; grid-row: span 2; }

/* "Show All" Overlay */
.mosaic-overlay-btn {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}
.mosaic-overlay-btn:hover { background: rgba(0,0,0,0.55); }

/* ── Secondary Navigation ── */
.secondary-nav {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 70px; /* Below main nav */
    z-index: 100;
    margin-bottom: 2.5rem;
}
.secondary-nav .nav-link {
    color: var(--secondary-muted);
    font-weight: 700;
    font-size: .95rem;
    padding: 1.25rem 1rem;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}
.secondary-nav .nav-link:hover, .secondary-nav .nav-link.active {
    color: var(--bs-primary);
    border-bottom-color: var(--bs-primary);
}

/* ── Categorized Amenities ── */
.amenity-group { margin-bottom: 2rem; }
.amenity-group-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}
.amenity-group-title i { color: var(--bs-primary); font-size: 1.1rem; }

@media (max-width: 992px) {
    .hotel-mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 180px);
    }
    .mosaic-main { grid-column: span 2; grid-row: span 1; }
    .secondary-nav { display: none; } /* Hide on mobile to save space */
}

/* ── Share Buttons ── */
.share-buttons {
    display: flex;
    gap: .75rem;
}
.share-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--light-bg);
    color: var(--bs-primary);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}
.share-btn:hover {
    background: var(--bs-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,69,124,0.15);
}

/* ── Location & Map ── */
.map-container {
    height: 350px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    border: 1px solid #e2e8f0;
}
.map-container img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.nearby-item {
    padding: .75rem 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .92rem;
}
.nearby-item:last-child { border: none; }
.nearby-dist {
    padding: .2rem .6rem;
    background: rgba(0,69,124,0.06);
    color: var(--bs-primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: .78rem;
}

/* ── Room Selection Interaction ── */
.row-selected {
    background-color: rgba(0, 69, 124, 0.04);
    border-inline-start: 4px solid var(--bs-primary) !important;
}
@keyframes highlight-pulse {
    0% { transform: scale(1); box-shadow: var(--shadow-md); }
    50% { transform: scale(1.03); box-shadow: 0 0 20px rgba(0,69,124,0.3); }
    100% { transform: scale(1); box-shadow: var(--shadow-md); }
}
.sidebar-highlight {
    animation: highlight-pulse 0.8s ease-out;
}

/* ── Checkout Page ── */
.checkout-section {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
}
.booking-summary-card {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}
.step-number {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800;
    margin-inline-end: .75rem;
}

/* ── Credit Card Mockup ── */
.payment-card-wrap {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    padding: 1.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.6 / 1;
    max-width: 380px;
    margin: 1.5rem auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.payment-card-wrap::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.card-chip {
    width: 45px; height: 35px;
    background: linear-gradient(135deg, #d4af37 0%, #f9e29b 100%);
    border-radius: 6px;
    margin-bottom: 2rem;
}
.card-number-display {
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-family: monospace;
}
.card-brand {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    font-style: italic;
    font-weight: 900;
    font-size: 1.2rem;
    opacity: 0.8;
}


/* ── Inline Status Select (Admin) ── */
.status-inline-select {
    border: none;
    border-radius: 50px;
    padding: 0.25rem 2.2rem 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 0.75rem center; /* RTL support: left for the arrow */
    background-size: 10px 10px;
    appearance: none;
    transition: var(--transition);
    width: auto;
    min-width: 110px;
}
[dir="rtl"] .status-inline-select {
    background-position: left 0.75rem center; 
    padding: 0.25rem 1rem 0.25rem 2.2rem;
}

.status-inline-select.occupied { background-color: rgba(239, 68, 68, 0.1); color: #ef4444; }
.status-inline-select.vacant   { background-color: rgba(34, 197, 94, 0.1); color: #22c55e; }
.status-inline-select.cleaning { background-color: rgba(245, 158, 11, 0.1); color: #f59e0b; }

.status-inline-select:hover {
    filter: brightness(0.95);
    box-shadow: var(--shadow-sm);
}
.status-inline-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 69, 124, 0.15);
}
