* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #e0f7fa;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #d0f0f9;
  padding: 15px 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px; 
}

.logo img {
  height: 50px;
  width: auto;
}

.logo span {
  font-size: 80px;
  font-weight: bold;
  color: #000;
}



nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #000;
}

nav ul li a:hover {
  text-decoration: underline;
}

.search-bar {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-bar input {
  width: 300px;
  max-width: 80%;
  padding: 10px 15px;
  font-size: 16px;
  border: none;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  outline: none;
  background-color: #ffffffcc; /* semi-transparent white */
}

/* Optional: Search bar in mobile */
@media (max-width: 480px) {
  .search-bar input {
    width: 90%;
    font-size: 14px;
  }
}


.menu-icon {
  position: absolute;
  left: calc(50% - 160px);
  font-size: 24px;
  cursor: pointer;
}

body {
  margin: 0;
  font-family: sans-serif;
}

.hero {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 1s ease-in-out;
  z-index: -1;
  opacity: 1;
}

.hero img.fade-out {
  opacity: 0;
}

.overlay-text {
  position: relative;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  z-index: 1;
}

.search-bar input {
  margin-top: 15px;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
}

/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 30px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.arrow.left {
  left: 20px;
}

.arrow.right {
  right: 20px;
}

/* Dot indicators */
.dot-container {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 2;
}

.dot-container .dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  display: inline-block;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot-container .dot.active {
  background-color: white;
}


.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: turquoise;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.overlay-text h1 {
  font-size: 36px;
}

.overlay-text p {
  font-size: 24px;
}

.arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  color: black;
  font-size: 30px;
  transform: translateY(-50%);
}

.left, .right {
  cursor: pointer;
}

/* ------------------ RESPONSIVE ------------------ */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .overlay-text h1 {
    font-size: 28px;
  }

  .overlay-text p {
    font-size: 18px;
  }

  .menu-icon {
    position: static;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .overlay-text h1 {
    font-size: 22px;
  }

  .overlay-text p {
    font-size: 16px;
  }

  .arrows {
    font-size: 24px;
  }

  .search-bar input {
    width: 90%;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f0f8ff;
  color: #333;
}

.khas {
  background: url('https://via.placeholder.com/1200x400?text=Danau+Toba') center/cover no-repeat;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.overlay {
  background-color: rgba(252, 247, 247, 0.4);
  padding: 2rem;
  text-align: center;
  color: rgb(12, 12, 12);
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1rem;
  gap: 1rem;
  background-color: #e0f7fa;
}

.gallery img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

.content {
  padding: 2rem;
  max-width: 900px;
  margin: auto;
  background-color: #ffffff;
}

.content h2 {
  margin-bottom: 1rem;
  color: #00796b;
}

.content p {
  margin-bottom: 1rem;
}


/* Responsive */
@media (max-width: 768px) {
  .hero {
    height: 40vh;
  }

  .overlay h1 {
    font-size: 1.5rem;
  }

  .gallery {
    flex-direction: column;
    align-items: center;
  }
}



.main-footer {
  background-color: #1c1c1c;
  color: white;
  padding: 2rem 1rem;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-about,
.footer-links,
.footer-service {
  flex: 1;
  min-width: 250px;
  margin: 1rem;
}

.footer-about h3,
.footer-service h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #ccc;
}

.footer-links ul {
  list-style-type: disc;
  padding-left: 1rem;
}

.footer-links li {
  margin: 0.5rem 0;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #90caf9;
}

.footer-service .contact-item {
  background-color: #ccc;
  color: #000;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
  border-radius: 5px;
  font-size: 0.9rem;
  word-wrap: break-word;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-about,
  .footer-links,
  .footer-service {
    margin: 1rem 0;
  }

  .footer-links ul {
    padding-left: 0;
    list-style-position: inside;
  }
}
