/*============================================================================================*/
/* DesertCamp - Mobile-First & Modern Resort Refinements */
/*============================================================================================*/

/* 1. Mobile Sticky Bottom Action Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(48, 39, 31, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    border-top: 1px solid rgba(231, 209, 158, 0.2);
}

.mobile-sticky-bar .sticky-action {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #e6d5b5;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    gap: 3px;
    padding: 6px 4px;
    transition: all 0.2s ease;
    min-height: 48px;
}

.mobile-sticky-bar .sticky-action i {
    font-size: 18px;
    line-height: 1;
}

.mobile-sticky-bar .sticky-action:hover,
.mobile-sticky-bar .sticky-action:focus,
.mobile-sticky-bar .sticky-action:active {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.mobile-sticky-bar .call-action i {
    color: #e7d19e;
}

.mobile-sticky-bar .whatsapp-action i {
    color: #25D366;
}

.mobile-sticky-bar .book-action {
    background: linear-gradient(135deg, #a27b42 0%, #c4995a 100%);
    color: #ffffff !important;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.mobile-sticky-bar .book-action i {
    color: #ffffff;
}

/* Ensure body does not overlap with sticky bottom bar on mobile */
@media (max-width: 767px) {
    body {
        padding-bottom: 64px !important;
    }
}

/* 2. Touch Target & Mobile Typography Guidelines */
button,
.btn_1,
a.btn_1,
input[type="submit"],
.form-control,
select.form-control {
    min-height: 44px;
    touch-action: manipulation;
}

/* Prevent auto-zoom on mobile inputs in iOS */
@media screen and (max-width: 767px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* 3. Hero & Content Mobile Fluidity */
.hero_single {
    width: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Image Fluidity */
img {
    max-width: 100%;
    height: auto;
}

/* Clean Badge Styling */
.badge-custom {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;
}
.badge-gold {
    background: rgba(162, 123, 66, 0.15);
    color: #a27b42;
    border: 1px solid rgba(162, 123, 66, 0.35);
}

/* 4. Voucher & Receipt Print Styling */
@media print {
    .mobile-sticky-bar,
    header,
    footer,
    .progress-wrap,
    .no-print {
        display: none !important;
    }
    body {
        padding: 0 !important;
        background: #fff !important;
    }
    .print-receipt {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* 5. Viewport Protection & Accessibility */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Accessible Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #a27b42 !important;
    outline-offset: 2px !important;
}

/* Subtle Card Micro-Interactions */
.card-hover-effect {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
    .card-hover-effect:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 30px rgba(48, 39, 31, 0.12);
    }
}

/* ==========================================================================
   TASK 5: MOBILE HEADER — SHOW LOGO, NOT HOTEL NAME
   ========================================================================== */
header .header-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.hotel-name-desktop {
    font-family: Georgia, serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff;
    vertical-align: middle;
}

header.fixed_header.sticky .hotel-name-desktop {
    color: #30271f;
}

@media (max-width: 991px) {
    header,
    header.fixed_header {
        padding: 8px 0 !important;
    }

    .header-row {
        flex-wrap: nowrap !important;
    }

    .header-brand-col {
        display: flex;
        align-items: center;
        flex: 1 1 auto;
        min-width: 0;
        padding-right: 10px;
    }

    .header-nav-col {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex: 0 0 auto;
    }

    .hotel-name-desktop {
        display: none !important;
    }

    header .header-logo {
        max-height: 38px !important;
        width: auto !important;
        max-width: 130px !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
    }

    header .logo_normal {
        display: block !important;
    }
    header .logo_sticky {
        display: none !important;
    }
    header.fixed_header.sticky .logo_normal {
        display: none !important;
    }
    header.fixed_header.sticky .logo_sticky {
        display: block !important;
    }

    .hamburger_2 {
        top: 0 !important;
        margin: 0 !important;
        padding: 6px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        cursor: pointer;
    }
}

/* ==========================================================================
   TASK 4: REDESIGNED MOBILE NAVIGATION DRAWER
   ========================================================================== */
@media only screen and (max-width: 991px) {
    .main-menu {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        width: clamp(260px, 42vw, 320px) !important;
        max-width: 85vw !important;
        height: 100vh !important;
        background: #ffffff !important;
        z-index: 100000 !important;
        transform: translateX(105%) !important;
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s ease !important;
        box-shadow: none !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        border-left: 1px solid rgba(162, 123, 66, 0.2) !important;
        padding: 0 !important;
    }

    .main-menu.show {
        transform: translateX(0) !important;
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.32) !important;
        width: clamp(260px, 42vw, 320px) !important;
    }

    .layer {
        background-color: rgba(20, 16, 12, 0.5) !important;
        backdrop-filter: blur(3px) !important;
        -webkit-backdrop-filter: blur(3px) !important;
        transition: opacity 0.3s ease, visibility 0.3s ease !important;
        z-index: 99999 !important;
    }

    .drawer-header-bar {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 14px 18px;
        border-bottom: 1px solid #f0e6d8;
        background: #faf6f0;
    }

    .drawer-header-bar .logo_panel {
        display: flex !important;
        align-items: center;
        border: none !important;
        padding: 0 !important;
    }

    .drawer-header-bar .drawer-logo {
        max-height: 32px;
        width: auto;
        object-fit: contain;
    }

    .drawer-header-bar .closebt {
        position: static !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px;
        min-height: 36px;
        border-radius: 50%;
        background: rgba(48, 39, 31, 0.08);
        color: #30271f !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        border: none;
        padding: 0;
        cursor: pointer;
        transition: all 0.2s ease;
        font-size: 16px;
    }

    .drawer-header-bar .closebt:hover,
    .drawer-header-bar .closebt:focus {
        background: #a27b42;
        color: #ffffff !important;
    }

    .main-menu #mainNav {
        padding: 12px 14px !important;
        flex: 1 1 auto;
    }

    .main-menu #mainNav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .main-menu #mainNav ul li {
        display: block;
        margin: 0;
        padding: 0;
    }

    .main-menu #mainNav ul li a {
        display: flex !important;
        align-items: center;
        padding: 8px 12px !important;
        margin: 0 !important;
        color: #30271f !important;
        font-size: 13.5px !important;
        font-weight: 600;
        letter-spacing: 0.3px;
        text-transform: none !important;
        border-radius: 8px;
        transition: all 0.2s ease;
        line-height: 1.3;
    }

    .main-menu #mainNav ul li a i {
        font-size: 16px;
        color: #a27b42;
    }

    .main-menu #mainNav ul li a:hover,
    .main-menu #mainNav ul li a.active,
    .main-menu #mainNav ul li a:focus {
        background: rgba(162, 123, 66, 0.1) !important;
        color: #a27b42 !important;
    }

    .main-menu #mainNav ul li a.btn_1 {
        background: linear-gradient(135deg, #a27b42 0%, #c4995a 100%) !important;
        color: #ffffff !important;
        justify-content: center;
        margin-top: 10px !important;
        padding: 10px 14px !important;
        font-weight: 600;
        font-size: 13px !important;
        border-radius: 24px;
        box-shadow: 0 4px 12px rgba(162, 123, 66, 0.25);
    }

    .main-menu #mainNav ul li a.btn_1 i {
        color: #ffffff !important;
    }

    .main-menu ul li.submenu ul {
        padding-left: 20px !important;
        margin-top: 4px;
        border-left: 2px solid #ecdac4;
        display: none;
    }

    .main-menu ul li.submenu ul li a {
        font-size: 12.5px !important;
        padding: 6px 10px !important;
        font-weight: 500;
        color: #665c52 !important;
    }

    .drawer-footer-info {
        padding: 12px 14px;
        border-top: 1px solid #f0e6d8;
        background: #faf6f0;
        margin-top: auto;
    }

    .drawer-contact-links {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .drawer-tel-link,
    .drawer-wa-link {
        font-size: 12px;
        font-weight: 600;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 6px;
        color: #30271f;
    }

    .drawer-wa-link {
        color: #128c7e;
    }
}

/* ==========================================================================
   TASK 3: GLOBAL FLOATING BOOK NOW / INQUIRY WIDGET
   ========================================================================== */
.dc-floating-widget {
    position: fixed;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Desktop positioning */
@media (min-width: 992px) {
    .dc-floating-widget {
        bottom: 24px;
        right: 80px;
    }

    .dc-floating-trigger {
        background: linear-gradient(135deg, #30271f 0%, #46392d 100%);
        border: 1px solid rgba(231, 209, 158, 0.4);
        color: #f1dfc3;
        padding: 10px 18px;
        border-radius: 30px;
        font-size: 13.5px;
        font-weight: 600;
        letter-spacing: 0.5px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
        display: inline-flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        transition: all 0.25s ease;
    }

    .dc-floating-trigger:hover,
    .dc-floating-widget.active .dc-floating-trigger {
        background: linear-gradient(135deg, #a27b42 0%, #c4995a 100%);
        color: #ffffff;
        box-shadow: 0 8px 25px rgba(162, 123, 66, 0.35);
        transform: translateY(-2px);
    }

    .dc-floating-trigger .dc-icon-default {
        font-size: 16px;
    }
}

/* Mobile positioning */
@media (max-width: 991px) {
    .dc-floating-widget {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        right: 16px;
    }

    .dc-floating-trigger {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        border-radius: 50%;
        background: linear-gradient(135deg, #a27b42 0%, #c4995a 100%);
        border: 2px solid rgba(255, 255, 255, 0.85);
        color: #ffffff;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.25s ease;
        padding: 0;
    }

    .dc-floating-trigger:active {
        transform: scale(0.94);
    }

    .dc-floating-trigger .dc-icon-default {
        font-size: 20px;
    }
}

.dc-floating-trigger .dc-icon-active {
    display: none;
    font-size: 18px;
}

.dc-floating-widget.active .dc-floating-trigger .dc-icon-default {
    display: none;
}

.dc-floating-widget.active .dc-floating-trigger .dc-icon-active {
    display: inline-block;
}

/* Action Menu Popup */
.dc-floating-menu {
    position: absolute;
    bottom: calc(100% + 12px);
    right: 0;
    background: #ffffff;
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(162, 123, 66, 0.25);
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 230px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    pointer-events: none;
}

.dc-floating-widget.active .dc-floating-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.dc-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dc-menu-item:hover,
.dc-menu-item:focus {
    background: #fbf7f1;
}

.dc-item-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.dc-book-item .dc-item-icon {
    background: rgba(162, 123, 66, 0.15);
    color: #a27b42;
}

.dc-inquire-item .dc-item-icon {
    background: rgba(48, 39, 31, 0.1);
    color: #30271f;
}

.dc-item-text {
    display: flex;
    flex-direction: column;
}

.dc-item-text strong {
    font-size: 13.5px;
    color: #30271f;
    line-height: 1.2;
}

.dc-item-text small {
    font-size: 10.5px;
    color: #7a7065;
    line-height: 1.2;
    margin-top: 2px;
}

/* ==========================================================================
   TASK 1: MOBILE RESPONSIVENESS — TYPOGRAPHY & SPACING OVERRIDES
   ========================================================================== */
@media (max-width: 767px) {
    /* Section padding reductions */
    .margin_120_95 {
        padding-top: 48px !important;
        padding-bottom: 40px !important;
    }

    .margin_120_0 {
        padding-top: 48px !important;
    }

    .margin_120 {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .margin_80 {
        padding-top: 36px !important;
        padding-bottom: 36px !important;
    }

    .margin_80_55 {
        padding-top: 36px !important;
        padding-bottom: 28px !important;
    }

    .add_bottom_90 {
        margin-bottom: 36px !important;
    }

    .add_bottom_60 {
        margin-bottom: 28px !important;
    }

    .add_bottom_45 {
        margin-bottom: 20px !important;
    }

    /* Headings on mobile */
    .title h2 {
        font-size: clamp(22px, 5.8vw, 26px) !important;
        line-height: 1.22 !important;
        margin-bottom: 10px !important;
    }

    .title h3 {
        font-size: clamp(18px, 4.8vw, 21px) !important;
        line-height: 1.25 !important;
    }

    .title small {
        font-size: 10.5px !important;
        letter-spacing: 2px !important;
        margin-bottom: 4px !important;
    }

    .title.mb-3 {
        margin-bottom: 1rem !important;
    }

    p.lead {
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    /* Hero single on subpages */
    .hero_single {
        min-height: 280px !important;
    }

    .hero_single.version_2 {
        min-height: 300px !important;
    }

    .hero_single h1 {
        font-size: clamp(24px, 6.2vw, 32px) !important;
        line-height: 1.18 !important;
    }

    /* Cards, rooms, and images */
    .box_cat_rooms {
        margin-bottom: 20px !important;
    }

    .box_cat_rooms figure .info h3 {
        font-size: 18px !important;
    }

    /* Marquee overflow prevention */
    .marquee {
        width: 100% !important;
        max-width: 100% !important;
        height: 70px !important;
        font-size: 60px !important;
        margin-top: -30px !important;
        overflow: hidden !important;
    }

    /* Parallax image overlapping adjustment on small screens */
    .parallax_wrapper {
        padding-left: 0 !important;
        margin-bottom: 20px !important;
    }

    .parallax_wrapper .img_over {
        position: static !important;
        margin-top: -30px !important;
        margin-left: 20px !important;
        margin-right: 20px !important;
    }

    .parallax_wrapper .img_over img {
        width: 65% !important;
    }

    /* Pinned image sections */
    .pinned-image--medium {
        min-height: 280px !important;
    }

    .pinned_over_content .title h2 {
        font-size: 20px !important;
        line-height: 1.25 !important;
    }

    /* Form & button usability */
    .btn_1 {
        padding: 10px 18px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .title h2 {
        font-size: 21px !important;
    }

    .hero_single h1 {
        font-size: 24px !important;
    }

    .margin_120_95 {
        padding-top: 36px !important;
        padding-bottom: 30px !important;
    }
}

/* ==========================================================================
   TASK 2: MODERN GOOGLE REVIEWS SECTION STYLING
   ========================================================================== */
.dc-google-reviews-section {
    background: linear-gradient(180deg, #fbf8f3 0%, #f4ede2 100%);
    padding: 38px 0 42px;
    border-top: 1px solid rgba(231, 209, 158, 0.4);
    border-bottom: 1px solid rgba(231, 209, 158, 0.4);
    position: relative;
    overflow: hidden;
}

.dc-google-reviews-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4285F4 0%, #EA4335 33%, #FBBC05 66%, #34A853 100%);
}

.dc-reviews-header-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 20px;
    border: 1px solid #ebd9c2;
    box-shadow: 0 4px 18px rgba(48, 39, 31, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.dc-google-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dc-google-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #eef0f2;
}

.dc-google-text h3 {
    font-size: 17px;
    font-weight: 700;
    color: #30271f;
    margin: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dc-google-text span {
    font-size: 11.5px;
    color: #796e62;
    display: block;
}

.dc-rating-summary {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dc-rating-big {
    font-size: 26px;
    font-weight: 800;
    color: #30271f;
    line-height: 1;
}

.dc-stars-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dc-stars {
    color: #fbbc04;
    font-size: 14px;
    letter-spacing: 1px;
}

.dc-review-count {
    font-size: 11px;
    color: #665b4f;
    font-weight: 500;
}

.dc-review-cards-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 14px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #c4995a #eee;
}

.dc-review-cards-track::-webkit-scrollbar {
    height: 6px;
}
.dc-review-cards-track::-webkit-scrollbar-thumb {
    background: #c4995a;
    border-radius: 4px;
}
.dc-review-cards-track::-webkit-scrollbar-track {
    background: #eae2d5;
}

.dc-review-item-card {
    flex: 0 0 310px;
    width: 310px;
    background: #ffffff;
    border-radius: 12px;
    padding: 18px;
    border: 1px solid #ecdac4;
    box-shadow: 0 4px 14px rgba(48, 39, 31, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    scroll-snap-align: start;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (max-width: 575px) {
    .dc-review-item-card {
        flex: 0 0 82vw;
        width: 82vw;
        min-width: 260px;
        max-width: 310px;
    }
}

.dc-review-item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(48, 39, 31, 0.1);
}

.dc-reviewer-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.dc-reviewer-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a27b42 0%, #30271f 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.dc-reviewer-meta h4 {
    font-size: 13.5px;
    font-weight: 700;
    margin: 0;
    color: #30271f;
    line-height: 1.2;
}

.dc-reviewer-meta small {
    font-size: 11px;
    color: #8c8276;
}

.dc-review-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.dc-review-comment {
    font-size: 12.5px;
    line-height: 1.55;
    color: #4a423a;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dc-reviews-empty-state {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 20px;
    border: 1px solid #ebd9c2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.dc-reviews-empty-state h4 {
    font-size: 16px;
    font-weight: 700;
    color: #30271f;
    margin: 10px 0 6px;
}

.dc-reviews-empty-state p {
    font-size: 13px;
    color: #7a7065;
    margin-bottom: 14px;
}



