/* =========================================================
   POKOJE
   ========================================================= */

:root {
  --rooms-hero-min-h: 60vh;
  --rooms-hero-overlay: linear-gradient(
          to bottom,
          rgba(20, 18, 16, 0.18) 0%,
          rgba(20, 18, 16, 0.34) 45%,
          rgba(20, 18, 16, 0.5) 100%
  );
  --rooms-hero-bottom: clamp(1.75rem, 5vh, 3.5rem);
  --rooms-hero-eyebrow-fs: clamp(0.95rem, 1.15vw, 1.2rem);
  --rooms-hero-title-fs: clamp(3.1rem, 6vw, 6.3rem);
  --rooms-hero-title-lh: 0.98;
  --rooms-hero-text-maxw: min(58rem, 100%);
  --rooms-hero-text-offset: clamp(5rem, 18vw, 20rem);
  --rooms-hero-text-fs: clamp(1rem, 1.3vw, 1.35rem);
  --rooms-hero-text-lh: 1.55;

  --rooms-intro-mb: clamp(4.5rem, 7vw, 7rem);

  --rooms-bg: #fafaf8;

  --rooms-feature-gap: clamp(2rem, 6vw, 5rem);
  --rooms-feature-grid-left: minmax(280px, 1fr);
  --rooms-feature-grid-right: minmax(260px, 28rem);
  --rooms-feature-content-maxw: 26rem;

  --rooms-feature-media-h: clamp(420px, 62vh, 680px);

  --rooms-feature-title-font: var(--font-heading);
  --rooms-feature-title-fw: var(--heading-fw);
  --rooms-feature-title-color: var(--primary-blue);
  --rooms-feature-title-ls: -0.03em;
  --rooms-feature-title-fs: var(--h3-size);
  --rooms-feature-title-lh: 1.03;

  --rooms-feature-text-fs: var(--p-md-fs);
  --rooms-feature-text-lh: 1.75;
  --rooms-feature-text-color: #3c3a34;
  --rooms-feature-text-opacity: 0.72;

  --rooms-price-label-fs: 1rem;
  --rooms-price-fs: clamp(1.55rem, 2.1vw, 2.1rem);
  --rooms-price-lh: 1.05;
  --rooms-meta-gap: 1.25rem;
  --rooms-amenities-title-fs: 1rem;
  --rooms-amenities-item-fs: 1rem;


  --rooms-intro-title-font: var(--font-heading);
  --rooms-intro-title-fw: var(--heading-fw);
  --rooms-intro-title-color: var(--primary-blue);
  --rooms-intro-title-ls: -0.03em;
  --rooms-intro-title-fs: var(--h2-size);
  --rooms-intro-title-lh: 1.03;

  --rooms-seo-bg: var(--white);
  --rooms-seo-pad-y: var(--section-padding);
  --rooms-seo-maxw: 100%;

  --rooms-seo-p-fs: var(--p-md-fs);
  --rooms-seo-p-lh: 1.75;
  --rooms-seo-p-opacity: 0.8;
  --rooms-seo-p-mb: 14px;

  --rooms-seo-strong-fw: 600;

  --rooms-seo-h2-color: var(--dark-grey);
  --rooms-seo-h2-align: left;
  --rooms-seo-h2-font: var(--font-heading);
  --rooms-seo-h2-fw: var(--heading-fw);
  --rooms-seo-h2-fs: var(--h3-size);
  --rooms-seo-h2-lh: 1.2;
  --rooms-seo-h2-ls: -0.01em;
  --rooms-seo-h2-mt: 28px;
  --rooms-seo-h2-mb: 14px;

  --rooms-seo-list-pl: 18px;
  --rooms-seo-list-mt: 10px;
  --rooms-seo-list-mb: 18px;
  --rooms-seo-li-mb: 10px;

  --rooms-seo-link-color: var(--color-text);
  --rooms-seo-link-hover: var(--color-text);
}

/* =========================================================
   ROOMS HERO
   ========================================================= */

.rooms-hero.section {
  min-height: var(--rooms-hero-min-h);
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: #d8d8d3;
}

.rooms-hero__media,
.rooms-hero__image,
.rooms-hero__overlay {
  position: absolute;
  inset: 0;
}

.rooms-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rooms-hero__overlay {
  background-image: var(--rooms-hero-overlay);
}

.rooms-hero > .container {
  z-index: 2;
  min-height: var(--rooms-hero-min-h);
  display: flex;
  align-items: flex-end;
  padding-top: 0;
  padding-bottom: var(--rooms-hero-bottom);
}

.rooms-hero__content,
.rooms-hero__copy {
  width: 100%;
}

.rooms-hero__eyebrow {
  margin: 0 0 0.75rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--rooms-hero-eyebrow-fs);
  line-height: 1.4;
  visibility: hidden;
}

.rooms-hero__title {
  margin-bottom: 1rem;
  color: #fff;
  font-size: var(--rooms-hero-title-fs);
  line-height: var(--rooms-hero-title-lh);
  visibility: hidden;
}

.rooms-hero__text {
  max-width: var(--rooms-hero-text-maxw);
  margin: 0 0 0 var(--rooms-hero-text-offset);
  color: #fff;
  opacity: 0.98;
  font-size: var(--rooms-hero-text-fs);
  line-height: var(--rooms-hero-text-lh);
  visibility: hidden;
}

/* =========================================================
   ROOMS INTRO
   ========================================================= */

.rooms-intro {
  margin-bottom: var(--rooms-intro-mb);
  text-align: center;
}

.rooms-intro__title {
  margin-bottom: clamp(16px, 1.5vw, 46px);
  font-family: var(--rooms-intro-title-font);
  font-size: var(--rooms-intro-title-fs);
  line-height: var(--rooms-intro-title-lh);
  letter-spacing: var(--rooms-intro-title-ls);
  color: var(--rooms-intro-title-color);
  font-weight: var(--rooms-intro-title-fw);
  text-align: left;
}

.title-wave {
  display: flex;
  justify-content: left;
  /*margin-top: 5px;*/
  margin-bottom: 20px;
  color: var(--primary-blue, #012b63);
  line-height: 0;
}

.title-wave__svg {
  width: 78px;
  height: auto;
  display: block;
}

.rooms-intro__text {
  margin-top: clamp(1rem, 2vw, 1.75rem);
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
  color: #3c3a34;
  font-size: clamp(16px, 1.1vw, 20px);
  line-height: var(--rooms-hero-text-lh);
  text-align: left;
}

/* =========================================================
   ROOMS FEATURES
   ========================================================= */

.rooms-feature.section {
  background-color: var(--rooms-bg);
}

.rooms-feature__container {
  display: grid;
  grid-template-columns: var(--rooms-feature-grid-left) var(--rooms-feature-grid-right);
  column-gap: var(--rooms-feature-gap);
  align-items: start;
}

.rooms-feature__container--reverse {
  grid-template-columns: var(--rooms-feature-grid-right) var(--rooms-feature-grid-left);
}

.rooms-feature__media {
  margin: 0;
  width: 100%;
  height: var(--rooms-feature-media-h);
  overflow: hidden;
  border-radius: 12px;
}

.rooms-feature__media--portrait {
  justify-self: stretch;
}

.rooms-feature__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.rooms-feature__content {
  max-width: var(--rooms-feature-content-maxw);
}

.rooms-feature__title {
  margin-bottom: 1rem;
  font-family: var(--rooms-feature-title-font);
  font-size: var(--rooms-feature-title-fs);
  line-height: var(--rooms-feature-title-lh);
  letter-spacing: var(--rooms-feature-title-ls);
  font-weight: var(--rooms-feature-title-fw);
  color: var(--rooms-feature-title-color);
}

.rooms-feature__text {
  margin-bottom: 0;
  font-family: var(--font-body);
  font-size: var(--rooms-feature-text-fs);
  line-height: var(--rooms-feature-text-lh);
  color: var(--rooms-feature-text-color);
  opacity: var(--rooms-feature-text-opacity);
}

/* =========================================================
   ROOMS FEATURE META
   ========================================================= */

.rooms-feature__meta {
  margin-top: var(--rooms-meta-gap);
}

.rooms-feature__price-box {
  margin-bottom: 1.1rem;
}

.rooms-feature__price-label {
  margin: 0 0 0.5rem;
  color: var(--black);
  font-size: var(--rooms-price-label-fs);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.rooms-feature__price {
  color: #000;
  font-size: var(--rooms-price-fs);
  line-height: var(--rooms-price-lh);
  font-weight: 400;
}

.rooms-feature__price span {
  color: var(--black);
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 600;
}

.rooms-feature__amenities-title {
  margin-bottom: 0.85rem;
  font-size: var(--rooms-amenities-title-fs);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--black);
}

.rooms-feature__amenities-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
}

.rooms-feature__amenities-list li {
  position: relative;
  margin-bottom: 0.45rem;
  padding-left: 1rem;
  font-family: var(--font-body);
  font-size: var(--rooms-amenities-item-fs);
  font-weight: 600;
  line-height: 1.65;
  color: var(--black);
}

.rooms-feature__amenities-list li:last-child {
  margin-bottom: 0;
}

.rooms-feature__amenities-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background-color: var(--primary-blue);
  transform: translateY(-50%);
}

.rooms-feature__amenities {
  width: 100%;
}

.rooms-feature__amenities-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.rooms-feature__amenity {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rooms-feature__amenity-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  color: var(--prime-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rooms-feature__amenity-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.rooms-feature__amenity-text {
  color: #3c3a34;
  font-family: Poppins, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

/* =========================================================
   ROOMS FEATURE SPACING
   ========================================================= */

.rooms-feature--location.section,
.rooms-feature--hospitality.section {
  padding-top: 0;
}

.rooms-feature--location .rooms-feature__container,
.rooms-feature--hospitality .rooms-feature__container {
  align-items: start;
}

/* =========================================================
   ROOMS FEATURE HOSPITALITY
   ========================================================= */

.rooms-feature--hospitality .rooms-feature__container {
  grid-template-columns: var(--rooms-feature-grid-left) var(--rooms-feature-grid-right);
  column-gap: var(--rooms-feature-gap);
}

.rooms-feature--hospitality .rooms-feature__media {
  height: var(--rooms-feature-media-h);
}

.rooms-feature--hospitality .rooms-feature__text {
  margin-bottom: 0;
  font-family: var(--font-body);
  font-size: var(--rooms-feature-text-fs);
  line-height: var(--rooms-feature-text-lh);
  opacity: var(--rooms-feature-text-opacity);
  color: var(--rooms-feature-text-color);
}

/* =========================================================
   SEO
   ========================================================= */

.home-seo {
  background: var(--rooms-seo-bg);
  padding-top: var(--rooms-seo-pad-y);
  padding-bottom: var(--rooms-seo-pad-y);
}

.home-seo__box {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--rooms-seo-maxw);
}

.home-seo__box p {
  font-size: var(--rooms-seo-p-fs);
  line-height: var(--rooms-seo-p-lh);
  opacity: var(--rooms-seo-p-opacity);
  margin-bottom: var(--rooms-seo-p-mb);
}

.home-seo__box strong {
  font-weight: var(--rooms-seo-strong-fw);
  opacity: 1;
}

.home-seo__box h2 {
  text-align: var(--rooms-seo-h2-align);
  font-family: var(--rooms-seo-h2-font);
  font-weight: var(--rooms-seo-h2-fw);
  font-size: var(--rooms-seo-h2-fs);
  line-height: var(--rooms-seo-h2-lh);
  letter-spacing: var(--rooms-seo-h2-ls);
  color: var(--rooms-seo-h2-color);
  margin-top: var(--rooms-seo-h2-mt);
  margin-bottom: var(--rooms-seo-h2-mb);
}

.home-seo__box ul {
  margin: var(--rooms-seo-list-mt) 0 var(--rooms-seo-list-mb);
  padding-left: var(--rooms-seo-list-pl);
}

.home-seo__box li {
  font-size: var(--rooms-seo-p-fs);
  line-height: var(--rooms-seo-p-lh);
  opacity: var(--rooms-seo-p-opacity);
  margin-bottom: var(--rooms-seo-li-mb);
}

.home-seo__box li strong {
  font-weight: var(--rooms-seo-strong-fw);
}

.home-seo__box a {
  color: var(--rooms-seo-link-color);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition:
          color 0.25s ease,
          opacity 0.25s ease;
}

.home-seo__box a:hover,
.home-seo__box a:focus-visible {
  color: var(--rooms-seo-link-hover);
  opacity: 1;
}

.seo-readmore__toggle {
  margin-top: 0.15rem;
  margin-bottom: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--rooms-seo-p-fs);
  line-height: 1.2;
  color: var(--rooms-seo-link-color);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  opacity: 1;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (min-width: 1440px) {
  :root {
    --rooms-hero-text-maxw: 54rem;
    --rooms-hero-text-offset: clamp(7rem, 20vw, 22rem);
  }
}

@media (max-width: 991px) {
  :root {
    --rooms-hero-min-h: 62vh;
    --rooms-hero-bottom: 6vh;
    --rooms-hero-title-fs: clamp(3.4rem, 8.8vw, 5.6rem);
    --rooms-hero-text-maxw: 34rem;
    --rooms-hero-text-offset: clamp(2rem, 10vw, 6rem);
    --rooms-hero-text-fs: clamp(1rem, 1.9vw, 1.2rem);

    --rooms-intro-mb: clamp(3.5rem, 6vw, 5rem);

    --rooms-feature-media-h: clamp(360px, 50vh, 520px);
    --rooms-feature-gap: 2.5rem;
  }

  .rooms-feature__container,
  .rooms-feature__container--reverse,
  .rooms-feature--hospitality .rooms-feature__container {
    grid-template-columns: 1fr 1fr;
  }

  .rooms-feature__content {
    max-width: 100%;
  }

  .rooms-feature--hospitality .rooms-feature__title {
    margin-bottom: 16px;
  }
}

@media (max-width: 767px) {
  :root {
    --rooms-hero-min-h: 58vh;
    --rooms-hero-bottom: 7vh;
    --rooms-hero-title-fs: clamp(2.8rem, 12vw, 4.8rem);
    --rooms-hero-eyebrow-fs: clamp(0.95rem, 3.8vw, 1.1rem);
    --rooms-hero-text-maxw: 100%;
    --rooms-hero-text-offset: 0;
    --rooms-hero-text-fs: clamp(1rem, 4.2vw, 1.15rem);

    --rooms-intro-mb: 2.75rem;

    --rooms-feature-media-h: clamp(380px, 60vh, 560px);

    --rooms-seo-h2-fs: var(--h3-size);
  }

  .rooms-intro {
    text-align: left;
  }

  .rooms-intro__text {
    margin-left: 0;
  }

  .rooms-feature__container,
  .rooms-feature__container--reverse,
  .rooms-feature--hospitality .rooms-feature__container {
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
  }

  .rooms-feature__content {
    max-width: 100%;
  }

  .rooms-feature__title {
    margin-bottom: 0.75rem;
  }

  .rooms-feature--location .rooms-feature__media {
    order: 1;
  }

  .rooms-feature--location .rooms-feature__content {
    order: 2;
  }
}

@media (max-width: 479px) {
  :root {
    --rooms-feature-media-h: clamp(320px, 48vh, 460px);
    --rooms-seo-maxw: 100%;
    --rooms-seo-h2-fs: clamp(20px, 5.2vw, 26px);
    --rooms-seo-p-lh: 1.7;
    --rooms-seo-list-pl: 16px;
  }
}