/*
 * Custom styles for the creator profile page.
 *
 * This stylesheet enhances the default Bootstrap layout with a modern hero
 * section, responsive gallery and sticky call‑to‑action. It keeps the
 * interface minimal and clean, letting media content shine while
 * maintaining accessibility and mobile friendliness. All colours are
 * accessible and ensure sufficient contrast. Feel free to tweak
 * variables below to match your brand guidelines.
 */

/* Hero section
   -------------
   Uses a background image with an overlay to maintain text legibility.
   The hero is responsive: on small screens content is centred, on
   larger screens it's aligned to the left. */
.profile-hero {
  min-height: 240px;
  background-size: cover;
  background-position: center;
  border-radius: 0.5rem;
  position: relative;
  color: #fff;
  overflow: hidden;
}
.profile-hero .hero-overlay {
  /* subtle gradient overlay to improve contrast */
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
  opacity: 0.9;
  pointer-events: none;
}
.profile-hero h2,
.profile-hero p {
  margin: 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Sticky call‑to‑action
   ---------------------
   This bar appears fixed at the bottom of the viewport when
   JavaScript shows it. It uses flexbox to centre its content and
   stretches across the full width of the screen. */
#stickyCTA {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 -2px 6px rgba(0,0,0,0.1);
}
#stickyCTA .btn {
  font-weight: 600;
  padding: 0.75rem 1rem;
}

/* Card adjustments
   ----------------
   Maintain a consistent aspect ratio for images and ensure badges
   remain visible on both light and dark backgrounds. */
.card-img-top {
  object-fit: cover;
  height: 200px;
}
.card .badge {
  font-size: 0.75rem;
  padding: 0.25em 0.5em;
  text-transform: uppercase;
}
.card .position-absolute span {
  font-size: 0.85rem;
}

/* Simple blur effect class for locked content */
.blur {
  filter: blur(8px);
}
