/* =========================================================
   ABOUT - Hero (Figma 1301:2147)
   Full-bleed: dark→transparent gradient at top, light cream bg,
   breadcrumb on top, large centered 2-line Trajan title, description below.
   ========================================================= */

.about-hero {
  position: relative;
  width: 100%;
  min-height: clamp(640px, 52.7604vw, 1013px); /* 1013px on 1920px viewport */
  padding: 180px 0 60px;
  background-color: #fafaf7;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  isolation: isolate;
  display: flex;
}
.about-hero::before {
  bottom: 0;
  left: 0;
  content: "";
  position: absolute;
  /* background-image: url("../../../assets/icons/hero-shape.webp"); */
  background: url("../../../assets/icons/abouthero.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  width: 100%;
  height: 740px;
}
.about-hero > .container {
  min-height: 100%;
  justify-content: center;
  display: flex;
}

/* Dark gradient overlay — covers the top ~77% of the hero (780/1013) */
.about-hero__gradient {
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  background:
    linear-gradient(
      0deg,
      rgba(25, 29, 35, 0) 0%,
      rgba(25, 29, 35, 0.28) 55%,
      rgba(25, 29, 35, 0.56) 100%
    ),
    linear-gradient(
      0deg,
      rgba(25, 29, 35, 0) 0%,
      rgba(25, 29, 35, 0.12) 40%,
      rgba(25, 29, 35, 0.16) 100%
    );

  /* background: linear-gradient(
    180deg,
    rgba(25, 29, 35, 0.9) 0%,
    rgba(25, 29, 35, 0.1) 50%,
    rgba(25, 29, 35, 0) 100%
  ); */
  opacity: 0.9;
  z-index: 1;
  pointer-events: none;
}

.about-hero .container,
.about-hero .row,
.about-hero .col-12 {
  position: relative;
  z-index: 2;
}

/* Breadcrumb */
.about-hero__breadcrumb {
  display: flex;
  gap: 5px;
  justify-content: center;
  font-family: "Jost", sans-serif;
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1;
  text-align: center;
  margin: 0 0 160px 0;
  opacity: 0;
  animation: aboutHeroShow 1.4s forwards 0.1s;
}

.about-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.about-hero__breadcrumb a:hover {
  color: #ffffff;
}

/* Inner stack (title + description) */
.about-hero__inner {
  /* Title breaks out of the bootstrap container so the second line
       ("KRALJEVOG PODRUMA") stays on one line like Figma (1205px wide). */
  width: min(1205px, 96vw);
  margin: 0 auto;
  text-align: center;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.about-hero__description {
  margin-top: auto !important;
}
.about-hero__title {
  font-family: "trajan-pro-3", serif;
  font-weight: 400;
  /* 110px @ 1920 viewport */
  font-size: clamp(40px, 5.7291666vw, 110px);
  /* Figma: line advance 96px @ 110px ≈ 0.87 line-height, gap 0 */
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 40px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: center;
}

.about-hero__title-line {
  display: block;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(28px);
  animation: aboutHeroReveal 1.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.about-hero__title-line--1 {
  animation-delay: 0.15s;
}
.about-hero__title-line--2 {
  animation-delay: 0.35s;
}

@keyframes aboutHeroReveal {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aboutHeroShow {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Description (over the lighter bottom area) */
.about-hero__description {
  font-family: "trajan-pro-3", serif;
  font-weight: 400;
  font-size: clamp(16px, 1.4583vw, 28px);
  line-height: 1.3;
  text-transform: uppercase;
  color: #fff;
  max-width: 640px;
  margin: 0 auto;
  opacity: 0;
  animation: aboutHeroShow 1.8s forwards 0.55s;
  text-align: center;
}

.about-hero__description p {
  margin: 0 0 8px 0;
}
.about-hero__description p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .about-hero {
    padding: 150px 0 50px;
    min-height: clamp(520px, 78vw, 760px);
  }
  .about-hero__breadcrumb {
    margin-bottom: 60px;
  }
  .about-hero__title {
    letter-spacing: -0.04em;
    margin-bottom: 30px;
  }
}

@media (max-width: 575px) {
  .about-hero {
    padding: 100px 0 40px;
    min-height: 540px;
  }
  .about-hero__breadcrumb {
    font-size: 13px;
    margin-bottom: 40px;
  }
  .about-hero__title {
    margin-bottom: 22px;
  }
  .about-hero__title-line {
    white-space: normal;
  }
  .about-hero__gradient {
    height: 70%;
  }
}
