/* ==========================================================================
   HOTEL REGENCY VARANASI - PERFECT MODERN LUXURY STICKY HEADER
   File: public/assets/frontend/css/luxe-header.css
   ========================================================================== */

/* Main Fixed Header Container - Default / Primary State (Transparent as originally designed) */
.fixed-top.luxe-header-sticky-wrap {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1030 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: none !important;
    transition: background-color 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    margin: 0 !important;
}

/* On Sticky Scroll (scrolled past threshold) - Remains same modern luxury style */
.fixed-top.luxe-header-sticky-wrap.is-sticky {
    top: 0 !important; /* Strictly pinned at top: 0, no cutting off */
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 4px 25px rgba(20, 20, 74, 0.08) !important;
    border-bottom: 1px solid rgba(28, 28, 117, 0.12) !important;
}

/* Inner Navigation Bar */
.luxe-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    transition: padding 0.3s ease;
    border-bottom: none !important;
    width: 100%;
}

.is-sticky .luxe-navbar {
    padding: 10px 0 !important;
}

/* Brand Logo - Size remains constant in both primary and sticky states */
.luxe-brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.luxe-brand-logo {
    max-height: 52px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.is-sticky .luxe-brand-logo {
    max-height: 52px !important; /* Size remains identical to present */
}

.luxe-brand-logo-wrap:hover .luxe-brand-logo {
    transform: scale(1.02);
}

/* Desktop Navigation Menu */
.luxe-nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2px;
}

.luxe-nav-link {
    display: inline-flex;
    align-items: center;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 0.93rem;
    font-weight: 600;
    color: #14144a !important;
    text-decoration: none !important;
    padding: 8px 12px !important;
    border-radius: 8px;
    position: relative;
    transition: color 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.is-sticky .luxe-nav-link {
    text-shadow: none !important;
}

.luxe-nav-link:hover {
    color: #c11111 !important;
    background: rgba(193, 17, 17, 0.05);
}

/* Active Link - Refined Bottom Indicator Bar (replaces the old floating red circle) */
.luxe-nav-link.active {
    color: #c11111 !important;
    background: rgba(193, 17, 17, 0.04);
}

.luxe-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 12px;
    right: 12px;
    height: 2.5px;
    background: linear-gradient(90deg, #c11111, #e5a93c);
    border-radius: 2px;
}

/* Disable legacy circular dot before active link from style.css */
.navbar .navbar-nav .nav-link.active::before,
.luxe-nav-link.active::before {
    display: none !important;
    content: none !important;
}

/* Header Action Right (Book Now Button) */
.luxe-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.luxe-nav-book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c11111 0%, #891414 100%);
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 50px;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 14px rgba(193, 17, 17, 0.35);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.luxe-nav-book-btn i {
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}

.luxe-nav-book-btn:hover {
    background: linear-gradient(135deg, #da1717 0%, #a81c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(193, 17, 17, 0.45);
    color: #ffffff !important;
}

.luxe-nav-book-btn:hover i {
    transform: translateX(2px);
}

/* Mobile Toggler Button */
.luxe-mobile-toggler {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(20, 20, 74, 0.18);
    color: #14144a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
    outline: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.is-sticky .luxe-mobile-toggler {
    background: rgba(20, 20, 74, 0.05);
    border-color: rgba(20, 20, 74, 0.12);
    box-shadow: none !important;
}

.luxe-mobile-toggler:hover,
.luxe-mobile-toggler:focus {
    background: #c11111;
    border-color: #c11111;
    color: #ffffff !important;
}

.luxe-mobile-toggler i {
    font-size: 1.25rem;
}

/* Mobile Offcanvas Drawer */
.offcanvas.offcanvas-start {
    width: 320px;
    max-width: 85vw;
    background: #ffffff;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(28, 28, 117, 0.08) !important;
    padding: 16px 20px;
}

.offcanvas-body {
    padding: 20px;
}

.offcanvas-body .navbar-nav .nav-link {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #14144a !important;
    padding: 10px 12px !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.offcanvas-body .navbar-nav .nav-link:hover,
.offcanvas-body .navbar-nav .nav-link.active {
    color: #c11111 !important;
    background: rgba(193, 17, 17, 0.06);
}

.offcanvas-body .navbar-nav .nav-link.active::before {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 1200px) and (min-width: 992px) {
    .luxe-nav-link {
        font-size: 0.88rem;
        padding: 6px 9px !important;
    }
    .luxe-nav-book-btn {
        padding: 8px 16px;
        font-size: 0.84rem;
    }
}

@media (max-width: 991px) {
    .fixed-top.luxe-header-sticky-wrap {
        padding: 0;
    }
    .luxe-navbar {
        padding: 10px 0 !important;
    }
    .luxe-brand-logo {
        max-height: 44px;
    }
    .is-sticky .luxe-brand-logo {
        max-height: 44px !important; /* Size remains identical on mobile */
    }
}
