/* FitWith Reza — style.css */
/* Dark navy-merah energik fitness personal brand */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1b1b2f;
  --navy2: #22223a;
  --navy3: #2c2c45;
  --red: #e94560;
  --red2: #c73652;
  --white: #f5f5f5;
  --gray: #9999b0;
  --light: #d0d0e8;
  --font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

/* ── DEMO BAR ── */
.demo-bar {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  position: sticky;
  top: 0;
  z-index: 9999;
}
.demo-bar a { color: #fff; text-decoration: underline; margin: 0 4px; }
.demo-bar a:hover { opacity: .8; }

/* ── NAVIGATION ── */
.site-header {
  background: rgba(27,27,47,.97);
  border-bottom: 2px solid var(--red);
  position: sticky;
  top: 37px;
  z-index: 999;
}
.nav-wrap {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--white);
}
.nav-logo span { color: var(--red); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--red); }

/* Checkbox hack mobile menu */
.menu-toggle { display: none; }
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: transform .3s, opacity .3s;
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy2);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 2px solid var(--red);
  }
  .menu-toggle:checked ~ .nav-links { display: flex; }
  .menu-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
  .menu-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ── HERO ── */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1b1b2f 0%, #0d0d1f 40%, #2a0a12 100%);
  position: relative;
  overflow: hidden;
  padding: 60px 20px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(233,69,96,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 80% at 10% 80%, rgba(233,69,96,.06) 0%, transparent 70%);
}
.hero-inner {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text { order: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(233,69,96,.15);
  border: 1px solid var(--red);
  color: var(--red);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--red);
  display: block;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--light);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
}
.stat { text-align: left; }
.stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}
.stat span { font-size: .8rem; color: var(--gray); text-transform: uppercase; letter-spacing: .06em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  letter-spacing: .02em;
  transition: transform .2s, opacity .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); opacity: .9; }
.btn-primary { background: var(--red); color: #fff; }
.btn-outline {
  border: 2px solid var(--red);
  color: var(--red);
  background: transparent;
}

/* Avatar SVG area */
.hero-avatar { order: 2; display: flex; justify-content: center; align-items: center; }
.avatar-wrap {
  position: relative;
  width: 320px;
  height: 420px;
}
.avatar-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(233,69,96,.18) 0%, rgba(27,27,47,0) 60%);
  border: 2px solid rgba(233,69,96,.25);
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
}
.avatar-bg::after {
  content: '';
  position: absolute;
  top: -10px; left: -10px; right: -10px; bottom: -10px;
  border: 1px solid rgba(233,69,96,.1);
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
}
.avatar-svg { position: relative; z-index: 1; width: 100%; height: 100%; }

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-text { order: 2; }
  .hero-avatar { order: 1; }
  .avatar-wrap { width: 220px; height: 280px; }
  .hero-stats { gap: 20px; }
}

/* ── SECTION COMMON ── */
.section { padding: 80px 20px; }
.section-alt { background: var(--navy2); }
.container { max-width: 1100px; margin: auto; }
.section-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.section-title span { color: var(--red); }
.section-desc { color: var(--light); max-width: 560px; line-height: 1.7; margin-bottom: 48px; }

/* ── LAYANAN / PROGRAM ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--navy3);
  border: 1px solid rgba(233,69,96,.15);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color .3s, transform .3s;
}
.card:hover { border-color: var(--red); transform: translateY(-4px); }
.card-icon {
  width: 52px; height: 52px;
  background: rgba(233,69,96,.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; }
.card-text { color: var(--light); font-size: .93rem; line-height: 1.6; }
.card-price {
  margin-top: 16px;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--red);
}
.card-price small { font-size: .75rem; color: var(--gray); font-weight: 400; }

/* ── ABOUT / BIO ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.about-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, #2c1a24 0%, #1b1b2f 100%);
  border: 1px solid rgba(233,69,96,.2);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-list { list-style: none; margin-top: 20px; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .95rem;
  color: var(--light);
}
.about-list li svg { flex-shrink: 0; margin-top: 3px; }
.achievement-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  background: rgba(233,69,96,.12);
  border: 1px solid rgba(233,69,96,.3);
  color: var(--red);
  font-size: .8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: .04em;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-visual { min-height: 280px; }
}

/* ── PROGRAM PAGE ── */
.program-hero {
  background: linear-gradient(135deg, #0d0d1f 0%, #2a0a12 100%);
  padding: 80px 20px 60px;
  text-align: center;
}
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.program-card {
  background: var(--navy3);
  border: 1px solid rgba(233,69,96,.15);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.program-card:hover { transform: translateY(-5px); border-color: var(--red); }
.program-card-header {
  background: linear-gradient(135deg, var(--red2) 0%, var(--red) 100%);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.program-card-header::after {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}
.program-card-header h3 { font-size: 1.25rem; font-weight: 900; color: #fff; margin-bottom: 4px; }
.program-card-header p { font-size: .85rem; color: rgba(255,255,255,.8); }
.program-card-body { padding: 24px; }
.feature-list { list-style: none; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: .92rem;
  color: var(--light);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.feature-list li::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}
.program-price {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(233,69,96,.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.program-price strong { font-size: 1.5rem; font-weight: 900; color: var(--red); }
.program-price span { font-size: .8rem; color: var(--gray); }

/* ── JADWAL PAGE ── */
.jadwal-hero {
  background: linear-gradient(135deg, #0d0d1f 0%, #1b2a2f 100%);
  padding: 80px 20px 60px;
  text-align: center;
}
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-bottom: 48px;
}
.day-card {
  background: var(--navy3);
  border: 1px solid rgba(233,69,96,.1);
  border-radius: 10px;
  padding: 14px 8px;
  text-align: center;
}
.day-card.active { border-color: var(--red); background: rgba(233,69,96,.08); }
.day-card .day-name { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gray); margin-bottom: 8px; }
.day-card.active .day-name { color: var(--red); }
.day-card .day-sessions { font-size: 1.1rem; font-weight: 800; color: var(--white); }
.day-card.active .day-sessions { color: var(--red); }
@media (max-width: 600px) {
  .week-grid { grid-template-columns: repeat(4, 1fr); }
}

.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table th {
  background: var(--navy3);
  padding: 14px 16px;
  text-align: left;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray);
}
.schedule-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .93rem;
  color: var(--light);
}
.schedule-table tr:hover td { background: rgba(233,69,96,.04); }
.badge-type {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.badge-online { background: rgba(233,69,96,.15); color: var(--red); }
.badge-offline { background: rgba(100,200,100,.12); color: #7ddf7d; }
.badge-group { background: rgba(100,150,255,.12); color: #8ab4ff; }

/* ── TESTIMONIAL ── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testi-card {
  background: var(--navy3);
  border: 1px solid rgba(233,69,96,.12);
  border-radius: 12px;
  padding: 24px;
}
.testi-stars { color: var(--red); font-size: 1rem; letter-spacing: 2px; margin-bottom: 12px; }
.testi-text { color: var(--light); font-size: .93rem; line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red) 0%, var(--navy3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .95rem;
  color: #fff;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: .9rem; }
.testi-role { font-size: .78rem; color: var(--gray); }
.testi-result { display: inline-block; margin-top: 4px; font-size: .75rem; font-weight: 700; color: var(--red); }

/* ── GALERI PAGE ── */
.galeri-hero {
  background: linear-gradient(135deg, #0d0d1f 0%, #1f0a1a 100%);
  padding: 80px 20px 60px;
  text-align: center;
}
.galeri-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid rgba(233,69,96,.3);
  background: transparent;
  color: var(--light);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.galeri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.galeri-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
  background: var(--navy3);
  border: 1px solid rgba(233,69,96,.1);
  cursor: pointer;
  transition: transform .3s;
}
.galeri-item:hover { transform: scale(1.03); }
.galeri-item-inner {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}
.galeri-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity .3s;
}
.galeri-item:hover .galeri-overlay { opacity: 1; }
.galeri-label { font-size: .82rem; font-weight: 700; color: #fff; }

/* ── STATS BAR ── */
.stats-bar {
  background: linear-gradient(90deg, #e94560 0%, #c73652 100%);
  padding: 40px 20px;
}
.stats-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stats-grid .num {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  display: block;
}
.stats-grid .lbl {
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .08em;
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── KONTAK PAGE ── */
.kontak-hero {
  background: linear-gradient(135deg, #0d0d1f 0%, #2a0a12 100%);
  padding: 80px 20px 60px;
  text-align: center;
}
.kontak-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) { .kontak-grid { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--navy3);
  border: 1px solid rgba(233,69,96,.25);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--white);
  font-size: .95rem;
  font-family: var(--font);
  transition: border-color .2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--navy3);
  border: 1px solid rgba(233,69,96,.15);
  border-radius: 12px;
  padding: 18px 20px;
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.contact-card:hover { border-color: var(--red); transform: translateX(4px); }
.contact-card-icon {
  width: 46px; height: 46px;
  background: rgba(233,69,96,.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card-title { font-weight: 700; font-size: .95rem; color: var(--white); }
.contact-card-val { font-size: .85rem; color: var(--gray); }

/* ── FOOTER ── */
.site-footer {
  background: #111120;
  border-top: 1px solid rgba(233,69,96,.2);
  padding: 48px 20px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--gray); font-size: .9rem; line-height: 1.7; margin-top: 10px; }
.footer-col h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: var(--gray); text-decoration: none; font-size: .9rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1100px;
  margin: auto;
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .82rem;
  color: var(--gray);
}
.social-row { display: flex; gap: 12px; }
.social-link {
  width: 38px; height: 38px;
  background: var(--navy3);
  border: 1px solid rgba(233,69,96,.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.social-link:hover { background: var(--red); border-color: var(--red); }

/* ── MISC UTILITY ── */
.text-center { text-align: center; }
.mt-12 { margin-top: 12px; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0 !important; }
.highlight { color: var(--red); }
.divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.07);
  margin: 48px 0;
}

/* ── PHILOSOPHY / TIMELINE ── */
.timeline { position: relative; padding-left: 36px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 11px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), transparent);
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px; top: 6px;
  width: 12px; height: 12px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--navy);
}
.timeline-year { font-size: .78rem; font-weight: 700; color: var(--red); letter-spacing: .08em; margin-bottom: 4px; }
.timeline-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.timeline-desc { font-size: .9rem; color: var(--light); line-height: 1.6; }

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, #2a0a12 0%, #1b1b2f 50%, #0d0d1f 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(233,69,96,.12) 0%, transparent 70%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 16px; }
.cta-section p { color: var(--light); max-width: 480px; margin: 0 auto 32px; line-height: 1.7; }
