/* GLOBAL */
body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  text-align: center;
}
.overlay-box p {
  text-align: justify;   /* teks rata kiri-kanan */
}

.overlay-box {
  text-align: center;    /* semua content dalam box align tengah */
}

.overlay-box a.zoom-button {
  display: inline-block; /* butang jadi blok kecil */
  margin-top: 20px;      /* jarak dari teks */
}

h1, h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #222;
}
.center { text-align: center; margin-top: 40px; }

/* BUTTONS (gabungan semua) */
button,
.btn-primary,
.zoom-button,
.booking-section button {
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
  font-weight: bold;
  background: linear-gradient(to right, #f8cdda, #f1a9a9);
  color: #000;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
button:hover,
.btn-primary:hover,
.zoom-button:hover,
.booking-section button:hover {
  background: linear-gradient(to right, #d4af37, #f8cdda);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
.zoom-button { animation: zoomPulse 1.5s infinite; }

/* HEADER & FOOTER */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;   /* samakan padding */
  background-color: rgba(230, 223, 213, 0.9);
  color: black;
  position: relative;
  z-index: 10;
}


.footer {
  background-color: rgba(230, 223, 213, 0.9);
  padding: 40px 20px;
  margin-top: 60px;
  color: black;
}

.footer-faq {
  max-width: 900px;
  margin: auto;
  text-align: left;
}

.footer-faq h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 25px;
  font-weight: 700;
  color: #333;
}

.faq-item {
  background: #fff8f0;
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.faq-item h4 {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #222;
}

.faq-item p {
  font-size: 15px;
  line-height: 1.5;
}

.footer {
  background-color: rgba(230, 223, 213, 0.9);
  padding: 40px 20px;
  margin-top: 60px;
  color: black;
}

.footer-booking-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: auto;
}

.footer-box {
  flex: 1;
  min-width: 280px;
  background: #fff8f0;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: left;
}

/* Heading */
.footer-box h3 {
  font-size: 20px;
  margin-bottom: 14px;
  font-weight: 700;
  color: #333;
}

/* Tips list */
.footer-tips ul {
  list-style: disc;
  padding-left: 20px;
}
.footer-tips li {
  margin-bottom: 8px;
  font-size: 15px;
}

/* FAQ accordion */
.faq-item {
  margin-bottom: 12px;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  color: #222;
  cursor: pointer;
}
.faq-question::after {
  content: '+';
  float: right;
}
.faq-question[aria-expanded="true"]::after {
  content: '−';
}
.faq-answer {
  padding: 0 14px 12px 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.footer {
  background-color: rgba(230, 223, 213, 0.9);
  padding: 40px 20px;
  margin-top: 60px;
  color: black;
}

.footer-boxes {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: auto;
}

.footer-box {
  flex: 1;
  min-width: 250px;
  background: #fff8f0;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: left;
}

.footer-box h3 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 700;
  color: #333;
}

.footer-box ul {
  list-style: disc;
  padding-left: 20px;
}

.footer-box li {
  margin-bottom: 8px;
  font-size: 15px;
}

.footer {
  text-align: center;
  padding: 30px 15px;     /* KECILKAN padding */
  margin-top: 40px;       /* Kurangkan jarak atas */
  font-size: 15px;        /* Kecilkan saiz font */
  font-weight: 500;       /* Kurangkan ketebalan */
  position: relative;
  z-index: 5;
}

.footer p {
  margin: 6px 0;
  font-size: 14px;
  color: #333;
}

.logo img { height: 70px; }
.nav-right a {
  margin-left: 20px;
  text-decoration: none;
  color: black;
  font-weight: 600; /* lebih pekat */
}
.nav-right a:hover { text-decoration: underline; }
.footer {
  text-align: center; padding: 30px 15px; margin-top: 60px; font-size: 18px; font-weight: 600; position: relative;
  z-index: 5;
}

/* ANIMATIONS */
.fade-in {
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}
.fade-in.delay-1 { animation-delay: 0.2s; }
.fade-in.delay-2 { animation-delay: 0.4s; }
.fade-in.delay-3 { animation-delay: 0.6s; }
.fade-in.delay-4 { animation-delay: 0.8s; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes zoomPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* INTRO SECTION */
.studio-intro { padding: 60px 20px; background-color: #f7f2ea; }
.intro-container {
  display: flex; justify-content: center; align-items: center;
  gap: 40px; max-width: 1000px; margin: auto; flex-wrap: wrap;
}
.intro-text { flex: 1; min-width: 280px; text-align: left; }
.intro-text h2 { font-size: 28px; margin-bottom: 20px; }
.intro-text p { font-size: 16px; line-height: 1.6; margin-bottom: 20px; }
.intro-image { flex: 1; min-width: 280px; }
.intro-image img, .video-section video {
  width: 100%; border-radius: 10px; box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.slideshow-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  z-index: 2;
  pointer-events: none; /* overlay tak block klik */
}
.slideshow-overlay h1,
.slideshow-overlay .package-wrapper,
.slideshow-overlay .book-btn {
  pointer-events: auto; /* content boleh klik */
}

/* Bekas gambar */
.slideshow {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Gambar dan animasi fade */
.slideshow img {
  position: absolute;
  top: 0; left: 0;
  width: 100vw; height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: slideShow 24s infinite;
  transition: opacity 1s ease-in-out;
}

/* Urutan delay ikut bilangan gambar */
.slideshow img:nth-child(1) { animation-delay: 0s; }
.slideshow img:nth-child(2) { animation-delay: 3s; }
.slideshow img:nth-child(3) { animation-delay: 5s; }
.slideshow img:nth-child(4) { animation-delay: 9s; }
.slideshow img:nth-child(5) { animation-delay: 11s; }
.slideshow img:nth-child(6) { animation-delay: 15s; }

@keyframes slideShow {
  0%   { opacity: 0; }
  8%   { opacity: 1; }   /* fade in */
  33%  { opacity: 1; }   /* kekal nampak */
  41%  { opacity: 0; }   /* fade out */
  100% { opacity: 0; }
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .intro-container { flex-direction: column; text-align: center; }
  .intro-text { text-align: center; }
  .intro-text h2 { font-size: 24px; }
  .intro-text p { font-size: 15px; }
  .intro-image { margin-top: 20px; }
  .intro-image img { max-width: 400px; margin: auto; }
}

/* BOOKING */
.booking-section {
  max-width: 530px;
  width: 85%;
  background: #e6dfd5;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}


.form-group { position: relative; margin-bottom: 20px; }
.form-group input,
.form-group select {
  width: 100%; padding: 9px; font-size: 14px;
  border: 1px solid #ccc; border-radius: 6px; background: #f9f9f9;
}
.form-group label {
  position: absolute; top: 12px; left: 14px;
  font-size: 13px; color: #999; background: #f9f9f9;
  padding: 0 4px; transition: 0.3s ease; pointer-events: none;
}
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
  top: -8px; left: 10px; font-size: 11px; color: #333;
}
input:valid { border-color: #4CAF50; }
input:invalid { border-color: #f44336; }

.slot-scroll {
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden; /* penting untuk elak horizontal overflow */
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 6px;
  background: #f9f9f9;
}

.slot-btn {
  display: block; width: 100%; margin: 6px 0; padding: 10px;
  font-size: 14px; border: 1px solid #333; border-radius: 4px;
  background: white; cursor: pointer; text-align: center;
  word-wrap: break-word; overflow-wrap: break-word;
}
.slot-btn:hover { background: #f0f0f0; }
.slot-btn.active {
  background-color: #f8cdda; color: #000; font-weight: bold;
  animation: pulse 0.5s;
}
.slot-btn.disabled {
  background-color: #800000; color: #F5FFFA;
  cursor: not-allowed; opacity: 0.6;
}
.chosen-time {
  margin-top: 10px; font-weight: bold; color: #000;
  background-color: #f8cdda; padding: 8px 12px;
  border-radius: 6px; display: inline-block;
}
.slot-scroll.hide { display: none; }

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.overlay-box-fixed {
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  max-width: 420px;
  padding: 24px 28px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.6); /* gelap lutsinar untuk kontras */
  color: #fff;                     /* semua teks putih */
  text-align: right;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  text-shadow: 0 2px 6px rgba(0,0,0,0.6); /* tambah shadow supaya lebih jelas */
}

.overlay-box-fixed h1 {
  font-size: 32px;
  margin-bottom: 12px;
  color: #fff; /* pastikan heading putih */
}

.overlay-box-fixed p {
  font-size: 15px;
  margin-bottom: 18px;
  text-align:justify;
  color: #fff; /* pastikan paragraph putih */
}

.slideshow-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.booking-overlay-box {
  position: absolute;
  top: 45px;              /* JARAK DARI ATAS SLIDESHOW */
  left: 50%;
  transform: translateX(-50%); /* BUANG translateY */
  max-width: 540px;
  width: 100%;
  padding: 43px;
  border-radius: 12px;
  text-align: center;

  max-height: none; /* had tinggi ikut skrin */
  overflow-y: visible;                /* scroll DALAM form */
}


@media screen and (max-width: 768px) {
  .booking-overlay-box {
    top: 40px;
    width: 90%;
    padding: 18px;
    max-height: calc(100vh - 80px);
    transform: translateX(-50%);
  }
}



/* PACKAGE */
.package-row {
  display: flex; justify-content: center; gap: 20px;
  margin: 40px auto; max-width: 1000px; flex-wrap: nowrap; overflow-x: auto;
}
.package-box {
  border: 1px solid #ccc;
  width: 200px;
  padding: 20px;
  background: #e6dfd5; /* sama macam button */
  border-radius: 12px;
  box-shadow: 0 0 6px rgba(0,0,0,0.08);
  text-align: center;
  font-size: 14px;
  transition: all 0.3s ease;
  color: #000; /* teks hitam supaya jelas atas gradient */
}

.package-box:hover {
  transform: translateY(-8px) scale(1.05);
  border: 2px solid #d4af37;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  background: linear-gradient(to right, #d4af37, #f8cdda); /* hover sama macam button */
  color: #fff; /* tukar teks putih masa hover */
}


/* GALLERY */
.gallery-wrapper { max-width: 1000px; margin: 40px auto; padding: 0 20px; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(306px, 1fr)); gap: 20px;
}
.gallery-item { position: relative; overflow: hidden; }
.gallery-item img {
  width: 100%; border-radius: 10px; box-shadow: 0 0 8px rgba(0,0,0,0.1);
  object-fit: cover; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0,0
  
  style="width:100%; height:600px; border:0;">
