.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: auto;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.top-bar::before {
  content: "";
  background-image: url("/assets/frontend/images/navbar/harry-kessell.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.3;
  position: absolute;
  top: 0;
  left: 5%;
  width: 65%;
  height: 100%;
  padding-left: 80px;
}

.top-bar::after {
  content: "";
  background-image: url("/assets/frontend/images/navbar/Indonesia-pattern.png");
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  opacity: 0.3;
  top: 0;
  right: 4;
  width: 25%;
  height: 100%;
}

.top-bar {
  width: 100%;
  height: 50px;
  background-image: var(--color-primary-gradient);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  position: relative;
}

.language-selector {
  margin-left: auto;
  margin-right: 50px;
  z-index: 1;
}

.dropdown-language {
  position: relative;
  display: inline-block;
}

.dropbtn-language {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.flag-icon-language {
  width: 30px;
  height: auto;
  display: inline-block;
}

.language-text {
  margin: 0 5px;
  font-weight: var(--font-weight-bold);
  color: rgb(255, 255, 255);
  font-family: var(--font-family-main);
}

.caret {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid rgb(255, 255, 255);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 120px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 15;
  right: 0;
  top: 100%;
}

.dropdown-content a {
  color: black;
  padding: 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-family: var(--font-family-main);
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content img {
  margin-right: 10px;
  width: 25px;
}

.bottom-bar {
  background-color: rgb(255, 255, 255);
}

.bottom-bar__content {
  min-height: 70px;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  position: relative;
}

.logo {
  display: flex;
  justify-content: flex-start;
  text-decoration: none;
}

.logo__container {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  gap: 8px;
}

.logo__img {
  height: 50px;
  display: block;
}

.logo__subtitle {
  font-size: 10px;
  font-weight: 600;
  color: #000 !important;
  font-family: var(--font-family-main);
  white-space: nowrap;
  letter-spacing: 0.5px;
  line-height: 1;
  padding-bottom: 2px;
}

.logo:visited .logo__subtitle,
.logo:hover .logo__subtitle,
.logo:active .logo__subtitle {
  color: #000 !important;
}

.nav__list {
  list-style: none;
  padding: 0;
}

a {
  text-decoration: none;
}

.logo .logo__subtitle {
  color: #000 !important;
  text-decoration: none !important;
}

.logo:link .logo__subtitle,
.logo:visited .logo__subtitle,
.logo:hover .logo__subtitle,
.logo:active .logo__subtitle,
.logo:focus .logo__subtitle {
  color: #000 !important;
  text-decoration: none !important;
}

.nav__list {
  margin-top: auto;
  margin-bottom: auto;
  font-family: var(--font-family-main);
  font-weight: bold;
  font-size: 12px;
}

.nav__list {
  display: flex;
  column-gap: 35px;
}

.nav__link {
  color: rgba(0, 0, 0, 0.75);
  transition: all 0.2s;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-top: 5px;
  margin-right: 20px;
}

.bar {
  height: 4px;
  width: 25px;
  background: var(--color-primary-gradient);
  margin: 3px 0;
}

@media (max-width: 768px) {
  .top-bar::before {
    left: 0;
    width: 50%;
    padding-left: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .top-bar::after {
    right: -20%;
    width: 60%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  .language-selector {
    margin-right: 10px;
  }

  .logo__subtitle {
    font-size: 8px;
    padding-bottom: 1px;
  }

  .nav__list {
    list-style: none;
    padding: 0;
    display: flex;
    column-gap: 35px;
    align-items: center;
    flex-direction: column;
    position: absolute;
    background-color: rgb(255, 255, 255);
    top: 70px;
    right: 0;
    width: 100%;
    margin: 20px 0px;
    z-index: 100;
    display: none;
  }

  .nav__item {
    padding: 10px;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active + .nav__list {
    display: flex;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
  }

  .top-bar::before {
    width: 50%;
    left: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
  }

  .top-bar::after {
    bottom: 0;
    right: -30%;
    width: 75%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  .language-selector {
    margin-right: 50px;
  }

  .nav__list {
    list-style: none;
    padding: 0;
    display: flex;
    column-gap: 35px;
    align-items: center;
    flex-direction: column;
    position: absolute;
    background-color: rgb(255, 255, 255);
    /* top: 80px; */
    right: 0;
    width: calc(100% - 50px);
    margin: 20px 20px;
    z-index: 100;
    display: none;
  }

  .nav__item {
    padding: 10px;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
  }

  .bar {
    height: 3px;
    width: 25px;
    background-color: black;
    margin: 3px 0;
  }

  .hamburger.active + .nav__list {
    display: flex;
  }
}

@media (max-width: 540px) {
  .top-bar::before {
    width: 50%;
    left: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
  }

  .top-bar::after {
    bottom: 0;
    right: -30%;
    width: 80%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
}

@media (max-width: 480px) {
  .top-bar::before {
    bottom: 0;
    width: 100%;
    height: auto;
    opacity: 0.3;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .top-bar::after {
    display: none;
  }

  .logo__subtitle {
    font-size: 7px;
    padding-bottom: 0px;
  }
}

@media (min-width: 1025px) {
  .hamburger {
    display: none;
  }
}
