/* ===== 5ADZ Gym & Fitness ===== */
:root {
  --red: #d7141b;
  --red-dark: #a30e13;
  --black: #0a0a0a;
  --black-2: #141414;
  --black-3: #1e1e1e;
  --white: #f8f5f0;
  --grey: #a7a7a7;
  --radius: 14px;
  --head: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: var(--body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.red { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--red); color: #fff;
  font-weight: 700; font-size: 15px; letter-spacing: .3px;
  padding: 13px 26px; border-radius: 999px;
  border: 2px solid var(--red);
  transition: background .2s, transform .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-light { background: #fff; color: var(--red); border-color: #fff; }
.btn-light:hover { background: var(--black); color: #fff; border-color: var(--black); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(215,20,27,.35);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 46px; height: 46px; }
.brand span { font-family: var(--head); font-size: 26px; letter-spacing: 1px; line-height: 1; }
.brand em { font-style: normal; color: var(--red); font-size: 18px; margin-left: 4px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { font-weight: 500; font-size: 15px; color: #ddd; transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--red); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; padding: 8px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 80px 0 90px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 78% 45%, rgba(215,20,27,.35), transparent 45%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, #0a0a0a, #120707);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.eyebrow {
  color: var(--red); font-weight: 700; text-transform: uppercase;
  letter-spacing: 3px; font-size: 13px; margin-bottom: 10px;
}
.eyebrow.center { text-align: center; }
.hero h1 {
  font-family: var(--head); font-weight: 400;
  font-size: clamp(56px, 9vw, 104px); line-height: .92; letter-spacing: 1px;
  margin-bottom: 20px;
}
.lead { font-size: 18px; color: #cfcfcf; max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts li {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-left: 3px solid var(--red);
  padding: 12px 18px; border-radius: 8px;
}
.hero-facts strong { display: block; font-family: var(--head); font-size: 26px; letter-spacing: 1px; line-height: 1.1; }
.hero-facts span { font-size: 13px; color: var(--grey); }
.hero-logo { display: flex; justify-content: center; }
.hero-logo img {
  width: min(420px, 100%);
  filter: drop-shadow(0 0 50px rgba(215,20,27,.45));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-dark { background: var(--black-2); border-top: 1px solid #222; border-bottom: 1px solid #222; }
.section-title {
  font-family: var(--head); font-weight: 400; text-align: center;
  font-size: clamp(42px, 6vw, 62px); letter-spacing: 1px; line-height: 1;
  margin-bottom: 50px;
}
.sub-title {
  font-family: var(--head); font-weight: 400; font-size: 28px; letter-spacing: 1.5px;
  text-align: center; margin: 10px 0 24px; color: #ddd;
}

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  background: var(--black-2); border: 1px solid #242424; border-radius: var(--radius);
  padding: 30px 24px; transition: border-color .25s, transform .25s;
}
.feature:hover { border-color: var(--red); transform: translateY(-4px); }
.feature .icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: rgba(215,20,27,.12); color: var(--red);
  display: grid; place-items: center; margin-bottom: 18px;
}
.feature .icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--grey); font-size: 15px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.price-card {
  position: relative; background: var(--black-3); border: 1px solid #2c2c2c;
  border-radius: var(--radius); padding: 36px 28px; text-align: center;
  transition: transform .25s, border-color .25s;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--red); }
.price-card.featured { border: 2px solid var(--red); background: linear-gradient(180deg, #2a0c0d, var(--black-3) 60%); }
.badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; padding: 4px 14px; border-radius: 999px;
}
.price-card h4 { font-family: var(--head); font-weight: 400; font-size: 30px; letter-spacing: 1.5px; margin-bottom: 8px; }
.price { font-family: var(--head); font-size: 76px; line-height: 1; color: #fff; margin-bottom: 22px; }
.price .cur { font-size: 30px; color: var(--red); vertical-align: top; margin-right: 4px; position: relative; top: 10px; }
.price .per { font-family: var(--body); font-size: 15px; color: var(--grey); margin-left: 4px; }
.price-card ul { list-style: none; margin-bottom: 28px; }
.price-card li { padding: 9px 0; color: #ccc; border-bottom: 1px dashed #333; font-size: 15px; }
.price-card li::before { content: '✓'; color: var(--red); font-weight: 700; margin-right: 8px; }

.walkin { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.walkin-item {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  min-width: 260px; padding: 22px 30px;
  background: var(--black-3); border: 1px solid #2c2c2c; border-left: 4px solid var(--red);
  border-radius: var(--radius);
}
.walkin-item span { font-weight: 600; font-size: 17px; }
.walkin-item strong { font-family: var(--head); font-size: 44px; font-weight: 400; color: var(--red); line-height: 1; }
.note { text-align: center; color: var(--grey); font-size: 14px; margin-top: 18px; }

/* Hours + Location */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.info-card {
  background: var(--black-2); border: 1px solid #242424; border-radius: var(--radius);
  padding: 36px 32px;
}
.info-card h2 { font-family: var(--head); font-weight: 400; font-size: 46px; letter-spacing: 1px; line-height: 1; margin-bottom: 20px; }
.hours-big { font-family: var(--head); font-size: 54px; letter-spacing: 1px; line-height: 1; margin-bottom: 18px; }
.hours-big span { color: var(--red); }
.hours-list { list-style: none; margin-bottom: 16px; }
.hours-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed #333; color: #ccc; }
.status { font-weight: 700; font-size: 15px; }
.status.open { color: #33d17a; }
.status.closed { color: var(--red); }
address { font-style: normal; font-size: 19px; line-height: 1.7; color: #ddd; margin-bottom: 24px; }
.info-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid #242424; height: 380px; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-credit { font-size: 12px; color: #777; margin-top: 8px; text-align: right; }
.map-credit a { color: #aaa; text-decoration: underline; }

/* CTA */
.cta {
  background: linear-gradient(120deg, var(--red-dark), var(--red));
  padding: 70px 0; text-align: center;
}
.cta h2 { font-family: var(--head); font-weight: 400; font-size: clamp(42px, 6vw, 60px); letter-spacing: 1px; line-height: 1; margin-bottom: 10px; }
.cta p { font-size: 18px; margin-bottom: 26px; opacity: .95; }

/* Footer */
.footer { background: #050505; padding: 44px 0 24px; border-top: 1px solid #1c1c1c; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.footer-brand { display: flex; align-items: center; gap: 14px; max-width: 480px; }
.footer-brand img { width: 60px; height: 60px; flex-shrink: 0; }
.footer-brand strong { font-family: var(--head); font-weight: 400; font-size: 24px; letter-spacing: 1px; }
.footer-brand p { color: var(--grey); font-size: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 6px; text-align: right; font-size: 14px; color: var(--grey); }
.footer-links a { color: #ddd; font-weight: 600; }
.footer-links a:hover { color: var(--red); }
.copyright { text-align: center; color: #666; font-size: 13px; padding: 0 20px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 10px 20px 20px;
    background: rgba(10,10,10,.98); border-bottom: 1px solid rgba(215,20,27,.35);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; width: 100%; border-bottom: 1px solid #1f1f1f; }
  .nav-links .btn { margin-top: 14px; width: 100%; }

  .hero { padding: 50px 0 70px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .hero-logo { order: -1; }
  .hero-logo img { width: min(240px, 70%); }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-facts { justify-content: center; }

  .info-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-brand { flex-direction: column; }
  .footer-links { text-align: center; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .features { grid-template-columns: 1fr; }
  .brand span { font-size: 22px; }
  .brand em { font-size: 15px; }
  .hero-facts li { flex: 1 1 100%; }
  .walkin-item { min-width: 0; width: 100%; }
  .hours-big { font-size: 44px; }
  .info-card { padding: 28px 22px; }
  .map { height: 300px; }
}


/* Nilai dari info.js: ikut gaya teks sekeliling */
.hero-facts strong span,
.walkin-item strong span,
.price span[data-i] { font: inherit; color: inherit; letter-spacing: inherit; }
.hours-big .hb { color: inherit; }

/* Media sosial */
.cta-social { margin-top: 34px; }
.cta-social p { font-size: 15px; margin-bottom: 14px; opacity: .9; }
.social { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.social a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(0,0,0,.25); border: 1.5px solid rgba(255,255,255,.55);
  color: #fff; font-weight: 600; font-size: 15px;
  transition: background .2s, transform .2s;
}
.social a:hover { background: var(--black); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }
.footer-social a { font-weight: 600; }

/* ===== Mod Jawi (tersembunyi) ===== */
@font-face { font-family: 'Kufi Jawi'; src: url('jawi/NotoKufiArabic-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Kufi Jawi'; src: url('jawi/NotoKufiArabic-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
html.jawi * { font-family: 'Kufi Jawi', 'Inter', system-ui, sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; }
html.jawi body { line-height: 1.9; }
html.jawi .hero h1 { font-size: clamp(34px, 5.5vw, 60px); line-height: 1.6; font-weight: 700; }
html.jawi .section-title, html.jawi .cta h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.7; font-weight: 700; }
html.jawi .info-card h2 { font-size: 32px; line-height: 1.7; font-weight: 700; }
html.jawi .sub-title, html.jawi .price-card h4 { font-size: 22px; font-weight: 700; }
html.jawi .hours-big { font-size: 34px; font-weight: 700; line-height: 1.6; }
html.jawi .price { font-size: 60px; font-weight: 700; }
html.jawi .walkin-item strong { font-size: 34px; font-weight: 700; }
html.jawi .hero-facts strong { font-size: 18px; font-weight: 700; line-height: 1.6; }
html.jawi .brand span { font-size: 18px; font-weight: 700; }
html.jawi .brand em { font-size: 13px; }
html.jawi .footer-brand strong { font-size: 18px; font-weight: 700; }
html.jawi .eyebrow { font-size: 14px; }
html.jawi .hero-facts li { border-left: 1px solid rgba(255,255,255,.1); border-right: 3px solid var(--red); }
html.jawi .walkin-item { border-left: 1px solid #2c2c2c; border-right: 4px solid var(--red); }
html.jawi .footer-links { text-align: left; }
html.jawi .map-credit { text-align: left; }
html.jawi .ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
html.jawi .price-card li::before { margin-right: 0; margin-left: 8px; }

.jawi-toggle { display: none; }
html.jawi .jawi-toggle {
  display: block; position: fixed; left: 20px; bottom: 26px; z-index: 60;
  font-family: var(--body) !important; font-weight: 700; font-size: 14px;
  padding: 10px 16px; border-radius: 999px; cursor: pointer;
  background: var(--black); color: #fff; border: 2px solid var(--red);
  box-shadow: 0 6px 20px rgba(0,0,0,.45);
}
html.jawi .wa-float { right: 20px; left: auto; }
