/* ======================================================
   HERO CONTAINER (LAYOUT)
====================================================== */

.hero {
  position: relative;
  margin: 32px auto 24px auto;   /* space from navbar + feed */
  max-width: 1100px;
  min-height: 320px;

  display: flex;
  align-items: flex-end;

  padding: 28px;
  border-radius: 28px;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
  isolation: isolate; /* required for glass layers */

  animation: heroEnter .8s ease-out both;
}

/* ======================================================
   GLASS OVERLAY
====================================================== */

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.55)
  );

  z-index: -1;
}

/* ======================================================
   SOFT GLOW BORDER
====================================================== */

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);

  pointer-events: none;
}

/* ======================================================
   HERO CONTENT
====================================================== */

.hero h1 {
  margin: 0;
  max-width: 720px;

  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;

  color: #ffffff;
  text-shadow: 0 6px 24px rgba(0,0,0,.55);
}

.hero .hero-glass {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  padding: 14px 20px;
  border-radius: 16px;

  display: inline-block;
}

/* ======================================================
   ANIMATION
====================================================== */

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 992px) {
  .hero {
    margin: 24px 12px 20px 12px;
    min-height: 260px;
    padding: 22px;
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: 220px;
    padding: 18px;
    border-radius: 22px;
  }

  .hero h1 {
    font-size: 1.4rem;
  }
}



/*image selector CSS*/
/* ======================================================
   HERO THUMBNAILS
====================================================== */

.hero-thumb {
  width: 72px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;

  border: 2px solid transparent;
  transition: transform .2s ease, border-color .2s ease;
}

.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-thumb:hover {
  transform: scale(1.05);
}

.hero-thumb.active {
  border-color: #0d6efd;
}

.travel-destination-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255,255,255,0.95);
  color: #111;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.travel-mood {
  font-size: 12px;
  color: #777;
  margin-top: 2px;
}
/*Hero Follow button*/
.hero-thumbs{
    display:flex;
    flex-direction:row;
    gap:10px;
    overflow-x:auto;
}

#hero-title{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

/* ==========================
   Subtle Follow CTA
========================== */

.follow-cta-subtle {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.75);
    margin-top: 6px;
    line-height: 1.3;
    max-width: 260px;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.follow-cta-subtle:hover {
    opacity: 1;
}