@use "../../mixins" as *;
@use "../../variables" as *;

.header {
  width: 100%;
  position: absolute;
  z-index: 11;
  top: 0;
  margin-top: 3rem;
  margin-bottom: 1rem;

  &__logo {
    max-width: 183px;
    max-height: 43px;

    @include responsive(md) {
      max-width: 283px;
      max-height: 63px;
    }

    object-fit: contain;
  }

  &__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;

    @include responsive(sm) {
      gap: 3rem;
    }
  }

  &__button {
    display: inline-block;
    text-transform: capitalize;
    border-radius: 8px;
    background-color: $white-color;
    color: $black-color;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    font-size: 0.7rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap; // prevents text wrap on smaller screens

    &:hover {
      background-color: $secondary-color;
      color: $white-color;
    }

    &:focus {
      outline: none;
      border-color: $secondary-color;
    }

    &:active {
      transform: scale(0.98);
    }

    @include responsive(sm) {
      padding: 0.5rem 1rem;
      font-size: 0.85rem;
      border-radius: 6px;
    }

    @include responsive(md) {
      padding: 0.8rem 1.5rem;
      font-size: 1rem;
      border-radius: 8px;
    }

    @include responsive(lg) {
      padding: 1rem 2rem;
      font-size: 1.1rem;
      border-radius: 10px;
    }
  }
}
