/* ===== /wedding page — component styles ===== */

/* Standard image frame: wrapper controls aspect-ratio + radius + clipping,
   the <img> inside just fills it (width/height:100%). Never put aspect-ratio
   directly on an <img> that also has width/height attributes — it fights the
   attribute-derived intrinsic ratio and crops incorrectly. */
.img-frame { width: 100%; overflow: hidden; display: block; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Image placeholder slot — user fills these in later */
.img-slot {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #F3ECE2;
  border: 2px dashed rgba(180,35,42,.35);
  display: flex;
  box-sizing: border-box;
}
.img-slot-inner {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  text-align: center;
}
.img-slot svg { opacity: .5; flex-shrink: 0; }
.img-slot-label { font-weight: 700; font-size: 13px; color: #5A463D; font-family: Manrope, sans-serif; }
.img-slot-file {
  font-size: 11.5px; font-family: 'SFMono-Regular', Consolas, monospace;
  color: #B4232A; background: rgba(180,35,42,.08); padding: 3px 10px; border-radius: 999px;
}
/* On a dark (red) background, invert the placeholder so it stays legible */
.img-slot.on-dark { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }
.img-slot.on-dark .img-slot-label { color: #fff; }
.img-slot.on-dark .img-slot-file { color: #fff; background: rgba(255,255,255,.18); }
.img-slot.on-dark svg { opacity: .8; stroke: #fff; }

/* Hero badges */
.wed-badge {
  display: inline-flex; align-items: center; gap: 7px; background: #fff;
  border: 1px solid rgba(180,35,42,.22); color: #B4232A; font-weight: 700; font-size: 13px;
  padding: 8px 16px; border-radius: 999px; box-shadow: 0 4px 14px rgba(42,21,16,.06);
}

/* Package section heading */
.wed-paket-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.wed-porsi-badge {
  background: #C9A227; color: #2A1510; font-family: Poppins, sans-serif; font-weight: 800;
  font-size: 12px; padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}

/* Variant card */
.wed-card {
  background: #fff; border: 1px solid rgba(42,21,16,.08); border-radius: 22px; padding: 22px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: 0 10px 30px rgba(42,21,16,.05);
  transition: transform .2s, box-shadow .2s;
}
.wed-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(42,21,16,.1); }
.wed-card-bullets { font-size: 13.5px; line-height: 1.6; color: #5A463D; margin: 0; padding-left: 18px; }
.wed-card-free { font-size: 12.5px; line-height: 1.55; color: #8A6A0F; background: #FBF3DC; padding: 8px 12px; border-radius: 10px; }
.wed-card-price { display: flex; align-items: baseline; gap: 8px; }
.wed-card-price .was { font-size: 13px; color: #8A7468; text-decoration: line-through; }
.wed-card-price .now { font-family: Poppins, sans-serif; font-weight: 800; font-size: 22px; color: #B4232A; }
.wed-card-desc { font-size: 13.5px; line-height: 1.6; color: #5A463D; margin: 0; }
.wed-porsi-tag {
  display: inline-block; background: #C9A227; color: #2A1510; font-family: Poppins, sans-serif;
  font-weight: 800; font-size: 11.5px; padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}

/* Galeri momen wedding — Reels thumbnails */
.wed-galeri-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.wed-reel-item { display: block; color: inherit; text-decoration: none; }
.wed-reel-item:hover { color: inherit; }
.wed-reel-thumb {
  position: relative; width: 100%; aspect-ratio: 3/4; border-radius: 16px; overflow: hidden;
  background: #F3ECE2; box-shadow: 0 8px 20px rgba(42,21,16,.08); transition: transform .2s, box-shadow .2s;
}
.wed-reel-item:hover .wed-reel-thumb { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(42,21,16,.14); }
.wed-reel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wed-reel-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
}
.wed-reel-caption {
  display: block; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: #2A1510;
  text-align: center; line-height: 1.4;
}
@media (max-width: 640px) {
  .wed-galeri-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Multi-size sub-rows (e.g. Dimsum Tampah 3 ukuran dalam satu kartu) */
.wed-subrows { display: flex; flex-direction: column; gap: 10px; }
.wed-subrow {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  background: #FBF5EC; border-radius: 12px; padding: 12px 14px;
}
.wed-subrow-label { font-weight: 700; font-size: 13.5px; color: #2A1510; }
.wed-card-btn.small { padding: 8px 16px; font-size: 12.5px; }
.wed-card-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #B4232A; color: #fff; font-family: Poppins, sans-serif; font-weight: 700; font-size: 14px;
  padding: 12px 20px; border-radius: 999px; text-align: center;
}
.wed-card-btn:hover { background: #8E1B21; color: #fff; }

/* Highlight band (FREE booth stall) */
.wed-highlight { background: #B4232A; color: #fff; padding: 64px 0; }

/* Area layanan card */
.wed-area-card {
  background: #fff; border-radius: 22px; padding: 32px; box-shadow: 0 10px 30px rgba(42,21,16,.06);
  display: flex; flex-direction: column; gap: 12px;
}
.wed-area-card li { font-size: 15px; line-height: 1.7; color: #4A362E; margin-bottom: 4px; }

/* Closing CTA banner */
.wed-closing {
  background: linear-gradient(135deg, #2A1510 0%, #4A2318 100%); border-radius: 32px;
  padding: clamp(36px, 6vw, 64px); text-align: center; color: #fff;
}
