/* =============================================================================
   PEARL VEIL — COLLECTIONS PAGE STYLES
   ─────────────────────────────────────────────────────────────────────────────
   Styles specific to collections.html: page header, full collections grid.
   ============================================================================= */

.collections-page-header {
  padding: var(--space-16) 0 var(--space-12);
  text-align: center;
  background-color: var(--color-bg-alt);
}

.collections-page-header__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
  font-weight: var(--weight-light);
  color: var(--color-heading);
  margin-bottom: var(--space-4);
}

.collections-page-header__subtitle {
  max-width: 560px;
  margin: 0 auto;
  color: var(--color-muted);
  font-weight: var(--weight-light);
  line-height: var(--leading-relaxed);
}

.collections-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  padding: var(--space-16) 0;
}

@media (max-width: 700px) {
  .collections-full-grid {
    grid-template-columns: 1fr;
  }
}

.collections-full-grid .collection-card {
  aspect-ratio: 16 / 11;
}

.collections-full-grid .collection-card__image-wrap {
  aspect-ratio: 16 / 11;
}


/* =============================================================================
   DESERT BLOOM LAUNCH BANNER  (Phase 8 Step 3)
   ============================================================================= */

.collection-launch-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--color-bg-alt);
  /* Banner is 1983×793 — aspect ratio ≈ 2.5:1 */
  aspect-ratio: 1983 / 793;
  max-height: 480px;
}

.collection-launch-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.collection-launch-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(20, 20, 20, 0.35) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: var(--space-8);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}

.collection-launch-banner:hover .collection-launch-banner__overlay {
  opacity: 1;
}

.collection-launch-banner__cta {
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-widest);
}

@media (max-width: 600px) {
  .collection-launch-banner {
    aspect-ratio: 16 / 9;
    max-height: 260px;
  }

  .collection-launch-banner__overlay {
    opacity: 1;  /* Always visible on mobile (no hover) */
    background: linear-gradient(to bottom, transparent 30%, rgba(20,20,20,0.45) 100%);
  }
}


/* =============================================================================
   COLLECTION CARD — LAUNCH BADGE  (Phase 8 Step 3)
   ============================================================================= */

.collection-card__launch-badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  z-index: var(--z-raised);
  pointer-events: none;
}

/* Launch collection card — same size as all others for visual balance */
.collection-card--launch {
  /* No special grid spanning — consistent with all collection cards */
}


/* =============================================================================
   COMING SOON COLLECTION CARD  (Phase 8 Step 3 — Future Collections)
   ============================================================================= */

.collection-card__coming-soon-badge {
  background-color: rgba(20, 20, 20, 0.75) !important;
  color: var(--color-ivory) !important;
  backdrop-filter: blur(4px);
}

.collection-card--coming-soon {
  cursor: default;
}

/* Slight desaturation to visually distinguish from available collections */
.collection-card--coming-soon .collection-card__image-wrap img {
  filter: saturate(0.85);
  transition: filter var(--dur-slow) var(--ease-out);
}

.collection-card--coming-soon:hover .collection-card__image-wrap img {
  filter: saturate(1);
}
