/*The basic header styles */
.header {
    padding: 1rem 2rem;
    background: transparent;
    position: fixed;
    /*Fixed position to keep the header in place when scrolling*/
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    /*Make sure the header is above other elements*/
    box-sizing: border-box;
}

/*The header container styles */
.header__container {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    /*Center the header container*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 1rem 2rem;
    border-radius: 100px;
    /*Round the corners of the header*/
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/*The left side of the header styles */
.header__left {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

/*The menu button styles */
.header__menu-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
}

.header__menu-button sl-icon {
    font-size: 1.5rem;
}

/*The logo styles */
.header__logo {
    font-size: 1.5rem;
    font-family: "Kalnia", serif;
    font-weight: <weight>;
    text-decoration: none;
    color: #333;
}

/*The navigation styles */
.header__nav {
    display: flex;
    gap: 2rem;
    font-family: "Jost", sans-serif;
    font-weight: 200;
    font-size: 0.8rem;
    padding-left: 8rem;

}


/*The navigation link styles */
.header__nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/*The right side of the header styles */
.header__right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/*The search styles */
.header__search {
    position: relative;
    display: flex;
    align-items: center;
}

/*The search input styles */
.header__search-input {
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border: none;
    border-radius: 100px;
    background: #f5f5f5;
    width: 200px;
}

.header__search-icon {
    position: absolute;
    left: 0.75rem;
    color: #666;
}

.header__get-started {
    background: #000;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    font-family: "Jost", sans-serif;
}

@media (max-width: 768px) {
    .header__container {
        padding: 0.5rem 1rem;
    }

    .header__left {
        width: 100%;
        justify-content: space-between;
        gap: 1rem;
    }

    .header__menu-button {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        z-index: 2;
    }

    .header__nav {
        display: none;
    }

    .header__right {
        display: none;
    }

    .header__logo {
        font-size: 1.2rem;
    }
}


.header__nav-link,
.header__get-started,
.header__menu-button,
.header__search-input {
    transition: transform 0.3s ease;
    will-change: transform;
}

.header__nav-link:hover {
    color: #007aff;
}

.header__get-started:hover {
    background-color: #333;
}

.header__search-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.1);
}

/* Add these new styles */
.header__mobile-menu {
  display: none;
  position: fixed;
  top: 80px; /* Adjust based on your header height */
  left: 0;
  right: 0;
  background: white;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.header__mobile-menu.active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .header__container {
    padding: 0.5rem 1rem;
  }
  
  .header__mobile-menu {
    display: block;
  }
  
  .header__right {
    display: none;
  }
  
  .header__mobile-menu .header__nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    align-items: center;
  }
  
  .header__mobile-menu .header__right {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
  }
}