/* 
==========
Navbar 
==========
*/

.header{
  background: var(--lightskyblue-color);
  color: var(--white-color);
  width:100%;
  z-index:1700;
}

.header__container{
  width: 100%;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content: center;
  padding:15px;
}

.header__contact-item{
  display:flex;
  align-items:center;
  gap:6px;
  border: none;
  background: none;
  font-weight:600;
  flex-wrap: wrap;
  justify-content: flex-end;
  transition: all ease-in-out .3s;
  color: var(--white-color);
}

.header__contact-item .container__phone{
  width: max-content;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: all ease-in-out .3s;
}

.header__contact-item:hover{
  display:flex;
  align-items:center;
  gap:6px;
  border: none;
  background: none;
  opacity: .5;
  font-weight:600;
  flex-wrap: wrap;
  justify-content: flex-end;
  transition: all ease-in-out .3s;
  cursor: pointer;
}

.container__image__aguaminis{
  width: 170px;
  height: auto;
}

.container__image__aguaminis img{
  width: 100%;
  height: auto;
}

/* 
==========
Submenu base.
==========
*/

.nav__item--has-submenu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__link--services{
  width: max-content;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3em;
}

.nav__link--services #icon-arrow{
  width: 15px;
  height: 15px;
  transform: rotate(90deg);
  transition: all ease-in-out .3s;
}

.nav__link--services #icon-arrow svg{
  width: 15px;
  height: 15px;
  fill: var(--white-color);
}

.services__items__container {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--lightskyblue-color);
  list-style: none;
  padding: 0;
  margin: 1em 0 0 0;
  min-width: 200px;
  max-height: 0;
  opacity: 0;
  transition: all 0.4s ease;
  border-radius: 0px;
  display: flex;
  flex-direction: column;
  z-index: 1000;
}

.services__items__container li {
  padding: .5em;
  text-align: start;
}

.services__items__container li:hover {
  background: var(--lowlightblue-color);
}

.services__items__container li a {
  color: var(--white-color);
  text-decoration: none;
  display: block;
}

/* 
==========
Show submenu.
==========
*/

.nav__item--has-submenu:hover .services__items__container {
  max-height: 500px;
  overflow: auto;
  opacity: 1;
}

.nav__item--active .services__items__container {
  max-height: 500px;
  overflow: auto;
  opacity: 1;
}

/* 
==========
Arrow
==========
*/

.nav__item--has-submenu:hover #icon-arrow {
  transform: rotate(270deg);
  transition: all ease-in-out .3s;
}

.budget__free{
  width: max-content;
  height: auto;
  padding: .3em;
  background-color: var(--lightyellow-color);
  border: none;
  color: var(--white-color);
  font-weight: 600;
  border-radius: 5px;
  transition: all ease-in-out .3s;
}

.budget__free:hover{
  width: max-content;
  height: auto;
  padding: .3em;
  background-color: var(--ultralightyellow-color);
  border: none;
  color: var(--white-color);
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: all ease-in-out .3s;
}

/* 
==========
Nav
==========
*/

.nav{
  display:flex;
  align-items: center;
  justify-content:space-between;
  gap: 1em;
  width: 100%;
}

.nav__list{
  width: 50%;
  display:flex;
  gap:10px;
  list-style:none;
  align-items: center;
  margin:0;
  padding:0;
  flex-wrap: wrap;
}

#nav-list-left{
  justify-content: flex-start;
}

#nav-list-right{
  justify-content: flex-end;
}

.nav__item a{
  color: var(--white-color);
  text-decoration:none;
  font-weight:600;
  transition: all ease-in-out .3s;
}

.nav__item a:hover{
  cursor: pointer;
  color: var(--white-color-transparent);
  transition: all ease-in-out .3s;
}

.nav__toggle{
  display:none;
  font-size:26px;
  background:var(--white-color);
  border:none;
  border-radius: 5px;
  color: var(--lightskyblue-color);
}

.nav__toggle:hover{
  opacity: .5;
  cursor: pointer;
  transition: all ease-in-out .3s;
}

/* 
==========
Mobile menu.
========== 
*/

.mobile-menu{
  width:max-content;
  background: var(--white-color);
  color: var(--lightskyblue-color);
  max-height:0;
  overflow:hidden;
  transition:max-height .3s ease;
  border-radius: 5px;
  position: absolute;
  top: 90px;
  left: 1em;
}

.mobile-menu.active{
  max-height:500px;
  position: absolute;
  top: 90px;
  left: 1em;
  z-index: 1000;
  overflow: auto;
}

.mobile-menu__list{
  padding: 0;
  list-style:none;
  margin:0;
  display:flex;
  flex-direction:column;
  transition: all ease-in-out .3s;
  overflow: auto;
}

.mobile-menu__list li{
  width: 100%;
  text-align: start;
  padding-left: 1em;
  padding-right: 1em;
  padding-top: .3em;
  padding-bottom: .3em;
  display: flex;
  align-items: center;
}

.nav__link__mobile--services{
  position: relative;
  display: flex;
  align-items: center;
  gap: .3em;
  margin-left: 1em;
}

.nav__link__mobile--services .icon__arrow__mobile{
  display: inline-block;
  width: 15px;
  height: 15px;
  transform: rotate(90deg);
  transition: all ease-in-out .3s;
}

.nav__link__mobile--services .icon__arrow__mobile svg{
  width: 15px;
  height: 15px;
  fill: var(--lightskyblue-color);
}

.nav__link__mobile--services .icon__arrow__mobile.icon__arrow__mobile--rotate {
  transform: rotate(270deg);
  transition: all ease-in-out .3s;
}

#button-submenu-mobile{
  display: block;
  flex-direction: column;
  padding-left: 0;
  padding-right: 0;
  padding-top: .3em;
  padding-bottom: .3em;
  margin: 0;
}

.services__items__container--mobile{
  width: 100%;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  transition: all ease-in-out .3s;
}

.services__items__container--mobile li{
  width: 100%;
  overflow: hidden;
  transition: all ease-in-out .3s;
  padding-left: 3em;
}

.services__items__container--mobile-show{
  width: 100%;
  height: max-content;
  overflow: auto;
  margin: 0;
  padding: 0;
  transition: all ease-in-out .3s;
}

.mobile-menu__list li:hover, .mobile-menu__list li:hover a{
  background-color: var(--lightskyblue-color);
  cursor: pointer;
  transition: all ease-in-out .3s;
  color: var(--white-color);
}

.mobile-menu__list li:hover .icon__arrow__mobile svg{
  fill: var(--white-color);
}

.mobile-menu__list a{
  color: var(--lightskyblue-color);
  text-decoration:none;
  font-size:18px;
  font-weight:600;
}

.mobile-menu__list .item__general{
  color: var(--lightskyblue-color);
  text-decoration:none;
  font-size:18px;
  font-weight:600;
}

/* 
==========
Responsive
========== 
*/

@media (max-width:770px){
  #nav-list-left{
    display: none;
  }

  .nav__toggle{
    display:block;
  }
}

/*
==========
Styles for submenu.
==========
*/

.services__items__container .item__general {
  position: relative;
  overflow: auto;
  font-weight: 600;
  display: block;
  padding: .5em;
}

.container__submenu__items__general{
  position: absolute;
  top: 0;
  left: 0;
  background: var(--lightskyblue-color);
  min-width: max-content;
  display: none;
  z-index: 3000;
  margin: 0;
  padding: 0;
}

.container__submenu__items__general li{
  padding: .5em 1em;
  margin: 0;
  white-space: nowrap;
  list-style: none;
}

.container__submenu__items__general li a{
  text-decoration: none;
  font-weight: 600;
  color: var(--white-color);
}

.container__submenu__items__general li:hover{
  background: var(--white-color-transparent);
}
