/**
 * stacciolla/collection-banner — style.css
 * Banner full-width con imagen de fondo responsive y CTA en esquina.
 * Solo var(--fe-*). Cero valores hardcodeados salvo los definidos en spec.
 */

/* ============================================================
   WRAPPER
   ============================================================ */

.fe-collection-banner {
  position: relative;
  width: 100%;
  height: 85vh;
  background-color: var(--fe-black);
  background-image: var(--fe-cb-bg-desktop, none);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* ============================================================
   VIDEO DE FONDO
   ============================================================ */

.fe-collection-banner__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

/* ============================================================
   OVERLAY
   ============================================================ */

.fe-collection-banner__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fe-collection-banner--overlay-light  .fe-collection-banner__overlay { background: rgba(0, 0, 0, 0.12); }
.fe-collection-banner--overlay-medium .fe-collection-banner__overlay { background: rgba(0, 0, 0, 0.25); }
.fe-collection-banner--overlay-dark   .fe-collection-banner__overlay { background: rgba(0, 0, 0, 0.50); }

/* ============================================================
   CONTENIDO
   ============================================================ */

.fe-collection-banner__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.fe-collection-banner__content--bottom-right {
  align-items: flex-end;
  text-align: right;
}

.fe-collection-banner__content--bottom-left {
  align-items: flex-start;
  text-align: left;
}

/* ── Label ── */

.fe-collection-banner__label {
  font-family: var(--fe-font-body);
  font-size: 0.7rem;
  font-weight: var(--fe-weight-regular);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 8px;
}

/* ── Nombre de colección ── */

.fe-collection-banner__name {
  font-family: var(--fe-font-display);
  font-size: 2rem;
  font-weight: var(--fe-weight-light);
  color: var(--fe-white);
  margin: 0;
  line-height: 1.2;
}

/* ── CTA outline ── */

.fe-collection-banner__cta {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 32px;
  border: 1px solid rgba(255, 255, 255, 1);
  background: transparent;
  color: var(--fe-white);
  font-family: var(--fe-font-body);
  font-size: 0.7rem;
  font-weight: var(--fe-weight-regular);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--fe-transition), color var(--fe-transition);
}

.fe-collection-banner__cta:hover {
  background: var(--fe-white);
  color: var(--fe-black);
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */

@media (max-width: 1024px) {
  .fe-collection-banner {
    height: 70vh;
    background-image: var(--fe-cb-bg-tablet, var(--fe-cb-bg-desktop, none));
  }

  .fe-collection-banner__content {
    padding: 36px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */

@media (max-width: 768px) {
  .fe-collection-banner {
    height: 60vh;
    background-image: var(--fe-cb-bg-mobile, var(--fe-cb-bg-tablet, var(--fe-cb-bg-desktop, none)));
  }

  /* En mobile siempre bottom-left independiente del campo */
  .fe-collection-banner__content,
  .fe-collection-banner__content--bottom-right,
  .fe-collection-banner__content--bottom-left {
    align-items: flex-start;
    text-align: left;
    padding: 28px 24px;
  }

  .fe-collection-banner__name {
    font-size: 1.5rem;
  }
}
