/* ========== RESET ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: #faf7f2;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========== HERO BARU (IMG MENGIKUTI TINGGI NATURAL) ========== */
.hero {
  width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.hero picture,
.hero img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
}

@media (max-width: 768px) {
  .hero img {
    object-position: center top;
  }
}

/* PAGE SECTION */
.page-section {
  width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.page-section picture,
.page-section img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
}

/* TEXT OVERLAY */
.with-text {
  position: relative;
}

.section-text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 88%;
  max-width: 920px;
  font-size: clamp(0.65rem, 1.2vw + 0.6rem, 1.5rem);
  line-height: 1.45;
  font-weight: 500;
  color: #000;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .section-text {
    width: 78%;
    max-width: 820px;
    font-size: clamp(0.9rem, 1.1vw + 0.8rem, 1.35rem);
  }
}

@media (min-width: 1025px) {
  .section-text {
    width: 65%;
    max-width: 900px;
    font-size: clamp(1rem, 0.9vw + 1rem, 1.6rem);
  }
}

@media (max-width: 480px) {
  html, body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .section-text {
    top: 45%;
    width: min(92vw, 420px);
    max-width: 92vw;
    padding: 0 1rem;
    font-size: clamp(0.50rem, 4vw, 0.75rem);
    line-height: 1.35;
  }
}

/* VIDEO SECTION */
.video-full {
  position: relative;
  width: 100%;
  display: block;
}

.video-frame-bg {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.video-placed {
  position: absolute;
  top: 47%;
  left: 49.8%;
  transform: translate(-50%, -50%);
  width: 81%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #000;
  border-radius: 8px;
  z-index: 1;
}

@media (max-width: 768px) {
  .video-placed {
    top: 42%;
    left: 50%;
    width: 100%;
  }
}

/* GALLERY */
.gallery-section {
  position: relative;
  overflow: hidden;
}

.gallery-bg {
  display: block;
  pointer-events: none;
}

.gallery-bg img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px;
  z-index: 2;
  display: flex;
  align-items: center;
}

.photo-strip-inner {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.photo-strip-inner::-webkit-scrollbar {
  height: 6px;
}

.photo-strip-inner::-webkit-scrollbar-track {
  background: transparent;
}

.photo-strip-inner::-webkit-scrollbar-thumb {
  background: rgb(255, 255, 255);
  border-radius: 999px;
}

.photo-card {
  flex: 0 0 80%;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .photo-strip {
    padding: 56px 32px;
  }
  .photo-card {
    flex: 0 0 55%;
  }
}

@media (min-width: 1024px) {
  .photo-strip {
    padding: 64px 40px;
  }
  .photo-card {
    flex: 0 0 40%;
  }
}

/* CTA */
.cta-section {
  padding: 80px 20px;
  background: #fdf7dd;
  text-align: center;
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #6a78ed;
  margin-bottom: 14px;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 28px;
  line-height: 1.6;
}

.cta-btn {
  display: inline-block;
  padding: 14px 34px;
  background: #6a78ed;
  color: #fdf7dd;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  transition: 0.2s ease;
}

.cta-btn:hover {
  background: #5464d6;
  transform: translateY(-2px);
}

/* FOOTER */
.site-footer {
  background: #6a78ed;
  padding: 20px 0;
  text-align: center;
}

.site-footer p {
  color: #fdf7dd;
  font-size: 0.9rem;
  margin: 0;
  font-weight: 500;
}

@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@700&display=swap");

/* Hero container */
.hero {
  position: relative;
  width: 100%;
  height: auto;
}

/* Hero image */
.hero picture,
.hero img {
  display: block;
  width: 100%;
  height: auto;
}

/* Centered title */
.hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 8vw, 130px);
  color: #fff8dd; /* krem */
  text-align: center;

  /* outline hitam */
  -webkit-text-stroke: 6px #000;

  /* shadow tebal ke kanan bawah */
  text-shadow: 8px 8px 0px #000;

  letter-spacing: 2px;
  line-height: 1;
  z-index: 2;
  pointer-events: none;
}
