/* --- BASE HEADER --- */
header {
  background-color: #0C0F35;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  height: 9.625rem;
  transition: height 200ms ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header {
  position: relative;
  width: 100%;
}

header.show {
  height: 7.063rem;
}

.h-container {
  width: 100%;
  max-width: 1248px;
  margin: 0 500px;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- DESKTOP NAV remove padding--- */
#left-area ul, .entry-content ul, .et-l--body ul, .et-l--footer ul, .et-l--header ul{
  padding:0px!important;
}


.logo {
  display: flex;
  align-items: center;
  max-width: 11.3125rem;
}

/* --- DESKTOP NAV --- */
.nav-desktop {
  display: flex;
  align-items: center!important;
  gap: 2.5rem;
  list-style: none!important;
}

.nav-desktop a {
  font-family: Colfax Regular;
  font-size: 1.125rem;
  font-weight: 400;
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.nav-desktop a:hover {
  opacity: 0.8;
}

/* --- SOCIAL ICONS --- */
.social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-icons a {
  color: #767676;
  font-size: 18px;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.social-icons a:hover {
  color: white;
}

/* --- DROPDOWN MENUS --- */
.dropdown {
  position: relative;
  z-index:100000;
  
}

.dropdown-menu {
  display: none;
  top: 100%;
  left: 0;
  list-style: none;
  background: #0C0F35;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0.5rem;
  min-width: 200px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: white;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: #1c1f55;
}

/* --- MOBILE --- */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 2.625rem;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #0C0F35;
  z-index: 9999;
  padding: 8rem 0px 2.5rem;
  flex-direction: column;
  gap: 6.25rem;
}

.mobile-menu.active {
  display: flex;
}

.mobile-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-nav a {
  font-family: Colfax Regular;
  font-size: 1.75rem;
  font-weight: 400;
  color: white;
  text-decoration: none;
}

.mobile-social {
  display: flex;
  gap: 3rem;
  justify-content: flex-start;
  align-items: center;
}

/* --- RESPONSIVE QUERIES --- */
@media (max-width: 1320px) {
  .nav-desktop {
    gap: 1rem;
  }

  .nav-desktop a {
    font-size: 0.9rem!important;
  }
}

@media (max-width: 1024px) {
  header {
    padding: 2.23rem 0;
    height: auto !important;
    min-height: 6.84444rem;
  }

  .nav-desktop {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .h-container {
    position: relative;
    z-index: 10001;
  }

  .logo {
    max-width: 10.3125rem;
  }
}

@media (max-width: 980px) {
  .mobile-menu {
    gap: 3.125rem;
    padding: 5rem 0px 2.5rem;
  }

  .mobile-nav a {
    font-size: 1.75rem;
    line-height: 2rem;
  }

  .mobile-nav {
    gap: 1.12rem;
  }

  .mobile-social {
    gap: 1.5rem;
  }

  .mobile-social svg {
    max-height: 1.58319rem;
    width: auto;
  }
}

