/* ================= SPECIAL OFFER PAGE ================= */
/* FIX: Buang horizontal scroll seluruh page */
html,
body {
  width: 100%;
  overflow-x: hidden;
}

/* FIX: Semua media jangan melebihi screen */
img,
video,
iframe {
  max-width: 100%;
}

.special-offer {
  padding: 90px 80px;
  background: linear-gradient(120deg, rgba(11, 63, 84, 0.08), rgba(79, 163, 184, 0.12));
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* background decoration (nampak lebih "hidup" tapi warna kekal) */
.special-offer::before,
.special-offer::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .35;
  pointer-events: none;
  z-index: 0;
}

.special-offer::before {
  top: -180px;
  left: -180px;
  background: rgba(79, 163, 184, 0.35);
}

.special-offer::after {
  bottom: -220px;
  right: -220px;
  background: rgba(11, 63, 84, 0.20);
}

/* header */
.offer-header {
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}

.offer-line {
  display: inline-block;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--primary);
  opacity: .9;
}

.offer-sub {
  margin-top: 10px;
  color: var(--text-muted);
  font-weight: 500;
}

.offer-sub strong {
  color: var(--accent);
}

/* ================= CARD/CONTAINER ================= */
.offer-container {
  position: relative;
  z-index: 1;

  max-width: 1100px;
  margin: 28px auto 0;

  background: linear-gradient(135deg, #ffffff, var(--soft-bg));
  border-radius: 28px;
  padding: 54px;

  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 46px;

  box-shadow:
    0 20px 50px rgba(11, 63, 84, 0.10),
    0 2px 0 rgba(255, 255, 255, 0.7) inset;

  border: 1px solid rgba(11, 63, 84, 0.06);
}

/* badge */
.discount-badge {
  position: absolute;
  top: -26px;
  left: -26px;

  width: 112px;
  height: 112px;

  background: radial-gradient(circle, #ffb703, #fb8500);
  color: #fff;
  border-radius: 50%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  font-weight: 800;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);

  transform: rotate(-8deg);
}

.discount-badge span {
  font-size: 30px;
  line-height: 1;
}

.discount-badge small {
  font-size: 14px;
  letter-spacing: 1px;
  opacity: .95;
}

/* ================= IMAGE ================= */
.offer-image {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.offer-image img {
  width: 100%;
  max-width: 430px;
  height: auto;
  object-fit: contain;

  filter: drop-shadow(0 24px 45px rgba(11, 63, 84, 0.25));
  border-radius: 18px;

  /* smooth look */
  transform: translateZ(0);
}

/* slider image effect (kalau guna class .slide active) */
.offer-image .slide {
  position: absolute;
  inset: 0;
  margin: auto;

  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.7s ease, transform 1.2s ease;
  pointer-events: none;
}

.offer-image .slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  position: relative;
}

/* ================= TEXT ================= */
.offer-text {
  text-align: left;
}

.brand-script {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  line-height: 1.05;
  color: var(--primary);
  margin-bottom: 14px;
}

.tagline {
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

/* social info */
.social-info {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.social-info p {
  margin: 0;
  font-size: 14px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: .95;
}

.social-info i {
  color: var(--accent);
  font-size: 16px;
}

/* ================= DOTS ================= */
.slider-dots {
  position: relative;
  z-index: 1;
  margin-top: 22px;
}

.slider-dots .dot {
  width: 9px;
  height: 9px;
  background: var(--text-muted);
  border-radius: 999px;
  display: inline-block;
  margin: 0 5px;
  opacity: 0.35;
  transition: all 0.25s ease;
  cursor: pointer;
}

.slider-dots .dot.active {
  opacity: 1;
  background: var(--accent);
  width: 22px;
  /* jadi pill bila active */
}

/* ================= CTA ================= */
.hero-buttons {
  position: relative;
  z-index: 1;
  margin-top: 26px;
}

.hero-buttons .btn {
  padding: 14px 38px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 14px 30px rgba(11, 63, 84, 0.18);
}

.hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 45px rgba(11, 63, 84, 0.24);
}

/* ================= WHATSAPP FLOAT ================= */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  z-index: 999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float img {
  width: 26px;
  height: 26px;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .special-offer {
    padding: 80px 40px;
  }

  .offer-container {
    padding: 44px;
    gap: 34px;
  }

  .brand-script {
    font-size: 46px;
  }
}

@media (max-width: 900px) {
  .special-offer {
    padding: 70px 22px;
  }

  .offer-container {
    grid-template-columns: 1fr;
    padding: 38px 22px;
    text-align: center;
  }

  .offer-text {
    text-align: center;
  }

  .offer-image {
    min-height: 320px;
  }

  .offer-image img {
    max-width: 320px;
  }

  .discount-badge {
    left: 50%;
    transform: translateX(-50%) rotate(-8deg);
  }

  .social-info {
    justify-items: center;
  }

  .social-info p {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .offer-container {
    border-radius: 22px;
  }

  .brand-script {
    font-size: 40px;
  }

  .tagline {
    font-size: 13px;
  }
}

/* ================= OFFER ARROWS ================= */

.offer-image {
  position: relative;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;

  background: rgba(11, 63, 84, 0.65);
  color: #fff;
  font-size: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  z-index: 10;

  transition: all 0.3s ease;
}

.arrow:hover {
  background: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.arrow.prev {
  left: -15px;
}

.arrow.next {
  right: -15px;
}

/* Mobile adjust */
@media (max-width: 768px) {
  .arrow {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .arrow.prev {
    left: 5px;
  }

  .arrow.next {
    right: 5px;
  }
}

/* ================= TIKTOK GRID ================= */

.tiktok-section {
  padding: 80px 10%;
  text-align: center;
  background: #fafafa;
}

.tiktok-title {
  font-size: 32px;
  margin-bottom: 40px;
  font-family: 'Playfair Display', serif;
}

.tiktok-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-items: center;
}

.tiktok-btn {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 28px;
  background: #111;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
}

.tiktok-btn:hover {
  background: #444;
}

/* MOBILE */

@media(max-width:900px) {

  .tiktok-grid {
    grid-template-columns: 1fr;
  }

}