body {
    font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;;
}

.navbar {
    position: relative;
    background-color: #020303;
    padding: 1em 2em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.container-logo img{
    display: flex;
    align-items: center;
    height: 32px;
    margin-bottom: 5px;
    gap: 0.3em;
}

/* desktop navlinks */

.nav-links {
    position: absolute;
    left: 50%;
    display: flex;
    transform: translateX(-50%);
    list-style: none;
    justify-content: space-between;
    width: 50%;
    padding: 0;
    margin: 0;
}

.nav-links li a {
    position: relative;
    color: #eaf7ed;
    font-weight: bold;
    flex: 1;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.9em;
    text-decoration: none;
    display: flex;
}


.nav-links li a.underlined::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #eaf7ed;
}

.searchbar {
    display: flex;
    align-items: center;
    background-color: #f3f1f0;
    border-radius: 2em;
    padding: 0.3em 1em;
    height: 38px;
}

.searchbar input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9em;
    color: #333;
    width: 140px;
    font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;

}   

.searchbar input::placeholder {
    color: #a5a5a5;
}

.searchbar button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 0.5em;
    display: flex;
    align-items: center;
}

.search-icon {
    height:20px;
    width: auto;
    display: block;
}

.searchbar button:hover {
    color: #000000;
}

/* buat versi handphone */
.drawer-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8em;
    color: #ffffff;
    cursor: pointer;
    z-index: 1001;
}

.drawer-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #f4f4f4;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 2em 1.5em;
}

.drawer-menu.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: flex-end;
}
  
.drawer-close {
    font-size: 1.8em;
    background: none;
    border: none;
    cursor: pointer;
}
  
.drawer-links {
    list-style: none;
    padding: 2em 0;
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}
  
.drawer-links li a {
    font-size: 1.2em;
    font-weight: bold;
    color: #222;
    text-decoration: none;
}

/* footer */

.footer {
  background-color: transparent;
  color: #ffffff;
  display: flex;
  text-align: center;
  justify-content: space-between;
  align-items: center; 
  padding: 2em 4em;
  flex-wrap: wrap;
  font-family: Arial, sans-serif;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5em;
}

.footer-logo {
  height: 45px;
}

.footer-left p {
  font-size: 0.9em;
  color: #bbb;
  margin: 0;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 9em;
  flex-wrap: wrap;
}

.footer-right a {
  color: #fff;
  text-decoration: none;
  font-size: 0.85em;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: #A8FFE3;
}


@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .searchbar {
        display: none;
    }

    .drawer-toggle {
        display:none;
    }

    .footer {
    flex-direction: column;
    align-items: center;
    gap: 1em;
    }

  .footer-right {
    flex-direction: column;
    gap: 0.5em;
  }

}