* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Sora', sans-serif;
}

body {
    color: #fff;
    background-color: #fff;
}

/* Efek awal halaman saat baru terbuka */
.page-transition {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

/* Saat halaman aktif / sudah muncul */
.page-transition.show {
  opacity: 1;
  transform: translateY(0);
}


/* NAVIGASI */
nav {
    background-color: #5b2c1e;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}


.logo {
    height: 55px;
    width: 65px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: cover;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #ffcc00;
}

.lang-switch select {
    padding: 5px 8px;
    background: #ffcc00;
    color: #5b2c1e;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.hero {
    background: #5b2c1e;
    color: #f7d8a4;
    text-align: center;
    padding: 100px 20px;
    margin-top: 20px;
}

.hero h3 {
    font-weight: 300;
    font-size: 25px;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 100px;
    margin: 30px 0;
}

.hero p {
    margin-bottom: 50px;
    font-size: 25px;
}

.btn {
    background-color: #ffcc00;
    color: #5b2c1e;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    margin: 5px;
}

.btn-outline {
    background: transparent;
    border: 2px solid #ffcc00;
    color: #ffcc00;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    margin: 5px;
    
}

.scroll-hint {
    margin-top: 60px;
    text-align: center;
}

.scroll-hint p {
    color: #ffcc00;
    font-size: 0.9em;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.scroll-down {
    display: inline-block;
    margin-top: 20px;
    font-size: 2em;
    color: #ffcc00;
    text-decoration: none;
    animation: bounce 1.5s infinite;
    transition: 0.3s;
}

.scroll-down:hover {
    color: #fff;
    transform: translateY(5px);
}

/* Section Warisan */
.heritage-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 90px 8%;
    background: #f7d8a4;
    gap: 60px;
}

.heritage-text {
    max-width: 45%;
}

.heritage-text h2 {
    font-size: 60px;
    font-weight: 800;
    line-height: 1.2;
    color: #4b2a10;
    margin-bottom: 18px;
}

.heritage-text p {
    font-size: 20px;
    color: #513520;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: justify;
}

/* ICON Group */
    .heritage-icons {
    display: flex;
    gap: 55px;
    margin-top: 20px;
}

.icon-box {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #4b2a10;
    margin: auto;
}

.icon-box i {
    font-size: 26px;
    background: #4b2a10;
    color: #fff;
    padding: 18px;
    border-radius: 50%;
    margin-bottom: 10px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    transition: 0.25s;
}

.icon-box i:hover {
    transform: scale(1.12);
    box-shadow: 0px 6px 12px rgba(0,0,0,0.2);
}

.icon-box p {
    text-align: center;
}

/* FOTO */
.heritage-img img {
    width: 420px;
    height: 450px;
    border-radius: 18px;
    object-fit: cover;
    border: 4px solid #f2c37b;
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}


.batik-manes {
    max-height: 90vh;
    background-color: #5b2c1e;
    color: #f7d8a4;
    text-align: center;
    padding: 50px 0px;
}

.batik-manes h2 {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.batik-manes h3 {
    color: #f7d8a4;
    font-size: 1.3em;
    font-weight: normal;
    margin-bottom: 30px;
}

.batik-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.batik-images img {
    width: 30%;
    max-width: 400px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.batik-manes p {
    font-size: 17px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.garis-putih {
    width: 80%;
    height: 1.5px;
    border: none;
    background-color: #fff;
}

.koleksi-batik {
    background-color: #5b2c1e;
    color: #f7d8a4;
    text-align: center;
    padding: 80px 20px 60px;
}

.koleksi-batik h2 {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    /* margin-left: 200px; */
}

.koleksi-batik h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: normal;
    text-align: center;
    /* margin-left: 200px */
}

.koleksi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px; 
    justify-items: center;
    margin-bottom: 35px;
    margin: 0px 200px;
}

.koleksi-grid img {
    width: 95%; 
    max-width: 200px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 3px 6px rgba(0,0,0,0.25);
    transition: transform 0.3s ease;
}

.koleksi-grid img:hover {
    transform: scale(1.05);
}

.btn-gallery {
    margin-top: 35px;
    display: inline-block;
    background-color: #f2b705;
    color: #4b2600;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-gallery:hover {
    background-color: #ffca33;
}

/* Section Eduwisata Membatik */
.eduwisata-section {
    background-color: #f7d8a4;
    color: #4b2a10;
    display: flex;
    gap: 30px;
    padding: 40px 60px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.images-container {
    display: grid;
    grid-template-columns: 180px 180px;
    grid-template-rows: 220px 100px 120px;
    gap: 15px;
    border-radius: 15px;
    margin-left: 100px;
}

.img-large img {
    width: 180px;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
    margin-top: 50px;
}

.img-small-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 50px;
}

.img-small img {
    width: 180px;
    height: 100px;
    object-fit: cover;
    border-radius: 15px;
}

.img-wide img {
    width: 370px;
    height: 120px;
    object-fit: cover;
    border-radius: 15px;
    margin-top: -50px;
}

.images-container > .img-large {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.images-container > .img-small-group {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.images-container > .img-wide {
    grid-column: 1 / span 2;
    grid-row: 3;
}

.text-content {
    max-width: 500px;
    margin-left: 150px;
}

.text-content h2 {
    font-size: 60px;
    margin: 0 0 12px 0;
    font-weight: 700;
}

.text-content p {
    font-size: 25px;
    margin-bottom: 18px;
}

.text-content ul {
    list-style-type: disc;
    padding-left: 18px;
    margin-bottom: 30px;
}

.text-content ul li {
    margin-bottom: 8px;
    font-size: 20px;
}

.btn-eduwisata {
    margin-top: 15px;
    display: inline-block;
    background-color: #f2b705;
    color: #4b2600;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-eduwisata:hover {
    background-color: #ffca33;
}

/* Visi Misi */
.visi-misi-section {
    position: relative;
    background: url('../Image/background_visi.png') no-repeat center center/cover;
    height: 90vh; /* biar full satu layar */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.overlay {
  background: rgba(50, 30, 10, 0.6); /* transparan lembut coklat gelap */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.content {
    max-width: 800px;
}

.judul {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.garis-emas {
    width: 200px;
    height: 3px;
    border: none;
    background-color: #d1a74a;
    margin: 10px auto 20px;
}

.garis-putih {
    width: 80%;
    height: 1.5px;
    border: none;
    background-color: #d1a74a;
    margin: 30px auto;
}

.teks-visi {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.daftar-misi {
    list-style: none;
    padding: 0;
    font-size: 20px;
    line-height: 1.8;
}

.daftar-misi li {
    margin-bottom: 8px;
}


/* FOOTER */
.footer {
    display: flex;
    background-color: #f2d6a2;
    color: #3e2f20;
}

.footer-left img {
    width: 150px;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer-right {
    flex: 1;
    padding: 25px 40px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 20px;
    font-size: 15px;
}

.footer-column ul li a {
    color: #3e2f20;
    text-decoration: none;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: #a56a2f;
}

.footer-bottom {
    text-align: right;
    margin-top: 50px;
    font-size: 13px;
    color: #4a3a2a;
}





/* Untuk HP (max-width 768px) */
@media (max-width: 768px) {
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    height: auto;
}

/* Logo tetap di kiri */
nav .logo img {
    max-height: 35px;
}

/* Menu di tengah, jarak antar item dirapatkan */
nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

nav ul li a {
    font-size: 13px;
}

  /* Switch bahasa di kanan */
.lang-switch select {
    font-size: 12px;
    padding: 3px 6px;
}
}

/* ============================= */
/* HERO SECTION RESPONSIVE       */
/* ============================= */

/* Tablet */
@media (max-width: 1024px) {
  .hero {
    padding: 80px 40px;
    text-align: center;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero h3 {
    font-size: 20px;
  }

  .hero p {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .hero .buttons {
    gap: 15px;
  }
}

/* HP */
@media (max-width: 768px) {
  .hero {
    padding: 120px 20px;
    text-align: center;
    background-position: center;
    background-size: cover;
  }

  .hero h3 {
    font-size: 18px;
    margin-bottom: 50px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 50px;
  }

  .hero p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 50px;
  }

  .hero .buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .hero .btn,
  .hero .btn-outline {
    width: 80%;
    text-align: center;
    font-size: 14px;
    padding: 10px 0;
  }

  .scroll-hint {
    margin-top: 25px;
  }

  .scroll-hint p {
    font-size: 12px;
  }

  .scroll-hint a {
    font-size: 18px;
  }
}


/* ============================= */
/* HERITAGE SECTION RESPONSIVE   */
/* ============================= */

/* Tablet */
@media (max-width: 1024px) {
  .heritage-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 40px;
    gap: 30px;
  }

  .heritage-text h2 {
    font-size: 32px;
  }

  .heritage-text p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 700px;
  }

  .heritage-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
  }

  .heritage-img img {
    width: 80%;
    height: auto;
    border-radius: 12px;
  }
}

/* HP */
@media (max-width: 768px) {
  .heritage-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 10px;
    gap: 25px;
  }

  .heritage-text {
    width: 100%;
    max-width: 95%;
  }

  .heritage-text h2 {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 30px;
  }

  .heritage-text p {
    font-size: 14px;
    line-height: 1.7;
    margin: 0 auto 30px auto;
    max-width: 90%;
    text-align: center;
  }

  /* 3 ikon sejajar */
  .heritage-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
  }

  .heritage-icons .icon-box {
    flex: 1 1 30%; /* tiap ikon ambil sekitar 1/3 lebar */
    max-width: 100px; /* biar pas di HP kecil */
  }

  .heritage-icons .icon-box p {
    font-size: 12px;
    line-height: 1.3;
  }

  .heritage-icons .icon-box i {
    font-size: 22px;
    margin-top: 6px;
  }

  /* Gambar di bawah */
  .heritage-img {
    width: 60%;
  }

  .heritage-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
}

@media (max-width: 768px) {
  .batik-manes {
    text-align: center;
    padding: 50px 15px;
  }

  .batik-manes h2 {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .batik-manes h3 {
    font-size: 16px;
    margin-bottom: 15px;
  }

  /* Gambar sejajar dua-dua */
  .batik-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap; /* biar bisa turun kalau layar sempit */
    margin-bottom: 20px;
  }

  .batik-images img {
    width: 48%; /* biar dua gambar muat di satu baris */
    height: auto;
    border-radius: 8px;
  }

  .batik-manes p {
    font-size: 14px;
    line-height: 1.7;
    max-width: 90%;
    margin: 0 auto 25px auto;
    text-align: justify;
  }

  .garis-putih {
    width: 90%;
    margin: 0 auto;
    border: 0;
    border-top: 1px solid #fff;
  }
}


/* Untuk TABLET (lebar 769px sampai 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .batik-manes {
    text-align: center;
    padding: 70px 40px;
  }

  .batik-manes h2 {
    font-size: 30px;
    margin-bottom: 8px;
  }

  .batik-manes h3 {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 25px;
  }

  .batik-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
  }

  .batik-images img {
    width: 45%;
    height: auto;
    border-radius: 10px;
  }

  .batik-manes p {
    font-size: 15px;
    line-height: 1.8;
    max-width: 85%;
    margin: 0 auto 30px auto;
  }

  .garis-putih {
    width: 50%;
    margin: 0 auto;
    border: 0;
    border-top: 1px solid #fff;
  }
}


/* Untuk HP */
@media (max-width: 768px) {
  .koleksi-batik {
    text-align: center;
    padding: 50px 15px;
  }

  .koleksi-batik h2 {
    font-size: 26px;
    margin-bottom: 5px;
  }

  .koleksi-batik h3 {
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.6;
  }

  .koleksi-grid {
    width: 70%;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 kolom */
    gap: 25px;
    justify-items: center;
    margin-bottom: 25px;
    margin-left: 55px;
  }

  .koleksi-grid img {
    width: 100%;
    max-width: 160px;
    height: auto;
    border-radius: 8px;
  }

  .btn-gallery {
    display: inline-block;
    margin: 0 auto;
    padding: 10px 18px;
    font-size: 14px;
  }
}

/* Untuk TABLET */
@media (min-width: 769px) and (max-width: 1024px) {
  .koleksi-batik {
    text-align: center;
    padding: 70px 40px;
  }

  .koleksi-batik h2 {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .koleksi-batik h3 {
    font-size: 17px;
    color: #ddd;
    margin-bottom: 30px;
  }

  .koleksi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 kolom di tablet */
    gap: 20px;
    justify-items: center;
    margin-bottom: 30px;
  }

  .koleksi-grid img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 10px;
  }

  .btn-gallery {
    display: inline-block;
    padding: 12px 22px;
    font-size: 15px;
  }
}


/* ===================================== */
/* EDUWISATA MEMBATIK - RESPONSIVE TOTAL */
/* ===================================== */

/* ========== RESPONSIVE EDUWISATA (≤ 768px) ========== */
@media (max-width: 768px) {
  .eduwisata-section {
    flex-direction: column;
    padding: 30px 20px;
    gap: 25px;
  }

  .images-container {
    margin-left: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px;
  }

  .img-large {
    margin-top: 55px;
  }

  /* Gambar auto responsive */
  .img-large img,
  .img-small img,
  .img-wide img {
    width: 100%;
    height: auto;
    margin: 0;
  }

  .img-large img { height: 232px; }
  .img-small img { height: 110px; }
  .img-wide img { height: 130px; }

  .text-content {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
  }

  .text-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
    text-align: left;
  }

  .text-content p {
    font-size: 18px;
    text-align: left;
    margin-bottom: 15px;
  }

  .text-content ul {
    padding-left: 18px;
    margin-bottom: 20px;
    text-align: left;
  }

  .text-content ul li {
    font-size: 16px;
    margin-bottom: 6px;
  }

  /* Tombol ke kanan */
  .btn-eduwisata {
    float: right;
    padding: 9px 18px;
    font-size: 14px;
  }
}

/* untuk hp kecil bgt */
@media (max-width: 480px) {
  .text-content h2 { font-size: 30px; }
  .img-large img { height: 200px; }
  .img-small img { height: 95px; }
  .img-wide img { height: 115px; }
}



/* ===================================== */
/* VISI MISI RESPONSIVE (FINAL VERSION) */
/* ===================================== */

/* ====================== */
/* TABLET  (769px–1024px) */
/* ====================== */
@media (min-width: 769px) and (max-width: 1024px) {
  .visi-misi-section {
    background: url("/Image/background_visi.png") no-repeat center center/cover;
    padding: 80px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .overlay {
    background: rgba(50, 30, 10, 0.65);
    padding: 50px 25px;
    width: 100%;
    border-radius: 8px;
  }

  .overlay .content {
    max-width: 700px;
    margin: 0 auto;
  }

  .judul {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
  }

  .garis-emas {
    width: 150px;
    height: 3px;
    background-color: #d1a74a;
    border: none;
    margin: 12px auto 25px;
  }

  .garis-putih {
    width: 70%;
    height: 1px;
    background-color: #d1a74a;
    border: none;
    margin: 35px auto;
  }

  .teks-visi {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #fff;
  }

  .daftar-misi {
    list-style: none;
    padding: 0;
    margin: 0 auto;
  }

  .daftar-misi li {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 12px;
  }
}

/* ====================== */
/* HANDPHONE (max 768px) */
/* ====================== */
@media (max-width: 768px) {
  .visi-misi-section {
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .overlay {
    background: rgba(50, 30, 10, 0.7);
    width: 100%;
    padding: 40px 18px;
    border-radius: 8px;
  }

  .overlay .content {
    width: 100%;
    max-width: 480px;
    text-align: center;
    color: #fff;
  }

  .judul {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .garis-emas {
    width: 120px;
    height: 3px;
    background-color: #d1a74a;
    margin: 10px auto 18px;
    border: none;
  }

  .garis-putih {
    width: 80%;
    height: 1px;
    background-color: #d1a74a;
    margin: 25px auto;
    border: none;
  }

  .teks-visi {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .daftar-misi {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .daftar-misi li {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
  }
}


/* ====== RESPONSIVE FOOTER (≤ 768px) ====== */
@media (max-width: 768px) {
  .footer {
    flex-direction: row; /* tetap horizontal */
    align-items: stretch;
  }

  .footer-left img {
    width: 110px;
    height: 100%;
    object-fit: cover;
  }

  .footer-right {
    padding: 20px;
  }

  .footer-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 kolom */
    gap: 20px;
    width: 100%;
  }

  .footer-column {
    text-align: left;
  }

  .footer-bottom {
    text-align: center;
    margin-top: 25px;
    font-size: 13px;
  }
}

/* ====== HP kecil ≤ 480px ====== */
@media (max-width: 480px) {
  .footer-left img {
    width: 95px;
  }

  .footer-container {
    gap: 15px;
  }

  .footer-column h3 {
    font-size: 15px;
  }

  .footer-column ul li {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .footer-bottom {
    font-size: 11px;
  }
}
