/* HEADER  */

/* header mob */

#header__mob {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: max-content;
  -webkit-box-shadow: 0px 10px 36px -21px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 10px 36px -21px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 10px 36px -21px rgba(0, 0, 0, 0.75);
  z-index: 9999;
}

#header__mob-button img {
  height: 2em;
}

#header__mob .header-logo img {
  height: 3em;
}

/* NAVIGATION */

.nav__mob-menu {
  position: fixed;
  left: -100%;
  top: 55%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  width: calc(100vw - 2em);
  height: calc(100vh - 10em);
  border-radius: 2em;
  background-color: white;
  padding: 2em;
  z-index: 99999;
  -webkit-box-shadow: 0px 0px 50px -28px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 50px -28px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 50px -28px rgba(0, 0, 0, 0.75);
  transition: left 0.5s ease-in-out;
}
.nav__mob-menu-active {
  left: 50% !important;
}

.nav__level-1 {
  font-size: 20px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
}

.nav__level-2 {
  position: absolute;
  bottom: -150%;
  left: 0;
  width: 100%;
  height: calc(100% - 0.5em);
  border-radius: 2em;
  padding: 2em;
  background-color: white;
  -webkit-box-shadow: 0px 0px 50px -28px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 50px -28px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 50px -28px rgba(0, 0, 0, 0.75);
  transition: all 1s ease-in-out;
  z-index: 99;
}
.nav__level-2-active {
  bottom: -0.5em;
}

.nav__level-2-back {
  position: absolute;
  display: block;
  width: max-content;
  margin: 0 auto;
  margin-top: 0px;
  background: white;
  margin-top: -2em;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25em;
  border-radius: 999em;
}

.nav__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background-color: rgba(0, 106, 182, 0.5);
  backdrop-filter: blur(5px);
}
.nav__backdrop-active {
  display: block;
}

.nav__mob-menu-destinacije {
  display: grid;
  gap: 1.5em;
  width: 100%;
}
.nav__mob-menu-destinacije img {
  width: 100%;
}
.nav__mob-menu-destinacije .dropdown-menu-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 1em;
  row-gap: 0.75em;
  font-size: 0.6em;
  margin-top: 0.4em;
}

.dropdown-menu-circle-mob {
  display: grid;
  gap: 2em;
  width: 100%;
}

.logo-mob {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1em;
}
.logo-mob a {
  display: block;
}
.logo-mob img {
  width: 100%;
  max-width: 7em;
  min-height: 5em;
}

.nav__zaPutnike img {
  width: 100%;
}

.nav__zaPutnike-linkWrapper {
  display: grid;
  gap: 0.5em;
  margin-top: 1em;
}
.nav__zaPutnike-linkWrapper a {
  font-size: clamp(1.2rem, calc(1.2rem + ((1vw - 0.48rem) * 0.4167)), 1.5rem);
}

.overflow-y {
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
}

/* NAVIGATION ENDS */

/* HAMBURGER ANIMATION */

.cf:before,
.cf:after {
  content: " ";
  display: table;
}

.cf:after {
  clear: both;
}

.cf {
  zoom: 1;
}

.row .three {
  padding: 80px 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #2c3e50;
  color: #ecf0f1;
  text-align: center;
}

.hamburger .line {
  width: 50px;
  height: 5px;
  background-color: #006ab6;
  display: block;
  margin: 8px auto;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  border-radius: 999em;
}

.hamburger:hover {
  cursor: pointer;
}
/* THREE */

#btn__nav-mob {
  background-color: transparent;
}

#btn__nav-mob.is-active .line:nth-child(1),
#btn__nav-mob.is-active .line:nth-child(3) {
  width: 40px;
  background-color: #ed0677;
}
#btn__nav-mob.is-active .line:nth-child(2) {
  background-color: #ed0677;
}

#btn__nav-mob.is-active .line:nth-child(1) {
  -webkit-transform: translateX(-10px) rotate(-45deg);
  -ms-transform: translateX(-10px) rotate(-45deg);
  -o-transform: translateX(-10px) rotate(-45deg);
  transform: translateX(-10px) rotate(-45deg);
}

#btn__nav-mob.is-active .line:nth-child(3) {
  -webkit-transform: translateX(-10px) rotate(45deg);
  -ms-transform: translateX(-10px) rotate(45deg);
  -o-transform: translateX(-10px) rotate(45deg);
  transform: translateX(-10px) rotate(45deg);
}
/* HAMBURGER ANIMATION end*/

header {
  display: none;
}
header * {
  font-family: "Inter", sans-serif;
}
.header-container {
  display: none;
}

/* .header-container a {
  font-size: 1rem;
  text-decoration: none;
} */

@media (min-width: 1280px) {
  .header-container {
    display: block;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }
}

.header-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 0.35em 1em;
  font-size: 0.9rem;
  color: var(--primary-color);
  background: linear-gradient(to right, #9ac7e0, #ffffff, #9ac7e0);
}
.header-top > div {
  display: flex;
  gap: 1em;
}
.header-top > div > a {
  display: flex;
  justify-items: center;
  align-items: center;
  gap: 0.2em;
  font-size: 0.9rem;
  font-weight: 400;
}
.header-top img {
  height: 1.25em;
}
.header-top .dropdown-menu-links {
  display: grid;
  gap: 0.25em;
  font-size: 1.2rem !important;
}

.header-top:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -10;
  background-color: #9ac7e0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.header-link-light {
  font-weight: 300;
  color: var(--primary-color);
  text-decoration: none;
}

.header-link-light:hover,
.header-link:hover,
.header-icon:hover {
  color: var(--secondary-color);
}

.header-link {
  font-weight: 400;
  margin-left: 0.75rem;
  color: var(--primary-color);
  text-decoration: none;
}

.header-icon {
  margin-left: 0.25rem;
  color: var(--primary-color);
}

.header-bottom {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 0 1em;
}

.header-links-group {
  display: flex;
  gap: 2.5rem;
}
.header-links-group:last-child {
  justify-self: end;
}

@media screen and (min-width: 1024px) {
  .header-logo {
    margin-top: -1.5em;
    margin-bottom: 0.5rem;
  }
  .header-logo img {
    height: 4em;
  }
}

/* menu */

.dropdown-menu-button-active {
  color: #ed0677;
}

.header-bottom .dropdown-menu-button,
.header-bottom .menu-button {
  text-transform: uppercase;
  cursor: pointer;
}
.dropdown-menu {
  position: relative;
}

@keyframes menu {
  0% {
    top: -100vh;
    opacity: 0;
  }
  1% {
    top: 1em;
    opacity: 0;
    scale: 0.98;
  }
  100% {
    top: 1em;
    opacity: 100%;
    scale: 1;
  }
}

.dropdown-menu-content {
  position: absolute;
  left: 0;
  top: -100vw;
  max-width: max-content;
  display: flex;
  flex-wrap: nowrap;
  z-index: 40;
  flex-direction: row;
  gap: 2.5rem; /* 10 * 0.25rem (base 4px scale) */
  padding: 1.25rem; /* 5 * 0.25rem (base 4px scale) */
  margin-top: 2.5rem; /* 10 * 0.25rem (base 4px scale) */
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1), 0 1px 20px rgba(0, 0, 0, 0.08); /* Typical shadow */
  border-radius: 0.375rem; /* Rounded box, 0.375rem = 6px */
  list-style: none;
  z-index: 9999;
}
.dropdown-menu-content li::before,
.dropdown-menu-content li::after {
  display: none;
}
.dropdown-menu-content-active {
  animation: forwards menu 0.25s ease-in-out;
}

.dropdown-menu-content > * {
  flex: 1;
  width: max-content;
}

.dropdown-menu-content-putnici {
  display: grid;
  gap: 1.25rem; /* Gap between grid items, 5 * 0.25rem (base 4px scale) */
}

.logo-grid {
  max-width: max-content; /* Equivalent to w-max */
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6 columns, equal width */
  gap: 2.5rem; /* Gap between grid items, 10 * 0.25rem (base 4px scale) */
  place-items: center;
  padding: 2.5rem; /* Padding, 10 * 0.25rem (base 4px scale) */
  margin-top: 2.5rem; /* Margin top, 10 * 0.25rem (base 4px scale) */
  background-color: white; /* Background color */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08); /* Shadow */
  border-radius: 0.375rem; /* Rounded corners, adjust as needed */
  z-index: 40; /* Z-index */
}

.logo-grid img {
  width: 6em;
  height: auto;
  max-height: 3em;
}

.dropdown-menu-content-reverse {
  left: unset;
  right: 0;
}

.dropdown-menu-img {
  aspect-ratio: 16 / 9; /* Aspect ratio for video */
  border-radius: 0.75rem; /* Rounded corners, 0.75rem = 12px */
  width: 11rem; /* Width, 11rem = 44 * 0.25rem (base 4px scale) */
  object-fit: cover;
  padding: 0;
}

.dropdown-menu-circle-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns of equal width */
  gap: 1.75rem 1.75rem; /* Vertical and horizontal gaps */
}

.dropdown-menu-cirle-element {
  max-width: 18rem; /* 72 * 0.25rem (base 4px scale) = 18rem */
  display: flex;
  align-items: center;
  gap: 0.5rem; /* 2 * 0.25rem (base 4px scale) = 0.5rem */
}

.dropdown-menu-cirle-element > * {
  transition: all 0.3s ease; /* Applies transition to all child elements */
}

.dropdown-menu-img-circle {
  aspect-ratio: 16 / 9; /* Aspect ratio for video */
  object-fit: cover;
  width: 6rem; /* Width, 6rem = 24 * 0.25rem (base 4px scale) */
  height: 6rem; /* Height, 6rem = 24 * 0.25rem (base 4px scale) */
  padding: 0;
  border-radius: 50%; /* Makes the element round */
  transition: box-shadow 0.3s ease; /* Smooth transition for shadow */
}

.group:hover .dropdown-img-circle {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1); /* Shadow when hovering */
}

.dropdown-menu-title {
  font-family: "Madimi One", sans-serif !important;
  color: #004384; /* Primary color, replace with the actual color code if needed */
  display: block;
  margin-top: 0.5rem; /* Margin top, 0.5rem = 2 * 0.25rem (base 4px scale) */
  font-size: 1.3rem; /* Font size, 1.5rem = 2xl */
  font-weight: bold;
  padding-bottom: 0.25em;
}

.dropdown-menu-title-circle {
  color: #004384; /* Primary color, replace with the actual color code if needed */
  font-size: 1rem; /* Font size, 1.5rem = 2xl */
  font-weight: bold;
}

.dropdown-menu-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  color: #4b5563; /* Equivalent to text-gray-600 */
}
.dropdown-menu-links > a {
  font-size: 0.9em;
}
.dropdown-menu-links > a:hover {
  text-decoration: underline;
}

/* HEADER  END */
