/* ==========================================================================
   HOTEL LAKE VIEW GRAND - NAVBAR & HEADER (navbar.css)
   ========================================================================== */

/* Top Information Header */
.njh-topbar {
  background: #06080B;
  color: #ADB5BD;
  font-size: 0.82rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.njh-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #D1D5DB;
  transition: var(--njh-transition);
}

.njh-topbar-item:hover {
  color: var(--njh-gold-light);
}

.njh-topbar-item i {
  color: var(--njh-gold-primary);
  font-size: 0.9rem;
}

/* Main Navigation Bar - Sticky across all devices */
.njh-navbar-wrapper {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1050 !important;
  background: #111317;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
  padding: 1.15rem 0;
  width: 100%;
}

.njh-navbar-wrapper.scrolled {
  background: #0C0E12;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border-bottom-color: rgba(212, 175, 55, 0.4);
  padding: 0.75rem 0;
}

.njh-navbar-wrapper .container,
.njh-navbar-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  max-width: 100% !important;
  width: 100% !important;
  padding-left: clamp(1rem, 2.5vw, 2.5rem) !important;
  padding-right: clamp(1rem, 2.5vw, 2.5rem) !important;
  position: relative;
}

/* Brand Logo & Text */
.njh-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.njh-logo-img {
  height: 120px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.njh-brand:hover .njh-logo-img {
  transform: scale(1.03);
}

.njh-brand-text {
  display: flex;
  flex-direction: column;
}

.njh-brand-name {
  font-family: var(--njh-font-heading);
  font-size: clamp(0.95rem, 1.15vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  line-height: 1.2;
  white-space: nowrap !important;
  text-transform: uppercase;
}

.njh-brand-name span {
  color: var(--njh-gold-primary);
}

.njh-brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--njh-gold-light);
  font-weight: 600;
  white-space: nowrap !important;
}

/* Desktop Navigation Menu (>= 992px) */
@media (min-width: 992px) {
  .njh-nav-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(0.75rem, 1.6vw, 2rem) !important;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
  }

  .njh-nav-link {
    display: inline-block;
    padding: 0.5rem 0.2rem;
    font-size: clamp(0.85rem, 0.95vw, 0.95rem);
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: 0.03em;
    text-transform: capitalize;
    position: relative;
    white-space: nowrap !important;
    transition: color 0.25s ease;
  }

  /* Yellow underline bar on active & hover */
  .njh-nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--njh-gold-primary);
    transition: width 0.3s ease;
  }

  .njh-nav-link:hover {
    color: var(--njh-gold-light);
  }

  .njh-nav-link:hover::after,
  .njh-nav-link.active::after {
    width: 100%;
  }

  .njh-nav-link.active {
    color: var(--njh-gold-primary) !important;
    font-weight: 700;
  }

  .njh-nav-actions {
    display: flex !important;
    align-items: center;
    flex-shrink: 0;
  }

  .njh-nav-actions .njh-btn {
    background: var(--njh-gold-gradient);
    color: #1A1D23 !important;
    font-weight: 700;
    font-size: clamp(0.85rem, 0.95vw, 0.92rem);
    padding: 0.72rem 1.4rem;
    border-radius: 8px;
    white-space: nowrap !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
    margin-bottom: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
  }

  .njh-nav-actions .njh-btn:hover {
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
  }

  .njh-nav-actions .njh-btn i {
    color: #1A1D23;
    font-size: 0.95rem;
  }

  .njh-mobile-toggle {
    display: none !important;
  }

  .njh-mobile-cta {
    display: none !important;
  }
}

/* Mobile Toggle Hamburger */
.njh-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 42px;
  height: 42px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 8px;
  padding: 9px;
  cursor: pointer;
  transition: var(--njh-transition);
}

.njh-mobile-toggle:hover {
  background: rgba(212, 175, 55, 0.22);
}

.njh-mobile-toggle span {
  width: 100%;
  height: 2px;
  background: var(--njh-gold-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Active Hamburger State */
.njh-mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.njh-mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.njh-mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile & Tablet Navigation Drawer (< 992px) - COMPLETELY PRESERVED AS REQUIRED */
@media (max-width: 991.98px) {
  .njh-topbar {
    display: none;
  }

  .njh-navbar-wrapper {
    padding: 0.45rem 0;
    max-width: 100vw;
  }

  .njh-navbar-wrapper .container,
  .njh-navbar-container {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .njh-brand {
    gap: 0.55rem;
    min-width: 0;
    flex-shrink: 1;
  }

  .njh-logo-img {
    height: 75px;
    width: auto;
    flex-shrink: 0;
  }

  .njh-brand-text {
    min-width: 0;
  }

  .njh-brand-name {
    font-size: clamp(0.85rem, 3.2vw, 1.05rem);
    letter-spacing: 0.02em;
    white-space: nowrap !important;
    line-height: 1.15;
  }

  .njh-brand-sub {
    font-size: clamp(0.58rem, 1.8vw, 0.65rem);
    letter-spacing: 0.1em;
    white-space: nowrap !important;
  }

  .njh-mobile-toggle {
    display: flex !important;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  /* Collapsible Navigation Drawer attached to sticky navbar */
  .njh-nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #0A0C10;
    border-bottom: 2px solid var(--njh-gold-primary);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem;
    gap: 0.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    z-index: 1040;
  }

  .njh-nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .njh-nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 1rem;
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .njh-nav-link:hover,
  .njh-nav-link.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--njh-gold-primary);
  }

  .njh-nav-actions {
    display: none !important;
  }

  .njh-mobile-cta {
    display: block !important;
    width: 100%;
    margin-top: 0.75rem;
  }
}

/* Specific Phone Optimizations (< 576px) */
@media (max-width: 575.98px) {
  .njh-logo-img {
    height: 65px;
  }

  .njh-brand-name {
    font-size: clamp(0.78rem, 3.8vw, 0.95rem);
  }

  .njh-brand-sub {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }
}
