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

body {
  background: #fafafa;
  color: #111;
}

/* HERO */
.hero {
  height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)),
    url("images/broken hill (13).JPG") center/cover no-repeat;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}


.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.5rem;
  max-width: 600px;
  margin-bottom: 30px;
}

.btn {
  background: white;
  color: #111;
  padding: 14px 28px;
  border-radius: 20px;
  text-decoration: none;
}

/* CATEGORIES */
.categories {
  padding: 120px 20px;
  max-width: 1100px;
  margin: auto;
}

.categories h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.5rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.category-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  text-decoration: none;
  color: #111;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
  transition: transform .3s;
}

.category-card:hover {
  transform: translateY(-6px);
}

/* CATEGORY PAGE */

.category-header {
  padding: 120px 20px;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.category-header h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

/* GALLERY */

.gallery {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px 120px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.artwork-box {
  background: #ccc;
  height: 220px;
  border-radius: 16px;
  transition: transform .3s;
}

.artwork-box:hover {
  transform: scale(1.05);
}

/* ARTWORK DETAIL */

.artwork-detail {
  max-width: 800px;
  margin: auto;
  padding: 120px 20px;
  text-align: center;
}

.artwork-detail img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 40px;
}

.artwork-detail h1 {
  font-size: 2.5rem;
  margin-bottom: 6px;
}

.year {
  color: #666;
}

.artwork-detail p {
  margin-top: 30px;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* CONTACT */

.contact {
  background: #111;
  color: white;
  text-align: center;
  padding: 120px 20px;
}

.buttons {
  margin-top: 30px;
}

button {
  padding: 14px 28px;
  border-radius: 20px;
  border: 1px solid white;
  background: transparent;
  color: white;
  margin: 10px;
}

button.primary {
  background: white;
  color: #111;
}

.artwork-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
  transition: transform .3s;
}

.artwork-thumb:hover {
  transform: scale(1.05);
}

/* LIGHTBOX */

#lightbox img {
  max-width: 85vw;
  max-height: 70vh;
  /* sengaja dikurangi */
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.lightbox-content {
  text-align: center;
}

#lightbox-caption {
  margin-top: 15px;
  max-width: 85vw;
  color: #eee;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  opacity: .85;
}


/* FILTER BAR */

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 20px;
  border: 1px solid #111;
  background: transparent;
  cursor: pointer;
  transition: all .3s;
}

.filter-btn:hover {
  background: #111;
  color: white;
}

.filter-btn.active {
  background: #111;
  color: white;
}

.filter-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ABOUT PAGE */

.about-hero {
  background: #111;
  color: white;
  text-align: center;
  padding: 140px 20px;
}

.about-hero h1 {
  font-size: 4rem;
  margin-bottom: 10px;
}

.about-hero p {
  font-size: 1.4rem;
}

.about-content {
  max-width: 1000px;
  margin: auto;
  padding: 120px 20px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.about-photo img {
  width: 100%;
  border-radius: 20px;
}

.about-text h2 {
  margin-top: 30px;
  margin-bottom: 12px;
  font-size: 1.8rem;
}

.about-text p {
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-text ul {
  margin-left: 18px;
  line-height: 1.8;
}

/* MOBILE */

@media(max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
  }
}

.hero-buttons {
  display: flex;
  gap: 20px;
  /* jarak antar tombol */
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.about-hero {
  background:
    linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)),
    url("images/background about.jpg") center/cover;
  color: white;
  text-align: center;
  padding: 140px 20px;
}


.nav {
  position: absolute;
  top: 50%;
  font-size: 60px;
  color: white;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
  padding: 20px;
}

.nav.left {
  left: 20px;
}

.nav.right {
  right: 20px;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.exhibition-item {
  margin-bottom: 32px;
  /* jarak antar pameran */
}

.exhibition-item p {
  margin-bottom: 8px;
  /* jarak antar baris dalam satu pameran */
  line-height: 1.6;
}

.exhibition-item .year {
  font-weight: bold;
  margin-bottom: 12px;
}

.exhibition-item {
  padding: 20px 0;
  border-bottom: 1px solid #333;
}

body {
  font-family: 'Poppins', sans-serif;
}

h1,
h2,
h3 {
  font-weight: 600;
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gallery-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding: 80px 40px;
}

.category-card {
  background: #111;
  color: white;
  padding: 60px 30px;
  text-decoration: none;
  transition: transform .3s ease, opacity .3s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  opacity: .85;
}

.category-card h2 {
  margin-bottom: 12px;
}

.batik-gallery {
  padding: 100px 60px;
  background: #000;
  color: white;
}

/* HERO */

.hero-artwork {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  margin-bottom: 120px;
  align-items: center;
}

.hero-artwork img {
  width: 100%;
  cursor: pointer;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #ccc;
}

/* GRID */

.batik-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 50px;
}

.batik-item img {
  width: 100%;
  cursor: pointer;
  transition: transform .4s ease;
}

.batik-item img:hover {
  transform: scale(1.04);
}

.batik-item .title {
  margin-top: 14px;
  font-size: .95rem;
  color: #aaa;
  text-align: center;
}

/* RESPONSIVE */

@media(max-width: 900px) {
  .hero-artwork {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 2.3rem;
  }

  .batik-gallery {
    padding: 70px 25px;
  }
}

.series-block {
  margin-bottom: 140px;
  /* jarak besar antar seri */
}

/* HEADER SERI */

.series-header {
  max-width: 700px;
  margin-bottom: 60px;
}

.series-header h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.series-header p {
  color: #bbb;
  line-height: 1.7;
  font-size: 1rem;
}

/* GRID tetap rapi */

.batik-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 40px;
}

/* MOBILE */

@media(max-width:700px) {
  .series-block {
    margin-bottom: 100px;
  }

  .series-header h2 {
    font-size: 1.8rem;
  }
}


/* BUTTON */

#prevBtn,
#nextBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10rem;
  /* BESAR */
  background: rgba(0, 0, 0, .4);
  border: none;
  color: white;
  cursor: pointer;
  padding: 30px 25px;
  opacity: .9;
  border-radius: 8px;
  transition: opacity .2s ease, transform .2s ease;
}

/* posisi */

#prevBtn {
  left: 30px;
}

#nextBtn {
  right: 30px;
}

/* hover efek */

#prevBtn:hover,
#nextBtn:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

/* mati di ujung */

#prevBtn:disabled,
#nextBtn:disabled {
  opacity: .2;
  cursor: default;
}

.series-meta {
  display: block;
  font-size: .85rem;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.lightbox-content {
  text-align: center;
}

#lightbox-caption {
  margin-top: 16px;
  max-width: 85vw;
  color: #eee;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  opacity: .85;
}

a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #888;
}

a:hover {
  color: #f2c94c;
  border-color: #f2c94c;
}

.buttons a {
  padding: 14px 28px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  margin: 0 8px;
  display: inline-block;
  transition: .2s ease;
}

.buttons a.primary {
  background: #fff;
  color: #111;
}

.buttons a:hover {
  opacity: .8;
}

.buttons {
  margin-top: 30px;
}

.buttons a {
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 14px;
  text-decoration: none;
  margin: 0 10px;
  display: inline-block;
  transition: .2s ease;
}

/* OUTLINE */

.btn-outline {
  border: 1px solid #fff;
  color: #fff;
}

/* PRIMARY */

.btn.primary {
  background: #fff;
  color: #111;
}

/* HOVER */

/* CONTACT PAGE */

.contact-page{
  min-height:100vh;
  background:#111;
  color:white;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:80px 20px;
}

.contact-page h1{
  font-size:3rem;
  margin-bottom:10px;
}

.subtitle{
  color:#bbb;
  margin-bottom:60px;
}

.social-list{
  width:100%;
  max-width:520px;
  display:flex;
  flex-direction:column;
  gap:18px;
}

.social-item{
  background:#1b1b1b;
  padding:20px 26px;
  border-radius:16px;
  color:white;
  text-decoration:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
  transition:.25s ease;
  font-size:1.1rem;
}

.social-item span{
  font-size:.9rem;
  color:#aaa;
}

.social-item:hover{
  transform:translateY(-4px);
  background:#222;
}

.back-home{
  margin-top:60px;
  color:#aaa;
  text-decoration:none;
  border-bottom:1px solid #444;
}

.back-home:hover{
  color:#f2c94c;
  border-color:#f2c94c;
}

/* MOBILE */

@media(max-width:600px){
  .contact-page h1{
    font-size:2.3rem;
  }
}
