html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background-color: #FAFAFA;
  color: #333;
  line-height: 1.6;
  
  
}

header {
  position: fixed;
  width: 100%;
  z-index: 999;
  display: flex;
  text-align: center;
  padding: 20px 40px;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #FFD93D, #FF6B00);
  color: #fff;
  box-sizing: border-box;
}

.site-logo {
  display: flex;
  align-items: center;
}

.logo-icon {
  width: 60px;   /* ukuran lebih besar */
  height: 60px;
  border-radius: 50%; /* pastikan tetap bulat */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* efek bayangan */
  border: 3px solid white; /* garis tepi agar kontras */
  object-fit: cover; /* jaga proporsi */
}

.site-logo h1 {
  margin-left: 15px; /* jarak lebih longgar dari ikon */
}

.logo-icon:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.judul {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    padding: 60px 80px;
    gap: 40px;
  }

  .hero-text {
    flex: 1;
    max-width: 50%;
  }

  .hero-text h1 {
    font-size: 2.8rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 20px;
  }

  .hero-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    max-width: 500px;
  }

 .hero-image {
  flex: 1;
  max-width: 50%;
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px; /* opsional */
}

.decor-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

  @media (max-width: 900px) {
    .hero {
      flex-direction: column;
      text-align: center;
      padding: 40px;
    }

    .hero-text p {
      max-width: 100%;
    }

    .image-wrapper {
      clip-path: none;
    }

    .decor-line {
      display: none;
    }
  }

.tentang-section {
  background-color: #fff;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.tentang-container {
  background-color: #fafafa;
  border: 2px solid #f0f0f0;
  border-radius: 10px;
  padding: 40px;
  max-width: 1000px;
  width: 100%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.tentang-container h2 {
  font-size: 2em;
  margin-bottom: 10px;
  text-align: center;
  color: #333;
}

.tentang-container hr {
  border: none;
  border-top: 3px solid orange;
  width: 60px;
  margin: 0 auto 30px auto;
}

.tentang-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.tentang-text {
  flex: 1;
  min-width: 280px;
  text-align: justify;
  line-height: 1.8;
  color: #444;
}

.tentang-image {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
}

.tentang-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .tentang-content {
    flex-direction: column;
  }
}

/* Style umum untuk kedua box */
.info-section {
  background-color: #fff;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.info-container {
  background-color: #fafafa;
  border: 2px solid #f0f0f0;
  border-radius: 10px;
  padding: 40px;
  max-width: 1000px;
  width: 100%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.info-container h2 {
  font-size: 2em;
  margin-bottom: 10px;
  text-align: center;
  color: #333;
}

.info-container hr {
  border: none;
  border-top: 3px solid orange;
  width: 60px;
  margin: 0 auto 30px auto;
}

/* Layout untuk Tentang */
.info-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.info-text {
  flex: 1;
  min-width: 280px;
  text-align: justify;
  line-height: 1.8;
  color: #444;
}

.info-image {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
}

.info-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Layout untuk Album */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.album-grid img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.album-grid img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .info-content {
    flex-direction: column;
  }
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px; /* tambahkan ruang kanan-kiri */
}

nav ul {
  display: flex;
  gap: 20px;
  margin-right: 40px; /* geser sedikit ke kiri agar tidak mepet hamburger */
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
  }

  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
  }

  .nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
  }

  .nav-links a:hover {
    text-decoration: underline;
  }

/* ===== SIDEBAR STYLE ===== */
#sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  right: 0;
  background-color: #ffffff; /* putih bersih */
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  overflow-x: hidden;
  z-index: 1000;
  transition: width 0.3s ease;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
}

/* Link sidebar */
#sidebar a {
  padding: 12px 20px;
  text-decoration: none;
  font-size: 16px;
  color: #333;
  display: block;
  transition: background-color 0.2s ease, color 0.2s ease;
}

#sidebar a.active {
  background-color: #007bff; /* biru */
  color: white;
}

/* Hover untuk link normal */
#sidebar a:hover {
  background-color: #f0f0f0;
}

/* Hover effect */
#sidebar a.active:hover {
  background-color: #0069d9; /* biru lebih gelap saat hover */
  color: white;
}

/* ===== HAMBURGER / EXIT BUTTON ===== */
#hamburger-btn {
  position: fixed;
  top: 15px;
  right: 15px;
  background: none; /* transparan */
  color: #ffb400; /* putih */
  font-size: 28px;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

#hamburger-btn:hover {
  color: #ffb400; /* kuning saat hover */
}

/* ===== DROPDOWN STYLE ===== */
.dropdown {
  width: 100%;
}

.dropdown-btn {
  background: none;
  color: #333;
  padding: 12px 20px;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s ease;
}

.dropdown-btn:hover {
  background-color: #f0f0f0;
}

.dropdown-content {
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: max-height 0.3s ease-out;
}

.dropdown-content a {
  padding: 10px 30px;
  color: #555;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
}

/* Saat dropdown aktif */
.dropdown.active .dropdown-content {
  max-height: 300px; /* tinggi cukup untuk semua item */
  transition: max-height 0.3s ease-in;
}

section {
  padding: 60px 10px 40px 10px;
  max-width: 900px;
  margin: 0 auto;
}

/* Garis pemisah unik di atas footer */
.footer-divider {
  height: 5px;
  background: linear-gradient(to right, orange, gold);
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}

/* Footer utama */
.site-footer {
  background-color: #f8f8f8;
  padding-top: 30px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
  padding: 30px 20px;
  gap: 30px;
}

.footer-about, .footer-links, .footer-social {
  flex: 1;
  min-width: 250px;
}

.footer-about h3 {
  color: orange;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.footer-about p {
  line-height: 1.6;
  color: #555;
}

.footer-links h4, .footer-social h4 {
  color: #333;
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: orange;
}

/* Ikon Sosial */
.social-icons a {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.5em;
  color: #666;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: orange;
}

/* Bagian bawah footer */
.footer-bottom {
  background-color: #eaeaea;
  padding: 15px;
  text-align: center;
  color: #555;
  font-size: 0.9em;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

#main {
  transition: margin-left .5s;
  padding: 16px;
}