* {
  box-sizing:border-box;
  font-family: Georgia, 'Times New Roman', Times, serif,;
}

/*css header kaya jobsheet 1*/
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1A4D2E;
  padding: 10px 20px;
  border-radius: 5px;
  position: sticky;
  top: 0;
  z-index: 1000;
  color: white;
}
header h1 {
  margin: 0;
  font-size: 24px;
}
nav {
  background-color: #1A4D2E;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 1000;
}
nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}
nav ul li {
  margin: 0;
  position: relative;
}
nav ul li a {
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  border-radius: 5px;
  display: block;
  color: white;
}
nav ul li a:hover {
  background-color: rgba(0, 0, 0, 0.3);
}
nav ul li.dropdown:hover .dropdown-content {
  display: block;
}
nav ul li .dropdown-content {
  display: none;
  position: absolute;
  background-color: #E8DFCA;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  min-width: 160px;
  z-index: 1;
}
nav ul li .dropdown-content a {
  padding: 12px 16px;
  text-align: left;
  display: block;
  color: black;
}
nav ul li .dropdown-content a:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

/*css prolog atau text mengenal pulau halmahera*/
.content-container {
  border: 2px solid #4F6F52; 
  padding: 10px; 
  margin: 10px 0; 
  border-radius: 10px; 
  background-color: #F5EFE6; 
  text-align: center;
}
/*theme 1*/
.theme-1-content-wrapper{
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
}
.theme-1-item {
  border: 1px solid black;
  border-radius: 8px;
  overflow: hidden;
  text-align: justify;
  padding: 20px;
  transition: transform 0.3s;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.theme-1-item:hover {
  transform: scale(1.05);
}
.theme-1-item img {
  width: 100%; 
  height: auto; 
}

/*css text tapi dengan tema beda*/
.theme-2-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}
.theme-2-item {
  border: 1px solid black;
  border-radius: 8px;
  overflow: hidden;
  text-align: justify;
  padding: 20px;
  transition: transform 0.3s;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.theme-2-item p{
  text-align: justify;
}
.theme-2-item:hover {
  transform: scale(1.05);
}
.theme-2-gambar {
  width: 100%; 
  height: auto; 
  border-radius: 10px;        
}

/*css slideshow*/
.slideshow-container { 
  max-width: 600px;
  position: relative;
  margin: auto;
}
.mySlides { 
  display: none;
  width: auto;
  height: auto; 
  object-fit: cover; 
}
.prev, .next { 
  cursor: pointer;
  position: absolute;
  top: 50%; 
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.1); 
  border-radius: 0 3px 3px 0;
}
.next { 
  right: 0; 
  border-radius: 3px 0 0 3px;
}
.prev { 
  left: 0;
}
.prev:hover, .next:hover { 
  background-color: rgba(0,0,0,0.8); 
}
.text { 
  color: black;
  font-size: 20px;
  padding: 3px 10px;
  position: absolute;
  bottom: 8px;
  left: 50%; 
  transform: translateX(-50%); 
  width: auto; 
  text-align: center;
  border: 1px solid black;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.5); 
}
.numbertext { 
  color: black;
  font-size: 15px;
  padding: 3px 10px;
  position: absolute;
  top: 0;
  width: auto; 
  top: 5px;
  left: 5px;
  text-align: center;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.5); 
}
.dot { 
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.active, .dot:hover {
  background-color: #717171;
}
.fade { 
  animation-name: fade;
  animation-duration: 1.5s;
}
@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/*css hero section*/
.hero {
  background: url('img/halmahera-hero-section.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  position: relative;
}
.hero-content {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 10px;
  z-index: 2; 
  width: 1000px;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); 
  z-index: 1; 
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.5rem;
}

/*css footer*/
footer {
  text-align: center;
  background-color: #1A4D2E;
  padding: 5px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin: 10px auto; 
  color: white;
}

/*css button */
html {
  scroll-behavior: smooth; 
}
#scrollTopBtn {
  display: none; 
  position: fixed; 
  bottom: 20px;   
  right: 30px; 
  z-index: 99; 
  font-size: 18px;
  border: none; 
  outline: none; 
  background-color: #799351;
  color: white; 
  cursor: pointer; 
  padding: 15px;
  border-radius: 10px; 
  transition: opacity 0.1s, background-color 0.4s;
  opacity: 0.8; 
}
#scrollTopBtn:hover {
  background-color: #555; 
  opacity: 1; 
}