/* ═══════════════════════════════════════════════════════
   IML TRAVEL NAVBAR STYLING
═══════════════════════════════════════════════════════ */

.iml-header {
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.iml-header .container {
  padding: 0 24px;
}

.navbar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

/* LEFT SIDE - Logo */
.navbar-left {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: flex-start;
}

.logo {
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
  text-decoration: none;
}

.logo:hover {
  opacity: 0.8;
}

.logo-img {
  height: 45px;
  
  display: block;
  padding-left: 42px !important;
  object-fit: contain;
}

/* CENTER NAV LINKS */
.nav-links{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:50px;
    flex:1;
    list-style:none;
}

.nav-item {
  white-space: nowrap;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-item:hover {
  color: #DD0854;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: #DD0854;
  transition: width 0.3s ease;
}

.nav-item:hover::after {
  width: 100%;
}

/* RIGHT SIDE - Actions */
.navbar-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  flex: 1;
}

/* LOGIN ICON BUTTON */
.login-icon-btn {
  width: 35px;
  height: 35px;
  border: 1px solid #DD0854;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #DD0854;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.login-icon-btn:hover {
  background: #fff0f4;
  transform: scale(1.05);
}

/* USER PROFILE ICON */
.user-profile-icon {
  width: 44px;
  height: 44px;
  border: 1px solid #DD0854;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #DD0854;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.user-profile-icon:hover {
  background: #fff0f4;
  transform: scale(1.05);
}

/* USER DROPDOWN */
.user-dropdown-wrap {
  position: relative;
}

.user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 180px;
  white-space: nowrap;
  padding: 6px 0;
  z-index: 9999;
}

.user-dropdown.open {
  display: block;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: background 0.2s;
}

.user-dropdown-item:hover {
  background: #f7f7f7;
}

.user-dropdown-item.logout {
  color: #DD0854;
  border-top: 1px solid #f0f0f0;
}

.user-dropdown-item.logout:hover {
  background: #fff0f4;
}

/* HAMBURGER MENU */
.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger-menu span {
  width: 24px;
  height: 2px;
  background: #333;
  transition: all 0.3s ease;
  display: block;
}

/* MOBILE NAVIGATION */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  z-index: 999;
  transition: right 0.3s ease;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.mobile-nav-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: #ffffff;
  padding: 20px;
  overflow-y: auto;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
}

.mobile-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  margin-bottom: 30px;
  color: #333;
  padding: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav-links a:hover {
  color: #DD0854;
}

.user-link {
  color: #DD0854 !important;
}

.login-link {
  color: #DD0854 !important;
}

.nav-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 10px 0;
}

/* RESPONSIVE */
@media (max-width: 1023px) {
  .nav-links {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }

  .user-dropdown-wrap,
  .login-icon-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar-flex {
    padding: 12px 0;
  }

  .navbar-left {
    gap: 20px;
  }

  .logo-img {
    height: 40px;
  }

  .login-icon-btn,
  .user-profile-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }


  .mobile-nav-panel {
    width: 90%;
    max-width: 280px;
  }
}
