body {
  font-family: 'Noto Sans TC', 'Noto Sans SC', sans-serif;
}

/* 上方選單 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  color: white;
  text-align: center;
  z-index: 999;
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px min(20px, 5%);
  background: #fff;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
  height: 100px;
}

.logo {
  font-size: 36px;
  color: rgba(142, 186, 213, 1);
  cursor: pointer;
}

.logo img {
  max-height: 50px;
}

.mobile-back-btn {
  display: none;
}

.burger-nav {
  display: flex;
}

.nav-list {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 20px;
  align-items: center;
}

.nav-item {
  font-size: 14px;
  color: rgba(107, 107, 107, 1);
  text-decoration: none;
  margin-right: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.burger {
  width: 30px;
  height: 35px;
  display: block;
}

.nav-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.popup-header {
  background-color: #fff;
  height: 500px;
  width: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  padding: 100px 20% 0px 20%;
  text-align: center;
  display: grid;
}

.menu-item {
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #ddd;
  font-size: clamp(14px, 4vw, 16px);
  color: rgb(86, 172, 221);
  text-decoration: none;
  cursor: pointer;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  border: 1px solid #ccc;
  z-index: 1000;
  width: 200px;
  border-radius: 5px;
  padding: 0;
}

.dropdown-menu li {
  list-style: none;
  width: 100%;
}

.dropdown-menu li a {
  text-decoration: none;
  color: black;
  margin: 10px 0px;
  display: block;
  width: 100%;
  padding: 5px;
  text-align: left;
}

.dropdown-menu li a:hover {
  background-color: blue;
  color: white;
}

/* 手機版 Agoda 風格 */
@media screen and (max-width: 768px) {
  .header-nav {
    position: relative;
    height: 64px;
    padding: 0 14px;
    justify-content: space-between;
  }

  .mobile-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    position: relative;
    z-index: 20;
  }

  .mobile-back-btn span {
    font-size: 32px;
    line-height: 1;
    color: #222;
    font-weight: 400;
    margin-top: -4px;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
  }

  .logo img {
    max-height: 34px;
    width: auto;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: transparent;
    position: relative;
    z-index: 20;
  }

  .burger {
    width: 24px;
    height: 24px;
  }

  .burger-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .nav-list {
    background-color: #fff;
    height: 550px;
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    padding: 80px 20% 20px 20%;
    text-align: center;
    display: grid;
  }

  .nav-item {
    display: flex;
  }

  .dropdown-menu {
    top: 50px;
    width: 100%;
  }

  .dropdown-menu li a {
    text-align: center;
  }
}