/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #fff;
  background-color: #0f0f0f;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #181818;
}

.navbar .logo a {
  text-decoration: none;
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin: 0 1rem;
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffcc00;
}

/* Logo di Tengah */
.center-logo-container {
  position: absolute; 
  left: 50%;
  transform: translateX(-50%);
  z-index: 10; 
  justify-content: space-between;
}

.navbar-center-logo {
  max-width: 120px; 
  height: auto;
  justify-content: space-between;
}

/* Tambahkan padding bawah pada logo */
.navbar .logo a {
  text-decoration: none;
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  padding-bottom: 0.5rem; 
  display: inline-block; 
}

/* Atur line-height untuk jarak lebih rapi */
.navbar {
  line-height: 1.5; 
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #222;
  list-style: none;
  padding: 0.5rem 0;
  border-radius: 5px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-menu li {
  padding: 0.5rem 1rem;
}

.dropdown-menu a {
  color: #fff;
  text-decoration: none;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 5rem 1rem;
  flex: 1;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #ffcc00;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #e6b800;
}

/* Footer */
.footer {
  text-align: center;
  padding: 1rem 0;
  background-color: #181818;
  color: #fff;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  text-align: center;
  color: #fff;
  flex: 1;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; 
}

.hero-content {
  position: relative; 
  z-index: 1;
}

.cta-button {
  position: relative; 
  z-index: 1;
}

/* Navbar Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #222;
  list-style: none;
  padding: 0.5rem 0;
  border-radius: 5px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10; 
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Hero Video */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none; 
}

/* Login Icon Styling */
.nav-links .login-icon {
  margin-left: 1rem;
}

.nav-links .login-icon img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.nav-links .login-icon img:hover {
  transform: scale(1.1);
}