/* Import font Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font-main: 'Poppins', sans-serif;
  --color-accent: #9c6b30;
  --color-dark: #333;
}

body, html {
  font-family: var(--font-main);
  height: 100%;
  overflow-x: hidden;
  line-height: 1.6;
  background-color: #f5f5f5;
  background: linear-gradient(to right, #fdfbfb, #ebedee);
  color: var(--color-dark);
}

/* ===== NAVIGATION ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.281);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 15px 30px;
  position: fixed;
  top: 0;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
}

.logo {
  height: 35px;
}

.nav-links {
  color: #000;
  text-decoration: none;
  padding: 8px 12px;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #ff8c00;
  border-bottom: 2px solid #FFA500;
}

.nav-left {
  display: flex;
  align-items: center;
}

.nav-right{
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a.active {
  border-bottom: 2px solid #FFA500; /* tanda saat halaman aktif */
  font-weight: bold;
  color: #d35400;
}

/* ===== Search ===== */
.search-form {
  display: flex;
  align-items: center;
  border: 1px solid #161111;
  border-radius: 20px;
  padding: 4px 10px;
  background-color: #fff;
}

.search-form input {
  border: 1px solid rgba(0, 0, 0, 0.4); /* tambahkan garis luar ringan */
  outline: none;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
  width: 120px;
  background-color: rgba(255, 255, 255, 0.3); /* putih transparan */
  color: rgb(0, 0, 0); /* agar teks terlihat jelas di background transparan */
}

.search-form button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin-left: 5px;
}

.search-form input:focus {
  background-color: rgba(255, 255, 255, 0.5);
}

/* ===== HERO SECTION ===== */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(139, 69, 19, 0.103); /* coklat semi-transparan */
  backdrop-filter: blur(2px);
  z-index: 1;
}

#hero {
    /* background dihilangkan karena diganti video */
   position: relative;
  color: white;
  overflow: hidden;
}

.hero-content {
   position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
  padding: 20px;
  max-width: 800px;
  margin: auto;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.hero-content h1 {
  font-size: 2.2rem; /* Ubah sesuai kebutuhan, misalnya 3.5rem atau lebih */
  color: #e09d4b; /* Atau warna lain sesuai keinginan */
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 25px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

/* ===== CTA BUTTON ===== */
.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #fffefe77;
  color: #333;
  text-decoration: none;
  border-radius: 24px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #ff7f00;
  color: white;
}

.cta-button .arrow {
  font-size: 1.5rem; /* Ukuran panah */
  display: inline-block;
  animation: moveArrow 1s infinite alternate;
}

@keyframes moveArrow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(10px);
  }
}

/* Dropdown Style */
.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(255, 255, 255, 0.603);
  min-width: 160px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  border-radius: 5px;
  z-index: 1000;
}

.nav-links .dropdown-content li {
  display: block;
}

.nav-links .dropdown-content li a {
  padding: 10px 15px;
  display: block;
  color: #000000;
  text-decoration: none;
  transition: background 0.3s;
}

.nav-links .dropdown-content li a:hover {
  background-color: #eee;
}

.nav-links .dropdown:hover .dropdown-content {
  display: block;
}

/* Card Style */
.info-card h2 {
  font-size: 2rem;
  color: #61331b;
  margin-bottom: 15px;
  animation: fadeIn 1.2s ease;
}

.info-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #0f0f0f;
}

/* ===== Sejarah: layout teks + kolase 3 foto ===== */
.sejarah-card {
  /* Hilangkan background-image lama jika ada */
  background: #ffffff;
  color: #2c3e50;
  padding: 60px 40px;
}

.sejarah-grid.foto-kanan {
  display: grid;
  grid-template-columns: 1.1fr 1fr; /* kiri (teks) lebih lebar sedikit */
  gap: 32px;
  align-items: center;
}

.sejarah-text h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.sejarah-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* Kolase */
.sejarah-collage {
  display: grid;
  grid-template-areas:
    "A B"
    "A C";
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.foto {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.foto::after {
  /* lapisan tipis agar caption terbaca */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.28), rgba(0,0,0,0.02) 60%);
  pointer-events: none;
}

.foto figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 6px 10px;
  font-size: 0.9rem;
  color: #fff;
  background: rgb(0, 0, 0);
  border-radius: 10px;
  backdrop-filter: blur(2px);
}

/* Area penempatan (A besar kiri, B kanan atas, C kanan bawah) */
.foto-a { grid-area: A; aspect-ratio: 3 / 4; transform: rotate(-0.6deg); }
.foto-b { grid-area: B; aspect-ratio: 4 / 3; transform: rotate(0.4deg); }
.foto-c { grid-area: C; aspect-ratio: 4 / 3; transform: rotate(-0.2deg); }

/* Sedikit animasi saat hover */
.foto:hover { transform: scale(1.02); transition: transform 0.25s ease; }

/* Responsif */
@media (max-width: 992px) {
  .sejarah-grid {
    grid-template-columns: 1fr;
  }
  .sejarah-collage {
    grid-template-areas:
      "A"
      "B"
      "C";
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .foto-a, .foto-b, .foto-c {
    transform: none;
    aspect-ratio: 16 / 9;
  }
}

/* Sejarah Desa – Full Background */
.sejarah-card {
  position: relative;
  background: url('') center/cover no-repeat; /* ganti dengan foto sejarah */
  color: #fff;
  text-align: left;
  padding: 100px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  /* Ukuran Fullnya */
  width: 100%;
  max-width: 100%;
}

.sejarah-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(110, 52, 3, 0.452); /* overlay gelap */
  border-radius: 12px;
}

.sejarah-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  text-align: justify;
}

.sejarah-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
}

.sejarah-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-sejarah {
  display: inline-block;
  background: #fff;
  color: #333;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.btn-sejarah:hover {
  background: #ff8c00;
  color: #fff;
  transform: scale(1.05);
}


/* ===== Pariwisata: layout teks + kolase 3 foto ===== */
.pariwisata-card {
  /* Hilangkan background-image lama jika ada */
  background: #ffffff;
  color: #2c3e50;
  padding: 60px 40px;
}

.pariwisata-grid.foto-kanan {
  display: grid;
  grid-template-columns: 1.1fr 1fr; /* kiri (teks) lebih lebar sedikit */
  gap: 32px;
  align-items: center;
}

.pariwisata-text h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.pariwisata-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* Kolase */
.pariwisata-collage {
  display: grid;
  grid-template-areas:
    "D E"
    "D F";
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.foto {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.foto::after {
  /* lapisan tipis agar caption terbaca */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.28), rgba(0,0,0,0.02) 60%);
  pointer-events: none;
}

.foto figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 6px 10px;
  font-size: 0.9rem;
  color: #fff;
  background: rgba(0,0,0,0.45);
  border-radius: 10px;
  backdrop-filter: blur(2px);
}

/* Area penempatan (A besar kiri, B kanan atas, C kanan bawah) */
.foto-d { grid-area: D; aspect-ratio: 3 / 4; transform: rotate(-0.6deg); }
.foto-e { grid-area: E; aspect-ratio: 4 / 3; transform: rotate(0.4deg); }
.foto-f { grid-area: F; aspect-ratio: 4 / 3; transform: rotate(-0.2deg); }

/* Sedikit animasi saat hover */
.foto:hover { transform: scale(1.02); transition: transform 0.25s ease; }

/* Responsif */
@media (max-width: 992px) {
  .pariwisata-grid {
    grid-template-columns: 1fr;
  }
  .pariwisata-collage {
    grid-template-areas:
      "D"
      "E"
      "F";
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .foto-d, .foto-e, .foto-f {
    transform: none;
    aspect-ratio: 16 / 9;
  }
}

/* Scrollbar horizontal */
.horizontal-scroll::-webkit-scrollbar {
  height: 8px;
}
.horizontal-scroll::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 4px;
}

/* Pariwisata Desa – Full Background */
.pariwisata-card {
  position: relative;
  background: url('') center/cover no-repeat; /* ganti dengan foto sejarah */
  color: #fff;
  text-align: left;
  padding: 100px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  /* Ukuran Fullnya */
  width: 100%;
  max-width: 100%;
}

.pariwisata-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(110, 52, 3, 0.452); /* overlay gelap */
  border-radius: 12px;
}

.pariwisata-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  text-align: justify;
}

.pariwisata-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
  word-spacing: normal;      /* <<< Tambahkan ini */
  letter-spacing: normal;    /* <<< Tambahkan ini juga */
}

.pariwisata-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-pariwisata {
  display: inline-block;
  background: #fff;
  color: #333;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.btn-pariwisata:hover {
  background: #ff8c00;
  color: #fff;
  transform: scale(1.05);
}

/* ===== Budaya: layout teks + kolase 3 foto ===== */
.budaya-card {
  background: #ffffff;
  color: #2c3e50;
  padding: 60px 40px;
}

.budaya-grid.foto-kanan {
  display: grid;
  grid-template-columns: 1.1fr 1fr; /* kiri (teks) lebih lebar sedikit */
  gap: 32px;
  align-items: center;
}

/* Kolase */
.budaya-collage {
  display: grid;
  grid-template-areas:
    "G H"
    "G I";
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

/* Gaya umum untuk gambar */
.foto {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: transform 0.25s ease;
}

.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.28), rgba(0,0,0,0.02) 60%);
  pointer-events: none;
}

.foto figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 6px 10px;
  font-size: 0.9rem;
  color: #fff;
  background: rgba(0,0,0,0.45);
  border-radius: 10px;
  backdrop-filter: blur(2px);
}

/* Penempatan area */
.foto-g { grid-area: G; aspect-ratio: 3 / 4; transform: rotate(-0.6deg); }
.foto-h { grid-area: H; aspect-ratio: 4 / 3; transform: rotate(0.4deg); }
.foto-i { grid-area: I; aspect-ratio: 4 / 3; transform: rotate(-0.2deg); }
/* Sedikit animasi saat hover*/
.foto:hover {
  transform: scale(1.02); transition: transform 0.25s ease;}

/* Responsif */
@media (max-width: 992px) {
  .budaya-grid {
    grid-template-columns: 1fr;
  }
  .budaya-collage {
    grid-template-areas:
      "G"
      "H"
      "I";
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .foto-g, .foto-h, .foto-i {
    transform: none;
    aspect-ratio: 16 / 9;
  }
}

/* Pariwisata Desa – Full Background */
.budaya-card {
  position: relative;
  background: url('') center/cover no-repeat; /* ganti dengan foto sejarah */
  color: #fff;
  text-align: left;
  padding: 100px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  /* Ukuran Fullnya */
  width: 100%;
  max-width: 100%;
}

.info-card p {
    word-spacing: normal;
    letter-spacing: normal;
}

.budaya-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(110, 52, 3, 0.452); /* overlay gelap */
  border-radius: 12px;
}

.budaya-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  text-align: justify;
}

.budaya-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
  word-spacing: normal;      /* <<< Tambahkan ini */
  letter-spacing: normal;    /* <<< Tambahkan ini juga */
}

.budaya-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-budaya {
  display: inline-block;
  background: #fff;
  color: #333;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.btn-budaya:hover {
  background: #ff8c00;
  color: #fff;
  transform: scale(1.05);
}

/* ===== INFO-CARD UMUM ===== */
.info-card {
  background-color: #fffefc;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 24px;
  margin: 40px auto;
  max-width: 1200px;
  animation: fadeInUp 0.8s ease;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* ==== Grid Layout ==== */
.sejarah-grid,
.pariwisata-grid,
.budaya-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* BAGIAN KONTEN TEKS */
.sejarah-content,
.pariwisata-content,
.budaya-content {
  flex: 1 1 60%;
  text-align: justify;
  font-size: 16px;
  line-height: 1.8;
  color: #222;
}

/* BAGIAN GALERI FOTO */
.sejarah-collage,
.pariwisata-collage,
.budaya-collage {
  flex: 1 1 35%;
 align-items: center;
}

/* FOTO DI DALAM GALERI */
.sejarah-collage img,
.pariwisata-collage img,
.budaya-collage img {
   width: 100%;
    /* max-width: 240px;  <-- HAPUS atau KOMENTARI baris ini */
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgb(0, 0, 0);
    transition: transform 0.3s ease;
    margin: 0 auto;
}

.sejarah-collage img:hover,
.pariwisata-collage img:hover,
.budaya-collage img:hover {
  transform: scale(1.03);
}

.sejarah-collage figcaption,
.pariwisata-collage figcaption,
.budaya-collage figcaption {
  text-align: center;
  font-size: 14px;
  margin-top: 8px;
  font-weight: 500;
  color: #f7f7f7;
}

/* ==== Responsive ==== */
@media (max-width: 768px) {
  .sejarah-grid,
  .pariwisata-grid,
  .budaya-grid {
    flex-direction: column;
  }

  .info-card {
    margin: 30px 15px;
  }
}



/* ===== KONTEN SENTRA ===== */
.card {
  max-width: 1000px;
  margin: 40px auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  animation: fadeInUp 0.8s ease-in-out;
}

.sentra-section {
  padding: 60px 20px;
  margin: 40px auto;
  max-width: 1100px;
  background: #a1630785;
  border-radius: 20px;
  animation: fadeUp 1s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.sentra-section h1,
.sentra-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #61331b;
  animation: fadeUp 1s ease;
}

.sentra-section p {
  font-size: 16px;
  line-height: 1.8;
  text-align: justify;
  color: #333;
  margin-bottom: 16px;
  animation: fadeUp 1.2s ease;
}

.section-title, .section-subtitle {
  text-align: center;
  color: #6b3e26;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-top: 40px; /* Tambahan ini */
  margin-bottom: 20px;
  text-align: center;
  color: #6b3e26;
}

.section-subtitle {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
}

/* ===== TABEL PENGRAJIN ===== */
.gerabah-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  animation: zoomIn 1.2s ease;
}

.gerabah-table th,
.gerabah-table td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
}

.gerabah-table thead {
  background-color: #a9784c;
  color: #fff;
}

/* ===== KARTU BIODATA ===== */
.biodata-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  animation: fadeUp 1.3s ease;
}

.pengrajin-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  width: 280px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: zoomIn 1.4s ease;
}

.pengrajin-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.pengrajin-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.pengrajin-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #4b2e20;
}

.pengrajin-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .biodata-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .sentra-section {
    padding: 40px 20px;
    margin: 20px;
  }
}

/* ===== ANIMASI UMUM ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==== Animasi Dasar ==== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*PopUp foto di informasi.html*/
.popup-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.popup-img {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.close-popup {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* === RESPONSIVE MENU === */
.menu-toggle {
  display: none;
  font-size: 22px;
  cursor: pointer;
  padding: 8px 12px;
  user-select: none;
  font-weight: bold;
  color: #333;
}

@media (min-width: 769px) {
  .search-form {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 1000;
  }

  .nav-right {
    position: absolute;
    top: 60px;
    right: 10px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 12px;
    width: max-content;
    align-items: flex-start;
    flex-direction: column;
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin: 0;
  }

  .nav-links.show {
    display: flex;
  }

  .search-form {
    margin-top: 10px;
    width: 100%;
    display: block;
  }

  .search-form input {
    width: 100%;
    padding: 6px;
    font-size: 14px;
  }

  .search-form button {
    margin-top: 6px;
    padding: 6px 12px;
    font-size: 14px;
  }

  /* Utility class untuk menyembunyikan elemen */
  .hidden {
    display: none !important;
  }
}

/* Tambahkan di bagian akhir file */
/* Audio Control Styles */
.audio-control {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 10;
}

.audio-control:hover {
  background-color: #FFA500;
  transform: scale(1.1);
}

.audio-control i {
  font-size: 20px;
  color: #333;
  transition: all 0.3s ease;
}

.audio-control:hover i {
  color: white;
}

/* Tambahkan relatif positioning ke info-card */
.info-card {
  position: relative;
}

/* Animasi Khusus */
    @keyframes float {
      0% { transform: translateY(0px); }
      50% { transform: translateY(-10px); }
      100% { transform: translateY(0px); }
    }
    
    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.03); }
      100% { transform: scale(1); }
    }
    
    @keyframes fadeInLeft {
      from {
        opacity: 0;
        transform: translateX(-50px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }
    
    /* Efek Hover Khusus */
    .hover-grow {
      transition: transform 0.3s ease;
    }
    
    .hover-grow:hover {
      transform: scale(1.03);
    }
    
    .hover-rotate {
      transition: transform 0.5s ease;
    }
    
    .hover-rotate:hover {
      transform: rotate(2deg);
    }
    
    /* Gaya Khusus untuk Visualisasi Data */
    .data-visualization {
      background: white;
      border-radius: 20px;
      box-shadow: 0 15px 30px rgba(0,0,0,0.1);
      padding: 30px;
      margin: 40px auto;
      max-width: 1100px;
      animation: fadeInUp 0.8s;
    }
    
    .chart-header {
      text-align: center;
      margin-bottom: 20px;
    }
    
    .chart-header h2 {
      font-size: 2rem;
      color: #61331b;
      background: linear-gradient(45deg, #9c6b30, #e09d4b);
      -webkit-text-fill-color: transparent;
      animation: fadeInLeft 1s;
    }
    
    .chart-container {
      position: relative;
      height: 400px;
      margin: 20px 0;
      animation: fadeIn 1.2s;
    }
    
    .data-summary {
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      margin-top: 30px;
    }
    
    .summary-card {
      background: #f8f9fa;
      border-radius: 12px;
      padding: 20px;
      width: 200px;
      text-align: center;
      margin: 10px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.05);
      transition: all 0.4s ease;
      animation: fadeInUp 0.8s;
    }
    
    .summary-card:hover {
      transform: translateY(-8px) scale(1.05);
      box-shadow: 0 10px 25px rgba(0,0,0,0.1);
      background: linear-gradient(135deg, #f5f7fa 0%, #e9e9e9 100%);
    }
    
    .summary-card h3 {
      color: #9c6b30;
      margin-bottom: 10px;
      font-size: 1.2rem;
    }
    
    .summary-card p {
      font-size: 1.8rem;
      font-weight: bold;
      color: #6b3e26;
      margin: 0;
      transition: all 0.3s ease;
    }
    
    .summary-card:hover p {
      color: #9c6b30;
      transform: scale(1.1);
    }
    
    /* Animasi Tabel */
    .gerabah-table {
      animation: zoomIn 0.8s;
    }
    
    .gerabah-table tr {
      transition: all 0.3s ease;
    }
    
    .gerabah-table tr:hover {
      background-color: rgba(156, 107, 48, 0.1);
      transform: translateX(5px);
    }
    
    /* Animasi Kartu Pengrajin */
    .pengrajin-card {
      animation: fadeInUp 0.8s;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    
    .pengrajin-card:hover {
      transform: translateY(-10px) rotate(1deg);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }
    
    .pengrajin-card img {
      transition: all 0.4s ease;
    }
    
    .pengrajin-card:hover img {
      transform: scale(1.1);
      box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    
    @media (max-width: 768px) {
      .chart-container {
        height: 300px;
      }
      
      .data-summary {
        flex-direction: column;
        align-items: center;
      }
      
      .summary-card {
        width: 80%;
      }
    }

/* ===== Sentra: layout teks + kolase 3 foto ===== */
.sentra-grid.foto-kanan {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}

.sentra-text {
  font-size: 1.05rem;
  line-height: 1.7;
}

.sentra-collage {
  display: grid;
  grid-template-areas:
    "A B"
    "A C";
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.foto {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: transform 0.25s ease;
}

.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.28), rgba(0,0,0,0.02) 60%);
  pointer-events: none;
}

.foto figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 6px 10px;
  font-size: 0.9rem;
  color: #fff;
  background: rgba(0,0,0,0.45);
  border-radius: 10px;
  backdrop-filter: blur(2px);
}

.foto-a { grid-area: A; aspect-ratio: 3 / 4; transform: rotate(-0.6deg); }
.foto-b { grid-area: B; aspect-ratio: 4 / 3; transform: rotate(0.4deg); }
.foto-c { grid-area: C; aspect-ratio: 4 / 3; transform: rotate(-0.2deg); }

@media (max-width: 992px) {
  .sentra-grid {
    grid-template-columns: 1fr;
  }
  .sentra-collage {
    grid-template-areas:
      "A"
      "B"
      "C";
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .foto-a, .foto-b, .foto-c {
    transform: none;
    aspect-ratio: 16 / 9;
  }
}

/* biodata pengrajin scroll */
.biodata-scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 0;
  scroll-behavior: smooth;
}

.biodata-wrapper.scroll-horizontal {
  display: flex;
  gap: 16px;
  padding: 0 16px;
}

.biodata-scroll-container::-webkit-scrollbar {
  height: 10px; /* Ubah angka ini agar scrollbar lebih tipis, misalnya 4px */
}

.biodata-scroll-container::-webkit-scrollbar-thumb {
  background: #888; /* Warna silver */
  border-radius: 10px;
}

.biodata-scroll-container::-webkit-scrollbar-track {
  background: transparent;
}

.pengrajin-card {
  flex: 0 0 auto;
  width: 220px;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.pengrajin-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}

.scroll-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.scroll-buttons button {
  background-color: #a15c2f;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 20px;
  transition: background 0.3s;
}

.scroll-buttons button:hover {
  background-color: #7e431f;
}

/* === Koleksi Gerabah Styling Tambahan === */
.hero-panel {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Tengah vertikal */
  align-items: center;     /* Tengah horizontal */
  text-align: center;
  padding: 0 20px;
  background: url("../images/koleksi1.jpg") center/cover no-repeat;
}

.hero-panel1 {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Tengah vertikal */
  align-items: center;     /* Tengah horizontal */
  text-align: center;
  padding: 0 20px;
  background: url("../images/sentral.png") center/cover no-repeat;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* overlay gelap biar teks jelas */
  z-index: 1;
}

.hero-content {
  position: relative;
  top: 0;
  transform: none;
  z-index: 2;
  animation: fadeInUp 1.2s ease forwards;
}

.hero-content h1 {
  font-size: 3rem;
  color: #ffb347;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
  animation: float 3s ease-in-out infinite;
}

.hero-content p {
  max-width: 700px;
  margin: 15px auto;
  font-size: 1.1rem;
  color: #fff;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.7);
  animation: fadeIn 1.8s ease;
}

.cta-button {
  font-size: 1.1rem;
  padding: 14px 28px;
  background: linear-gradient(45deg, #ff8c00, #ffb347);
  color: white;
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* ===== Koleksi Gerabah Gallery ===== */
.koleksi-gallery {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.koleksi-gallery h2 {
  font-size: 2.4rem;
  font-weight: bold;
  color: #9c6b30;
  margin-bottom: 40px;
}

/* Grid Galeri */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

/* Kartu Galeri */
.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transform: translateY(40px);
  opacity: 0;
  animation: fadeUpGallery 0.8s forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Overlay teks */
.gallery-item p {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.65));
  padding: 12px;
  font-weight: 500;
  font-size: 1rem;
  color: #fff;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s ease;
}

.gallery-item:hover p {
  opacity: 1;
  transform: translateY(0);
}

/* Delay animasi tiap item */
.gallery-item:nth-child(1) { animation-delay: 0.2s; }
.gallery-item:nth-child(2) { animation-delay: 0.4s; }
.gallery-item:nth-child(3) { animation-delay: 0.6s; }
.gallery-item:nth-child(4) { animation-delay: 0.8s; }

/* Animasi */
@keyframes fadeUpGallery {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

   .btn-maps {
      display: inline-block;
      padding: 10px 20px;
      background: linear-gradient(45deg, #d35400, #e67e22);
      color: #fff;
      border-radius: 6px;
      text-decoration: none;
      font-weight: bold;
      transition: all 0.3s ease;
    }
    .btn-maps:hover {
      background: linear-gradient(45deg, #e67e22, #d35400);
      transform: scale(1.05);
      box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
    .sentra-collage img {
      width: 100%;
      border-radius: 8px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .sentra-collage img:hover {
      transform: scale(1.03);
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
    .maps-container {
      margin-top: 20px;
    }

    /* ===== Global Styles ===== */
    :root {
      --primary: #3498db;
      --primary-dark: #2980b9;
      --secondary: #e74c3c;
      --accent: #2ecc71;
      --dark: #2c3e50;
      --light: #f8f9fa;
      --gray: #95a5a6;
      --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      --transition: all 0.3s ease;
    }
    
    body {
      font-family: 'Poppins', sans-serif;
      background-color: #f5f7fa;
      color: var(--dark);
      line-height: 1.6;
    }
    
    /* ===== Header Section ===== */
    .info-card1 {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white; /* Pastikan teks kontras dengan background */
    padding: 6rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    }


    .sejarah-grid1 {
    width: 100%;
    display: flex;
    justify-content: center;
    }

    .sejarah-content1 {
    max-width: 900px;
    }

    .sejarah-content1 h2 {
    color: white; /* Pastikan warna teks kontras */
    font-size: 2.2rem;
    margin-bottom: 1rem;
    }

    .sejarah-content1 p {
     color: rgba(255, 255, 255, 0.9); /* Teks putih dengan sedikit transparansi */
     max-width: 800px;
     margin: 0 auto;
     font-size: 1.1rem;
     padding: 0 20px;
    }

    .info-card h2 {
      font-size: 2.2rem;
      margin-bottom: 1rem;
      font-weight: 600;
    }
    
    .info-card p {
      max-width: 800px;
      margin: 0 auto;
      font-size: 1.1rem;
      opacity: 0.9;
      padding: 0 20px;
    }
    
    /* ===== Dashboard Styles ===== */
    .dashboard-section {
      padding: 2rem;
      max-width: 1200px;
      margin: 0 auto;
    }
    
    .dashboard-stats {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin: 2rem 0;
      justify-content: center;
    }
    
    .stat-card {
      flex: 1 1 200px;
      background: #fff;
      border-radius: 12px;
      padding: 1.5rem;
      text-align: center;
      box-shadow: var(--shadow);
      transition: var(--transition);
      border-left: 4px solid var(--primary);
      min-width: 200px;
    }
    
    .stat-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }
    
    .stat-card .icon {
      font-size: 2.2rem;
      color: var(--primary);
      margin-bottom: 0.8rem;
    }
    
    .stat-card h3 {
      font-size: 1rem;
      color: var(--gray);
      margin-bottom: 0.5rem;
      font-weight: 500;
    }
    
    .stat-card .value {
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--primary);
    }
    
    /* ===== Section Styles ===== */
    .section {
      background: #fff;
      padding: 2rem;
      border-radius: 12px;
      margin-bottom: 2rem;
      box-shadow: var(--shadow);
      transition: var(--transition);
    }
    
    .section:hover {
      box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    }
    
    .section h2 {
      font-size: 1.6rem;
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--dark);
      font-weight: 600;
    }
    
    .section h2 i {
      color: var(--primary);
    }
    
    /* ===== Chart & Table Containers ===== */
    .flex-container {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin: 1.5rem 0;
    }
    
    .chart-box {
      flex: 1 1 45%;
      min-width: 300px;
      background: #fff;
      padding: 1.5rem;
      border-radius: 10px;
      box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    }
    
    .chart-container {
      width: 100%;
      height: 350px;
      position: relative;
    }
    
    /* ===== Table Styles ===== */
    .data-table {
      width: 100%;
      border-collapse: collapse;
      margin: 1.5rem 0;
      font-size: 0.95rem;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
      border-radius: 8px;
      overflow: hidden;
    }
    
    .data-table th, 
    .data-table td {
      padding: 14px 16px;
      text-align: left;
      border-bottom: 1px solid #eee;
    }
    
    .data-table th {
      background-color: var(--primary);
      color: white;
      font-weight: 500;
      text-transform: uppercase;
      font-size: 0.85rem;
      letter-spacing: 0.5px;
    }
    
    .data-table tr:nth-child(even) {
      background-color: #f8f9fa;
    }
    
    .data-table tr:hover {
      background-color: #e8f4fc;
    }
    
    /* ===== Tabs System ===== */
    .tabs {
      display: flex;
      margin-bottom: 1.5rem;
      border-bottom: 1px solid #eee;
    }
    
    .tab {
      padding: 0.8rem 1.5rem;
      cursor: pointer;
      font-weight: 500;
      color: var(--gray);
      border-bottom: 3px solid transparent;
      transition: var(--transition);
    }
    
    .tab.active {
      color: var(--primary);
      border-bottom: 3px solid var(--primary);
    }
    
    .tab-content {
      display: none;
    }
    
    .tab-content.active {
      display: block;
    }
    
    /* ===== Highlight Box ===== */
    .data-highlight {
      background-color: #e3f2fd;
      padding: 1.5rem;
      border-radius: 10px;
      margin: 1.5rem 0;
      border-left: 4px solid var(--primary);
    }
    
    .data-highlight h3 {
      color: var(--primary);
      margin-bottom: 0.8rem;
      font-size: 1.1rem;
      font-weight: 600;
    }
    
    /* ===== Responsive Styles ===== */
    @media(max-width: 768px){
      .flex-container {
        flex-direction: column;
      }
      
      .chart-box {
        flex: 1 1 100%;
      }
      
      .info-card h2 {
        font-size: 1.8rem;
      }
      
      .info-card p {
        font-size: 1rem;
      }
      
      .stat-card {
        flex: 1 1 100%;
        margin-bottom: 1rem;
      }
    }

/* Background modal */
.login-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

/* Konten login */
.login-content {
  background: #ffffff;
  width: 320px;
  padding: 25px 20px;
  margin: 8% auto;
  border-radius: 15px;
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
  animation: fadeIn 0.4s ease;
}

/* Animasi masuk */
@keyframes fadeIn {
  from {transform: translateY(-20px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}

/* Judul */
.login-content h2 {
  margin-bottom: 20px;
  color: #333;
  font-family: 'Poppins', sans-serif;
}

/* Tombol close */
.close {
  float: right;
  cursor: pointer;
  font-size: 22px;
  font-weight: bold;
  color: #888;
  transition: color 0.3s;
}
.close:hover {
  color: #e74c3c;
}

/* Input form */
.login-content input {
  width: 90%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
  transition: border 0.3s, box-shadow 0.3s;
}

.login-content input:focus {
  border-color: #3498db;
  box-shadow: 0px 0px 5px rgba(52, 152, 219, 0.5);
}

/* Tombol login */
.login-content button {
  width: 95%;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  color: white;
  border: none;
  padding: 10px 15px;
  margin-top: 15px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
}

.login-content button:hover {
  transform: translateY(-2px);
  box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
}

/* search-box */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 5px 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.search-box i {
  color: #888;
  margin-right: 8px;
}

.search-box input {
  border: none;
  outline: none;
  padding: 5px;
  font-size: 14px;
  width: 180px;
}

.search-box input::placeholder {
  color: #aaa;
}

/* Pagination style */
.pagination {
  margin-top: 30px;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination button {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 25px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.pagination button:hover:not(:disabled) {
  background: linear-gradient(135deg, #2980b9, #1f6fa1);
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.25);
}

.pagination button:disabled {
  background: #95a5a6;
  color: #ecf0f1;
  cursor: not-allowed;
  box-shadow: none;
}

.pagination button.active {
  background: #e67e22;
  color: #fff;
  font-weight: 700;
  transform: scale(1.05);
}