/* ═══ UMRAH PACKAGE IMAGES PAGE ═══ */

.up-hero {
  background: linear-gradient(135deg, #0A1428 0%, #1B3C8C 100%);
  padding: 52px 24px 40px;
  text-align: center;
}
.up-hero-logo {
  width: 160px; height: auto;
  object-fit: contain; margin: 0 auto 20px;
  display: block;
}
.up-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 700; color: #fff;
  margin: 0 0 10px; line-height: 1.2;
}
.up-hero-title span { color: #F5B800; }
.up-hero-sub {
  font-size: 14px; color: rgba(255,255,255,0.6);
  font-family: Inter, sans-serif; margin: 0 0 24px;
}
.up-hero-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff;
  font-size: 14px; font-weight: 700;
  padding: 13px 28px; border-radius: 10px;
  text-decoration: none; font-family: Inter, sans-serif;
  box-shadow: 0 4px 18px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.up-hero-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }
.up-hero-wa svg { width: 18px; height: 18px; fill: #fff; }

/* ── Grid ── */
.up-grid-wrap {
  background: #F8FAFF;
  padding: 40px 0 60px;
}
.up-grid {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Card ── */
.up-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(27,60,140,0.07);
  border: 1px solid #E8EEF9;
  display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.up-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(27,60,140,0.14);
}

/* Image — tall, no text overlay */
.up-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;  /* portrait — matches Facebook post style */
  overflow: hidden;
  background: #EEF2FF;
  cursor: pointer;
}
.up-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.up-card:hover .up-card-img img { transform: scale(1.04); }

/* Zoom icon on hover */
.up-card-zoom {
  position: absolute; inset: 0;
  background: rgba(10,20,70,0);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.up-card:hover .up-card-zoom { background: rgba(10,20,70,0.18); }
.up-card-zoom svg {
  width: 40px; height: 40px;
  stroke: #fff; opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s, transform 0.3s;
}
.up-card:hover .up-card-zoom svg { opacity: 1; transform: scale(1); }

/* Footer — just the button */
.up-card-foot {
  padding: 14px 16px;
  border-top: 1px solid #F1F5F9;
}
.up-card-wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #25D366; color: #fff;
  font-size: 13.5px; font-weight: 700;
  padding: 12px; border-radius: 10px;
  text-decoration: none; font-family: Inter, sans-serif;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
}
.up-card-wa:hover { background: #1ebe5c; transform: translateY(-1px); }
.up-card-wa svg { width: 16px; height: 16px; fill: #fff; }

/* ── Lightbox ── */
.up-lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9999; align-items: center; justify-content: center;
  padding: 20px;
}
.up-lightbox.open { display: flex; }
.up-lb-inner {
  position: relative;
  max-width: 700px; width: 100%;
}
.up-lb-img {
  width: 100%; height: auto;
  max-height: 85vh; object-fit: contain;
  border-radius: 12px; display: block;
}
.up-lb-close {
  position: absolute; top: -44px; right: 0;
  background: none; border: none; color: #fff;
  font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: Inter, sans-serif;
  display: flex; align-items: center; gap: 6px;
  opacity: 0.75; transition: opacity 0.2s;
}
.up-lb-close:hover { opacity: 1; }
.up-lb-close svg { width: 16px; height: 16px; stroke: #fff; }
.up-lb-wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #25D366; color: #fff;
  font-size: 14px; font-weight: 700;
  padding: 14px; border-radius: 10px;
  text-decoration: none; font-family: Inter, sans-serif;
  margin-top: 12px; width: 100%;
  box-sizing: border-box;
}
.up-lb-wa svg { width: 18px; height: 18px; fill: #fff; }

/* Prev / Next -->
.up-lb-prev, .up-lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12); border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 50%; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #fff; transition: background 0.2s;
}
.up-lb-prev:hover, .up-lb-next:hover { background: rgba(255,255,255,0.25); }
.up-lb-prev { left: -60px; }
.up-lb-next { right: -60px; }
.up-lb-prev svg, .up-lb-next svg { width: 20px; height: 20px; stroke: #fff; }

/* ── Upload note ── */
.up-note {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px 40px;
  text-align: center;
}
.up-note p {
  font-size: 13px; color: #A0AEC0;
  font-family: Inter, sans-serif;
  line-height: 1.7;
}

/* ── Floating WA ── */
.up-wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 999;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(37,211,102,0.45);
  animation: waGlow 3s ease-in-out infinite;
}
.up-wa-float svg { width: 26px; height: 26px; fill: #fff; }
@keyframes waGlow {
  0%,100% { box-shadow: 0 6px 22px rgba(37,211,102,0.45); }
  50%      { box-shadow: 0 6px 32px rgba(37,211,102,0.65); }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .up-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .up-lb-prev { left: -48px; }
  .up-lb-next { right: -48px; }
}
@media (max-width: 540px) {
  .up-grid { grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 12px; }
  .up-card-foot { padding: 10px 12px; }
  .up-card-wa { font-size: 12px; padding: 10px; }
  .up-lb-prev, .up-lb-next { display: none; }
  .up-hero { padding: 40px 16px 32px; }
}