/* Reset dasar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


body {
  background-color: #FFFBFB;
}

header {
  background-color: #002366; /* Warna biru seperti pada gambar */
  padding: 0px 30px;
  color: white;
  font-family: 'Red Rose', serif;
  border-radius: 0px 0px 50px 50px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 90px;
  height: auto;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-menu li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu li a:hover {
  color: #FFD700; /* Kuning saat hover */
}

.cta-button a {
  background-color: white;
  color: #002366;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.cta-button a:hover {
  background-color: #FFD700;
  color: #002366;
}

/* Tombol hamburger */
.hamburger {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* Drawer menu mobile */
.mobile-drawer {
  display: none;
  flex-direction: column;
  background-color: #002366;
  padding: 20px;
}

.mobile-drawer ul {
  list-style: none;
  padding: 0;
}

.mobile-drawer ul li {
  margin-bottom: 15px;
}

.mobile-drawer ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
}

.mobile-drawer ul li a:hover {
  color: #FFD700;
}

.drawer-cta:hover {
  background-color: #FFD700;
}

.drawer-cta {
  display: inline-block;
  background-color: white;
  color: #002366;
  padding: 10px 20px;
  border-radius: 25px;
  text-align: center;
  font-weight: bold;
}

/* Navbar default saat di atas */
header.transparent {
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

/* Navbar sticky saat scroll */
header.scrolled {
  background-color: #002366;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Responsif */
@media (max-width: 600px) {
  .nav-menu,
  .cta-button {
    display: none;
  }

  .logo img {
  width: 50px;
  height: auto;
}

  .hamburger {
    display: block;
  }

  .mobile-drawer {
    display: none;
  }

  .mobile-drawer.open {
    display: flex;
  }

  .container {
    flex-wrap: wrap;
  }
}
