/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  color: white;
  background: #111;
}

/* Navbar */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}
.logo {
  font-size: 20px;
  font-weight: bold;
  color: white;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}
.nav-links li a {
  text-decoration: none;
  color: white;
  transition: 0.3s;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: #00eaff;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  background: url('bukitparalayang.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 20px;
}
.hero-content p {
  font-size: 18px;
  color: #ddd;
}
.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
}
.hero-content h3 {
  font-size: 20px;
  font-weight: 400;
  color: #00eaff;
}


/* ===== GALLERY PAGE ===== */
.gallery-hero {
 background-color: #d9853b;
  height: 60vh;
  position: relative;
}

.gallery-section {
  background-color: #ececea;
  padding: 60px 20px;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

footer {
  text-align: center;
  padding: 20px;
  background: #0b1d2a;
  color: #fff;
}

/* ===== ABOUT PAGE ===== */
.about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  background: linear-gradient(to right, #002326, #002326);
  color: white;
}

.big-text {
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.about p {
  font-size: 1.5rem;
  margin-top: 20px;
  color: #aadfff;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
  header {
    padding: 15px 30px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content h3 {
    font-size: 18px;
  }

  .nav-links {
    gap: 20px;
  }
}

/* Smartphone (max-width: 768px) */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.8);
  }

  .logo {
    font-size: 18px;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    height: 90vh;
    background-position: center;
  }

  .hero-content {
    max-width: 90%;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-content h3 {
    font-size: 16px;
  }

  .gallery-container {
    grid-template-columns: 1fr; /* Satu kolom di HP */
  }

  .about .big-text {
    font-size: 3rem;
  }

  .about p {
    font-size: 1.1rem;
  }
}

/* Extra small devices (max-width: 480px) */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 14px;
  }

  footer {
    font-size: 14px;
    padding: 15px;
  }

  .big-text {
    font-size: 2.5rem;
  }
}
/* ==== Hamburger Menu dengan Animasi X ==== */
.menu-toggle {
  display: none;
  width: 30px;
  height: 25px;
  position: absolute;
  right: 30px;
  top: 25px;
  cursor: pointer;
  z-index: 1001;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 5px;
  transition: all 0.4s ease;
}

/* Saat aktif, berubah jadi tanda X */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ==== Tampilkan hanya di HP ==== */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

 .nav-links {
  flex-direction: column;
  align-items: center;
  gap: 15px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.4s ease;
}

.nav-links.show {
  max-height: 300px;
  opacity: 1;
  padding: 20px 0;
}

  .nav-links.show {
    display: flex;
  }
}

/* Hilangkan garis tiga di laptop */
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    gap: 30px;
    background: none;
  }
}

