/* ============================================================
   Cuanki Kang Adi — Homepage CSS
   Mobile-first, desktop-friendly
   ============================================================ */

/* TOKENS */
:root {
  --red:      #8B1A1A;
  --red-dk:   #5C0F0F;
  --red-lt:   #B82020;
  --cream:    #F5EDD6;
  --cream2:   #E8D5B0;
  --cream3:   #D4BC90;
  --orange:   #E8520A;
  --dark:     #1C1C1C;
  --gray:     #6B6B6B;
  --gray-lt:  #F0EAE0;
  --white:    #FFFFFF;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --radius:   16px;
  --radius-sm:10px;
  --shadow:   0 4px 24px rgba(139,26,26,.1);
}

/* RESET HOMEPAGE */
#cka-home *, #cka-home *::before, #cka-home *::after {
  box-sizing: border-box;
}
#cka-home {
  font-family: var(--font-body);
  color: var(--dark);
  overflow-x: hidden;
}
#cka-home img { display: block; max-width: 100%; }
#cka-home a   { text-decoration: none; color: inherit; }

/* CONTAINER */
.cka-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== SECTION SHARED ===== */
.cka-section { padding: 72px 0; }
.cka-section-header { text-align: center; margin-bottom: 48px; }
.cka-eyebrow-sm {
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px;
}
.cka-eyebrow-light { color: rgba(245,237,214,.6); }
.cka-section-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700; font-style: italic;
  color: var(--dark); line-height: 1.2;
}
.cka-section-h2 em { color: var(--red); font-style: italic; }
.cka-h2-light       { color: var(--white); }
.cka-em-cream       { color: var(--cream2); }
.cka-em-orange      { color: var(--orange); }
.cka-section-sub {
  font-size: 1rem; color: var(--gray);
  max-width: 480px; margin: 12px auto 0;
  line-height: 1.7;
}
.cka-sub-light { color: rgba(245,237,214,.7); }

/* BUTTONS */
.cka-btn-primary {
  display: inline-block;
  background: var(--red); color: var(--white);
  padding: 13px 28px; border-radius: 100px;
  font-weight: 700; font-size: .95rem;
  transition: background .2s, transform .15s;
}
.cka-btn-primary:hover { background: var(--red-dk); transform: translateY(-2px); color: var(--white); }

.cka-btn-outline {
  display: inline-block;
  background: transparent; color: var(--red);
  border: 2px solid var(--red);
  padding: 11px 26px; border-radius: 100px;
  font-weight: 700; font-size: .95rem;
  transition: all .2s;
}
.cka-btn-outline:hover { background: var(--red); color: var(--white); }

.cka-btn-orange {
  display: inline-block;
  background: var(--orange); color: var(--white);
  padding: 13px 28px; border-radius: 100px;
  font-weight: 700; font-size: .95rem;
  transition: all .2s;
}
.cka-btn-orange:hover { background: #C23A05; transform: translateY(-2px); color: var(--white); }

.cka-btn-ghost {
  display: inline-block;
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.35);
  padding: 11px 26px; border-radius: 100px;
  font-weight: 600; font-size: .95rem;
  transition: all .2s;
}
.cka-btn-ghost:hover { border-color: var(--white); color: var(--white); }

/* EYEBROW */
.cka-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--cream2); border-radius: 100px;
  padding: 6px 14px; margin-bottom: 20px;
  font-size: .8rem; font-weight: 600;
  color: var(--red); width: fit-content;
}

/* ===== HERO ===== */
.cka-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 92vh;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.cka-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 37%; width: 60px; height: 100%;
  background: var(--cream);
  transform: skewX(-4deg);
  z-index: 2;
}
.cka-hero-left {
  padding: 100px 5vw 60px 6vw;
  display: flex; flex-direction: column;
  justify-content: center; position: relative; z-index: 3;
}
.cka-hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900; font-style: italic;
  line-height: 1.1; color: var(--dark);
  margin: 0 0 16px;
}
.cka-hero-h1 em { color: var(--red); font-style: italic; }
.cka-hero-sub {
  font-size: 1rem; color: var(--gray);
  margin-bottom: 32px; max-width: 400px; line-height: 1.7;
}
.cka-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.cka-hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.cka-stat-val  { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--red); }
.cka-stat-lbl  { font-size: .8rem; color: var(--gray); margin-top: 1px; }

.cka-hero-right {
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.cka-hero-right::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,10,6,.02) 25%, rgba(28,10,6,.65) 100%);
  z-index: 1;
}
.cka-hero-visual { position: absolute; inset: 0; z-index: 2; text-align: center; }
.cka-hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.cka-hero-badge {
  position: absolute; top: 24px; right: 24px;
  background: var(--orange); color: var(--white);
  width: 68px; height: 68px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; text-align: center;
  line-height: 1.2;
  z-index: 3;
}
.cka-hero-bowl-lbl {
  position: absolute; left: 30px; right: 30px; bottom: 28px;
  color: var(--cream); text-align: left; z-index: 3;
}
.cka-hero-bowl-lbl strong { display: block; font-family: var(--font-display); font-size: 1.4rem; font-style: italic; }
.cka-hero-bowl-lbl span   { font-size: .85rem; opacity: .7; margin-top: 4px; display: block; }

/* FLOAT ANIM */
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.float-anim { animation: float 4s ease-in-out infinite; }

@keyframes fadeInUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
.fade-up   { animation: fadeInUp .6s ease both; }
.fade-up-2 { animation: fadeInUp .6s .15s ease both; }
.fade-up-3 { animation: fadeInUp .6s .3s ease both; }

/* ===== ORDER ONLINE ===== */
.cka-order-section { background: var(--cream); padding: 60px 0; }
.cka-order-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 720px; margin: 0 auto;
}
.cka-order-card {
  background: var(--card-bg, var(--white));
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1.5px solid var(--cream2);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: block;
}
.cka-order-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(139,26,26,.12);
  border-color: var(--red);
}
.cka-order-icon {
  height: 112px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
}
.cka-order-icon img {
  width: 100%; height: 100%; max-width: 148px;
  object-fit: contain; border-radius: 12px;
}
.cka-order-name { font-size: 1.1rem; font-weight: 700; color: var(--dark); }
.cka-order-sub  { font-size: .82rem; color: var(--gray); margin-top: 2px; }
.cka-order-cta  {
  margin-top: 14px; font-size: .8rem; font-weight: 600;
  color: var(--red); display: inline-block;
  border: 1.5px solid var(--red); padding: 5px 14px; border-radius: 100px;
  transition: all .2s;
}
.cka-order-card:hover .cka-order-cta { background: var(--red); color: var(--white); }

/* ===== MENU ===== */
.cka-menu-section { background: var(--gray-lt, #F0EAE0); }

/* KATEGORI */
.cka-cat-scroll {
  display: flex; gap: 10px;
  overflow-x: auto; padding-bottom: 4px;
  margin-bottom: 32px;
  scrollbar-width: none;
}
.cka-cat-scroll::-webkit-scrollbar { display: none; }
.cka-cat-btn {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--cream2); background: var(--white);
  cursor: pointer; transition: all .2s; white-space: nowrap;
  font-family: var(--font-body); font-size: .8rem; font-weight: 600;
  color: var(--gray); min-width: 72px;
}
.cka-cat-btn:hover, .cka-cat-btn.active {
  border-color: var(--red); background: var(--red); color: var(--white);
}
.cka-cat-icon { font-size: 1.5rem; line-height: 1; }

/* MENU GRID — 3 col desktop, 2 mobile */
.cka-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cka-menu-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--cream2);
  transition: transform .25s, box-shadow .25s;
}
.cka-menu-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(139,26,26,.12); }
.cka-menu-card[style*="display:none"], .cka-menu-card.hidden { display: none; }

.cka-menu-img {
  height: 180px; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.cka-menu-img img { width: 100%; height: 100%; object-fit: cover; }
.cka-menu-emoji { font-size: 4rem; }
.cka-menu-badge {
  position: absolute; top: 10px; left: 10px;
  font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 100px;
}
.cka-badge-best { background: var(--red); color: var(--white); }
.cka-badge-new  { background: var(--orange); color: var(--white); }

.cka-menu-body { padding: 16px; }
.cka-menu-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; font-style: italic; color: var(--dark); margin-bottom: 4px; }
.cka-menu-desc { font-size: .82rem; color: var(--gray); line-height: 1.5; margin-bottom: 12px; }
.cka-menu-footer { display: flex; align-items: center; justify-content: space-between; }
.cka-menu-price { font-size: 1.1rem; font-weight: 700; color: var(--red); }
.cka-order-links { display: flex; gap: 5px; }
.cka-order-pill {
  width: 28px; height: 28px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; color: var(--white);
  background: var(--red); transition: transform .15s;
}
.cka-order-pill:nth-child(1) { background: #ee2737; }
.cka-order-pill:nth-child(2) { background: #00b14f; }
.cka-order-pill:nth-child(3) { background: #f05d2a; }
.cka-order-pill:hover { transform: scale(1.15); }

/* ===== PROMO ===== */
.cka-promo-section { background: var(--red); }
.cka-section-header-light .cka-section-h2 em { color: var(--cream); }
.cka-promo-track-wrap { position: relative; }
.cka-promo-track {
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px; scrollbar-width: none;
}
.cka-promo-track::-webkit-scrollbar { display: none; }

.cka-promo-card {
  flex: 0 0 300px; border-radius: var(--radius);
  padding: 24px; scroll-snap-align: start;
  position: relative; overflow: hidden;
}
.cka-promo-red    { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.cka-promo-cream  { background: var(--cream); border: 1px solid var(--cream2); }
.cka-promo-dark   { background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.1); }
.cka-promo-orange { background: var(--orange); border: 1px solid rgba(255,255,255,.15); }

.cka-promo-badge {
  position: absolute; top: -8px; right: -8px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  font-size: .7rem; font-weight: 700; text-align: center;
  display: flex; align-items: center; justify-content: center;
  line-height: 1.1;
}
.cka-promo-cream .cka-promo-badge { background: var(--red); }

.cka-promo-tag {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 3px 8px; border-radius: 100px;
  background: rgba(255,255,255,.2); color: var(--white);
  width: fit-content; margin-bottom: 8px;
}
.cka-promo-cream .cka-promo-tag { background: rgba(139,26,26,.12); color: var(--red); }

.cka-promo-name {
  font-family: var(--font-display); font-size: 1.4rem;
  font-weight: 700; font-style: italic;
  color: var(--white); line-height: 1.25; margin-bottom: 6px;
}
.cka-promo-cream .cka-promo-name { color: var(--dark); }

.cka-promo-desc { font-size: .85rem; color: rgba(255,255,255,.75); line-height: 1.6; margin-bottom: 16px; }
.cka-promo-cream .cka-promo-desc { color: var(--gray); }

.cka-promo-cta {
  display: inline-block; padding: 7px 16px; border-radius: 100px;
  font-size: .82rem; font-weight: 700; color: var(--white);
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.3);
  transition: all .2s;
}
.cka-promo-cta:hover { background: rgba(255,255,255,.35); color: var(--white); }
.cka-promo-cream .cka-promo-cta { background: var(--red); color: var(--white); border: none; }

.cka-promo-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.cka-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.3); cursor: pointer; transition: all .25s;
}
.cka-dot.active { width: 24px; border-radius: 4px; background: var(--white); }

/* ===== MEMBER ===== */
.cka-member-section { background: var(--dark); }
.cka-member-inner {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 60px; align-items: center;
}
.cka-member-perks {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin: 28px 0;
}
.cka-perk {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm); padding: 16px;
}
.cka-perk-icon  { font-size: 1.5rem; margin-bottom: 6px; }
.cka-perk-title { font-size: .85rem; font-weight: 600; color: var(--white); }
.cka-perk-desc  { font-size: .75rem; color: rgba(255,255,255,.5); margin-top: 2px; }
.cka-member-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* STICKER CARD VISUAL */
.cka-sticker-card {
  background: var(--white); border-radius: var(--radius);
  padding: 24px; text-align: center;
}
.cka-sticker-card-title { font-size: .9rem; font-weight: 600; color: var(--dark); margin-bottom: 16px; }
.cka-sticker-slots { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.cka-sticker-slot {
  flex: 1; aspect-ratio: 1; border-radius: 50%;
  border: 2px dashed var(--cream2); background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 700; color: var(--cream3); overflow: hidden;
  transition: all .3s;
}
.cka-sticker-slot img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cka-sticker-slot.filled { border: 0; background: transparent; font-size: 1.3rem; }
.cka-sticker-reward {
  display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 12px;
  border: 1px solid var(--cream2); border-radius: 12px; background: var(--cream); text-align: left;
  color: var(--dark); font-size: .78rem; line-height: 1.4;
}
.cka-sticker-reward img { width: 62px; height: 62px; object-fit: contain; flex: 0 0 62px; }
.cka-sticker-tip { font-size: .8rem; color: var(--gray); }

/* ===== MAPS ===== */
.cka-maps-section { background: var(--cream); }
.cka-maps-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.cka-maps-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--cream2); }
.cka-maps-embed iframe { width: 100%; height: 400px; border: none; display: block; }

.cka-maps-info { display: flex; flex-direction: column; gap: 20px; }
.cka-maps-info-item { display: flex; align-items: flex-start; gap: 12px; }
.cka-maps-icon  { font-size: 1.2rem; margin-top: 2px; flex-shrink: 0; }
.cka-maps-label { font-size: .75rem; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: .05em; }
.cka-maps-val   { font-size: .95rem; color: var(--dark); font-weight: 500; margin-top: 2px; }
.cka-maps-val a { color: var(--red); }

.cka-cabang-list { display: flex; flex-wrap: wrap; gap: 7px; }
.cka-cabang-chip {
  background: var(--white); border: 1px solid var(--cream2);
  border-radius: 100px; padding: 5px 12px;
  font-size: .8rem; color: var(--dark); font-weight: 500;
}

/* ===== VIDEO ===== */
.cka-video-section { background: var(--gray-lt, #F0EAE0); }
.cka-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cka-video-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--cream2); }
.cka-video-embed { position: relative; padding-bottom: 56.25%; }
.cka-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.cka-video-info { padding: 14px; }
.cka-video-title   { font-size: .9rem; font-weight: 600; color: var(--dark); line-height: 1.4; margin-bottom: 4px; }
.cka-video-channel { font-size: .78rem; color: var(--gray); }

/* ===== BLOG ===== */
.cka-blog-section { background: var(--white); }
.cka-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cka-blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--cream2); transition: transform .25s, box-shadow .25s; }
.cka-blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.cka-blog-img-link { display: block; }
.cka-blog-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.cka-blog-img-placeholder { height: 200px; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.cka-blog-body { padding: 18px; }
.cka-blog-tag     { font-size: .7rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 6px; }
.cka-blog-title   { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; font-style: italic; color: var(--dark); line-height: 1.4; margin-bottom: 8px; }
.cka-blog-title a { color: inherit; }
.cka-blog-title a:hover { color: var(--red); }
.cka-blog-excerpt { font-size: .82rem; color: var(--gray); line-height: 1.6; margin-bottom: 12px; }
.cka-blog-meta    { display: flex; justify-content: space-between; align-items: center; font-size: .75rem; color: var(--gray); }
.cka-read-more    { color: var(--red); font-weight: 600; }
.cka-read-more:hover { text-decoration: underline; }
.cka-blog-cta { text-align: center; margin-top: 36px; }

/* ===== RESPONSIVE ===== */
@media ( max-width: 1024px ) {
  .cka-menu-grid { grid-template-columns: repeat(2, 1fr); }
  .cka-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .cka-video-grid { grid-template-columns: repeat(2, 1fr); }
  .cka-member-inner { grid-template-columns: 1fr; gap: 40px; }
  .cka-maps-grid { grid-template-columns: 1fr; }
  .cka-maps-embed iframe { height: 320px; }
}

@media ( max-width: 768px ) {
  .cka-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .cka-hero::after { display: none; }
  .cka-hero-left { padding: 80px 5vw 40px; }
  .cka-hero-right { height: 280px; }
  .cka-hero-bowl-lbl { bottom: 22px; }

  .cka-order-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .cka-menu-grid  { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cka-blog-grid  { grid-template-columns: 1fr; }
  .cka-video-grid { grid-template-columns: 1fr; }
  .cka-promo-card { flex: 0 0 80vw; }
  .cka-hero-stats { gap: 16px; flex-wrap: wrap; }
  .cka-member-visual { display: none; }
  .cka-member-perks { grid-template-columns: 1fr 1fr; }
  .cka-section { padding: 52px 0; }
}

@media ( max-width: 480px ) {
  .cka-order-grid { gap: 8px; }
  .cka-order-card { padding: 16px 10px; }
  .cka-order-icon { height: 76px; }
  .cka-menu-grid  { grid-template-columns: 1fr; }
  .cka-hero-h1    { font-size: 2.2rem; }
  .cka-hero-btns  { flex-direction: column; }
  .cka-btn-primary, .cka-btn-outline { text-align: center; }
  .cka-member-perks { grid-template-columns: 1fr; }
}

@media ( prefers-reduced-motion: reduce ) {
  .float-anim, .fade-up, .fade-up-2, .fade-up-3 { animation: none; }
}
