/* ============================================================
   HOOR COLLECTION — FULL-PAGE CARDS
   ============================================================ */

/* Wrapper provides scroll runway — 1 extra vh so card 0 is visible on entry.
   Set --total-cards on the element to match the number of cards (default 8). */
.hoor-cards-wrapper {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw); /* break out of any parent padding */
  height: calc((var(--total-cards, 8) + 1) * 100vh);
}

/* Sticky stage — starts below the fixed navbar */
.hoor-cards {
  position: sticky;
  top: var(--nav-h, 72px);                      /* sit flush under the navbar   */
  width: 100%;
  height: calc(100vh - var(--nav-h, 72px));      /* fill the rest of the viewport */
  overflow: hidden;
}

/* ── Collection title — top-right, above all cards ── */
.hoor-collection-title {
  position: absolute;
  top: 28px;
  right: 54px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.hoor-collection-title span {
  font-family: var(--plus-jakarta-sans);
  font-size: clamp(26px, 2.8vw, 44px);
  font-weight: 300;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

.hoor-collection-title img {
  width: 34px;
  height: auto;
  opacity: 0.9;
  align-self: center;
}

/* All cards absolutely stacked, full-size */
.hoor-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;

  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
  z-index: 0;
}

/* Active card */
.hoor-card.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

/* ── Background photo ── */
.hoor-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.75s ease;
}

.hoor-card:hover .hoor-card__bg {
  transform: scale(1.03);
}

/* Subtle gradient so text always reads against any photo */
.hoor-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,  rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.0) 45%),
    linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.28) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ── Left sidebar container ── */
.hoor-card__left {
  position: absolute;
  left: 36px;
  top: 0;
  height: 100%;
  z-index: 2;
}

/* Thin vertical line — spans full card height (subtle background guide) */
.hoor-card__line {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.30);
}

/* Ornament + material text — vertically shifts per product */
.hoor-card__badge {
  position: absolute;
  left: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* Thick white line — same height as the badge, sits on the thin-line axis.
   Because it lives inside each card, it fades in at the correct position
   as cards scroll/transition. */
.hoor-card__badge::before {
  content: '';
  position: absolute;
  left: -22px;             /* pull back to the thin-line x position */
  top: 0;
  bottom: 0;               /* height matches badge content height */
  width: 3px;
  background: #ffffff;
  transform: translateX(-50%); /* centre the 3 px bar on the 1 px line */
}

.hoor-card__ornament {
  width: 38px;
  height: auto;
  flex-shrink: 0;
  margin-top: 3px;
}

.hoor-card__material {
  font-family: var(--plus-jakarta-sans);
  font-size: clamp(12px, 0.85vw + 6px, 16px);
  font-weight: 500;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.65;
  white-space: nowrap;
}

/* ── Product code — bottom right ── */
.hoor-card__code {
  position: absolute;
  bottom: 46px;
  right: 56px;
  z-index: 2;
  font-family: var(--plus-jakarta-sans);
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.3em;
}

/* ── Optional subtitle line (used in Majnoon cards) ── */
.hoor-card__subtitle {
  font-family: var(--plus-jakarta-sans);
  font-size: clamp(10px, 0.65vw + 5px, 13px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.55;
  margin-top: 5px;
  white-space: nowrap;
}

/* ============================================================
   BADGE VERTICAL POSITIONS
   ============================================================ */

/* Hoor — 8 products, top → bottom */
#product-01 .hoor-card__badge { top:  7%; }
#product-02 .hoor-card__badge { top: 19%; }
#product-03 .hoor-card__badge { top: 31%; }
#product-04 .hoor-card__badge { top: 43%; }
#product-05 .hoor-card__badge { top: 54%; }
#product-06 .hoor-card__badge { top: 65%; }
#product-07 .hoor-card__badge { top: 76%; }
#product-08 .hoor-card__badge { top: 84%; }

/* Majnoon — 3 products, top → bottom */
#soraya-item .hoor-card__badge { top: 12%; }
#angeer-item .hoor-card__badge { top: 48%; }
#tawous-item .hoor-card__badge { top: 82%; }

/* ============================================================
   MOBILE  ≤ 768px
   ============================================================ */
@media screen and (max-width: 768px) {
  .hoor-card__left {
    left: 18px;
  }

  .hoor-card__ornament {
    width: 26px;
  }

  .hoor-card__material {
    font-size: 11px;
    white-space: normal;
    max-width: 200px;
    line-height: 1.55;
  }

  .hoor-card__code {
    bottom: 28px;
    right: 28px;
    font-size: 18px;
  }
}
