/* ===== TOOLBAR / HEADER ===== */
.toolbar {
  height: 72.7px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  box-sizing: border-box;
  z-index: 100;
  transition: background-color .3s ease-out, opacity 3s ease-out, transform 3s ease-out;
}

.toolbar.toolbar--transparent {
  background-color: transparent;
  transition: background-color .3s ease-out;
}

.toolbar.toolbar--black {
  background-color: #000;
  transition: background-color .3s ease-out;
}

.toolbar__logo {
  padding-top: 6px;
  height: calc(20px + 6px);
}

.toolbar__logo a {
  display: block;
  height: 100%;
}

.toolbar__logo img {
  height: 100%;
  width: auto;
  pointer-events: auto;
}

.toolbar nav {
  font-size: 13px;
  line-height: 16px;
  height: 100%;
}

/* ===== TOOLBAR ANIMATIONS ===== */
@keyframes toolbarAppearAnim {
  0% { opacity: 0; transform: translateY(-100%); }
  60% { opacity: 0; }
  100% { opacity: 1; transform: translateY(0%); }
}

@keyframes toolbarDisappearAnim {
  0% { opacity: 1; transform: translateY(0%); }
  60% { opacity: 0; }
  100% { opacity: 0; transform: translateY(-100%); }
}

.toolbar--appear {
  animation: toolbarAppearAnim 1.0s ease-out forwards;
}

/* ===== NAVIGATION ITEMS ===== */
.nav-items {
  display: flex;
  list-style: none;
  height: 100%;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-items li {
  font-size: 13px;
  font-weight: 400;
}

.nav-item {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.nav-item > a,
.nav-item > div > a,
.nav-item > div {
  color: #fff;
  text-decoration: none;
  padding: 0 12px;
  height: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
  white-space: nowrap;
}

.nav-item > a:hover,
.nav-item > div > a:hover {
  color: #ca0091;
}

.nav-item.active > a {
  color: #ca0091;
}

/* ===== DROPDOWN ===== */
.nav-dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-dropdown__trigger {
  color: #fff;
  text-decoration: none;
  padding: 0 12px;
  height: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
}

.nav-dropdown__trigger:hover {
  color: #ca0091;
}

.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #000;
  min-width: 180px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  list-style: none;
  z-index: 101;
}

.nav-dropdown:hover .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown__menu li a {
  color: #fff;
  display: block;
  padding: 8px 20px;
  text-decoration: none;
  white-space: nowrap;
}

.nav-dropdown__menu li a:hover {
  color: #ca0091;
}

/* ===== LANGUAGE SELECTOR ===== */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-selector a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  opacity: 0.5;
}

.lang-selector a.active {
  opacity: 1;
  font-weight: 700;
}

.lang-selector a:hover {
  opacity: 1;
}

/* ===== PERSONAL ICON ===== */
.nav-personal {
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.nav-personal a {
  display: flex;
  align-items: center;
}

.nav-personal svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* ===== DRAWER TOGGLE (HAMBURGER) ===== */
.drawer-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 20px;
  width: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.drawer-toggle span {
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
  display: block;
}

.drawer-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.drawer-toggle.active span:nth-child(2) {
  opacity: 0;
}

.drawer-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== NAVIGATION DRAWER (MOBILE) ===== */
.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.backdrop.visible {
  opacity: 1;
  visibility: visible;
}

.side-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #000;
  z-index: 95;
  padding: 90px 24px 40px;
  transform-origin: top;
  transform: scaleY(0);
  overflow-y: auto;
}

.side-drawer nav ul {
  list-style: none;
  padding: 0;
}

.side-drawer nav ul li {
  overflow: hidden;
  padding: 8px 0;
}

.side-drawer nav ul li a,
.side-drawer nav ul li button {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 300;
  display: block;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  text-align: left;
  width: 100%;
}

.side-drawer nav ul li a:hover {
  color: #ca0091;
}

.side-drawer .social-mobile {
  margin-top: 30px;
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
}

.side-drawer .social-mobile li {
  overflow: hidden;
}

.side-drawer .social-mobile li a {
  color: #fff;
}

.side-drawer .social-mobile li a svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* ===== SOCIAL SIDEBAR (DESKTOP) ===== */
.social-sidebar {
  position: absolute;
  right: 38px;
  top: 85px;
  z-index: 5;
  height: 65px;
}

.social-sidebar nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-sidebar nav ul li a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.social-sidebar nav ul li a svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.social-sidebar nav ul li a:hover svg {
  fill: #ca0091;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 360px) {
  .toolbar__logo {
    height: calc(22px + 6px);
  }
}

@media (min-width: 768px) {
  .toolbar {
    padding: 0 38px;
  }
  .toolbar__logo {
    padding-top: 8px;
    height: calc(23.1px + 8px);
  }
}

@media (max-width: 1023px) {
  .desktop-only {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .drawer-toggle {
    display: none;
  }
  .mobile-only {
    display: none !important;
  }
}
