/* Purged: All previous navbar, gradient, blue, overlay, and glassmorphism styles removed for a clean rebuild. */

/* Minimal, premium Apple-like navbar rebuild */
.navbar {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #F5F7FA;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  min-height: 72px;
  z-index: 1000;
}

.navbar-logo {
  font-size: 2rem;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.03em;
  text-decoration: none;
  padding: 0 0.5em;
}

.navbar-menu {
  display: flex;
  gap: 40px;
  align-items: center;
}

.navbar-menu a {
  color: #111111;
  font-size: 1.08rem;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.18s;
}

.navbar-menu a:hover {
  color: #2F80ED;
}

.navbar-login {
  background: #fff;
  border: 1px solid #EAF2FF;
  color: #111111;
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 26px;
  font-size: 1rem;
  margin-left: 24px;
  transition: background 0.18s, border 0.18s;
  cursor: pointer;
}

.navbar-login:hover {
  background: #F5F7FA;
}

.navbar-cta {
  background: #2F80ED;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 28px;
  font-size: 1rem;
  font-weight: 700;
  margin-left: 18px;
  box-shadow: 0 2px 8px rgba(47,128,237,0.08);
  cursor: pointer;
  transition: background 0.18s;
}

.navbar-cta:hover {
  background: #2563eb;
}
  color: #0F172A !important;
  text-decoration: none !important;
  padding: 13px 32px !important;
  border-radius: 14px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  box-shadow: 
    0 6px 24px rgba(16, 185, 129, 0.4),
    0 3px 12px rgba(6, 214, 160, 0.3),
    0 0 0 0 rgba(20, 241, 149, 0),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  border: none !important;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-transform: uppercase;
  animation: book-pulse 3s ease-in-out infinite;
}

@keyframes book-pulse {
  0%, 100% {
    box-shadow: 
      0 6px 24px rgba(16, 185, 129, 0.4),
      0 3px 12px rgba(6, 214, 160, 0.3),
      0 0 0 0 rgba(20, 241, 149, 0),
      inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }
  50% {
    box-shadow: 
      0 8px 32px rgba(16, 185, 129, 0.5),
      0 4px 16px rgba(6, 214, 160, 0.4),
      0 0 0 10px rgba(20, 241, 149, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }
}

.btn-book::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-book:hover::before {
  width: 350px;
  height: 350px;
}

.btn-book::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-book:hover {
  background: linear-gradient(135deg, 
    #14F195 0%, 
    #06D6A0 50%, 
    #10B981 100%) !important;
  box-shadow: 
    0 10px 40px rgba(20, 241, 149, 0.5),
    0 5px 20px rgba(16, 185, 129, 0.4),
    0 0 0 15px rgba(20, 241, 149, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  transform: translateY(-4px) scale(1.05);
  animation: none;
}

.btn-book:hover::after {
  opacity: 1;
}

.btn-book:active {
  transform: translateY(-2px) scale(1.02);
}

/* Responsive Mobile Menu Toggle */
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-3px) scale(1.05);
}

.btn-book:hover::after {
  opacity: 1;
}

.btn-book:active {
  transform: translateY(-1px) scale(1.02);
}

.btn-book span {
  position: relative;
  z-index: 1;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-book:hover span {
  transform: scale(1.05);
}

/* Mobile Toggle Button */
.navbar-toggle {
  display: none !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  font-size: 22px !important;
  cursor: pointer !important;
  color: #FFFFFF !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(10px) !important;
}

.navbar-toggle:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(6, 214, 160, 0.5) !important;
  transform: scale(1.05);
}

.navbar-toggle:active {
  transform: scale(0.95);
}

/* main margin-top removed — hero-nav is position:fixed and pages handle their own top spacing */

/* Mobile Responsive */
@media (max-width: 1024px) {
  .navbar {
    padding: 0 24px !important;
  }
  
  .navbar-menu {
    gap: 4px !important;
  }
  
  .navbar-menu a {
    padding: 10px 14px !important;
    font-size: 14px !important;
  }
  
  .navbar-cta {
    gap: 8px !important;
    margin-left: 16px !important;
    padding-left: 16px !important;
  }
  
  .nav-login,
  .btn-book {
    padding: 9px 18px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 900px) {
  .navbar {
    padding: 0 20px !important;
    height: 70px;
  }
  
  .navbar.scrolled {
    height: 64px;
  }
  
  .navbar-logo img {
    height: 40px !important;
  }
  
  .navbar-toggle {
    display: block !important;
  }
  
  .navbar-menu {
    position: fixed !important;
    top: 70px !important;
    left: 0 !important;
    right: 0 !important;
    flex-direction: column !important;
    background: linear-gradient(135deg, 
      rgba(15, 23, 42, 0.98) 0%, 
      rgba(30, 41, 59, 0.96) 100%) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    padding: 24px !important;
    gap: 8px !important;
    transform: translateY(-120%) !important;
    opacity: 0 !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow: 
      0 12px 40px rgba(0, 0, 0, 0.4),
      0 4px 16px rgba(37, 99, 235, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    border-bottom: 2px solid rgba(6, 214, 160, 0.3) !important;
    max-height: calc(100vh - 70px) !important;
    overflow-y: auto !important;
  }
  
  .navbar-menu.active {
    transform: translateY(0) !important;
    opacity: 1 !important;
  }
  
  .navbar-menu > li {
    width: 100% !important;
  }
  
  .navbar-menu a {
    display: block !important;
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    text-align: left !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  
  .navbar-menu a:hover {
    background: rgba(6, 214, 160, 0.15) !important;
    border-color: rgba(6, 214, 160, 0.3) !important;
    transform: translateX(4px) !important;
  }
  
  .navbar-cta {
    width: 100% !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-top: 16px !important;
    border-left: none !important;
    border-top: 2px solid rgba(37, 99, 235, 0.3) !important;
  }
  
  .navbar-cta::before {
    display: none !important;
  }
  
  .nav-login,
  .btn-book {
    width: 100% !important;
    text-align: center !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
  }
  
}

@media (max-width: 640px) {
  .navbar {
    padding: 0 16px !important;
    height: 64px !important;
  }
  
  .navbar.scrolled {
    height: 60px !important;
  }
  
  .navbar-logo img {
    height: 36px !important;
  }
  
  .navbar-menu {
    top: 64px !important;
    padding: 20px 16px !important;
    max-height: calc(100vh - 64px) !important;
  }
  
}

/* Accessibility */
.navbar-menu a:focus,
.nav-login:focus,
.btn-book:focus,
.navbar-toggle:focus {
  outline: 3px solid rgba(6, 214, 160, 0.6) !important;
  outline-offset: 3px !important;
  box-shadow: 
    0 0 0 4px rgba(6, 214, 160, 0.2),
    0 0 0 8px rgba(37, 99, 235, 0.1) !important;
}

.navbar-logo:focus {
  outline: 3px solid rgba(37, 99, 235, 0.6) !important;
  outline-offset: 3px !important;
  border-radius: 16px !important;
}

/* ============================================
   DARK NAVBAR THEME (for light backgrounds)
   ============================================ */

.navbar.navbar-dark {
  background: linear-gradient(135deg, 
    rgba(15, 23, 42, 0.95) 0%, 
    rgba(30, 41, 59, 0.92) 100%) !important;
  backdrop-filter: blur(16px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(150%) !important;
  border-bottom: 1.5px solid rgba(124, 58, 237, 0.3) !important;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.15),
    0 4px 16px rgba(124, 58, 237, 0.15),
    0 2px 8px rgba(16, 185, 129, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.navbar.navbar-dark.scrolled {
  background: linear-gradient(135deg, 
    rgba(15, 23, 42, 0.97) 0%, 
    rgba(30, 41, 59, 0.95) 100%) !important;
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.2),
    0 6px 20px rgba(124, 58, 237, 0.2),
    0 3px 10px rgba(16, 185, 129, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.navbar.navbar-dark .navbar-menu a {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: none;
}

.navbar.navbar-dark .navbar-menu a::before {
  background: linear-gradient(135deg, 
    rgba(124, 58, 237, 0.2) 0%, 
    rgba(236, 72, 153, 0.15) 50%, 
    rgba(16, 185, 129, 0.2) 100%) !important;
}

.navbar.navbar-dark .navbar-menu a::after {
  background: linear-gradient(90deg, 
    #7C3AED 0%, 
    #EC4899 50%, 
    #10B981 100%) !important;
}

.navbar.navbar-dark .navbar-menu a:hover,
.navbar.navbar-dark .navbar-menu a.active {
  color: #06D6A0 !important;
  background: rgba(6, 214, 160, 0.15) !important;
  box-shadow: 
    0 6px 20px rgba(124, 58, 237, 0.25),
    0 3px 10px rgba(236, 72, 153, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.navbar.navbar-dark .nav-login {
  color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.navbar.navbar-dark .nav-login:hover {
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%) !important;
  border-color: transparent !important;
  box-shadow: 
    0 8px 28px rgba(124, 58, 237, 0.4),
    0 4px 14px rgba(236, 72, 153, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.navbar.navbar-dark .btn-book {
  background: linear-gradient(135deg, 
    #10B981 0%, 
    #06D6A0 50%, 
    #14F195 100%) !important;
  color: #0F172A !important;
  box-shadow: 
    0 6px 24px rgba(16, 185, 129, 0.4),
    0 3px 12px rgba(6, 214, 160, 0.3),
    0 0 0 0 rgba(20, 241, 149, 0),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

.navbar.navbar-dark .btn-book:hover {
  background: linear-gradient(135deg, 
    #14F195 0%, 
    #06D6A0 50%, 
    #10B981 100%) !important;
  box-shadow: 
    0 10px 40px rgba(20, 241, 149, 0.5),
    0 5px 20px rgba(16, 185, 129, 0.4),
    0 0 0 15px rgba(20, 241, 149, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

.navbar.navbar-dark .navbar-logo img {
  filter: drop-shadow(0 4px 16px rgba(124, 58, 237, 0.35)) 
          drop-shadow(0 2px 10px rgba(16, 185, 129, 0.25)) !important;
}

.navbar.navbar-dark .navbar-logo:hover img {
  filter: drop-shadow(0 6px 24px rgba(124, 58, 237, 0.5)) 
          drop-shadow(0 4px 14px rgba(16, 185, 129, 0.35)) 
          drop-shadow(0 2px 8px rgba(236, 72, 153, 0.25)) !important;
}

/* Light navbar theme (default for dark backgrounds) */
.navbar.navbar-light {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.12) 0%, 
    rgba(255, 255, 255, 0.08) 100%) !important;
  backdrop-filter: blur(30px) saturate(200%) brightness(1.1) !important;
  -webkit-backdrop-filter: blur(30px) saturate(200%) brightness(1.1) !important;
}

.navbar.navbar-light .navbar-menu a {
  color: rgba(15, 23, 42, 0.95) !important;
}

.navbar.navbar-light .navbar-menu a:hover,
.navbar.navbar-light .navbar-menu a.active {
  color: #7C3AED !important;
  background: rgba(255, 255, 255, 0.6) !important;
}

.navbar.navbar-light .nav-login {
  color: #7C3AED !important;
  background: rgba(255, 255, 255, 0.7) !important;
  border-color: rgba(124, 58, 237, 0.3) !important;
}

.navbar.navbar-light .nav-login:hover {
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%) !important;
  border-color: transparent !important;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .navbar {
    border-bottom: 3px solid #06D6A0 !important;
  }
  
  .navbar-menu a,
  .nav-login,
  .btn-book {
    border-width: 2px !important;
  }
  
  .navbar-menu a:hover,
  .navbar-menu a:focus {
    border-color: #06D6A0 !important;
  }
}

/* Smooth scrolling behavior */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
