header {
  grid-area: header;
  background: white;
  color: black;
  text-align: center;
  padding: 0 20px;
  margin-top: 70px; /* biar tidak ketutup navbar */
}

header h1 {
  margin-bottom: 10px;
  font-size: 40px;
  font-family: Georgia, serif;
}

.p1 {
  font-size: 18px;
  color: #111;
  font-style: italic;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--dark);
  color: gray;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.navbar ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar ul li a {
  display: block;
  padding: 15px 15px;
  color: black;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.navbar ul li a:hover {
  background: lightgreen;
  border-radius: 99px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 15px; /* ini yang bikin dia DEKET */
}

.search-section {
  text-align: center;
  padding: 40px 20px;
}

.search-section h2 {
  margin-bottom: 20px;
}

.search-box {
  position: relative;
  display: inline-block;
}

.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.search-box input {
  padding: 10px 15px 10px 35px;
  width: 250px;
  border-radius: 25px;
  border: 1px solid #ccc;
  outline: none;
}

.search-dropdown {
  display: none;
  position: absolute;
  top: 45px;
  left: 0;
  width: 100%;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: left;
}

.search-dropdown a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: black;
}

.search-dropdown a:hover {
  background: #f0f0f0;
}

.search-box:focus-within .search-dropdown {
  display: block;
}

section {
  padding: 20px 10%;
  background: white;
}



.footer {
  background: #0f172a;
  color: #cbd5f5;
  padding: 40px 10%;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer h3,
.footer h4 {
  color: #ffffff;
  margin-bottom: 10px;
}

.footer p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #222;
  padding-top: 15px;
  font-size: 14px;
}
