/* ==========================================================================
   Hero — Resort Kostelec

   Homepage hero, scenic varianta, page-hero (podstránky).
   Závisí na tokenech z base.css.
   ========================================================================== */

/* --- Homepage hero -------------------------------------------------------- */

.hero,
.scenic {
  position: relative;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hero {
  min-height: 760px;
  background-image: url("../images/hero-room.jpg");
  overflow: visible;
  z-index: 3;
}

.hero__overlay,
.scenic__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 7, 5, 0.7) 0%, rgba(9, 7, 5, 0.3) 45%, rgba(9, 7, 5, 0.2) 100%);
}

.hero__content,
.scenic__content {
  position: relative;
  z-index: 1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  min-height: 760px;
  padding: 2px 0 0;
}

.hero__intro {
  max-width: 540px;
  margin-top: auto;
  padding-bottom: 78px;
  color: var(--color-white);
}

.hero__intro .eyebrow {
  font-size: 15px;
  font-weight: 600;
}

.hero__intro h1 {
  color: #ffffff;
}

.hero__text {
  max-width: 460px;
  margin: 18px 0 28px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7;
}

/* --- Page hero (podstránky) ----------------------------------------------- */

.page-hero {
  position: relative;
  min-height: 620px;
  background-position: center;
  background-size: cover;
  overflow: visible;
  z-index: 3;
}

.stays-hero {
  background-image: url("../images/pobyty/entry-package.jpg");
}

.relax-hero {
  background-image: url("../images/pobyty/relaxacni.jpg");
  background-position: center 68%;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 7, 5, 0.82) 0%, rgba(9, 7, 5, 0.52) 48%, rgba(9, 7, 5, 0.35) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 620px;
  padding: 2px 0 92px;
}

.page-hero__intro {
  max-width: 760px;
  margin-top: auto;
  color: var(--color-white);
}

.page-hero__intro .eyebrow {
  font-size: 15px;
  font-weight: 600;
}

.page-hero__intro h1 {
  max-width: 720px;
  margin: 18px 0 0;
  font-family: "DM Serif Display", serif;
  font-size: clamp(42px, 6vw, 66px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
  color: #ffffff;
}

.page-hero__text {
  max-width: 460px;
  margin: 18px 0 28px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* --- Facts bar ------------------------------------------------------------ */

.c-facts-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(177, 127, 74, 0.18);
  border-bottom: 1px solid rgba(177, 127, 74, 0.18);
}

.c-facts-bar .c-card.c-card--inline {
  border-radius: 0;
}

@media (max-width: 900px) {
  .c-facts-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .c-facts-bar { grid-template-columns: 1fr; }
}

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    overflow: visible;
  }

  .hero__content {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero__intro {
    max-width: 100%;
    margin-top: 188px;
    padding-bottom: 114px;
  }

  .hero__text {
    max-width: 100%;
    margin: 16px 0 24px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
  }
}
