.main-navigation {
  display: none;
}
.main-navigation-mobile {
  display: flex;
  height: 80px;
  align-items: center;
  font-family: "Merriweather", serif;
  background-color: #fff;
  border-bottom: 1px solid #c4c4c4;
}
@media screen and (min-width: 992px) {
  .main-navigation-mobile {
    display: none;
  }
  .main-navigation {
    display: block;
  }
}
.main-navigation-mobile .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 20px;
}
.dropdown-menu {
  display: none;
  position: fixed;
  top: 80px;
  bottom: 0;
  height: 100vh;
  width: 100vw;
  background-color: #fff;
  margin: 0;
  z-index: 10;
}
.dropdown-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 80px);
}
.main-navigation-mobile ul {
  list-style-type: none;
}
.main-navigation-mobile li a {
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  color: #000000;
  text-decoration: none;
}
.main-navigation-mobile .menu-glavni-container,
.main-navigation-mobile li {
  width: 100%;
}
.main-navigation-mobile li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 8px; /* Adjust for desired width of the V */
  height: 8px; /* Adjust for desired height of the V */
  border-right: 2px solid #000000; /* Right stroke of the V */
  border-bottom: 2px solid #000000; /* Bottom stroke of the V */
  transform: rotate(45deg); /* Rotate to form the V shape */
  margin-left: 8px; /* Space between text and caret */
  margin-bottom: 4px; /* Adjust vertical alignment if needed */
}

.main-navigation-mobile li {
  display: flex;
  justify-content: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--secondary-light);
}
.main-navigation-mobile .menu-item-has-children {
  flex-direction: column;
  padding-bottom: 0;
  border-bottom: none;
}
.main-navigation-mobile .menu-item-has-children > a {
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--secondary-light);
}
.main-navigation-mobile .sub-menu {
  display: none;
}
/* Burger Menu */
.burger-menu {
  cursor: pointer;
  z-index: 100;
  display: inline-block;
}
.burger-icon {
  width: 30px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}
.burger-icon span {
  display: block;
  height: 3px;
  background-color: #000;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.burger-menu.open .burger-icon span:nth-child(1) {
  transform: rotate(45deg);
  position: relative;
  top: 8px;
  transition: all 0.3s ease;
}
.burger-menu.open .burger-icon span:nth-child(2) {
  opacity: 0;
  transition: all 0.3s ease;
}
.burger-menu.open .burger-icon span:nth-child(3) {
  transform: rotate(-45deg);
  position: relative;
  bottom: 9px;
  transition: all 0.3s ease;
}

/* Desktop nav */
.main-navigation {
  height: 110px;
  font-family: "Merriweather", serif;
  background-color: #fff;
  border-bottom: 1px solid #c4c4c4;
}
.main-navigation .container {
  display: flex;
  height: 100%;
  justify-content: space-around;
  align-items: center;
}
.main-navigation .menu {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-glavni-container {
  justify-self: center;
}
/* Menu items */
.main-navigation .menu li {
  position: relative;
}

/* Links inside menu */
.main-navigation .menu li a {
  text-decoration: none;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  color: #000000;
  transition: color 0.2s ease;
}
/* carrot for links with hildren */
.main-navigation .menu li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 8px; /* Adjust for desired width of the V */
  height: 8px; /* Adjust for desired height of the V */
  border-right: 2px solid #000000; /* Right stroke of the V */
  border-bottom: 2px solid #000000; /* Bottom stroke of the V */
  transform: rotate(45deg); /* Rotate to form the V shape */
  margin-left: 8px; /* Space between text and caret */
  margin-bottom: 4px; /* Adjust vertical alignment if needed */
  transition: border-color 0.2s ease;
}

/* Hover effect */
.main-navigation .menu li a:hover,
.main-navigation .menu li.menu-item-has-children > a:hover::after,
.main-navigation .menu li ul li a:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
}

/* Dropdown Menu */
.main-navigation .menu li ul {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 104%;
  right: -5px;
  background-color: #fff;
  border: 1px solid #c4c4c433;
  padding: 0;
  list-style: none;
  z-index: 10;
  box-shadow: 0px 4px 4px 0px #00000040;
  border-radius: 4px;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

/* Show dropdown on hover */
.main-navigation .menu li:hover ul {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.main-navigation .menu li ul li {
  padding: 5px;
  text-align: right;
  border-bottom: 1px solid #c4c4c4;
}

/* Remove the border from the last item in the submenu */
.main-navigation .menu li ul li:last-child {
  border-bottom: none;
}
/* Dropdown links */
.main-navigation .menu li ul li a {
  font-family: Merriweather;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  white-space: nowrap;
}

/* Right-aligned items (like flags/icons) */
.main-navigation .menu-right {
  display: flex;
  gap: 10px;
}
/* Banner */
.custom-banner {
  position: absolute;
  width: 100%;
  padding: 30px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.custom-banner-image {
  max-width: 120px;
}

.custom-banner-text {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  color: var(--secondary-dark);
}
.custom-banner-subtext {
  font-weight: 400;
}

.custom-banner-text br {
  display: block;
}

/* language picker */
.custom-banner-text br {
  display: block;
}

/* language picker */
.language-picker {
  display: flex;
  margin-left: 40px;
  align-items: center;
  gap: 10px;
}
.language-picker ul {
  display: flex;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.language-picker a {
  text-decoration: none;
  color: var(--primary-red);
}
.header-logo {
  display: flex;
  align-items: center;
  margin-right: 30px;
}
.header-logo-image {
  width: 66px;
}
.header-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 10px;
  line-height: 20px;
  text-decoration: none;
  color: #000000;
}
.logo-link {
  text-decoration: none;
}
.logo-empty {
  width: 218px;
}
/* language-picker mobile */

.language-picker-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.language-picker-mobile-image-wrap {
  text-align: center;
  padding: 15px 0;
  border-bottom: 1px solid #c4c4c4;
  width: 100%;
}
.language-picker-mobile > ul {
  display: flex;
  display: none;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid #c4c4c4;
  width: 100%;
}
.language-picker-mobile > ul > li {
  padding: 0;
  border: none;
  color: var(--primary-red);
}
.language-picker-mobile > ul > li:first-child {
  display: flex;
  justify-content: end;
}
.language-picker-mobile > ul > li:last-child {
  display: flex;
  justify-content: start;
}
.language-picker-mobile > ul > li > a {
  text-decoration: none;
  color: var(--primary-red);
}
.language-picker-mobile-image-wrap::after {
  content: "";
  display: inline-block;
  width: 8px; /* Adjust for desired width of the V */
  height: 8px; /* Adjust for desired height of the V */
  border-right: 2px solid var(--primary-red); /* Right stroke of the V */
  border-bottom: 2px solid var(--primary-red); /* Bottom stroke of the V */
  transform: rotate(45deg); /* Rotate to form the V shape */
  margin-left: 6px; /* Space between text and caret */
  margin-bottom: 8px; /* Adjust vertical alignment if needed */
}

body.no-scroll {
  overflow: hidden;
}
.dropdown-footer {
  bottom: 0;
}
.header-main-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header-upper-footer {
  display: flex;
  width: 100%;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  padding-bottom: 10px;
}
.header-footer-rights {
  padding-top: 5px;
  flex: 3;
  font-size: 10px;
  font-weight: 500;
  line-height: 30px;
  text-align: center;
  color: #8896ab;
}
.header-footer-logo-text {
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}
.header-footer-logo-subtext {
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}
.header-footer-info {
  flex: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.header-footer-info a {
  text-decoration: none;
  color: black;
}
.header-footer-info-text {
  font-size: 10px;
}
.header-footer-logo-image {
  height: 80px;
  width: 80px;
}
