/* Unique World Holidays — Destinations page, Section 1 (breadcrumb +
   page title). Fork of client-feedback-hero-section.css — same
   structure/behavior, renamed to the uwh-dest- namespace (and
   --uwh-dest-hero-* custom properties) so nothing collides with the
   other hero sections. See partials/destinations-hero-section.php for
   the full context. .gsap-fade-in is this project's existing reusable
   scroll-reveal utility (see assets/js/animations.js) — not a new
   animation system. */

.uwh-dest-hero {
  position: relative;
  width: 100%;
  min-height: 25vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
  padding: 40px 20px;
  box-sizing: border-box;
}

.uwh-dest-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.uwh-dest-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

/* ---- Breadcrumb ----
   Overrides Astra's own breadcrumb widget styling (.ast-breadcrumbs-
   wrapper/-inner) so it reads correctly against this section's own
   background. Color from --uwh-dest-hero-breadcrumb-color, an
   ACF-driven custom property (see destinations-hero-section.php). */
.uwh-dest-breadcrumb,
.uwh-dest-breadcrumb .ast-breadcrumbs-wrapper,
.uwh-dest-breadcrumb .ast-breadcrumbs-inner {
  margin: 0;
  padding: 0;
  background: none;
}
.uwh-dest-breadcrumb,
.uwh-dest-breadcrumb .ast-breadcrumbs-inner,
.uwh-dest-breadcrumb .ast-breadcrumbs-inner * {
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: color-mix(
    in srgb,
    var(--uwh-dest-hero-breadcrumb-color, #ffffff),
    transparent 15%
  );
}
.uwh-dest-breadcrumb a,
.uwh-dest-breadcrumb .ast-breadcrumbs-inner a {
  color: color-mix(
    in srgb,
    var(--uwh-dest-hero-breadcrumb-color, #ffffff),
    transparent 15%
  );
  text-decoration: none;
}
.uwh-dest-breadcrumb a:hover,
.uwh-dest-breadcrumb .ast-breadcrumbs-inner a:hover {
  color: var(--uwh-dest-hero-breadcrumb-color, #ffffff);
  text-decoration: underline;
}
.uwh-dest-breadcrumb .ast-breadcrumbs-inner span:last-child,
.uwh-dest-breadcrumb .ast-breadcrumbs-inner .trail-end {
  color: var(--uwh-dest-hero-breadcrumb-color, #ffffff);
}

/* ---- Page title ----
   font-family intentionally omitted — the site-wide h1-h6 rule
   (functions.php) already forces Cinzel on every heading tag. */
.uwh-dest-hero-title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.2;
  color: var(--uwh-dest-hero-title-color, #ffffff);
}

/* ---- Responsive ---- */
@media (max-width: 782px) {
  .uwh-dest-hero {
    min-height: 35vh;
    padding: 32px 20px;
  }
}
