/* ====================================================
   HOTELSCOMPARING - RESPONSIVE NAVIGATION & BURGER MENU
   ==================================================== */

:root {
  --nav-bg: #0f172a;
  --nav-text: #f8fafc;
  --nav-accent: #2dd4bf;
  --nav-border: #1e293b;
  --nav-height: 68px;
}

/* Base Top Navigation Bar */
.site-nav-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  z-index: 1000;
  box-sizing: border-box;
}

.site-nav-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-brand-logo span.badge {
  background: rgba(45, 212, 191, 0.15);
  color: var(--nav-accent);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Desktop Links */
.desktop-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.desktop-nav-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.desktop-nav-links a:hover,
.desktop-nav-links a.active {
  color: #ffffff;
}

.desktop-nav-links .nav-cta-btn {
  background: var(--nav-accent);
  color: #0f172a !important;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  transition: opacity 0.15s ease;
}

.desktop-nav-links .nav-cta-btn:hover {
  opacity: 0.9;
}

/* Burger Toggle Button */
.burger-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 9px;
  cursor: pointer;
  z-index: 1002;
  box-sizing: border-box;
}

.burger-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.25s ease-in-out;
}

/* Burger Active (Morphs to 'X') */
.burger-menu-btn.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-menu-btn.is-active span:nth-child(2) {
  opacity: 0;
}

.burger-menu-btn.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Slide-out Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: var(--nav-height);
  right: -100%;
  width: 300px;
  max-width: 85vw;
  height: calc(100vh - var(--nav-height));
  background: #0f172a;
  border-left: 1px solid var(--nav-border);
  box-shadow: -10px 0 25px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
  box-sizing: border-box;
  overflow-y: auto;
}

.mobile-nav-drawer.is-open {
  right: 0;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-drawer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-drawer-links a:hover {
  color: var(--nav-accent);
}

.mobile-drawer-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--nav-border);
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.4;
}

/* Dimmed Overlay Behind Mobile Drawer */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.mobile-nav-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Breakpoint for Mobile Nav */
@media (max-width: 768px) {
  .desktop-nav-links {
    display: none;
  }
  .burger-menu-btn {
    display: flex;
  }
}