/* Base Styles */
header {
  position: relative;
  z-index: 100;
}

/* Quick Menu */
.quickmenu-div {
  background-color: #00948e;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 16px 0px 8px 0px;
}

.quickmenu-container {
  width: 80%;
  display: flex;
  margin: 0 auto;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

/* Mobile Navigation */
.header-navbar__close-mobile {
  display: none;
}

.header-navbar__mobile {
  position: fixed;
  top: -100%;
  right: 0;
  width: 100%;
  height: fit-content;
  background: #fff;
  z-index: 5;
  transition: top 0.4s ease;
}

.header-navbar__mobile.active {
  top: 99px;
}

.header-navbar__links {
  padding: 20px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.header-navbar__mobile .navbar-header-menu-list__link {
  color: #000;
  text-align: center;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 143%;
  letter-spacing: -0.56px;
  text-transform: uppercase;
  margin: 0 auto;
}

.header-navbar__mobile .header-info-pesquisa,
.header-navbar__mobile .primary-btn {
  width: 100%;
  padding: 12px 24px;
}

.header-navbar__mobile .header-info-pesquisa {
  margin: 24px auto 20px;
}

/* Header Info */
.header-info {
  background: #fff;
  width: 100%;
  padding: 16px 0;
  position: fixed;
  top: 0;
  z-index: 5;
}

.header-info .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.header-info__link,
.header-info__link {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}

.header-info__socials {
  display: none;
}

.header-info__socials a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.header-info__link {
  text-decoration: none;
}

.header-info__link-svg {
  width: 40px;
  height: 40px;
  border-radius: 25px;
  background: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-info__link span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;

  color: #424242;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.48px;
}

.header-info__link span strong {
  color: #121212;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 112%;
  letter-spacing: -0.48px;
}

/* Main Navigation */
.navbar-header {
  width: 100%;
  padding: 8px 0;
  background-color: #fff;
  position: relative;
  top: 0;
  z-index: 10;
  border-top: 1px solid #ccc;
  display: none;
}

.navbar-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.navbar-header__logo {
  width: auto;
  height: 60px;
}

.navbar-header-menu {
  display: none;
}

.navbar-header-menu-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.navbar-header-menu-list__link {
  color: #5c5c5c;
  font-size: 0.875rem;
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 16px 24px;
  border-radius: 50px;
  transition: background-color 0.2s ease, font-weight 0.2s ease, color 0.2s ease;
}

.navbar-header-menu-list__link:hover,
.navbar-header-menu-list__link.active {
  background-color: #121212;
  font-weight: 600 !important;
  color: #fff !important;
}

.navbar-header-menu-list__link svg {
  transition: transform 0.2s ease;
}

.navbar-header-menu-list__link svg path {
  fill: #5c5c5c;
  transition: fill 0.2s ease;
}

.navbar-header-menu-list__link:hover svg path,
.navbar-header-menu-list__link.active svg path {
  fill: #fff;
}

.navbar-header-menu-list__link:hover svg {
  transform: rotate(-180deg);
}

/* Submenu */
.sub-menu {
  position: relative;
}

.sub-menu__container {
  position: absolute;
  top: 75px;
  left: -16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 19.9px 0 rgba(0, 0, 0, 0.1);
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
  z-index: 10;
}

.sub-menu:hover .sub-menu__container {
  visibility: visible;
  opacity: 1;
  width: 320px;
}

.sub-menu__container-column {
  padding: 40px 24px;
  width: 320px;
}

.sub-menu__container-column h3 {
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.sub-menu__container-column ul {
  list-style: none;
}

.sub-menu__container-column a {
  padding: 10px 20px;
  border-radius: 5px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  display: block;
  width: 100%;
  height: fit-content;
  text-decoration: none;

  font-size: 1rem;
  color: #424242;
  font-style: normal;
  font-weight: 400;
  line-height: 143%;
  letter-spacing: -0.64px;
}

.sub-menu__container-column a:hover {
  border-color: var(--primary-color);
  background: #f6fffe;
  color: var(--primary-color);
}

/* Hamburger Menu */
.navbar-header-menu__hamburguer {
  background: none;
  border: none;
  cursor: pointer;
}

.navbar-header-menu__hamburguer svg {
  width: 24px;
  height: 24px;
}

.navbar-header-menu__hamburguer svg path {
  stroke: #001918;
}

/* Responsive Styles */
@media screen and (min-width: 425px) {
  .header-navbar__close-mobile {
    padding: 20px 20px 0 0;
    display: flex;
    justify-content: flex-end;
  }
  .header-navbar__close-mobile button {
    background: none;
    border: none;
    cursor: pointer;
  }
  .header-navbar__close-mobile svg {
    width: 24px;
    height: 24px;
  }
  .header-navbar__mobile {
    right: -250px;
    top: 0;
    width: 250px;
    height: 100%;
    transition: right 0.3s ease;
    z-index: 20;
  }
  .header-navbar__mobile.active {
    right: 0;
    top: 0;
  }
  .header-navbar__mobile .navbar-header-menu-list__link {
    color: #5c5c5c;
    font-size: 0.875rem;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
  }
  .background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    z-index: 15;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .header-navbar__mobile.active ~ .background-overlay {
    opacity: 1;
    visibility: visible;
  }
}

@media screen and (min-width: 768px) {
  .quickmenu-div {
    display: none;
  }
}

@media screen and (min-width: 1280px) {
  .navbar-header__logo {
    width: unset;
    height: auto;
  }
  .navbar-header {
    padding: 16px 0;
    top: 110px;
    position: fixed;
    display: block;
  }
  .navbar-header-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .navbar-header-menu__hamburguer {
    display: none;
  }
  .header-info__socials {
    display: flex;
    align-items: center;
    gap: 12px;
  }
}

/* Accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
