.header {
  background-color: rgba(0, 0, 0, 0);
  background: #ae150a;
  padding-bottom: 5px;
  padding-top: 5px;
}

.header_nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.header_logo_link {
  width: 75px;
  height: 75px;
}

.header_menu_list {
  align-items: center;
  display: flex;
  column-gap: 25px;
}

.header_menu_link {
  color: rgb(255, 255, 255);
  text-transform: uppercase;
  transition: ease 0.5s;
  font-size: 16px;
  font-weight: 500;
}

.header_menu_link:hover {
  background-color: rgba(0, 0, 0, 0);
  color: rgb(218, 165, 32);
}

.header_menu_link_active {
  color: rgb(218, 165, 32);
}

@media (max-width: 575px) {
  .header_logo_link {
    width: 50px;
    height: 50px;
  }
}

/* Hamburger Menu Styles */
.hamburger-menu {
  display: block;
  position: relative;
  z-index: 1001;
  width: 30px;
  height: 25px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger-menu span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.hamburger-menu span:nth-child(1) {
  top: 0px;
}

.hamburger-menu span:nth-child(2) {
  top: 11px;
}

.hamburger-menu span:nth-child(3) {
  top: 22px;
}

.hamburger-menu.active span:nth-child(1) {
  top: 11px;
  transform: rotate(135deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.hamburger-menu.active span:nth-child(3) {
  top: 11px;
  transform: rotate(-135deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
}

.mobile-menu-overlay.active {
  display: block;
}

@media (max-width: 1023px) {
  .header_menu_list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100%;
    background: #ae150a;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    gap: 20px;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
  }

  .header_menu_list.active {
    right: 0;
  }

  .header_menu_item {
    width: 100%;
  }

  .header_menu_link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .header_menu_list {
    display: flex !important;
    position: static;
    width: auto;
    height: auto;
    background: none;
    flex-direction: row;
    padding: 0;
    overflow: visible;
  }

  .hamburger-menu,
  .mobile-menu-overlay {
    display: none;
  }

  .header_menu_link {
    font-size: 14px;
    padding: 8px 10px;
  }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .header_menu_list {
    display: flex !important;
    position: static;
    width: auto;
    height: auto;
    background: none;
    flex-direction: row;
    padding: 0;
    overflow: visible;
  }

  .hamburger-menu,
  .mobile-menu-overlay {
    display: none;
  }

  .header_menu_link {
    font-size: 15px;
  }
}

@media (min-width: 1440px) {
  .hamburger-menu,
  .mobile-menu-overlay {
    display: none;
  }

  .header_menu_list {
    display: flex !important;
    position: static;
    width: auto;
    height: auto;
    background: none;
    flex-direction: row;
    padding: 0;
    overflow: visible;
  }
}
