// HEADER
.header {
  border-bottom: 1px solid $color-gray-100;

  .top-bar {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    background-color: $primary-color;

    .top-bar-contact-info {
      padding: 0;
      list-style-type: none;

      li {
        display: inline-block;
        margin-right: 2rem;
        padding-right: 2rem;
        color: $white;
        font-size: 1.2rem;
        line-height: 1;
        border-right: 1px solid $white;

        &:last-child {
          margin-right: 0;
          padding-right: 0;
          border-right: none;
        }
      }
    }

    .top-bar-social-icons {
      padding: 0;
      list-style-type: none;
      text-align: right;

      li {
        display: inline-block;
        margin-left: 2.5rem;

        a {

          svg {
            fill: $white;
            width: auto;
            height: 1.6rem;
          }
        }

        &:first-child {
          margin-left: 0;
        }
      }
    }
  }

  .navbar {
    padding: 4rem 0;

    .navbar-brand {
      margin-left: 0;
      display: flex;
      align-items: center;

      .custom-logo-link {
        margin-right: 3rem;

        img {
          max-height: 4.2rem;
          width: auto;
        }
      }

      .site-title {
        margin-right: 2rem;
        font-size: 3.6rem;
        font-weight: 500;
        line-height: 1;

        a {
          color: $primary-color;
        }
      }

      .site-description {
        padding-top: .5rem;
        font-size: 1.6rem;
        line-height: 1.6;
        color: $primary-color;
      }
    }

    .navbar-menu {
      .navbar-item {
        margin-left: 1rem;
        color: $black;
        font-size: 1.5rem;
        padding: 0.5rem 0.5rem;

        .navbar-link {
          color: $black;
        }

        &.has-dropdown {

          .navbar-link {
            background-color: transparent;
          }

          .navbar-item {
            margin-left: 0;
            padding: 0.5rem 1rem;
          }

          .navbar-link:not(.is-arrowless)::after {
            color: $black;
          }

          .navbar-dropdown {
            border-top: .2rem solid #dbdbdb;

            .has-dropdown {
              padding-top: 0;
              padding-bottom: 0;

              .navbar-link {
                padding: .8rem 0;

                &:after {
                  display: none;
                }
              }

              .dropdown {
                padding-left: 0;
                background-color: transparent;

                &:after {
                  display: none;
                }
              }

              .navbar-dropdown {
                display: none;
                top: 0;
                left: 100%;
                max-width: 100%;
                padding-top: 0;

                .menu-item {
                  max-width: 100%;
                }
              }

              &:hover {

                & > .navbar-dropdown {
                  display: block;
                }
              }
            }
          }
        }

        &:first-child {
          margin-left: 0;
        }

        &:hover {
          background-color: transparent;
        }
      }
      .page {
        margin-bottom: 0;
      }
    }
    .is-active {
      box-shadow: none;
      .navbar-menu {
        display: block;
        box-shadow: none;
      }
    }
  }

  .container {
    & > .navbar {
      .navbar-menu {
        margin-right: 0  !important;
      }
    }
  }

}

// SITE HERO
.site-hero {
  position: relative;
  padding: 8rem 0;
  background-size: cover;
  background-position: center;
  text-align: center;
  height: 60rem;

  .site-hero-content {
    position: relative;
    max-width: 84rem;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;

    h2 {
      margin-bottom: 1rem;
      font-size: 4.8rem;
      line-height: 7.2rem;
      font-weight: 500;
      color: $white;
      text-shadow: 1px 1px 1px rgba($black, .7);
    }

    p {
      font-size: 2rem;
      line-height: 3.2rem;
      color: $white;
      text-shadow: 1px 1px 1px rgba($black, .5);
      font-weight: 300;
    }

  }

  &:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba($black, .3);
  }
}